Última hora

Países emergentes

News

O caminho do Mali rumo à estabilidade

A ameaça jihadista afeta a confiança internacional no Mali. Como restabelecer o desenvolvimento? Foi uma das questões da cimeira África-França em Bamako.

A ameaça jihadista afeta a confiança internacional no Mali. Como restabelecer o desenvolvimento? Foi uma das questões da cimeira África-França em Bamako.

Business

O papel que Marrocos assumiu no desenvolvimento de África

O crescimento de Marrocos a nível regional tornou-se num exemplo particularmente bem-sucedido e tornou este país num dos maiores investidores em África.

O crescimento de Marrocos a nível regional tornou-se num exemplo particularmente bem-sucedido e tornou este país num dos maiores investidores em África.

News

Nigéria: Depois do Boko Haram, a fome

O nordeste da Nigéria enfrenta uma das mais graves crises alimentares da atualidade. Em Maiduguri, os números de má-nutrição são alarmantes.

O nordeste da Nigéria enfrenta uma das mais graves crises alimentares da atualidade. Em Maiduguri, os números de má-nutrição são alarmantes.

News

Presidente da Tunísia, Béji Caïd Essebsi: "Esperamos que a Primavera Árabe se realize em todos os países árabes"

Por ocasião do primeira cimeira entre a União Europeia e a Tunísia em Bruxelas, o presidente da Tunísia, Béji Caïd Essebsi, falou em exclusivo à euronews sobre os seus planos para os três anos que res

Por ocasião do primeira cimeira entre a União Europeia e a Tunísia em Bruxelas, o presidente da Tunísia, Béji Caïd Essebsi, falou em exclusivo à euronews sobre os seus planos para os três anos que res

Business

Burkina Faso: Uma oportunidade de ouro

Ouro, manganês, fosfatos... O governo do Burkina Faso assumiu o desafio de transformar o setor mineiro num dos motores de desenvolvimento social do país.

Ouro, manganês, fosfatos... O governo do Burkina Faso assumiu o desafio de transformar o setor mineiro num dos motores de desenvolvimento social do país.

Business

Teknopark Istambul: Turquia aposta na inovação

Para atrair novas oportunidades, um grande número de empresas internacionais estabeleceram as matrizes regionais e os centros de inovação na Turquia.

Para atrair novas oportunidades, um grande número de empresas internacionais estabeleceram as matrizes regionais e os centros de inovação na Turquia.

Business

Os contornos dos investimentos externos na Turquia

A posição geoestratégica da Turquia, historicamente considerada como a ponte física e simbólica entre a Europa e a Ásia, suscita o interesse de multinacionais que apostam no futuro económico deste…

A posição geoestratégica da Turquia, historicamente considerada como a ponte física e simbólica entre a Europa e a Ásia, suscita o interesse de multinacionais que apostam no futuro económico deste…

Business

O Ouro Negro de Madagáscar

Target Madagáscar concentrou-se nos recursos energéticos e foi até à primeira exploração de petróleo em atividade no país.

Target Madagáscar concentrou-se nos recursos energéticos e foi até à primeira exploração de petróleo em atividade no país.

Business

Madagáscar aposta na exploração mineira

Target foi até Fort Dauphin, no sudeste de Madagáscar, à descoberta de uma mina impressionante com 2800 hectares.

Target foi até Fort Dauphin, no sudeste de Madagáscar, à descoberta de uma mina impressionante com 2800 hectares.

News

Lagarde: "Não estamos em estado de alarme, mas estamos alerta"

Há muito poucos motivos para sorrir quando olhamos para o estado da economia global: os escândalos de corrupção sucedem-se, os países europeus

Há muito poucos motivos para sorrir quando olhamos para o estado da economia global: os escândalos de corrupção sucedem-se, os países europeus

News

Cazaquistão: Diversificar para sobreviver à crise do petróleo

Diversificar para sobreviver. Este ditado tradicional usado pelos países habituados a exportar matérias-primas é agora o principal programa político no Cazaquistão para fazer face à descida dos preços

Diversificar para sobreviver. Este ditado tradicional usado pelos países habituados a exportar matérias-primas é agora o principal programa político no Cazaquistão para fazer face à descida dos preços

News

Os motores do futuro económico de África

Como tornar a agricultura num motor de crescimento económico em África? Foi apenas uma das questões em debate no fórum internacional que decorreu em

Como tornar a agricultura num motor de crescimento económico em África? Foi apenas uma das questões em debate no fórum internacional que decorreu em

News

Depois do ouro negro, Angola vira-se para o "ouro verde"

O setor agrícola angolano foi radicalmente afetado por décadas de guerra civil. Aquele que se tornou no segundo maior produtor africano de petróleo procura agora de novo diversificar a sua economia.

O setor agrícola angolano foi radicalmente afetado por décadas de guerra civil. Aquele que se tornou no segundo maior produtor africano de petróleo procura agora de novo diversificar a sua economia.

Science_technology

Gana produz cogumelos a partir de resíduos de mandioca

Uma empresa do ramo alimentar no Gana, na África Ocidental, transforma, aproximadamente, 400 toneladas de mandioca em subprodutos, por mês. Até ao

Uma empresa do ramo alimentar no Gana, na África Ocidental, transforma, aproximadamente, 400 toneladas de mandioca em subprodutos, por mês. Até ao

Business

Economia africana deverá crescer 4,5% este ano

Enquanto a Europa se debate com uma economia em estagnação, ou quase, os países africanos apresentam taxas de crescimento de 4,5% para este ano e de

Enquanto a Europa se debate com uma economia em estagnação, ou quase, os países africanos apresentam taxas de crescimento de 4,5% para este ano e de

Business

União Económica Eurasiática: A resposta de leste à União Europeia

Esta semana, desvendamos o novo espaço comum euro-asiático, um projeto concebido por Rússia, Bilerrússia e o Cazaquistão, ao qual se juntaram Arménia e Quirguistão.

Esta semana, desvendamos o novo espaço comum euro-asiático, um projeto concebido por Rússia, Bilerrússia e o Cazaquistão, ao qual se juntaram Arménia e Quirguistão.

News

Economista Esther Duflo vence Prémio Princesa das Astúrias nas Ciências Sociais

Medalha John Clark https://www.aeaweb.org/articles.php?doi=10.1257/jep.25.3.197 Conferência em 2011 sobre a pobreza <iframe width="606" height="341" src="https://www.youtube.com/embed/4vzvSaDlhyM" fr

