DERNIERE MINUTE

Vous lisez:

Le premier estomac humain en 3D développé dans un laboratoire


monde

Le premier estomac humain en 3D développé dans un laboratoire

Pour la première fois, un tissu de l’estomac humain a été développé à partir de cellules souches. Cet exploit scientifique a été effectué dans un hôpital pour enfants à Cincinatti.

Les chercheurs ont réussi à produire des mini-organes dans des boîtes de Pétri. De la taille d’un pois et en forme de ballons de rugby, leurs créations réagissaient à des infections de la même façon que les estomacs ordinaires.

'),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.image.currentY=l;var c=n.image.width*n.scale,d=n.image.height*n.scale;n.image.minX=Math.min(n.gesture.slideWidth/2-c/2,0),n.image.maxX=-n.image.minX,n.image.minY=Math.min(n.gesture.slideHeight/2-d/2,0),n.image.maxY=-n.image.minY,n.image.currentX=Math.max(Math.min(n.image.currentX,n.image.maxX),n.image.minX),n.image.currentY=Math.max(Math.min(n.image.currentY,n.image.maxY),n.image.minY),n.gesture.imageWrap.transition(u).transform("translate3d("+n.image.currentX+"px, "+n.image.currentY+"px,0)")}},onTransitionEnd:function(e){var t=e.zoom;t.gesture.slide&&e.previousIndex!==e.activeIndex&&(t.gesture.image.transform("translate3d(0,0,0) scale(1)"),t.gesture.imageWrap.transform("translate3d(0,0,0)"),t.gesture.slide=t.gesture.image=t.gesture.imageWrap=void 0,t.scale=t.currentScale=1)},toggleZoom:function(e,n){var i=e.zoom;if(i.gesture.slide||(i.gesture.slide=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),i.gesture.image=i.gesture.slide.find("img, svg, canvas"),i.gesture.imageWrap=i.gesture.image.parent("."+e.params.zoomContainerClass)),i.gesture.image&&0!==i.gesture.image.length){var r,o,a,s,l,u,c,d,p,f,h,m,g,v,y,b,w,x;"undefined"==typeof i.image.touchesStart.x&&n?(r="touchend"===n.type?n.changedTouches[0].pageX:n.pageX,o="touchend"===n.type?n.changedTouches[0].pageY:n.pageY):(r=i.image.touchesStart.x,o=i.image.touchesStart.y),i.scale&&1!==i.scale?(i.scale=i.currentScale=1,i.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),i.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),i.gesture.slide=void 0):(i.scale=i.currentScale=i.gesture.imageWrap.attr("data-swiper-zoom")||e.params.zoomMax,n?(w=i.gesture.slide[0].offsetWidth,x=i.gesture.slide[0].offsetHeight,a=i.gesture.slide.offset().left,s=i.gesture.slide.offset().top,l=a+w/2-r,u=s+x/2-o,p=i.gesture.image[0].offsetWidth,f=i.gesture.image[0].offsetHeight,h=p*i.scale,m=f*i.scale,g=Math.min(w/2-h/2,0),v=Math.min(x/2-m/2,0),y=-g,b=-v,c=l*i.scale,d=u*i.scale,cy&&(c=y),db&&(d=b)):(c=0,d=0),i.gesture.imageWrap.transition(300).transform("translate3d("+c+"px, "+d+"px,0)"),i.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+i.scale+")"))}},attachEvents:function(e){var n=e?"off":"on";if(T.params.zoom){var i=(T.slides,!("touchstart"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1});T.support.gestures?(T.slides[n]("gesturestart",T.zoom.onGestureStart,i),T.slides[n]("gesturechange",T.zoom.onGestureChange,i),T.slides[n]("gestureend",T.zoom.onGestureEnd,i)):"touchstart"===T.touchEvents.start&&(T.slides[n](T.touchEvents.start,T.zoom.onGestureStart,i),T.slides[n](T.touchEvents.move,T.zoom.onGestureChange,i),T.slides[n](T.touchEvents.end,T.zoom.onGestureEnd,i)),T[n]("touchStart",T.zoom.onTouchStart),T.slides.each(function(e,i){t(i).find("."+T.params.zoomContainerClass).length>0&&t(i)[n](T.touchEvents.move,T.zoom.onTouchMove)}),T[n]("touchEnd",T.zoom.onTouchEnd),T[n]("transitionEnd",T.zoom.onTransitionEnd),T.params.zoomToggle&&T.on("doubleTap",T.zoom.toggleZoom)}},init:function(){T.zoom.attachEvents()},destroy:function(){T.zoom.attachEvents(!0)}},T._plugins=[];for(var H in T.plugins){var B=T.plugins[H](T,T.params[H]);B&&T._plugins.push(B)}return T.callPlugins=function(e){for(var t=0;t'),notify:function(e){var t=T.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.a11y.makeFocusable(T.nextButton),T.a11y.addRole(T.nextButton,"button"),T.a11y.addLabel(T.nextButton,T.params.nextSlideMessage)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.a11y.makeFocusable(T.prevButton),T.a11y.addRole(T.prevButton,"button"),T.a11y.addLabel(T.prevButton,T.params.prevSlideMessage)),t(T.container).append(T.a11y.liveRegion)},initPagination:function(){T.params.pagination&&T.params.paginationClickable&&T.bullets&&T.bullets.length&&T.bullets.each(function(){var e=t(this);T.a11y.makeFocusable(e),T.a11y.addRole(e,"button"),T.a11y.addLabel(e,T.params.paginationBulletMessage.replace(/{{index}}/,e.index()+1))})},destroy:function(){T.a11y.liveRegion&&T.a11y.liveRegion.length>0&&T.a11y.liveRegion.remove()}},T.init=function(){T.params.loop&&T.createLoop(),T.updateContainerSize(),T.updateSlidesSize(),T.updatePagination(),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.set(),T.params.scrollbarDraggable&&T.scrollbar.enableDraggable()),"slide"!==T.params.effect&&T.effects[T.params.effect]&&(T.params.loop||T.updateProgress(),T.effects[T.params.effect].setTranslate()),T.params.loop?T.slideTo(T.params.initialSlide+T.loopedSlides,0,T.params.runCallbacksOnInit):(T.slideTo(T.params.initialSlide,0,T.params.runCallbacksOnInit),0===T.params.initialSlide&&(T.parallax&&T.params.parallax&&T.parallax.setTranslate(),T.lazy&&T.params.lazyLoading&&(T.lazy.load(),T.lazy.initialImageLoaded=!0))),T.attachEvents(),T.params.observer&&T.support.observer&&T.initObservers(),T.params.preloadImages&&!T.params.lazyLoading&&T.preloadImages(),T.params.zoom&&T.zoom&&T.zoom.init(),T.params.autoplay&&T.startAutoplay(),T.params.keyboardControl&&T.enableKeyboardControl&&T.enableKeyboardControl(),T.params.mousewheelControl&&T.enableMousewheelControl&&T.enableMousewheelControl(),T.params.hashnavReplaceState&&(T.params.replaceState=T.params.hashnavReplaceState),T.params.history&&T.history&&T.history.init(),T.params.hashnav&&T.hashnav&&T.hashnav.init(),T.params.a11y&&T.a11y&&T.a11y.init(),T.emit("onInit",T)},T.cleanupStyles=function(){T.container.removeClass(T.classNames.join(" ")).removeAttr("style"),T.wrapper.removeAttr("style"),T.slides&&T.slides.length&&T.slides.removeClass([T.params.slideVisibleClass,T.params.slideActiveClass,T.params.slideNextClass,T.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),T.paginationContainer&&T.paginationContainer.length&&T.paginationContainer.removeClass(T.params.paginationHiddenClass),T.bullets&&T.bullets.length&&T.bullets.removeClass(T.params.bulletActiveClass),T.params.prevButton&&t(T.params.prevButton).removeClass(T.params.buttonDisabledClass),T.params.nextButton&&t(T.params.nextButton).removeClass(T.params.buttonDisabledClass),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.track&&T.scrollbar.track.length&&T.scrollbar.track.removeAttr("style"),T.scrollbar.drag&&T.scrollbar.drag.length&&T.scrollbar.drag.removeAttr("style"))},T.destroy=function(e,t){T.detachEvents(),T.stopAutoplay(),T.params.scrollbar&&T.scrollbar&&T.params.scrollbarDraggable&&T.scrollbar.disableDraggable(),T.params.loop&&T.destroyLoop(),t&&T.cleanupStyles(),T.disconnectObservers(),T.params.zoom&&T.zoom&&T.zoom.destroy(),T.params.keyboardControl&&T.disableKeyboardControl&&T.disableKeyboardControl(),T.params.mousewheelControl&&T.disableMousewheelControl&&T.disableMousewheelControl(),T.params.a11y&&T.a11y&&T.a11y.destroy(),T.params.history&&!T.params.replaceState&&window.removeEventListener("popstate",T.history.setHistoryPopState),T.params.hashnav&&T.hashnav&&T.hashnav.destroy(),T.emit("onDestroy"),e!==!1&&(T=null)},T.init(),T}};n.prototype={isSafari:function(){var e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="",1===e.getElementsByTagName("i").length}()},device:function(){var e=navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),i=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/);return{ios:n||r||i,android:t}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n=0&&s.indexOf(">")>=0){var l="div";for(0===s.indexOf(":~]/)?(n||document).querySelectorAll(t):[document.getElementById(t.split("#")[1])],r=0;r0&&t[0].nodeType)for(r=0;r0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=document.body,i=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return{top:t.top+o-i,left:t.left+a-r}}return null},css:function(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;ni-1?new e([]):t<0?(n=i+t,new e(n<0?[]:[this[n]])):new e([this[t]])},append:function(t){var n,i;for(n=0;n=0;i--)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(t instanceof e)for(i=0;i1)for(var r=0;r1)for(var r=0;r0?n?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;n?t(o).is(n)&&i.push(o):i.push(o),r=o}return new e(i)},prev:function(n){return new e(this.length>0?n?this[0].previousElementSibling&&t(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;n?t(o).is(n)&&i.push(o):i.push(o),r=o}return new e(i)},parent:function(e){for(var n=[],i=0;i0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=n}(),"undefined"!=typeof t?t.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return window.Swiper})},{}],69:[function(e,t,n){"use strict";function i(e){G=e.util,K=e.config}function r(e){Q&&G.warn&&(!K.silent||K.debug)&&Q.warn("[VueResource warn]: "+e)}function o(e){Q&&Q.error(e)}function a(e,t){return G.nextTick(e,t)}function s(e){return e.replace(/^\s*|\s*$/g,"")}function l(e){return e?e.toLowerCase():""}function u(e){return"string"==typeof e}function c(e){return"function"==typeof e}function d(e){return null!==e&&"object"===("undefined"==typeof e?"undefined":U(e))}function p(e){return d(e)&&Object.getPrototypeOf(e)==Object.prototype}function f(e,t,n){return n=n||{},c(n)&&(n=n.call(t)),g(e.bind({$vm:t,$options:n}),e,{$options:n})}function h(e,t){var n,i;if("number"==typeof e.length)for(n=0;n=200&&e.status<300,e})}function W(e){var t,n,i,r={};return u(e)&&h(e.split("\n"),function(e){i=e.indexOf(":"),n=s(l(e.slice(0,i))),t=s(e.slice(i+1)),r[n]?Z(r[n])?r[n].push(t):r[n]=[r[n],t]:r[n]=t}),r}function V(e,t){var n,i,r=this||{},a=F;return V.interceptors.forEach(function(e){a=R(e,r.$vm)(a)}),t=d(e)?e:m({url:e},t),n=g({},V.options,r.$options,t),i=a(n).bind(r.$vm).then(function(e){return e.ok?e:z.reject(e)},function(e){return e instanceof Error&&o(e),z.reject(e)}),n.success&&i.success(n.success),n.error&&i.error(n.error),i}function q(e,t,n,i){var r=this||{},o={};return n=m({},q.actions,n),h(n,function(n,a){n=g({url:e,params:t||{}},i,n),o[a]=function(){return(r.$http||V)(Y(n,arguments))}}),o}function Y(e,t){var n,i,r,o=m({},e),a={};switch(t.length){case 4:r=t[3],i=t[2];case 3:case 2:if(!c(t[1])){a=t[0],n=t[1],i=t[2];break}if(c(t[0])){i=t[0],r=t[1];break}i=t[1],r=t[2];case 1:c(t[0])?i=t[0]:/^(POST|PUT|PATCH)$/i.test(o.method)?n=t[0]:a=t[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+t.length+" arguments"}return o.data=n,o.params=m({},o.params,a),i&&(o.success=i),r&&(o.error=r),o}function X(e){X.installed||(i(e),e.url=P,e.http=V,e.resource=q,e.Promise=z,Object.defineProperties(e.prototype,{$url:{get:function(){return f(e.url,this,this.$options.url)}},$http:{get:function(){return f(e.http,this,this.$options.http)}},$resource:{get:function(){return e.resource.bind(this)}},$promise:{get:function(){var t=this;return function(n){return new e.Promise(n,t)}}}}))}var U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},G={},K={},J=[],Q=window.console,Z=Array.isArray,ee=document.documentMode,te=document.createElement("a");P.options={url:"",root:null,params:{}},P.transforms=[O,w,b,y],P.params=function(e){var t=[],n=encodeURIComponent;return t.add=function(e,t){c(t)&&(t=t()),null===t&&(t=""),this.push(n(e)+"="+n(t))},M(t,e),t.join("&").replace(/%20/g,"+")},P.parse=function(e){return ee&&(te.href=e,e=te.href),te.href=e,{href:te.href,protocol:te.protocol?te.protocol.replace(/:$/,""):"",port:te.port,host:te.host,hostname:te.hostname,pathname:"/"===te.pathname.charAt(0)?te.pathname:"/"+te.pathname,search:te.search?te.search.replace(/^\?/,""):"",hash:te.hash?te.hash.replace(/^#/,""):""}};var ne=0,ie=1,re=2;L.reject=function(e){return new L(function(t,n){n(e)})},L.resolve=function(e){return new L(function(t,n){t(e)})},L.all=function(e){return new L(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var a=0;a1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function g(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function v(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e}function y(e){return null!==e&&"object"==typeof e}function b(e){return Kn.call(e)===Jn}function w(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(e,t){var n,i,r,o,a,s=function s(){var l=Date.now()-o;l=0?n=setTimeout(s,t-l):(n=null,a=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(s,t)),a}}function _(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function T(e){var t=function t(){if(!t.cancelled)return e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t}function C(e,t){return e==t||!(!y(e)||!y(t))&&JSON.stringify(e)===JSON.stringify(t)}function E(e){return/native code/.test(e.toString())}function S(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}function k(){return gi.charCodeAt(bi+1)}function A(){return gi.charCodeAt(++bi)}function N(){return bi>=yi}function O(){for(;k()===Di;)A()}function P(e){return e===Ai||e===Ni}function D(e){return Mi[e]}function M(e,t){return Li[e]===t}function L(){for(var e,t=A();!N();)if(e=A(),e===Pi)A();else if(e===t)break}function z(e){for(var t=0,n=e;!N();)if(e=k(),P(e))L();else if(n===e&&t++,M(n,e)&&t--,A(),0===t)break}function I(){for(var e=bi;!N();)if(wi=k(),P(wi))L();else if(D(wi))z(wi);else if(wi===Oi){if(A(),wi=k(),wi!==Oi){xi!==Ci&&xi!==ki||(xi=Ei);break}A()}else{if(wi===Di&&(xi===Si||xi===ki)){O();break}xi===Ei&&(xi=Si),A()}return gi.slice(e+1,bi)||null}function $(){for(var e=[];!N();)e.push(j());return e}function j(){var e,t={};return xi=Ei,t.name=I().trim(),xi=ki,e=R(),e.length&&(t.args=e),t}function R(){for(var e=[];!N()&&xi!==Ei;){var t=I();if(!t)break;e.push(H(t))}return e}function H(e){if(Ti.test(e))return{value:l(e),dynamic:!1};var t=c(e),n=t===e;return{value:n?e:t,dynamic:n}}function B(e){var t=_i.get(e);if(t)return t;gi=e,vi={},yi=gi.length,bi=-1,wi="",xi=Ci;var n;return gi.indexOf("|")<0?vi.expression=gi.trim():(vi.expression=I().trim(),n=$(),n.length&&(vi.filters=n)),_i.put(e,vi),vi}function F(e){return e.replace(Ii,"\\$&")}function W(){var e=F(Vi.delimiters[0]),t=F(Vi.delimiters[1]),n=F(Vi.unsafeDelimiters[0]),i=F(Vi.unsafeDelimiters[1]);ji=new RegExp(n+"((?:.|\\n)+?)"+i+"|"+e+"((?:.|\\n)+?)"+t,"g"),Ri=new RegExp("^"+n+"((?:.|\\n)+?)"+i+"$"),$i=new S(1e3)}function V(e){$i||W();var t=$i.get(e);if(t)return t;if(!ji.test(e))return null;for(var n,i,r,o,a,s,l=[],u=ji.lastIndex=0;n=ji.exec(e);)i=n.index,i>u&&l.push({value:e.slice(u,i)}),r=Ri.test(n[0]),o=r?n[1]:n[2],a=o.charCodeAt(0),s=42===a,o=s?o.slice(1):o,l.push({tag:!0,value:o.trim(),html:r,oneTime:s}),u=i+n[0].length;return u1?e.map(function(e){return Y(e,t)}).join("+"):Y(e[0],t,!0)}function Y(e,t,n){return e.tag?e.oneTime&&t?'"'+t.$eval(e.value)+'"':X(e.value,n):'"'+e.value+'"'}function X(e,t){if(Hi.test(e)){var n=B(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}function U(e,t,n,i){J(e,1,function(){t.appendChild(e)},n,i)}function G(e,t,n,i){J(e,1,function(){ie(e,t)},n,i)}function K(e,t,n){J(e,-1,function(){oe(e)},t,n)}function J(e,t,n,i,r){var o=e.__v_trans;if(!o||!o.hooks&&!li||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var a=t>0?"enter":"leave";o[a](n,r)}function Q(t){if("string"==typeof t){var n=t;t=document.querySelector(t),t||"production"!==e.env.NODE_ENV&&qi("Cannot find element: "+n)}return t}function Z(e){if(!e)return!1;var t=e.ownerDocument.documentElement,n=e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))}function ee(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n}function te(e,t){var n=ee(e,":"+t);return null===n&&(n=ee(e,"v-bind:"+t)),n}function ne(e,t){return e.hasAttribute(t)||e.hasAttribute(":"+t)||e.hasAttribute("v-bind:"+t)}function ie(e,t){t.parentNode.insertBefore(e,t)}function re(e,t){t.nextSibling?ie(e,t.nextSibling):t.parentNode.appendChild(e)}function oe(e){e.parentNode.removeChild(e)}function ae(e,t){t.firstChild?ie(e,t.firstChild):t.appendChild(e)}function se(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)}function le(e,t,n,i){e.addEventListener(t,n,i)}function ue(e,t,n){e.removeEventListener(t,n)}function ce(e){var t=e.className;return"object"==typeof t&&(t=t.baseVal||""),t}function de(e,t){ri&&!/svg$/.test(e.namespaceURI)?e.className=t:e.setAttribute("class",t)}function pe(e,t){if(e.classList)e.classList.add(t);else{var n=" "+ce(e)+" ";n.indexOf(" "+t+" ")<0&&de(e,(n+t).trim())}}function fe(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+ce(e)+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");de(e,n.trim())}e.className||e.removeAttribute("class")}function he(e,t){var n,i;if(ve(e)&&_e(e.content)&&(e=e.content),e.hasChildNodes())for(me(e),i=t?document.createDocumentFragment():document.createElement("div");n=e.firstChild;)i.appendChild(n);return i}function me(e){for(var t;t=e.firstChild,ge(t);)e.removeChild(t);for(;t=e.lastChild,ge(t);)e.removeChild(t)}function ge(e){return e&&(3===e.nodeType&&!e.data.trim()||8===e.nodeType)}function ve(e){return e.tagName&&"template"===e.tagName.toLowerCase()}function ye(e,t){var n=Vi.debug?document.createComment(e):document.createTextNode(t?" ":"");return n.__v_anchor=!0,n}function be(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;n=l.length){for(var e=0;e - did you mean <"+a+">? HTML is case-insensitive, remember to use kebab-case in templates."):Ji(t,i)&&qi("Unknown custom element: <"+i+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function Ee(e,t){var n=e.getAttribute("is");if(null!=n){if(De(t,"components",n))return e.removeAttribute("is"),{id:n}}else if(n=te(e,"is"),null!=n)return{id:n,dynamic:!0}}function Se(e,t){var i,o,a;for(i in t)o=e[i],a=t[i],r(e,i)?y(o)&&y(a)&&Se(o,a):n(e,i,a);return e}function ke(e,t){var n=Object.create(e||null);return t?v(n,Oe(t)):n}function Ae(t){if(t.components){var n,i=t.components=Oe(t.components),r=Object.keys(i);if("production"!==e.env.NODE_ENV)var o=t._componentNameMap={};for(var a=0,s=r.length;a=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function Fe(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(o(t)?c(t):"*"+t)}function We(e){function t(){var t=e[c+1];if(d===vr&&"'"===t||d===yr&&'"'===t)return c++,i="\\"+t,f[lr](),!0}var n,i,r,o,a,s,l,u=[],c=-1,d=pr,p=0,f=[];for(f[ur]=function(){void 0!==r&&(u.push(r),r=void 0)},f[lr]=function(){void 0===r?r=i:r+=i},f[cr]=function(){f[lr](),p++},f[dr]=function(){if(p>0)p--,d=gr,f[lr]();else{if(p=0,r=Fe(r),r===!1)return!1;f[ur]()}};null!=d;)if(c++,n=e[c],"\\"!==n||!t()){if(o=Be(n),l=xr[d],a=l[o]||l.else||wr,a===wr)return;if(d=a[0],s=f[a[1]],s&&(i=a[2],i=void 0===i?n:i,s()===!1))return;if(d===br)return u.raw=e,u}}function Ve(e){var t=sr.get(e);return t||(t=We(e),t&&sr.put(e,t)),t}function qe(e,t){return et(t).get(e)}function Ye(t,i,r){var o=t;if("string"==typeof i&&(i=We(i)),!i||!y(t))return!1;for(var a,s,l=0,u=i.length;l-1?n.replace(Dr,Ke):n,t+"scope."+n)}function Ke(e,t){return Ir[t]}function Je(t){Ar.test(t)&&"production"!==e.env.NODE_ENV&&qi("Avoid using reserved keywords in expression: "+t),Ir.length=0;var n=t.replace(Pr,Ue).replace(Nr,"");return n=(" "+n).replace(Lr,Ge).replace(Dr,Ke),Qe(n)}function Qe(t){try{return new Function("scope","return "+t+";")}catch(n){return"production"!==e.env.NODE_ENV&&qi(n.toString().match(/unsafe-eval|CSP/)?"It seems you are using the default build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. Use the CSP-compliant build instead: http://vuejs.org/guide/installation.html#CSP-compliant-build":"Invalid expression. Generated function body: "+t),Xe}}function Ze(t){var n=Ve(t);return n?function(e,t){Ye(e,n,t)}:void("production"!==e.env.NODE_ENV&&qi("Invalid setter expression: "+t))}function et(e,t){e=e.trim();var n=Cr.get(e);if(n)return t&&!n.set&&(n.set=Ze(n.exp)),n;var i={exp:e};return i.get=tt(e)&&e.indexOf("[")<0?Qe("scope."+e):Je(e),t&&(i.set=Ze(e)),Cr.put(e,i),i}function tt(e){return Mr.test(e)&&!zr.test(e)&&"Math."!==e.slice(0,5)}function nt(){jr.length=0,Rr.length=0,Hr={},Br={},Fr=!1}function it(){for(var e=!0;e;)e=!1,rt(jr),rt(Rr),jr.length?e=!0:(ti&&Vi.devtools&&ti.emit("flush"),nt())}function rt(t){for(var n=0;nVi._maxUpdateCount)){qi('You may have an infinite update loop for watcher with expression "'+i.expression+'"',i.vm);break}}t.length=0}function ot(e){var t=e.id;if(null==Hr[t]){var n=e.user?Rr:jr;Hr[t]=n.length,n.push(e),Fr||(Fr=!0,fi(it))}}function at(e,t,n,i){i&&v(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Wr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new hi,this.newDepIds=new hi,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var o=et(t,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function st(e,t){var n=void 0,i=void 0;t||(t=Vr,t.clear());var r=Qn(e),o=y(e);if((r||o)&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(r)for(n=e.length;n--;)st(e[n],t);else if(o)for(i=Object.keys(e),n=i.length;n--;)st(e[i[n]],t)}}function lt(e){return ve(e)&&_e(e.content)}function ut(e,t){var n=t?e:e.trim(),i=Yr.get(n);if(i)return i;var r=document.createDocumentFragment(),o=e.match(Gr),a=Kr.test(e),s=Jr.test(e);if(o||a||s){var l=o&&o[1],u=Ur[l]||Ur.efault,c=u[0],d=u[1],p=u[2],f=document.createElement("div");for(f.innerHTML=d+e+p;c--;)f=f.lastChild;for(var h;h=f.firstChild;)r.appendChild(h)}else r.appendChild(document.createTextNode(e));return t||me(r),Yr.put(n,r),r}function ct(e){if(lt(e))return ut(e.innerHTML);if("SCRIPT"===e.tagName)return ut(e.textContent);for(var t,n=dt(e),i=document.createDocumentFragment();t=n.firstChild;)i.appendChild(t);return me(i),i}function dt(e){if(!e.querySelectorAll)return e.cloneNode();var t,n,i,r=e.cloneNode(!0);if(Qr){var o=r;if(lt(e)&&(e=e.content,o=r.content),n=e.querySelectorAll("template"),n.length)for(i=o.querySelectorAll("template"),t=i.length;t--;)i[t].parentNode.replaceChild(dt(n[t]),i[t])}if(Zr)if("TEXTAREA"===e.tagName)r.value=e.value;else if(n=e.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),t=i.length;t--;)i[t].value=n[t].value;return r}function pt(e,t,n){var i,r;return _e(e)?(me(e),t?dt(e):e):("string"==typeof e?n||"#"!==e.charAt(0)?r=ut(e,n):(r=Xr.get(e),r||(i=document.getElementById(e.slice(1)),i&&(r=ct(i),Xr.put(e,r)))):e.nodeType&&(r=ct(e)),r&&t?dt(r):r)}function ft(e,t,n,i,r,o){this.children=[],this.childFrags=[],this.vm=t,this.scope=r,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=e(t,n,i,r,this);var a=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;a?(this.node=n.childNodes[0],this.before=ht,this.remove=mt):(this.node=ye("fragment-start"),this.end=ye("fragment-end"),this.frag=n,ae(this.node,n),n.appendChild(this.end),this.before=gt,this.remove=vt),this.node.__v_frag=this}function ht(e,t){this.inserted=!0;var n=t!==!1?G:ie;n(this.node,e,this.vm),Z(this.node)&&this.callHook(yt)}function mt(){this.inserted=!1;var e=Z(this.node),t=this;this.beforeRemove(),K(this.node,this.vm,function(){e&&t.callHook(bt),t.destroy()})}function gt(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?G:ie;we(this.node,this.end,function(t){i(t,e,n)}),Z(this.node)&&this.callHook(yt)}function vt(){this.inserted=!1;var e=this,t=Z(this.node);this.beforeRemove(),xe(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(bt),e.destroy()})}function yt(e){!e._isAttached&&Z(e.$el)&&e._callHook("attached")}function bt(e){e._isAttached&&!Z(e.$el)&&e._callHook("detached")}function wt(e,t){this.vm=e;var n,i="string"==typeof t;i||ve(t)&&!t.hasAttribute("v-if")?n=pt(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var r,o=e.constructor.cid;if(o>0){var a=o+(i?t:Te(t));r=no.get(a),r||(r=Jt(n,e.$options,!0),no.put(a,r))}else r=Jt(n,e.$options,!0);this.linker=r}function xt(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__v_frag;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__v_frag}return e}}function _t(e){for(var t=-1,n=new Array(Math.floor(e));++t47&&t<58?parseInt(e,10):1===e.length&&(t=e.toUpperCase().charCodeAt(0),t>64&&t<91)?t:Co[e]});return n=[].concat.apply([],n),function(t){if(n.indexOf(t.keyCode)>-1)return e.call(this,t)}}function At(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function Nt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function Ot(e){return function(t){if(t.target===t.currentTarget)return e.call(this,t)}}function Pt(e){if(No[e])return No[e];var t=Dt(e);return No[e]=No[t]=t,t}function Dt(e){e=f(e);var t=d(e),n=t.charAt(0).toUpperCase()+t.slice(1);Oo||(Oo=document.createElement("div"));var i,r=So.length;if("filter"!==t&&t in Oo.style)return{kebab:e,camel:t};for(;r--;)if(i=ko[r]+n,i in Oo.style)return{kebab:So[r]+e,camel:i}}function Mt(e){var t=[];if(Qn(e))for(var n=0,i=e.length;n=r?n():e[o].call(t,i)}var r=e.length,o=0;e[0].call(t,i)}function It(t,n,i){for(var r,a,s,l,u,c,p,h=[],m=i.$options.propsData,g=Object.keys(n),v=g.length;v--;)if(a=g[v],r=n[a]||Yo,"production"===e.env.NODE_ENV||"$data"!==a)if(u=d(a),Xo.test(u)){if(p={name:a,path:u,options:r,mode:qo.ONE_WAY,raw:null},s=f(a),null===(l=te(t,s))&&(null!==(l=te(t,s+".sync"))?p.mode=qo.TWO_WAY:null!==(l=te(t,s+".once"))&&(p.mode=qo.ONE_TIME)),null!==l)p.raw=l,c=B(l),l=c.expression,p.filters=c.filters,o(l)&&!c.filters?p.optimizedLiteral=!0:(p.dynamic=!0,"production"===e.env.NODE_ENV||p.mode!==qo.TWO_WAY||Uo.test(l)||(p.mode=qo.ONE_WAY,qi("Cannot bind two-way prop with non-settable parent path: "+l,i))),p.parentPath=l,"production"!==e.env.NODE_ENV&&r.twoWay&&p.mode!==qo.TWO_WAY&&qi('Prop "'+a+'" expects a two-way binding type.',i);else if(null!==(l=ee(t,s)))p.raw=l;else if(m&&null!==(l=m[a]||m[u]))p.raw=l;else if("production"!==e.env.NODE_ENV){var y=u.toLowerCase();l=/[A-Z\-]/.test(a)&&(t.getAttribute(y)||t.getAttribute(":"+y)||t.getAttribute("v-bind:"+y)||t.getAttribute(":"+y+".once")||t.getAttribute("v-bind:"+y+".once")||t.getAttribute(":"+y+".sync")||t.getAttribute("v-bind:"+y+".sync")),l?qi("Possible usage error for prop `"+y+"` - did you mean `"+s+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",i):!r.required||m&&(a in m||u in m)||qi("Missing required prop: "+a,i)}h.push(p)}else"production"!==e.env.NODE_ENV&&qi('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.',i);else qi("Do not use $data as prop.",i);return $t(h)}function $t(e){return function(t,n){t._props={};for(var i,o,a,s,d,p=t.$options.propsData,h=e.length;h--;)if(i=e[h],d=i.raw,o=i.path,a=i.options,t._props[o]=i,p&&r(p,o)&&Rt(t,i,p[o]),null===d)Rt(t,i,void 0);else if(i.dynamic)i.mode===qo.ONE_TIME?(s=(n||t._context||t).$get(i.parentPath),Rt(t,i,s)):t._context?t._bindDir({name:"prop",def:Ko,prop:i},null,null,n):Rt(t,i,t.$get(i.parentPath));else if(i.optimizedLiteral){var m=c(d);s=m===d?u(l(d)):m,Rt(t,i,s)}else s=a.type===Boolean&&(""===d||d===f(i.name))||d,Rt(t,i,s)}}function jt(e,t,n,i){var r=t.dynamic&&tt(t.parentPath),o=n;void 0===o&&(o=Bt(e,t)),o=Wt(t,o,e);var a=o!==n;Ft(t,o,e)||(o=void 0),r&&!a?Le(function(){i(o)}):i(o)}function Rt(e,t,n){jt(e,t,n,function(n){Re(e,t.path,n)})}function Ht(e,t,n){jt(e,t,n,function(n){e[t.path]=n})}function Bt(t,n){var i=n.options;if(!r(i,"default"))return i.type!==Boolean&&void 0;var o=i.default;return y(o)&&"production"!==e.env.NODE_ENV&&qi('Invalid default value for prop "'+n.name+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof o&&i.type!==Function?o.call(t):o}function Ft(t,n,i){if(!t.options.required&&(null===t.raw||null==n))return!0;var r=t.options,o=r.type,a=!o,s=[];if(o){Qn(o)||(o=[o]);for(var l=0;lt?-1:e===t?0:1}),t=0,n=s.length;t1,c=n.el.tagName.toLowerCase();"component"===c&&n.name&&(c+=":"+n.name),qi("Attribute"+(u?"s ":" ")+l.join(", ")+(u?" are":" is")+" ignored on component <"+c+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment-Instance")}}return n._containerAttrs=n._replacerAttrs=null,function(e,t,n){var i,a=e._context;a&&r&&(i=Qt(function(){r(a,t,null,n)},a));var s=Qt(function(){o&&o(e,t)},e);return en(e,s,a,i)}}function on(e,t){var n=e.nodeType;return 1!==n||_n(e)?3===n&&e.data.trim()?sn(e,t):null:an(e,t)}function an(e,t){if("TEXTAREA"===e.tagName){if(null!==ee(e,"v-pre"))return gn;var n=V(e.value);n&&(e.setAttribute(":value",q(n)),e.value="")}var i,r=e.hasAttributes(),o=r&&g(e.attributes);return r&&(i=mn(e,o,t)),i||(i=fn(e,t)),i||(i=hn(e,t)),!i&&r&&(i=yn(o,t)),i}function sn(e,t){if(e._skip)return ln;var n=V(e.wholeText);if(!n)return null;for(var i=e.nextSibling;i&&3===i.nodeType;)i._skip=!0,i=i.nextSibling;for(var r,o,a=document.createDocumentFragment(),s=0,l=n.length;sf.priority)&&(f=p,c=r.name,s=bn(r.name),a=r.value,u=l[1],d=l[2]));return f?vn(e,u,a,n,f,c,d,s):void 0}function gn(){}function vn(e,t,n,i,r,o,a,s){var l=B(n),u={name:t,arg:a,expression:l.expression,filters:l.filters,raw:n,attr:o,modifiers:s,def:r};"for"!==t&&"router-view"!==t||(u.ref=be(e));var c=function(e,t,n,i,r){u.ref&&Re((i||e).$refs,u.ref,null),e._bindDir(u,t,n,i,r)};return c.terminal=!0,c}function yn(t,n){function i(e,t,n){var i=n&&xn(n),r=!i&&B(a);g.push({name:e,attr:s,raw:l,def:t,arg:c,modifiers:d,expression:r&&r.expression,filters:r&&r.filters,interp:n,hasOneTime:i})}for(var r,o,a,s,l,u,c,d,p,f,h,m=t.length,g=[];m--;)if(r=t[m],o=s=r.name,a=l=r.value,f=V(a),c=null,d=bn(o),o=o.replace(da,""),f)a=q(f),c=o,i("bind",Fo.bind,f),"production"!==e.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(t,function(e){return":class"===e.name||"v-bind:class"===e.name})&&qi('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',n);else if(pa.test(o))d.literal=!la.test(o),i("transition",sa.transition);else if(ua.test(o))c=o.replace(ua,""),i("on",Fo.on);else if(la.test(o))u=o.replace(la,""),"style"===u||"class"===u?i(u,sa[u]):(c=u,i("bind",Fo.bind));else if(h=o.match(ca)){if(u=h[1],c=h[2],"else"===u)continue;p=De(n,"directives",u,!0),p&&i(u,p)}if(g.length)return wn(g)}function bn(e){var t=Object.create(null),n=e.match(da);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function wn(e){return function(t,n,i,r,o){for(var a=e.length;a--;)t._bindDir(e[a],n,i,r,o)}}function xn(e){for(var t=e.length;t--;)if(e[t].oneTime)return!0}function _n(e){return"SCRIPT"===e.tagName&&(!e.hasAttribute("type")||"text/javascript"===e.getAttribute("type"))}function Tn(e,t){return t&&(t._containerAttrs=En(e)),ve(e)&&(e=pt(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=he(e),e=Cn(e,t))),_e(e)&&(ae(ye("v-start",!0),e),e.appendChild(ye("v-end",!0))),e}function Cn(t,n){var i=n.template,r=pt(i,!0);if(r){var o=r.firstChild;if(!o)return r;var a=o.tagName&&o.tagName.toLowerCase();return n.replace?(t===document.body&&"production"!==e.env.NODE_ENV&&qi("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),r.childNodes.length>1||1!==o.nodeType||"component"===a||De(n,"components",a)||ne(o,"is")||De(n,"elementDirectives",a)||o.hasAttribute("v-for")||o.hasAttribute("v-if")?r:(n._replacerAttrs=En(o),Sn(t,o),o)):(t.appendChild(r),t)}"production"!==e.env.NODE_ENV&&qi("Invalid template option: "+i)}function En(e){if(1===e.nodeType&&e.hasAttributes())return g(e.attributes)}function Sn(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||ma.test(n)?"class"===n&&!V(i)&&(i=i.trim())&&i.split(/\s+/).forEach(function(e){pe(t,e)}):t.setAttribute(n,i)}function kn(t,n){if(n){for(var i,r,o=t._slotContents=Object.create(null),a=0,s=n.children.length;a1?g(n):n;var r=t&&n.some(function(e){return e._fromParent});r&&(i=!1);for(var o=g(arguments,1),a=0,s=n.length;at?o:-o}var n=null,i=void 0;e=_a(e);var r=g(arguments,1),o=r[r.length-1];"number"==typeof o?(o=o<0?-1:1,r=r.length>1?r.slice(0,-1):r):o=1;var a=r[0];return a?("function"==typeof a?n=function(e,t){return a(e,t)*o}:(i=Array.prototype.concat.apply([],r),n=function(e,r,o){return o=o||0,o>=i.length-1?t(e,r,o):t(e,r,o)||n(e,r,o+1)}),e.slice().sort(n)):e}function Wn(e,t){var n;if(b(e)){var i=Object.keys(e);for(n=i.length;n--;)if(Wn(e[i[n]],t))return!0}else if(Qn(e)){for(n=e.length;n--;)if(Wn(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}function Vn(t){function r(e){return new Function("return function "+h(e)+" (options) { this._init(options) }")()}t.options={directives:Fo,elementDirectives:xa,filters:Ca,transitions:{},components:{},partials:{},replace:!0},t.util=or,t.config=Vi,t.set=n,t.delete=i,t.nextTick=fi,t.compiler=ga,t.FragmentFactory=wt,t.internalDirectives=sa,t.parsers={path:Tr,text:Bi,template:eo,directive:zi,expression:$r},t.cid=0;var o=1;t.extend=function(t){t=t||{};var n=this,i=0===n.cid;if(i&&t._Ctor)return t._Ctor;var a=t.name||n.options.name;"production"!==e.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(a)||(qi('Invalid component name: "'+a+'". Component names can only contain alphanumeric characaters and the hyphen.'),a=null));var s=r(a||"VueComponent");return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=o++,s.options=Pe(n.options,t),s.super=n,s.extend=n.extend,Vi._assetTypes.forEach(function(e){s[e]=n[e]}),a&&(s.options.components[a]=s),i&&(t._Ctor=s),s},t.use=function(e){if(!e.installed){var t=g(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},t.mixin=function(e){t.options=Pe(t.options,e)},Vi._assetTypes.forEach(function(n){t[n]=function(i,r){return r?("production"!==e.env.NODE_ENV&&"component"===n&&(Gi.test(i)||Ki.test(i))&&qi("Do not use built-in or reserved HTML elements as component id: "+i),"component"===n&&b(r)&&(r.name||(r.name=i),r=t.extend(r)),this.options[n+"s"][i]=r,r):this.options[n+"s"][i]}}),v(t.transition,Xi)}var qn=Object.prototype.hasOwnProperty,Yn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Xn=/-(\w)/g,Un=/([^-])([A-Z])/g,Gn=/(?:^|[-_\/])(\w)/g,Kn=Object.prototype.toString,Jn="[object Object]",Qn=Array.isArray,Zn="__proto__"in{},ei="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),ti=ei&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ni=ei&&window.navigator.userAgent.toLowerCase(),ii=ni&&ni.indexOf("trident")>0,ri=ni&&ni.indexOf("msie 9.0")>0,oi=ni&&ni.indexOf("android")>0,ai=ni&&/iphone|ipad|ipod|ios/.test(ni),si=void 0,li=void 0,ui=void 0,ci=void 0;if(ei&&!ri){var di=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,pi=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;si=di?"WebkitTransition":"transition",li=di?"webkitTransitionEnd":"transitionend",ui=pi?"WebkitAnimation":"animation",ci=pi?"webkitAnimationEnd":"animationend"}var fi=function(){function e(){n=!1;var e=t.slice(0);t.length=0;for(var i=0;i)":""}}();var Xi=Object.freeze({appendWithTransition:U,beforeWithTransition:G,removeWithTransition:K,applyTransition:J}),Ui=/^v-ref:/,Gi=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Ki=/^(slot|partial|component)$/i,Ji=void 0;"production"!==e.env.NODE_ENV&&(Ji=function(e,t){return t.indexOf("-")>-1?e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb|details|dialog|summary)$/.test(t)});var Qi=Vi.optionMergeStrategies=Object.create(null);Qi.data=function(t,n,i){return i?t||n?function(){var e="function"==typeof n?n.call(i):n,r="function"==typeof t?t.call(i):void 0;return e?Se(e,r):r}:void 0:n?"function"!=typeof n?("production"!==e.env.NODE_ENV&&qi('The "data" option should be a function that returns a per-instance value in component definitions.',i),t):t?function(){return Se(n.call(this),t.call(this))}:n:t},Qi.el=function(t,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==e.env.NODE_ENV&&qi('The "el" option should be a function that returns a per-instance value in component definitions.',i));var r=n||t;return i&&"function"==typeof r?r.call(i):r},Qi.init=Qi.created=Qi.ready=Qi.attached=Qi.detached=Qi.beforeCompile=Qi.compiled=Qi.beforeDestroy=Qi.destroyed=Qi.activate=function(e,t){return t?e?e.concat(t):Qn(t)?t:[t]:e},Vi._assetTypes.forEach(function(e){Qi[e+"s"]=ke}),Qi.watch=Qi.events=function(e,t){if(!t)return e;if(!e)return t;var n={};v(n,e);for(var i in t){var r=n[i],o=t[i];r&&!Qn(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},Qi.props=Qi.methods=Qi.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return v(n,e),v(n,t),n};var Zi=function(e,t){return void 0===t?e:t},er=0;Me.target=null,Me.prototype.addSub=function(e){this.subs.push(e)},Me.prototype.removeSub=function(e){this.subs.$remove(e)},Me.prototype.depend=function(){Me.target.addDep(this)},Me.prototype.notify=function(){for(var e=g(this.subs),t=0,n=e.length;t=this.length&&(this.length=Number(e)+1),this.splice(e,1,t)[0]}),w(tr,"$remove",function(e){if(this.length){var t=_(this,e);return t>-1?this.splice(t,1):void 0}});var ir=Object.getOwnPropertyNames(nr),rr=!0;ze.prototype.walk=function(e){for(var t=Object.keys(e),n=0,i=t.length;n",""],tr:[2,"","
"],col:[2,"","
"]};Ur.td=Ur.th=[3,"","
"],Ur.option=Ur.optgroup=[1,'"],Ur.thead=Ur.tbody=Ur.colgroup=Ur.caption=Ur.tfoot=[1,"","
"],Ur.g=Ur.defs=Ur.symbol=Ur.use=Ur.image=Ur.text=Ur.circle=Ur.ellipse=Ur.line=Ur.path=Ur.polygon=Ur.polyline=Ur.rect=[1,'',""];var Gr=/<([\w:-]+)/,Kr=/&#?\w+?;/,Jr=/