Medalha John Clark https://www.aeaweb.org/articles.php?doi=10.1257/jep.25.3.197 Conferência em 2011 sobre a pobreza '),u.close(),l=u.w.frames[0].document,n=l.createElement("div")}catch(e){n=o.createElement("div"),l=o.body}var c=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(n),l.appendChild(n),n.addBehavior("#default#userData"),n.load(a);var r=e.apply(i,t);return l.removeChild(n),r}},d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),p=function(e){return e.replace(/^d/,"___$&").replace(d,"___")};i.set=c(function(e,t,n){return t=p(t),void 0===n?i.remove(t):(e.setAttribute(t,i.serialize(n)),e.save(a),n)}),i.get=c(function(e,t,n){t=p(t);var r=i.deserialize(e.getAttribute(t));return void 0===r?n:r}),i.remove=c(function(e,t){t=p(t),e.removeAttribute(t),e.save(a)}),i.clear=c(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(a);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(a)}),i.getAll=function(e){var t={};return i.forEach(function(e,n){t[e]=n}),t},i.forEach=c(function(e,t){for(var n,r=e.XMLDocument.documentElement.attributes,o=0;n=r[o];++o)t(n.name,i.deserialize(e.getAttribute(n.name)))})}try{var f="__storejs__";i.set(f,f),i.get(f)!=f&&(i.disabled=!0),i.remove(f)}catch(e){i.disabled=!0}return i.enabled=!i.disabled,i})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],68:[function(e,t,n){!function(){"use strict";function e(e){e.fn.swiper=function(t){var i;return e(this).each(function(){var e=new n(this,t);i||(i=e)}),i}}var t,n=function(e,r){function a(e){return Math.floor(e)}function s(){var e=T.params.autoplay,t=T.slides.eq(T.activeIndex);t.attr("data-swiper-autoplay")&&(e=t.attr("data-swiper-autoplay")||T.params.autoplay),T.autoplayTimeoutId=setTimeout(function(){T.params.loop?(T.fixLoop(),T._slideNext(),T.emit("onAutoplay",T)):T.isEnd?r.autoplayStopOnLast?T.stopAutoplay():(T._slideTo(0),T.emit("onAutoplay",T)):(T._slideNext(),T.emit("onAutoplay",T))},e)}function l(e,n){var i=t(e.target);if(!i.is(n))if("string"==typeof n)i=i.parents(n);else if(n.nodeType){var r;return i.parents().each(function(e,t){t===n&&(r=n)}),r?n:void 0}if(0!==i.length)return i[0]}function u(e,t){t=t||{};var n=window.MutationObserver||window.WebkitMutationObserver,i=new n(function(e){e.forEach(function(e){T.onResize(!0),T.emit("onObserverUpdate",T,e)})});i.observe(e,{attributes:"undefined"==typeof t.attributes||t.attributes,childList:"undefined"==typeof t.childList||t.childList,characterData:"undefined"==typeof t.characterData||t.characterData}),T.observers.push(i)}function c(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!T.params.allowSwipeToNext&&(T.isHorizontal()&&39===t||!T.isHorizontal()&&40===t))return!1;if(!T.params.allowSwipeToPrev&&(T.isHorizontal()&&37===t||!T.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var n=!1;if(T.container.parents("."+T.params.slideClass).length>0&&0===T.container.parents("."+T.params.slideActiveClass).length)return;var i={left:window.pageXOffset,top:window.pageYOffset},r=window.innerWidth,o=window.innerHeight,a=T.container.offset();T.rtl&&(a.left=a.left-T.container[0].scrollLeft);for(var s=[[a.left,a.top],[a.left+T.width,a.top],[a.left,a.top+T.height],[a.left+T.width,a.top+T.height]],l=0;l=i.left&&u[0]<=i.left+r&&u[1]>=i.top&&u[1]<=i.top+o&&(n=!0)}if(!n)return}T.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!T.rtl||37===t&&T.rtl)&&T.slideNext(),(37===t&&!T.rtl||39===t&&T.rtl)&&T.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&T.slideNext(),38===t&&T.slidePrev())}}function d(){var e="onwheel",t=e in document;if(!t){var n=document.createElement("div");n.setAttribute(e,"return;"),t="function"==typeof n[e]}return!t&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0&&(t=document.implementation.hasFeature("Events.wheel","3.0")),t}function p(e){e.originalEvent&&(e=e.originalEvent);var t=0,n=T.rtl?-1:1,i=f(e);if(T.params.mousewheelForceToAxis)if(T.isHorizontal()){if(!(Math.abs(i.pixelX)>Math.abs(i.pixelY)))return;t=i.pixelX*n}else{if(!(Math.abs(i.pixelY)>Math.abs(i.pixelX)))return;t=i.pixelY}else t=Math.abs(i.pixelX)>Math.abs(i.pixelY)?-i.pixelX*n:-i.pixelY;if(0!==t){if(T.params.mousewheelInvert&&(t=-t),T.params.freeMode){var r=T.getWrapperTranslate()+t*T.params.mousewheelSensitivity,o=T.isBeginning,a=T.isEnd;if(r>=T.minTranslate()&&(r=T.minTranslate()),r<=T.maxTranslate()&&(r=T.maxTranslate()),T.setWrapperTransition(0),T.setWrapperTranslate(r),T.updateProgress(),T.updateActiveIndex(),(!o&&T.isBeginning||!a&&T.isEnd)&&T.updateClasses(),T.params.freeModeSticky?(clearTimeout(T.mousewheel.timeout),T.mousewheel.timeout=setTimeout(function(){T.slideReset()},300)):T.params.lazyLoading&&T.lazy&&T.lazy.load(),T.emit("onScroll",T,e),T.params.autoplay&&T.params.autoplayDisableOnInteraction&&T.stopAutoplay(),0===r||r===T.maxTranslate())return}else{if((new window.Date).getTime()-T.mousewheel.lastScrollTime>60)if(t<0)if(T.isEnd&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slideNext(),T.emit("onScroll",T,e);else if(T.isBeginning&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slidePrev(),T.emit("onScroll",T,e);T.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function f(e){var t=10,n=40,i=800,r=0,o=0,a=0,s=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(r=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(r=o,o=0),a=r*t,s=o*t,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||s)&&e.deltaMode&&(1===e.deltaMode?(a*=n,s*=n):(a*=i,s*=i)),a&&!r&&(r=a<1?-1:1),s&&!o&&(o=s<1?-1:1),{spinX:r,spinY:o,pixelX:a,pixelY:s}}function h(e,n){e=t(e);var i,r,o,a=T.rtl?-1:1;i=e.attr("data-swiper-parallax")||"0",r=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),r||o?(r=r||"0",o=o||"0"):T.isHorizontal()?(r=i,o="0"):(o=i,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*n*a+"%":r*n*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px",e.transform("translate3d("+r+", "+o+",0px)")}function m(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof n))return new n(e,r);var g={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},v=r&&r.virtualTranslate;r=r||{};var y={};for(var b in r)if("object"!=typeof r[b]||null===r[b]||(r[b].nodeType||r[b]===window||r[b]===document||"undefined"!=typeof i&&r[b]instanceof i||"undefined"!=typeof jQuery&&r[b]instanceof jQuery))y[b]=r[b];else{y[b]={};for(var w in r[b])y[b][w]=r[b][w]}for(var x in g)if("undefined"==typeof r[x])r[x]=g[x];else if("object"==typeof r[x])for(var _ in g[x])"undefined"==typeof r[x][_]&&(r[x][_]=g[x][_]);var T=this;if(T.params=r,T.originalParams=y,T.classNames=[],"undefined"!=typeof t&&"undefined"!=typeof i&&(t=i),("undefined"!=typeof t||(t="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i))&&(T.$=t,T.currentBreakpoint=void 0,T.getActiveBreakpoint=function(){if(!T.params.breakpoints)return!1;var e,t=!1,n=[];for(e in T.params.breakpoints)T.params.breakpoints.hasOwnProperty(e)&&n.push(e);n.sort(function(e,t){return parseInt(e,10)>parseInt(t,10)});for(var i=0;i=window.innerWidth&&!t&&(t=e);return t||"max"},T.setBreakpoint=function(){var e=T.getActiveBreakpoint();if(e&&T.currentBreakpoint!==e){var t=e in T.params.breakpoints?T.params.breakpoints[e]:T.originalParams,n=T.params.loop&&t.slidesPerView!==T.params.slidesPerView;for(var i in t)T.params[i]=t[i];T.currentBreakpoint=e,n&&T.destroyLoop&&T.reLoop(!0)}},T.params.breakpoints&&T.setBreakpoint(),T.container=t(e),0!==T.container.length)){if(T.container.length>1){var C=[];return T.container.each(function(){C.push(new n(this,r))}),C}T.container[0].swiper=T,T.container.data("swiper",T),T.classNames.push(T.params.containerModifierClass+T.params.direction),T.params.freeMode&&T.classNames.push(T.params.containerModifierClass+"free-mode"),T.support.flexbox||(T.classNames.push(T.params.containerModifierClass+"no-flexbox"),T.params.slidesPerColumn=1),T.params.autoHeight&&T.classNames.push(T.params.containerModifierClass+"autoheight"),(T.params.parallax||T.params.watchSlidesVisibility)&&(T.params.watchSlidesProgress=!0),T.params.touchReleaseOnEdges&&(T.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(T.params.effect)>=0&&(T.support.transforms3d?(T.params.watchSlidesProgress=!0,T.classNames.push(T.params.containerModifierClass+"3d")):T.params.effect="slide"),"slide"!==T.params.effect&&T.classNames.push(T.params.containerModifierClass+T.params.effect),"cube"===T.params.effect&&(T.params.resistanceRatio=0,T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.centeredSlides=!1,T.params.spaceBetween=0,T.params.virtualTranslate=!0,T.params.setWrapperSize=!1),"fade"!==T.params.effect&&"flip"!==T.params.effect||(T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.watchSlidesProgress=!0,T.params.spaceBetween=0,T.params.setWrapperSize=!1,"undefined"==typeof v&&(T.params.virtualTranslate=!0)),T.params.grabCursor&&T.support.touch&&(T.params.grabCursor=!1),T.wrapper=T.container.children("."+T.params.wrapperClass),T.params.pagination&&(T.paginationContainer=t(T.params.pagination),T.params.uniqueNavElements&&"string"==typeof T.params.pagination&&T.paginationContainer.length>1&&1===T.container.find(T.params.pagination).length&&(T.paginationContainer=T.container.find(T.params.pagination)),"bullets"===T.params.paginationType&&T.params.paginationClickable?T.paginationContainer.addClass(T.params.paginationModifierClass+"clickable"):T.params.paginationClickable=!1,T.paginationContainer.addClass(T.params.paginationModifierClass+T.params.paginationType)),(T.params.nextButton||T.params.prevButton)&&(T.params.nextButton&&(T.nextButton=t(T.params.nextButton),T.params.uniqueNavElements&&"string"==typeof T.params.nextButton&&T.nextButton.length>1&&1===T.container.find(T.params.nextButton).length&&(T.nextButton=T.container.find(T.params.nextButton))),T.params.prevButton&&(T.prevButton=t(T.params.prevButton),T.params.uniqueNavElements&&"string"==typeof T.params.prevButton&&T.prevButton.length>1&&1===T.container.find(T.params.prevButton).length&&(T.prevButton=T.container.find(T.params.prevButton)))),T.isHorizontal=function(){return"horizontal"===T.params.direction},T.rtl=T.isHorizontal()&&("rtl"===T.container[0].dir.toLowerCase()||"rtl"===T.container.css("direction")),T.rtl&&T.classNames.push(T.params.containerModifierClass+"rtl"), T.rtl&&(T.wrongRTL="-webkit-box"===T.wrapper.css("display")),T.params.slidesPerColumn>1&&T.classNames.push(T.params.containerModifierClass+"multirow"),T.device.android&&T.classNames.push(T.params.containerModifierClass+"android"),T.container.addClass(T.classNames.join(" ")),T.translate=0,T.progress=0,T.velocity=0,T.lockSwipeToNext=function(){T.params.allowSwipeToNext=!1,T.params.allowSwipeToPrev===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipeToPrev=function(){T.params.allowSwipeToPrev=!1,T.params.allowSwipeToNext===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!1,T.params.grabCursor&&T.unsetGrabCursor()},T.unlockSwipeToNext=function(){T.params.allowSwipeToNext=!0,T.params.allowSwipeToPrev===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipeToPrev=function(){T.params.allowSwipeToPrev=!0,T.params.allowSwipeToNext===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!0,T.params.grabCursor&&T.setGrabCursor()},T.setGrabCursor=function(e){T.container[0].style.cursor="move",T.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",T.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",T.container[0].style.cursor=e?"grabbing":"grab"},T.unsetGrabCursor=function(){T.container[0].style.cursor=""},T.params.grabCursor&&T.setGrabCursor(),T.imagesToLoad=[],T.imagesLoaded=0,T.loadImage=function(e,t,n,i,r,o){function a(){o&&o()}var s;e.complete&&r?a():t?(s=new window.Image,s.onload=a,s.onerror=a,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):a()},T.preloadImages=function(){function e(){"undefined"!=typeof T&&null!==T&&(void 0!==T.imagesLoaded&&T.imagesLoaded++,T.imagesLoaded===T.imagesToLoad.length&&(T.params.updateOnImagesReady&&T.update(),T.emit("onImagesReady",T)))}T.imagesToLoad=T.container.find("img");for(var t=0;t1)for(o=0;oT.slides.length)break;e.push(T.slides.eq(n)[0])}else e.push(T.slides.eq(T.activeIndex)[0]);for(o=0;ot?i:t}t&&T.wrapper.css("height",t+"px")},T.updateContainerSize=function(){var e,t;e="undefined"!=typeof T.params.width?T.params.width:T.container[0].clientWidth,t="undefined"!=typeof T.params.height?T.params.height:T.container[0].clientHeight,0===e&&T.isHorizontal()||0===t&&!T.isHorizontal()||(e=e-parseInt(T.container.css("padding-left"),10)-parseInt(T.container.css("padding-right"),10),t=t-parseInt(T.container.css("padding-top"),10)-parseInt(T.container.css("padding-bottom"),10),T.width=e,T.height=t,T.size=T.isHorizontal()?T.width:T.height)},T.updateSlidesSize=function(){T.slides=T.wrapper.children("."+T.params.slideClass),T.snapGrid=[],T.slidesGrid=[],T.slidesSizesGrid=[];var e,t=T.params.spaceBetween,n=-T.params.slidesOffsetBefore,i=0,r=0;if("undefined"!=typeof T.size){"string"==typeof t&&t.indexOf("%")>=0&&(t=parseFloat(t.replace("%",""))/100*T.size),T.virtualSize=-t,T.rtl?T.slides.css({marginLeft:"",marginTop:""}):T.slides.css({marginRight:"",marginBottom:""});var o;T.params.slidesPerColumn>1&&(o=Math.floor(T.slides.length/T.params.slidesPerColumn)===T.slides.length/T.params.slidesPerColumn?T.slides.length:Math.ceil(T.slides.length/T.params.slidesPerColumn)*T.params.slidesPerColumn,"auto"!==T.params.slidesPerView&&"row"===T.params.slidesPerColumnFill&&(o=Math.max(o,T.params.slidesPerView*T.params.slidesPerColumn)));var s,l=T.params.slidesPerColumn,u=o/l,c=u-(T.params.slidesPerColumn*u-T.slides.length);for(e=0;e1){var p,f,h;"column"===T.params.slidesPerColumnFill?(f=Math.floor(e/l),h=e-f*l,(f>c||f===c&&h===l-1)&&++h>=l&&(h=0,f++),p=f+h*o/l,d.css({"-webkit-box-ordinal-group":p,"-moz-box-ordinal-group":p,"-ms-flex-order":p,"-webkit-order":p,order:p})):(h=Math.floor(e/u),f=e-h*u),d.css("margin-"+(T.isHorizontal()?"top":"left"),0!==h&&T.params.spaceBetween&&T.params.spaceBetween+"px").attr("data-swiper-column",f).attr("data-swiper-row",h)}"none"!==d.css("display")&&("auto"===T.params.slidesPerView?(s=T.isHorizontal()?d.outerWidth(!0):d.outerHeight(!0),T.params.roundLengths&&(s=a(s))):(s=(T.size-(T.params.slidesPerView-1)*t)/T.params.slidesPerView,T.params.roundLengths&&(s=a(s)),T.isHorizontal()?T.slides[e].style.width=s+"px":T.slides[e].style.height=s+"px"),T.slides[e].swiperSlideSize=s,T.slidesSizesGrid.push(s),T.params.centeredSlides?(n=n+s/2+i/2+t,0===e&&(n=n-T.size/2-t),Math.abs(n)<.001&&(n=0),r%T.params.slidesPerGroup===0&&T.snapGrid.push(n),T.slidesGrid.push(n)):(r%T.params.slidesPerGroup===0&&T.snapGrid.push(n),T.slidesGrid.push(n),n=n+s+t),T.virtualSize+=s+t,i=s,r++)}T.virtualSize=Math.max(T.virtualSize,T.size)+T.params.slidesOffsetAfter;var m;if(T.rtl&&T.wrongRTL&&("slide"===T.params.effect||"coverflow"===T.params.effect)&&T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}),T.support.flexbox&&!T.params.setWrapperSize||(T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+"px"})),T.params.slidesPerColumn>1&&(T.virtualSize=(s+T.params.spaceBetween)*o,T.virtualSize=Math.ceil(T.virtualSize/T.params.slidesPerColumn)-T.params.spaceBetween,T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+"px"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+"px"}),T.params.centeredSlides)){for(m=[],e=0;e1&&T.snapGrid.push(T.virtualSize-T.size)}0===T.snapGrid.length&&(T.snapGrid=[0]),0!==T.params.spaceBetween&&(T.isHorizontal()?T.rtl?T.slides.css({marginLeft:t+"px"}):T.slides.css({marginRight:t+"px"}):T.slides.css({marginBottom:t+"px"})),T.params.watchSlidesProgress&&T.updateSlidesOffset()}},T.updateSlidesOffset=function(){for(var e=0;e=0&&o0&&a<=T.size||o<=0&&a>=T.size;s&&T.slides.eq(n).addClass(T.params.slideVisibleClass)}i.progress=T.rtl?-r:r}}},T.updateProgress=function(e){"undefined"==typeof e&&(e=T.translate||0);var t=T.maxTranslate()-T.minTranslate(),n=T.isBeginning,i=T.isEnd;0===t?(T.progress=0,T.isBeginning=T.isEnd=!0):(T.progress=(e-T.minTranslate())/t,T.isBeginning=T.progress<=0,T.isEnd=T.progress>=1),T.isBeginning&&!n&&T.emit("onReachBeginning",T),T.isEnd&&!i&&T.emit("onReachEnd",T),T.params.watchSlidesProgress&&T.updateSlidesProgress(e),T.emit("onProgress",T,T.progress)},T.updateActiveIndex=function(){var e,t,n,i=T.rtl?T.translate:-T.translate;for(t=0;t=T.slidesGrid[t]&&i=T.slidesGrid[t]&&i=T.slidesGrid[t]&&(e=t);T.params.normalizeSlideIndex&&(e<0||"undefined"==typeof e)&&(e=0),n=Math.floor(e/T.params.slidesPerGroup),n>=T.snapGrid.length&&(n=T.snapGrid.length-1),e!==T.activeIndex&&(T.snapIndex=n,T.previousIndex=T.activeIndex,T.activeIndex=e,T.updateClasses(),T.updateRealIndex())},T.updateRealIndex=function(){T.realIndex=T.slides.eq(T.activeIndex).attr("data-swiper-slide-index")||T.activeIndex},T.updateClasses=function(){T.slides.removeClass(T.params.slideActiveClass+" "+T.params.slideNextClass+" "+T.params.slidePrevClass+" "+T.params.slideDuplicateActiveClass+" "+T.params.slideDuplicateNextClass+" "+T.params.slideDuplicatePrevClass);var e=T.slides.eq(T.activeIndex);e.addClass(T.params.slideActiveClass),r.loop&&(e.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+T.realIndex+'"]').addClass(T.params.slideDuplicateActiveClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+T.realIndex+'"]').addClass(T.params.slideDuplicateActiveClass));var n=e.next("."+T.params.slideClass).addClass(T.params.slideNextClass);T.params.loop&&0===n.length&&(n=T.slides.eq(0),n.addClass(T.params.slideNextClass));var i=e.prev("."+T.params.slideClass).addClass(T.params.slidePrevClass);if(T.params.loop&&0===i.length&&(i=T.slides.eq(-1),i.addClass(T.params.slidePrevClass)),r.loop&&(n.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicateNextClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicateNextClass),i.hasClass(T.params.slideDuplicateClass)?T.wrapper.children("."+T.params.slideClass+":not(."+T.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicatePrevClass):T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(T.params.slideDuplicatePrevClass)),T.paginationContainer&&T.paginationContainer.length>0){var o,a=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length;if(T.params.loop?(o=Math.ceil((T.activeIndex-T.loopedSlides)/T.params.slidesPerGroup),o>T.slides.length-1-2*T.loopedSlides&&(o-=T.slides.length-2*T.loopedSlides),o>a-1&&(o-=a),o<0&&"bullets"!==T.params.paginationType&&(o=a+o)):o="undefined"!=typeof T.snapIndex?T.snapIndex:T.activeIndex||0,"bullets"===T.params.paginationType&&T.bullets&&T.bullets.length>0&&(T.bullets.removeClass(T.params.bulletActiveClass),T.paginationContainer.length>1?T.bullets.each(function(){t(this).index()===o&&t(this).addClass(T.params.bulletActiveClass)}):T.bullets.eq(o).addClass(T.params.bulletActiveClass)),"fraction"===T.params.paginationType&&(T.paginationContainer.find("."+T.params.paginationCurrentClass).text(o+1),T.paginationContainer.find("."+T.params.paginationTotalClass).text(a)),"progress"===T.params.paginationType){var s=(o+1)/a,l=s,u=1;T.isHorizontal()||(u=s,l=1),T.paginationContainer.find("."+T.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+u+")").transition(T.params.speed)}"custom"===T.params.paginationType&&T.params.paginationCustomRender&&(T.paginationContainer.html(T.params.paginationCustomRender(T,o+1,a)),T.emit("onPaginationRendered",T,T.paginationContainer[0]))}T.params.loop||(T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.isBeginning?(T.prevButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.prevButton)):(T.prevButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.prevButton))),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.isEnd?(T.nextButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.nextButton)):(T.nextButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.nextButton))))},T.updatePagination=function(){if(T.params.pagination&&T.paginationContainer&&T.paginationContainer.length>0){var e="";if("bullets"===T.params.paginationType){for(var t=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length,n=0;n";T.paginationContainer.html(e),T.bullets=T.paginationContainer.find("."+T.params.bulletClass),T.params.paginationClickable&&T.params.a11y&&T.a11y&&T.a11y.initPagination()}"fraction"===T.params.paginationType&&(e=T.params.paginationFractionRender?T.params.paginationFractionRender(T,T.params.paginationCurrentClass,T.params.paginationTotalClass):' / ',T.paginationContainer.html(e)),"progress"===T.params.paginationType&&(e=T.params.paginationProgressRender?T.params.paginationProgressRender(T,T.params.paginationProgressbarClass):'',T.paginationContainer.html(e)),"custom"!==T.params.paginationType&&T.emit("onPaginationRendered",T,T.paginationContainer[0])}},T.update=function(e){function t(){T.rtl?-T.translate:T.translate;i=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate()),T.setWrapperTranslate(i),T.updateActiveIndex(),T.updateClasses()}if(T.updateContainerSize(),T.updateSlidesSize(),T.updateProgress(),T.updatePagination(),T.updateClasses(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set(),e){var n,i;T.controller&&T.controller.spline&&(T.controller.spline=void 0),T.params.freeMode?(t(),T.params.autoHeight&&T.updateAutoHeight()):(n=("auto"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0),n||t())}else T.params.autoHeight&&T.updateAutoHeight()},T.onResize=function(e){T.params.breakpoints&&T.setBreakpoint();var t=T.params.allowSwipeToPrev,n=T.params.allowSwipeToNext;T.params.allowSwipeToPrev=T.params.allowSwipeToNext=!0,T.updateContainerSize(),T.updateSlidesSize(),("auto"===T.params.slidesPerView||T.params.freeMode||e)&&T.updatePagination(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set(),T.controller&&T.controller.spline&&(T.controller.spline=void 0);var i=!1;if(T.params.freeMode){var r=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate());T.setWrapperTranslate(r),T.updateActiveIndex(),T.updateClasses(),T.params.autoHeight&&T.updateAutoHeight()}else T.updateClasses(),i=("auto"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0);T.params.lazyLoading&&!i&&T.lazy&&T.lazy.load(),T.params.allowSwipeToPrev=t,T.params.allowSwipeToNext=n},T.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?T.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(T.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),T.touchEvents={start:T.support.touch||!T.params.simulateTouch?"touchstart":T.touchEventsDesktop.start,move:T.support.touch||!T.params.simulateTouch?"touchmove":T.touchEventsDesktop.move,end:T.support.touch||!T.params.simulateTouch?"touchend":T.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===T.params.touchEventsTarget?T.container:T.wrapper).addClass("swiper-wp8-"+T.params.direction),T.initEvents=function(e){var t=e?"off":"on",n=e?"removeEventListener":"addEventListener",i="container"===T.params.touchEventsTarget?T.container[0]:T.wrapper[0],o=T.support.touch?i:document,a=!!T.params.nested;if(T.browser.ie)i[n](T.touchEvents.start,T.onTouchStart,!1),o[n](T.touchEvents.move,T.onTouchMove,a),o[n](T.touchEvents.end,T.onTouchEnd,!1);else{if(T.support.touch){var s=!("touchstart"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1};i[n](T.touchEvents.start,T.onTouchStart,s),i[n](T.touchEvents.move,T.onTouchMove,a),i[n](T.touchEvents.end,T.onTouchEnd,s)}(r.simulateTouch&&!T.device.ios&&!T.device.android||r.simulateTouch&&!T.support.touch&&T.device.ios)&&(i[n]("mousedown",T.onTouchStart,!1),document[n]("mousemove",T.onTouchMove,a),document[n]("mouseup",T.onTouchEnd,!1))}window[n]("resize",T.onResize),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.nextButton[t]("click",T.onClickNext),T.params.a11y&&T.a11y&&T.nextButton[t]("keydown",T.a11y.onEnterKey)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.prevButton[t]("click",T.onClickPrev),T.params.a11y&&T.a11y&&T.prevButton[t]("keydown",T.a11y.onEnterKey)),T.params.pagination&&T.params.paginationClickable&&(T.paginationContainer[t]("click","."+T.params.bulletClass,T.onClickIndex),T.params.a11y&&T.a11y&&T.paginationContainer[t]("keydown","."+T.params.bulletClass,T.a11y.onEnterKey)),(T.params.preventClicks||T.params.preventClicksPropagation)&&i[n]("click",T.preventClicks,!0)},T.attachEvents=function(){T.initEvents()},T.detachEvents=function(){T.initEvents(!0)},T.allowClick=!0,T.preventClicks=function(e){T.allowClick||(T.params.preventClicks&&e.preventDefault(),T.params.preventClicksPropagation&&T.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},T.onClickNext=function(e){e.preventDefault(),T.isEnd&&!T.params.loop||T.slideNext()},T.onClickPrev=function(e){e.preventDefault(),T.isBeginning&&!T.params.loop||T.slidePrev()},T.onClickIndex=function(e){e.preventDefault();var n=t(this).index()*T.params.slidesPerGroup;T.params.loop&&(n+=T.loopedSlides),T.slideTo(n)},T.updateClickedSlide=function(e){var n=l(e,"."+T.params.slideClass),i=!1;if(n)for(var r=0;rT.slides.length-T.loopedSlides+T.params.slidesPerView/2?(T.fixLoop(),a=T.wrapper.children("."+T.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+T.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){T.slideTo(a)},0)):T.slideTo(a):a>T.slides.length-T.params.slidesPerView?(T.fixLoop(),a=T.wrapper.children("."+T.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+T.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){T.slideTo(a)},0)):T.slideTo(a)}else T.slideTo(a)}};var E,S,k,A,N,O,P,D,M,L,z="input, select, textarea, button, video",I=Date.now(),$=[];T.animating=!1,T.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var j,R;T.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),j="touchstart"===e.type,j||!("which"in e)||3!==e.which){if(T.params.noSwiping&&l(e,"."+T.params.noSwipingClass))return void(T.allowClick=!0);if(!T.params.swipeHandler||l(e,T.params.swipeHandler)){var n=T.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i=T.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(T.device.ios&&T.params.iOSEdgeSwipeDetection&&n<=T.params.iOSEdgeSwipeThreshold)){if(E=!0,S=!1,k=!0,N=void 0,R=void 0,T.touches.startX=n,T.touches.startY=i,A=Date.now(),T.allowClick=!0,T.updateContainerSize(),T.swipeDirection=void 0,T.params.threshold>0&&(D=!1),"touchstart"!==e.type){var r=!0;t(e.target).is(z)&&(r=!1),document.activeElement&&t(document.activeElement).is(z)&&document.activeElement.blur(),r&&e.preventDefault()}T.emit("onTouchStart",T,e)}}}},T.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!j||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return T.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(T.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(T.params.onlyExternal)return T.allowClick=!1,void(E&&(T.touches.startX=T.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,T.touches.startY=T.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,A=Date.now()));if(j&&T.params.touchReleaseOnEdges&&!T.params.loop)if(T.isHorizontal()){if(T.touches.currentXT.touches.startX&&T.translate>=T.minTranslate())return}else if(T.touches.currentYT.touches.startY&&T.translate>=T.minTranslate())return;if(j&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(z))return S=!0,void(T.allowClick=!1);if(k&&T.emit("onTouchMove",T,e),!(e.targetTouches&&e.targetTouches.length>1)){if(T.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,T.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"==typeof N){var n;T.isHorizontal()&&T.touches.currentY===T.touches.startY||!T.isHorizontal()&&T.touches.currentX!==T.touches.startX?N=!1:(n=180*Math.atan2(Math.abs(T.touches.currentY-T.touches.startY),Math.abs(T.touches.currentX-T.touches.startX))/Math.PI,N=T.isHorizontal()?n>T.params.touchAngle:90-n>T.params.touchAngle)}if(N&&T.emit("onTouchMoveOpposite",T,e),"undefined"==typeof R&&T.browser.ieTouch&&(T.touches.currentX===T.touches.startX&&T.touches.currentY===T.touches.startY||(R=!0)),E){if(N)return void(E=!1);if(R||!T.browser.ieTouch){T.allowClick=!1,T.emit("onSliderMove",T,e),e.preventDefault(),T.params.touchMoveStopPropagation&&!T.params.nested&&e.stopPropagation(),S||(r.loop&&T.fixLoop(),P=T.getWrapperTranslate(),T.setWrapperTransition(0),T.animating&&T.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),T.params.autoplay&&T.autoplaying&&(T.params.autoplayDisableOnInteraction?T.stopAutoplay():T.pauseAutoplay()),L=!1,!T.params.grabCursor||T.params.allowSwipeToNext!==!0&&T.params.allowSwipeToPrev!==!0||T.setGrabCursor(!0)),S=!0;var i=T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY;i*=T.params.touchRatio,T.rtl&&(i=-i),T.swipeDirection=i>0?"prev":"next",O=i+P;var o=!0;if(i>0&&O>T.minTranslate()?(o=!1,T.params.resistance&&(O=T.minTranslate()-1+Math.pow(-T.minTranslate()+P+i,T.params.resistanceRatio))):i<0&&OP&&(O=P),T.params.threshold>0){if(!(Math.abs(i)>T.params.threshold||D))return void(O=P);if(!D)return D=!0,T.touches.startX=T.touches.currentX,T.touches.startY=T.touches.currentY,O=P,void(T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY)}T.params.followFinger&&((T.params.freeMode||T.params.watchSlidesProgress)&&T.updateActiveIndex(),T.params.freeMode&&(0===$.length&&$.push({position:T.touches[T.isHorizontal()?"startX":"startY"],time:A}),$.push({position:T.touches[T.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),T.updateProgress(O),T.setWrapperTranslate(O))}}}}},T.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),k&&T.emit("onTouchEnd",T,e),k=!1,E){T.params.grabCursor&&S&&E&&(T.params.allowSwipeToNext===!0||T.params.allowSwipeToPrev===!0)&&T.setGrabCursor(!1);var n=Date.now(),i=n-A;if(T.allowClick&&(T.updateClickedSlide(e),T.emit("onTap",T,e),i<300&&n-I>300&&(M&&clearTimeout(M),M=setTimeout(function(){T&&(T.params.paginationHide&&T.paginationContainer.length>0&&!t(e.target).hasClass(T.params.bulletClass)&&T.paginationContainer.toggleClass(T.params.paginationHiddenClass),T.emit("onClick",T,e))},300)),i<300&&n-I<300&&(M&&clearTimeout(M),T.emit("onDoubleTap",T,e))),I=Date.now(),setTimeout(function(){T&&(T.allowClick=!0)},0),!E||!S||!T.swipeDirection||0===T.touches.diff||O===P)return void(E=S=!1);E=S=!1;var r;if(r=T.params.followFinger?T.rtl?T.translate:-T.translate:-O,T.params.freeMode){if(r<-T.minTranslate())return void T.slideTo(T.activeIndex);if(r>-T.maxTranslate())return void(T.slides.length1){var o=$.pop(),a=$.pop(),s=o.position-a.position,l=o.time-a.time;T.velocity=s/l,T.velocity=T.velocity/2,Math.abs(T.velocity)150||(new window.Date).getTime()-o.time>300)&&(T.velocity=0)}else T.velocity=0;T.velocity=T.velocity*T.params.freeModeMomentumVelocityRatio,$.length=0;var u=1e3*T.params.freeModeMomentumRatio,c=T.velocity*u,d=T.translate+c;T.rtl&&(d=-d);var p,f=!1,h=20*Math.abs(T.velocity)*T.params.freeModeMomentumBounceRatio;if(dT.minTranslate())T.params.freeModeMomentumBounce?(d-T.minTranslate()>h&&(d=T.minTranslate()+h),p=T.minTranslate(),f=!0,L=!0):d=T.minTranslate();else if(T.params.freeModeSticky){var m,g=0;for(g=0;g-d){m=g;break}d=Math.abs(T.snapGrid[m]-d)=T.params.longSwipesMs)&&(T.updateProgress(),T.updateActiveIndex()))}var v,y=0,b=T.slidesSizesGrid[0];for(v=0;v=T.slidesGrid[v]&&r=T.slidesGrid[v]&&(y=v,b=T.slidesGrid[T.slidesGrid.length-1]-T.slidesGrid[T.slidesGrid.length-2]);var w=(r-T.slidesGrid[y])/b;if(i>T.params.longSwipesMs){if(!T.params.longSwipes)return void T.slideTo(T.activeIndex);"next"===T.swipeDirection&&(w>=T.params.longSwipesRatio?T.slideTo(y+T.params.slidesPerGroup):T.slideTo(y)),"prev"===T.swipeDirection&&(w>1-T.params.longSwipesRatio?T.slideTo(y+T.params.slidesPerGroup):T.slideTo(y))}else{if(!T.params.shortSwipes)return void T.slideTo(T.activeIndex);"next"===T.swipeDirection&&T.slideTo(y+T.params.slidesPerGroup),"prev"===T.swipeDirection&&T.slideTo(y)}}},T._slideTo=function(e,t){return T.slideTo(e,t,!0,!0)},T.slideTo=function(e,t,n,i){"undefined"==typeof n&&(n=!0),"undefined"==typeof e&&(e=0),e<0&&(e=0),T.snapIndex=Math.floor(e/T.params.slidesPerGroup),T.snapIndex>=T.snapGrid.length&&(T.snapIndex=T.snapGrid.length-1);var r=-T.snapGrid[T.snapIndex];if(T.params.autoplay&&T.autoplaying&&(i||!T.params.autoplayDisableOnInteraction?T.pauseAutoplay(t):T.stopAutoplay()),T.updateProgress(r),T.params.normalizeSlideIndex)for(var o=0;o=Math.floor(100*T.slidesGrid[o])&&(e=o);return!(!T.params.allowSwipeToNext&&rT.translate&&r>T.maxTranslate()&&(T.activeIndex||0)!==e)&&("undefined"==typeof t&&(t=T.params.speed),T.previousIndex=T.activeIndex||0,T.activeIndex=e,T.updateRealIndex(),T.rtl&&-r===T.translate||!T.rtl&&r===T.translate?(T.params.autoHeight&&T.updateAutoHeight(),T.updateClasses(),"slide"!==T.params.effect&&T.setWrapperTranslate(r),!1):(T.updateClasses(),T.onTransitionStart(n),0===t||T.browser.lteIE9?(T.setWrapperTranslate(r),T.setWrapperTransition(0),T.onTransitionEnd(n)):(T.setWrapperTranslate(r),T.setWrapperTransition(t),T.animating||(T.animating=!0,T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd(n)}))),!0)))},T.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),T.params.autoHeight&&T.updateAutoHeight(),T.lazy&&T.lazy.onTransitionStart(),e&&(T.emit("onTransitionStart",T),T.activeIndex!==T.previousIndex&&(T.emit("onSlideChangeStart",T),T.activeIndex>T.previousIndex?T.emit("onSlideNextStart",T):T.emit("onSlidePrevStart",T)))},T.onTransitionEnd=function(e){T.animating=!1,T.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),T.lazy&&T.lazy.onTransitionEnd(),e&&(T.emit("onTransitionEnd",T),T.activeIndex!==T.previousIndex&&(T.emit("onSlideChangeEnd",T),T.activeIndex>T.previousIndex?T.emit("onSlideNextEnd",T):T.emit("onSlidePrevEnd",T))),T.params.history&&T.history&&T.history.setHistory(T.params.history,T.activeIndex),T.params.hashnav&&T.hashnav&&T.hashnav.setHash()},T.slideNext=function(e,t,n){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex+T.params.slidesPerGroup,t,e,n)}return T.slideTo(T.activeIndex+T.params.slidesPerGroup,t,e,n)},T._slideNext=function(e){return T.slideNext(!0,e,!0)},T.slidePrev=function(e,t,n){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex-1,t,e,n)}return T.slideTo(T.activeIndex-1,t,e,n)},T._slidePrev=function(e){return T.slidePrev(!0,e,!0)},T.slideReset=function(e,t,n){return T.slideTo(T.activeIndex,t,e)},T.disableTouchControl=function(){return T.params.onlyExternal=!0,!0},T.enableTouchControl=function(){return T.params.onlyExternal=!1,!0},T.setWrapperTransition=function(e,t){T.wrapper.transition(e),"slide"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTransition(e),T.params.parallax&&T.parallax&&T.parallax.setTransition(e),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTransition(e),T.params.control&&T.controller&&T.controller.setTransition(e,t),T.emit("onSetTransition",T,e)},T.setWrapperTranslate=function(e,t,n){var i=0,r=0,o=0;T.isHorizontal()?i=T.rtl?-e:e:r=e,T.params.roundLengths&&(i=a(i),r=a(r)),T.params.virtualTranslate||(T.support.transforms3d?T.wrapper.transform("translate3d("+i+"px, "+r+"px, "+o+"px)"):T.wrapper.transform("translate("+i+"px, "+r+"px)")),T.translate=T.isHorizontal()?i:r;var s,l=T.maxTranslate()-T.minTranslate();s=0===l?0:(e-T.minTranslate())/l, s!==T.progress&&T.updateProgress(e),t&&T.updateActiveIndex(),"slide"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTranslate(T.translate),T.params.parallax&&T.parallax&&T.parallax.setTranslate(T.translate),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTranslate(T.translate),T.params.control&&T.controller&&T.controller.setTranslate(T.translate,n),T.emit("onSetTranslate",T,T.translate)},T.getTranslate=function(e,t){var n,i,r,o;return"undefined"==typeof t&&(t="x"),T.params.virtualTranslate?T.rtl?-T.translate:T.translate:(r=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(i=r.transform||r.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),o=new window.WebKitCSSMatrix("none"===i?"":i)):(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(i=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),T.rtl&&i&&(i=-i),i||0)},T.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=T.isHorizontal()?"x":"y"),T.getTranslate(T.wrapper[0],e)},T.observers=[],T.initObservers=function(){if(T.params.observeParents)for(var e=T.container.parents(),t=0;te.length&&(T.loopedSlides=e.length);var n,i=[],r=[];for(e.each(function(n,o){var a=t(this);n=e.length-T.loopedSlides&&i.push(o),a.attr("data-swiper-slide-index",n)}),n=0;n=0;n--)T.wrapper.prepend(t(i[n].cloneNode(!0)).addClass(T.params.slideDuplicateClass))},T.destroyLoop=function(){T.wrapper.children("."+T.params.slideClass+"."+T.params.slideDuplicateClass).remove(),T.slides.removeAttr("data-swiper-slide-index")},T.reLoop=function(e){var t=T.activeIndex-T.loopedSlides;T.destroyLoop(),T.createLoop(),T.updateSlidesSize(),e&&T.slideTo(t+T.loopedSlides,0,!1)},T.fixLoop=function(){var e;T.activeIndex=2*T.loopedSlides||T.activeIndex>T.slides.length-2*T.params.slidesPerView)&&(e=-T.slides.length+T.activeIndex+T.loopedSlides,e+=T.loopedSlides,T.slideTo(e,0,!1,!0))},T.appendSlide=function(e){if(T.params.loop&&T.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t

'),n.append(c)),0===d.length&&(d=t('
'),n.append(d)),c.length&&(c[0].style.opacity=Math.max(-i,0)),d.length&&(d[0].style.opacity=Math.max(i,0))}n.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(e){if(T.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),T.params.virtualTranslate&&0!==e){var n=!1;T.slides.eq(T.activeIndex).transitionEnd(function(){if(!n&&T&&t(this).hasClass(T.params.slideActiveClass)){n=!0,T.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i
'),T.wrapper.append(e)),e.css({height:T.width+"px"})):(e=T.container.find(".swiper-cube-shadow"),0===e.length&&(e=t('
'),T.container.append(e))));for(var i=0;i-1&&(n=90*i+90*s,T.rtl&&(n=90*-i-90*s)),r.transform(d),T.params.cube.slideShadows){var p=T.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),f=T.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===p.length&&(p=t('
'),r.append(p)),0===f.length&&(f=t('
'),r.append(f)),p.length&&(p[0].style.opacity=Math.max(-s,0)),f.length&&(f[0].style.opacity=Math.max(s,0))}}if(T.wrapper.css({"-webkit-transform-origin":"50% 50% -"+T.size/2+"px","-moz-transform-origin":"50% 50% -"+T.size/2+"px","-ms-transform-origin":"50% 50% -"+T.size/2+"px","transform-origin":"50% 50% -"+T.size/2+"px"}),T.params.cube.shadow)if(T.isHorizontal())e.transform("translate3d(0px, "+(T.width/2+T.params.cube.shadowOffset)+"px, "+-T.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+T.params.cube.shadowScale+")");else{var h=Math.abs(n)-90*Math.floor(Math.abs(n)/90),m=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),g=T.params.cube.shadowScale,v=T.params.cube.shadowScale/m,y=T.params.cube.shadowOffset;e.transform("scale3d("+g+", 1, "+v+") translate3d(0px, "+(T.height/2+y)+"px, "+-T.height/2/v+"px) rotateX(-90deg)")}var b=T.isSafari||T.isUiWebView?-T.size/2:0;T.wrapper.transform("translate3d(0px,0,"+b+"px) rotateX("+(T.isHorizontal()?0:n)+"deg) rotateY("+(T.isHorizontal()?-n:0)+"deg)")},setTransition:function(e){T.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),T.params.cube.shadow&&!T.isHorizontal()&&T.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=T.translate,n=T.isHorizontal()?-e+T.width/2:-e+T.height/2,i=T.isHorizontal()?T.params.coverflow.rotate:-T.params.coverflow.rotate,r=T.params.coverflow.depth,o=0,a=T.slides.length;o
'),s.append(v)),0===y.length&&(y=t('
'),s.append(y)),v.length&&(v[0].style.opacity=c>0?c:0),y.length&&(y[0].style.opacity=-c>0?-c:0)}}if(T.browser.ie){var b=T.wrapper[0].style;b.perspectiveOrigin=n+"px 50%"}},setTransition:function(e){T.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},T.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,n){if("undefined"!=typeof e&&("undefined"==typeof n&&(n=!0),0!==T.slides.length)){var i=T.slides.eq(e),r=i.find("."+T.params.lazyLoadingClass+":not(."+T.params.lazyStatusLoadedClass+"):not(."+T.params.lazyStatusLoadingClass+")");!i.hasClass(T.params.lazyLoadingClass)||i.hasClass(T.params.lazyStatusLoadedClass)||i.hasClass(T.params.lazyStatusLoadingClass)||(r=r.add(i[0])),0!==r.length&&r.each(function(){var e=t(this);e.addClass(T.params.lazyStatusLoadingClass);var r=e.attr("data-background"),o=e.attr("data-src"),a=e.attr("data-srcset"),s=e.attr("data-sizes");T.loadImage(e[0],o||r,a,s,!1,function(){if(r?(e.css("background-image",'url("'+r+'")'),e.removeAttr("data-background")):(a&&(e.attr("srcset",a),e.removeAttr("data-srcset")),s&&(e.attr("sizes",s),e.removeAttr("data-sizes")),o&&(e.attr("src",o),e.removeAttr("data-src"))),e.addClass(T.params.lazyStatusLoadedClass).removeClass(T.params.lazyStatusLoadingClass),i.find("."+T.params.lazyPreloaderClass+", ."+T.params.preloaderClass).remove(),T.params.loop&&n){var t=i.attr("data-swiper-slide-index");if(i.hasClass(T.params.slideDuplicateClass)){var l=T.wrapper.children('[data-swiper-slide-index="'+t+'"]:not(.'+T.params.slideDuplicateClass+")");T.lazy.loadImageInSlide(l.index(),!1)}else{var u=T.wrapper.children("."+T.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');T.lazy.loadImageInSlide(u.index(),!1)}}T.emit("onLazyImageReady",T,i[0],e[0])}),T.emit("onLazyImageLoad",T,i[0],e[0])})}},load:function(){var e,n=T.params.slidesPerView;if("auto"===n&&(n=0),T.lazy.initialImageLoaded||(T.lazy.initialImageLoaded=!0),T.params.watchSlidesVisibility)T.wrapper.children("."+T.params.slideVisibleClass).each(function(){T.lazy.loadImageInSlide(t(this).index())});else if(n>1)for(e=T.activeIndex;e1||T.params.lazyLoadingInPrevNextAmount&&T.params.lazyLoadingInPrevNextAmount>1){var i=T.params.lazyLoadingInPrevNextAmount,r=n,o=Math.min(T.activeIndex+r+Math.max(i,r),T.slides.length),a=Math.max(T.activeIndex-Math.max(r,i),0);for(e=T.activeIndex+n;e0&&T.lazy.loadImageInSlide(s.index());var l=T.wrapper.children("."+T.params.slidePrevClass);l.length>0&&T.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){T.params.lazyLoading&&(T.params.lazyLoadingOnTransitionStart||!T.params.lazyLoadingOnTransitionStart&&!T.lazy.initialImageLoaded)&&T.lazy.load()},onTransitionEnd:function(){T.params.lazyLoading&&!T.params.lazyLoadingOnTransitionStart&&T.lazy.load()}},T.scrollbar={isTouched:!1,setDragPosition:function(e){var t=T.scrollbar,n=T.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,i=n-t.track.offset()[T.isHorizontal()?"left":"top"]-t.dragSize/2,r=-T.minTranslate()*t.moveDivider,o=-T.maxTranslate()*t.moveDivider;io&&(i=o),i=-i/t.moveDivider,T.updateProgress(i),T.setWrapperTranslate(i,!0)},dragStart:function(e){var t=T.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),T.params.scrollbarHide&&t.track.css("opacity",1),T.wrapper.transition(100),t.drag.transition(100),T.emit("onScrollbarDragStart",T)},dragMove:function(e){var t=T.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),T.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),T.emit("onScrollbarDragMove",T))},dragEnd:function(e){var t=T.scrollbar;t.isTouched&&(t.isTouched=!1,T.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout(function(){t.track.css("opacity",0),t.track.transition(400)},1e3)),T.emit("onScrollbarDragEnd",T),T.params.scrollbarSnapOnRelease&&T.slideReset())},draggableEvents:function(){return T.params.simulateTouch!==!1||T.support.touch?T.touchEvents:T.touchEventsDesktop}(),enableDraggable:function(){var e=T.scrollbar,n=T.support.touch?e.track:document;t(e.track).on(e.draggableEvents.start,e.dragStart),t(n).on(e.draggableEvents.move,e.dragMove),t(n).on(e.draggableEvents.end,e.dragEnd)},disableDraggable:function(){var e=T.scrollbar,n=T.support.touch?e.track:document;t(e.track).off(T.draggableEvents.start,e.dragStart),t(n).off(T.draggableEvents.move,e.dragMove),t(n).off(T.draggableEvents.end,e.dragEnd)},set:function(){if(T.params.scrollbar){var e=T.scrollbar;e.track=t(T.params.scrollbar),T.params.uniqueNavElements&&"string"==typeof T.params.scrollbar&&e.track.length>1&&1===T.container.find(T.params.scrollbar).length&&(e.track=T.container.find(T.params.scrollbar)),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=t('
'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=T.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=T.size/T.virtualSize,e.moveDivider=e.divider*(e.trackSize/T.size),e.dragSize=e.trackSize*e.divider,T.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.divider>=1?e.track[0].style.display="none":e.track[0].style.display="",T.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(T.params.scrollbar){var e,t=T.scrollbar,n=(T.translate||0,t.dragSize);e=(t.trackSize-t.dragSize)*T.progress,T.rtl&&T.isHorizontal()?(e=-e,e>0?(n=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(n=t.trackSize+e)):e<0?(n=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(n=t.trackSize-e),T.isHorizontal()?(T.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=n+"px"):(T.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=n+"px"),T.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){T.params.scrollbar&&T.scrollbar.drag.transition(e)}},T.controller={LinearSpline:function(e,t){this.x=e,this.y=t,this.lastIndex=e.length-1;var n,i;this.x.length;this.interpolate=function(e){return e?(i=r(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0};var r=function(){var e,t,n;return function(i,r){for(t=-1,e=i.length;e-t>1;)i[n=e+t>>1]<=r?t=n:e=n;return e}}()},getInterpolateFunction:function(e){T.controller.spline||(T.controller.spline=T.params.loop?new T.controller.LinearSpline(T.slidesGrid,e.slidesGrid):new T.controller.LinearSpline(T.snapGrid,e.snapGrid))},setTranslate:function(e,t){function i(t){e=t.rtl&&"horizontal"===t.params.direction?-T.translate:T.translate,"slide"===T.params.controlBy&&(T.controller.getInterpolateFunction(t),o=-T.controller.spline.interpolate(-e)),o&&"container"!==T.params.controlBy||(r=(t.maxTranslate()-t.minTranslate())/(T.maxTranslate()-T.minTranslate()),o=(e-T.minTranslate())*r+t.minTranslate()),T.params.controlInverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setWrapperTranslate(o,!1,T),t.updateActiveIndex()}var r,o,a=T.params.control;if(T.isArray(a))for(var s=0;s-1?"DOMMouseScroll":d()?"wheel":"mousewheel"),T.disableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var e=T.container;return"container"!==T.params.mousewheelEventsTarged&&(e=t(T.params.mousewheelEventsTarged)),e.off(T.mousewheel.event,p),!0},T.enableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var e=T.container;return"container"!==T.params.mousewheelEventsTarged&&(e=t(T.params.mousewheelEventsTarged)),e.on(T.mousewheel.event,p),!0},T.parallax={setTranslate:function(){T.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){h(this,T.progress)}),T.slides.each(function(){var e=t(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var t=Math.min(Math.max(e[0].progress,-1),1);h(this,t)})})},setTransition:function(e){"undefined"==typeof e&&(e=T.params.speed),T.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var n=t(this),i=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),n.transition(i)})}},T.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:T.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY,o=Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2));return o},onGestureStart:function(e){var n=T.zoom;if(!T.support.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.gesture.scaleStart=n.getDistanceBetweenTouches(e)}return n.gesture.slide&&n.gesture.slide.length||(n.gesture.slide=t(this),0===n.gesture.slide.length&&(n.gesture.slide=T.slides.eq(T.activeIndex)),n.gesture.image=n.gesture.slide.find("img, svg, canvas"),n.gesture.imageWrap=n.gesture.image.parent("."+T.params.zoomContainerClass),n.gesture.zoomMax=n.gesture.imageWrap.attr("data-swiper-zoom")||T.params.zoomMax,0!==n.gesture.imageWrap.length)?(n.gesture.image.transition(0),void(n.isScaling=!0)):void(n.gesture.image=void 0)},onGestureChange:function(e){var t=T.zoom;if(!T.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleMove=t.getDistanceBetweenTouches(e)}t.gesture.image&&0!==t.gesture.image.length&&(T.support.gestures?t.scale=e.scale*t.currentScale:t.scale=t.gesture.scaleMove/t.gesture.scaleStart*t.currentScale,t.scale>t.gesture.zoomMax&&(t.scale=t.gesture.zoomMax-1+Math.pow(t.scale-t.gesture.zoomMax+1,.5)),t.scalet.image.touchesStart.x)return void(t.image.isTouched=!1);if(!T.isHorizontal()&&Math.floor(t.image.minY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.yt.image.touchesStart.y)return void(t.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),t.image.isMoved=!0,t.image.currentX=t.image.touchesCurrent.x-t.image.touchesStart.x+t.image.startX,t.image.currentY=t.image.touchesCurrent.y-t.image.touchesStart.y+t.image.startY,t.image.currentXt.image.maxX&&(t.image.currentX=t.image.maxX-1+Math.pow(t.image.currentX-t.image.maxX+1,.8)),t.image.currentYt.image.maxY&&(t.image.currentY=t.image.maxY-1+Math.pow(t.image.currentY-t.image.maxY+1,.8)),t.velocity.prevPositionX||(t.velocity.prevPositionX=t.image.touchesCurrent.x),t.velocity.prevPositionY||(t.velocity.prevPositionY=t.image.touchesCurrent.y),t.velocity.prevTime||(t.velocity.prevTime=Date.now()),t.velocity.x=(t.image.touchesCurrent.x-t.velocity.prevPositionX)/(Date.now()-t.velocity.prevTime)/2,t.velocity.y=(t.image.touchesCurrent.y-t.velocity.prevPositionY)/(Date.now()-t.velocity.prevTime)/2,Math.abs(t.image.touchesCurrent.x-t.velocity.prevPositionX)<2&&(t.velocity.x=0),Math.abs(t.image.touchesCurrent.y-t.velocity.prevPositionY)<2&&(t.velocity.y=0),t.velocity.prevPositionX=t.image.touchesCurrent.x,t.velocity.prevPositionY=t.image.touchesCurrent.y,t.velocity.prevTime=Date.now(),t.gesture.imageWrap.transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}}},onTouchEnd:function(e,t){var n=e.zoom;if(n.gesture.image&&0!==n.gesture.image.length){if(!n.image.isTouched||!n.image.isMoved)return n.image.isTouched=!1,void(n.image.isMoved=!1);n.image.isTouched=!1,n.image.isMoved=!1;var i=300,r=300,o=n.velocity.x*i,a=n.image.currentX+o,s=n.velocity.y*r,l=n.image.currentY+s;0!==n.velocity.x&&(i=Math.abs((a-n.image.currentX)/n.velocity.x)),0!==n.velocity.y&&(r=Math.abs((l-n.image.currentY)/n.velocity.y));var u=Math.max(i,r);n.image.currentX=a,n.imag