/*! For license information please see LICENSES */ (window.webpackJsonp_cj86gji4=window.webpackJsonp_cj86gji4||[]).push([[3],{1124:function(e,t,r){"use strict";r.r(t);var n=r(657).a,o=r(965),l=r(10);var component=Object(l.a)(n,(function(){var e,t,r=this,n=r.$createElement,o=r._self._c||n;return r.sectionList&&Object.keys(r.sectionList).length>0?o("div",{class:r.$style.wrapper,attrs:{id:"skipContentFocus"}},[o("Popup",{attrs:{isOpen:r.isHealthcarePopOpen,buttonText:{confirm:r.healthcarePopData.ActionYes,cancel:r.healthcarePopData.ActionNo},buttonLink:{confirm:"",cancel:""},theme:{hasCloseBtn:!1,zIndex:12001},header:r.healthcarePopData.Header},on:{yes:r.yes,no:r.no}},[o("div",[r._v(r._s(r.healthcarePopData.Copy))]),r._v(" "),o("div",[r._v(r._s(r.healthcarePopData.Ask))])]),r._v(" "),o("PromotionBanner",{attrs:{headerMargin:1,gaPosition:"L2_bar_banner",gaEventPath:"L2",ga4EventPath:"L2"}}),r._v(" "),(1===r.sectionList.SeriesPageSection.SeriesBanner||1===r.sectionList.SeriesPageSection.Banner)&&r.heroBannerResult&&r.heroBannerResult.length>0?o("HeroBanner",{attrs:{tabindex:"0",headerMargin:1,promotionBannerMargin:r.promotionBannerData&&r.promotionBannerData.Banners?r.promotionBannerData.Banners.length:"",rwdWidth:r.windowWidth,gaPromoViewName:"hero_banner_1-L2",gaEventPath:"L2",ga4EventPath:"L2"}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.SeriesTab&&r.seriesTabData&&r.isLevelTwoRoute?o("TabBar",{attrs:{rwdWidth:r.windowWidth,seriesTabData:r.seriesTabData,showType:r.showType,gaEventLabel:"series_tab"},on:{"button-click":r.selectSeriesID}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.SeriesNav&&r.formatSeriesNavData&&r.formatSeriesNavData.Tabs&&r.formatSeriesNavData.Tabs.length>0?o("SeriesNav",{attrs:{seriesNavData:r.formatSeriesNavData,pageName:"",gaEventPath:"L2",ga4EventPath:"L2"}}):r._e(),r._v(" "),o("div",{ref:"filterWrapper",class:r.$style.layoutSeries},[r.getMDADataGetter.MDANameHtml?o("div",{class:r.$style.MDA},[o("div",{domProps:{innerHTML:r._s(r.getMDADataGetter.MDAImage)}})]):r._e(),r._v(" "),o("div",{class:[r.$style.productFilterWrapper,(e={},e[r.$style.isOpen]=r.isOpenLeftList,e)],attrs:{inert:r.windowWidth<=731&&!r.isOpenLeftList}},[o("div",{class:[r.$style.productFilter]},[o("div",{class:r.$style.listHeader},[r._v("\n "+r._s(r.seriesFilterTranslation.SortFilter)+"\n "),o("div",{class:r.$style.clearAll,on:{click:function(e){return r.clearAll()}}},[r._v("\n "+r._s(r.seriesFilterTranslation.ClearAll)+"\n ")])]),r._v(" "),o("div",{class:r.$style.productList},[o("FilterInfo",{directives:[{name:"show",rawName:"v-show",value:r.windowWidth>731,expression:"windowWidth > 731"}],attrs:{filterWarning:r.seriesFilterTranslation.ADA_FilterWarning}}),r._v(" "),o("SeriesFilter",{attrs:{isClearAll:r.isClearAll,isFilterApply:r.isFilterApply,isFilterCancel:r.isFilterCancel,rwdWidth:r.windowWidth,isMobileOpen:r.isOpenLeftList},on:{"checked-count":r.checkedCount}})],1),r._v(" "),o("div",{class:r.$style.listFooter},[o("div",{class:r.$style.cancelFilterButton,attrs:{tabindex:r.isOpenLeftList?"0":"-1"},on:{click:function(e){return r.cancelFilter()}}},[o("span",[r._v("\n "+r._s(r.seriesFilterTranslation.Cancel)+"\n ")])]),r._v(" "),o("SolidButton",{attrs:{theme:"Blue60",needCallEvent:!0,label:r.seriesFilterTranslation.Apply,tabindex:r.isOpenLeftList?"0":"-1"},on:{click:function(e){return r.ApplyFilter()}}},[r._v("\n "+r._s(r.seriesFilterTranslation.Apply)+r._s(0===r.filterCount?"":"("+r.filterCount+")")+"\n ")])],1)])]),r._v(" "),o("router-view"),r._v(" "),r.seriesTabData?o("div",{staticClass:"seriesRightBody",class:r.$style.seriesRightBody},[r.seriesFilterTranslation&&"AllSeries"!==r.$route.name?o("FilterBar",{attrs:{rwdWidth:r.windowWidth,"series-filter-translation":r.seriesFilterTranslation,"filter-count":r.filterCount},on:{"open-left-list":function(e){r.openLeftList(),r.gaDataLayerPush({event:"data_layer_event",event_category_DL:"buttons",event_action_DL:"clicked",event_label_DL:"display the filter",event_value_DL:"0"}),r.gaHmtPush(["_trackEvent","buttons","clicked","display the filter"])}}}):r._e(),r._v(" "),"AllSeries"===r.$route.name?o("div",{directives:[{name:"show",rawName:"v-show",value:!1===r.isOpenLeftList,expression:"isOpenLeftList === false"}],class:[r.$style.seriesFilterBtnBox,(t={},t[r.$style.fixedFilterBtn]=!0===r.isFixedFilterBtn&&0!==r.windowWidth&&r.windowWidth<731,t)],attrs:{id:"seriesFilterBtn"}},[o("div",{class:[r.$style.seriesFilterBtn],attrs:{tabindex:"0",role:"button","aria-label":"filter button"},on:{click:function(e){r.openLeftList(),r.gaDataLayerPush({event:"data_layer_event",event_category_DL:"buttons",event_action_DL:"clicked",event_label_DL:"display the filter",event_value_DL:"0"})}}},[r._v("\n "+r._s(r.seriesFilterTranslation.FilterMobileButton)+"\n ")])]):r._e(),r._v(" "),r.isLevelTwoRoute&&0!==r.tabSeriesID?o("Series",{attrs:{rwdWidth:r.windowWidth,propTabSeriesID:r.tabSeriesID,singleSeries:r.singleSeries}}):r._e(),r._v(" "),r._l(r.seriesTabData,(function(e,t){return["all-series"===r.WebPath&&r.isLevelTwoRoute&&0===r.tabSeriesID&&t<=r.seriesListShowNum?o("Series",{key:"key-"+e.ID+t,attrs:{keyIndex:t,rwdWidth:r.windowWidth,propTabSeriesID:e.ID,singleSeries:r.singleSeries,seriesWebPath:e.WebPath}}):r._e(),r._v(" "),"all-series"!==r.WebPath&&r.isLevelTwoRoute&&0===r.tabSeriesID?o("Series",{key:"key-"+e.ID+t,attrs:{keyIndex:1,rwdWidth:r.windowWidth,propTabSeriesID:e.ID,singleSeries:r.singleSeries,seriesWebPath:e.WebPath}}):r._e()]})),r._v(" "),"all-series"===r.WebPath?o("div",{class:r.$style.seriesList,style:[r.isSeriesShow?{height:r.seriesListHeight+"px"}:{}]},[o("div",{ref:"seriesList",class:r.$style.seriesHideList},[r._l(r.seriesTabData,(function(e,t){return[r.isLevelTwoRoute&&0===r.tabSeriesID&&t>r.seriesListShowNum?o("Series",{key:"key2-"+e.ID+t,attrs:{rwdWidth:r.windowWidth,propTabSeriesID:e.ID,singleSeries:r.singleSeries}}):r._e()]}))],2)]):r._e()],2):r._e()],1),r._v(" "),1===r.sectionList.SeriesPageSection.SeriesRelated&&r.seriesRelatedData&&r.seriesRelatedData.Related&&r.seriesRelatedData.Related.length>0||1===r.sectionList.SeriesPageSection.SeriesSpotlight&&r.seriesSpotlightData&&r.seriesSpotlightData.Spotlight&&r.seriesSpotlightData.Spotlight.length>0||1===r.sectionList.SeriesPageSection.EventBanner&&r.slimBannerResult&&r.slimBannerResult.length>0||1===r.sectionList.SeriesPageSection.VideoBanner&&r.seriesVideoBannerData&&r.seriesVideoBannerData.Video&&r.seriesVideoBannerData.Video.length>0||1===r.sectionList.SeriesPageSection.VideoGallery&&r.seriesVideoGalleryData&&r.seriesVideoGalleryData.Video&&r.seriesVideoGalleryData.Video.length>0?o("div",{class:r.$style.sortBox},[1===r.sectionList.SeriesPageSection.SeriesRelated&&r.seriesRelatedData&&r.seriesRelatedData.Related&&r.seriesRelatedData.Related.length>0?o("SeriesRelated",{style:{order:r.sectionListSort.SeriesRelated},attrs:{seriesRelatedData:r.seriesRelatedData,rwdWidth:r.windowWidth}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.SeriesSpotlight&&r.seriesSpotlightData&&r.seriesSpotlightData.Spotlight&&r.seriesSpotlightData.Spotlight.length>0?o("SeriesSpotlight",{style:{order:r.sectionListSort.SeriesSpotlight},attrs:{rwdWidth:r.windowWidth,spotlightData:r.seriesSpotlightData,gaEventPath:"L2",ga4EventPath:"L2"}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.EventBanner&&r.slimBannerResult&&r.slimBannerResult.length>0?o("SlimBanner",{class:r.$style.slimBanner,style:{order:r.sectionListSort.EventBanner},attrs:{heroBannerResult:r.slimBannerResult,gaPromoViewName:"slim_banner_1-L2",gaEventPath:"L2",ga4EventPath:"L2"}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.VideoBanner&&r.seriesVideoBannerData&&r.seriesVideoBannerData.Video&&r.seriesVideoBannerData.Video.length>0?o("VideoCarousel",{style:{order:r.sectionListSort.VideoBanner},attrs:{videoData:r.seriesVideoBannerData,id:"videoCarouselSection","data-name":"videoCarousel",gaPosition:"L2_video_banner",gaEventPath:"L2",ga4EventPath:"L2"}}):r._e(),r._v(" "),1===r.sectionList.SeriesPageSection.VideoGallery&&r.seriesVideoGalleryData&&r.seriesVideoGalleryData.Video&&r.seriesVideoGalleryData.Video.length>0?o("SeriesVideos",{style:{order:r.sectionListSort.VideoGallery},attrs:{rwdWidth:r.windowWidth,spotlightData:r.seriesVideoGalleryData,gaEventPath:"L2",ga4EventPath:"L2"}}):r._e()],1):r._e(),r._v(" "),"all-series"!==r.WebPath&&r.sectionList&&r.sectionList.SeriesPageSection&&1===r.sectionList.SeriesPageSection.Spotlight&&r.spotlightData.SpotlightList?o("div",{class:r.$style.contentSection,style:{order:r.sectionListSort.Spotlight}},[o("div",{class:r.$style.headingTitle},[r._v("\n "+r._s(r.spotlightWording)+"\n ")]),r._v(" "),o("SpotLight",{attrs:{rwdWidth:r.windowWidth,spotlightData:r.spotlightData.SpotlightList}})],1):r._e(),r._v(" "),"all-series"!==r.WebPath&&1===r.sectionList.SeriesPageSection.HelpMeChoose?o("HelpMeChoose",{class:r.$style.contentSection,style:{order:r.sectionListSort.HelpMeChoose},attrs:{rwdWidth:r.windowWidth}}):r._e(),r._v(" "),"all-series"!==r.WebPath&&1===r.sectionList.SeriesPageSection.ContentSource?o("ContentHub",{class:r.$style.contentSection,style:{order:r.sectionListSort.ContentSource},attrs:{rwdWidth:r.windowWidth}}):r._e(),r._v(" "),r.onlineChat.URL?o("OnlineChat",{attrs:{rwdWidth:r.windowWidth}}):r._e(),r._v(" "),o("ScrollTop",{attrs:{hasChat:"co"===r.websiteCode||"cl"===r.websiteCode||"pe"===r.websiteCode}})],1):r._e()}),[],!1,(function(e){this.$style=o.default.locals||o.default}),null,null);t.default=component.exports},1125:function(e,t,r){"use strict";r.r(t);var n=r(689).a,o=r(976),l=r(10);var component=Object(l.a)(n,(function(){var e,t,r,n,o,l,d=this,h=d.$createElement,c=d._self._c||h;return d.sectionList&&Object.keys(d.sectionList).length>0?c("div",{class:d.$style.wrapper},[c("PromotionBanner",{attrs:{headerMargin:1,gaPosition:"L2.5_bar_banner",gaEventPath:"L2.5",ga4EventPath:"L2.5"}}),d._v(" "),1===d.sectionList.SeriesPageSection.SeriesBanner&&d.heroBannerResult&&d.heroBannerResult.length>0?c("HeroBanner",{attrs:{tabindex:"0",headerMargin:1,promotionBannerMargin:d.promotionBannerData&&d.promotionBannerData.Banners?d.promotionBannerData.Banners.length:"",rwdWidth:d.windowWidth,gaPromoViewName:"hero_banner_1-L2.5",gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.SeriesNav&&d.formatSeriesNavData&&d.formatSeriesNavData.Tabs&&d.formatSeriesNavData.Tabs.length>0?c("SeriesNav",{attrs:{seriesNavData:d.formatSeriesNavData,pageName:"",gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.VideoBanner&&d.seriesVideoData&&d.seriesVideoData.Video&&d.seriesVideoData.Video.length>0?c("VideoCarousel",{class:d.$style.videoBanner,attrs:{videoData:d.seriesVideoData,id:"seriesVideoSection","data-name":"seriesVideo",gaPosition:"L2.5_series_video_banner",gaEventPath:"L2.5",ga4EventPath:"L2.5",hideTitle:!0}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.SeriesIntro&&d.seriesIntroData&&d.seriesIntroData.SeriesIntro?c("div",{class:d.$style.SeriesIntro},d._l(d.seriesIntroData.SeriesIntro,(function(e,t){return c("div",{key:e.WebPath,class:d.$style.seriesIntroSection,attrs:{id:e.WebPath+"Section"}},[e.BasicInfo&&Object.keys(e.BasicInfo).length>0?c("IntroCard",{attrs:{"data-name":"intro",introCardData:e.BasicInfo,discountWording:d.seriesIntroData.DiscountWording,rightMode:!d.seriesIntroData.IsLeftText&&t%2==0||d.seriesIntroData.IsLeftText&&t%2==1}}):d._e(),d._v(" "),e.KeyVisual.IsShowKeyVisual&&"box"===e.KeyVisual.DisplayStyle?c("div",{class:d.$style.seriesIntroKeyFeature,attrs:{id:"KeyFeature"},domProps:{innerHTML:d._s(e.KeyVisual.BoxHTML)}}):d._e(),d._v(" "),e.Highlight&&e.Highlight.ProductList&&e.Highlight.ProductList.length>0?c("SeriesCard",{class:d.$style.seriesIntroHighlight,attrs:{seriesData:e.Highlight,rwdWidth:d.windowWidth,sectionName:"seriesIntroHighlight_"+e.WebPath,needGetPrice:!1,isShortCard:e.Highlight.IsShortCard,isGrayCard:!1,productListKey:"ProductList"}}):d._e()],1)})),0):d._e(),d._v(" "),c("div",{class:d.$style.sortBox},[1===d.sectionList.SeriesPageSection.SeriesRecommend&&d.seriesRecommendedData&&d.seriesRecommendedData.Related&&d.seriesRecommendedData.Related.length>0?c("SeriesCard",{class:[d.$style.section,(e={},e[d.$style.firstSection]=d.sectionListSort.SeriesRecommend===d.minOrder,e)],style:{order:d.sectionListSort.SeriesRecommend},attrs:{seriesData:d.seriesRecommendedData,rwdWidth:d.windowWidth,sectionName:"SeriesRecommendSection",needGetPrice:!1,isShortCard:1==d.seriesRecommendedData.IsShortCard,isGrayCard:!0,productListKey:"Related"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.SeriesRelated&&d.seriesRelatedData&&d.seriesRelatedData.Related&&d.seriesRelatedData.Related.length>0?c("SeriesCard",{class:[d.$style.section,(t={},t[d.$style.firstSection]=d.sectionListSort.SeriesRelated===d.minOrder,t)],style:{order:d.sectionListSort.SeriesRelated},attrs:{seriesData:d.seriesRelatedData,rwdWidth:d.windowWidth,sectionName:"SeriesRelatedSection",needGetPrice:!1,isShortCard:1==d.seriesRelatedData.IsShortCard,isGrayCard:!0,productListKey:"Related"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.SeriesSpotlight&&d.seriesSpotlightData&&d.seriesSpotlightData.Spotlight&&d.seriesSpotlightData.Spotlight.length>0?c("SeriesSpotlight",{class:[d.$style.section,(r={},r[d.$style.firstSection]=d.sectionListSort.SeriesSpotlight===d.minOrder,r)],style:{order:d.sectionListSort.SeriesSpotlight},attrs:{rwdWidth:d.windowWidth,spotlightData:d.seriesSpotlightData,gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.EventBanner&&d.slimBannerResult&&d.slimBannerResult.length>0?c("SlimBanner",{class:[d.$style.section,(n={},n[d.$style.firstSection]=d.sectionListSort.EventBanner===d.minOrder,n[d.$style.lastSection]=d.sectionListSort.EventBanner===d.maxOrder,n)],style:{order:d.sectionListSort.EventBanner},attrs:{heroBannerResult:d.slimBannerResult,gaPromoViewName:"slim_banner_1-L2.5",gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.VideoBanner&&d.seriesVideoBannerData&&d.seriesVideoBannerData.Video&&d.seriesVideoBannerData.Video.length>0?c("VideoCarousel",{class:[d.$style.section,(o={},o[d.$style.firstSection]=d.sectionListSort.VideoBanner===d.minOrder,o[d.$style.lastSection]=d.sectionListSort.EventBanner===d.maxOrder&&1===d.seriesVideoBannerData.IsSingleVideo,o)],style:{order:d.sectionListSort.VideoBanner},attrs:{videoData:d.seriesVideoBannerData,id:"videoCarouselSection","data-name":"videoCarousel",gaPosition:"L2.5_video_banner",gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e(),d._v(" "),1===d.sectionList.SeriesPageSection.VideoGallery&&d.seriesVideoGalleryData&&d.seriesVideoGalleryData.Video&&d.seriesVideoGalleryData.Video.length>0?c("SeriesVideos",{class:[d.$style.section,(l={},l[d.$style.firstSection]=d.sectionListSort.VideoGallery===d.minOrder,l)],style:{order:d.sectionListSort.VideoGallery},attrs:{rwdWidth:d.windowWidth,spotlightData:d.seriesVideoGalleryData,gaEventPath:"L2.5",ga4EventPath:"L2.5"}}):d._e()],1),d._v(" "),c("FloatingComparison",{directives:[{name:"show",rawName:"v-show",value:(!d.compareMenuShowState||d.windowWidth<731)&&d.compareNum>0,expression:"(!compareMenuShowState || windowWidth < 731) && compareNum > 0"}],attrs:{rwdWidth:d.windowWidth,defLevelId:d.defLevelId,compareEnterFocus:d.compareEnterFocus,hasGenio:"tw"===d.websiteCode,hasChat:"co"===d.websiteCode||"cl"===d.websiteCode||"pe"===d.websiteCode||"tw"===d.websiteCode},on:{compareMenuShow:d.compareMenuShow,isFloatEnterFocus:d.handleFloatFocus}}),d._v(" "),c("ComparisonMenu",{attrs:{compareMenuShowState:d.compareMenuShowState,rwdWidth:d.windowWidth,defLevelId:d.defLevelId,floatEnterFocus:d.floatEnterFocus},on:{compareMenuShow:d.compareMenuShow,isCompareEnterFocus:d.handleCompareFocus}}),d._v(" "),d.onlineChat.URL?c("OnlineChat",{attrs:{compareMenuShowState:d.compareMenuShowState,rwdWidth:d.windowWidth,compareNum:d.compareNum}}):d._e(),d._v(" "),c("ScrollTop",{attrs:{compareMenuShowState:d.compareMenuShowState,rwdWidth:d.windowWidth,hasChat:"co"===d.websiteCode||"cl"===d.websiteCode||"pe"===d.websiteCode||"tw"===d.websiteCode,hasGenio:"tw"===d.websiteCode,compareNum:d.compareNum}})],1):d._e()}),[],!1,(function(e){this.$style=o.default.locals||o.default}),null,null);t.default=component.exports},583:function(e,t,r){},584:function(e,t,r){"use strict";var n=r(6),o=r(81).find,l=r(341),d=r(56),h=!0,c=d("find");"find"in[]&&Array(1).find((function(){h=!1})),n({target:"Array",proto:!0,forced:h||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),l("find")},585:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.swiper=t.Swiper=void 0;var n=l(r(826)),o=l(r(827));function l(e){return e&&e.__esModule?e:{default:e}}var d=window.Swiper||n.default,h=["beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize"],c=function(e){var t=function(e,t,r){var n=null;return t.arg?n=t.arg:r.data.attrs&&(r.data.attrs.instanceName||r.data.attrs["instance-name"])?n=r.data.attrs.instanceName||r.data.attrs["instance-name"]:e.id&&(n=e.id),n||"swiper"};return{bind:function(e,t,r){r.context;-1===e.className.indexOf("swiper-container")&&(e.className+=(e.className?" ":"")+"swiper-container")},inserted:function(r,n,l){var c=l.context,m=n.value,f=t(r,n,l),v=c[f],y=function(e,t,data){var r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(data)};if(!v){var w=(0,o.default)({},e,m);v=c[f]=new d(r,w),h.forEach((function(e){v.on(e,(function(){y.apply(void 0,[l,e].concat(Array.prototype.slice.call(arguments))),y.apply(void 0,[l,e.replace(/([A-Z])/g,"-$1")].concat(Array.prototype.slice.call(arguments)))}))}))}y(l,"ready",v)},componentUpdated:function(e,r,n){var o=t(e,r,n),l=n.context[o];l&&(l.update&&l.update(),l.navigation&&l.navigation.update(),l.pagination&&l.pagination.render(),l.pagination&&l.pagination.update())},unbind:function(e,r,n){var o=t(e,r,n),l=n.context[o];l&&(l.destroy&&l.destroy(),delete n.context[o])}}},m=c({}),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.directive("swiper",c(t))},v={Swiper:d,swiper:m,install:f};t.Swiper=d,t.swiper=m,t.install=f,t.default=v},590:function(e,t,r){"use strict";var n=r(6),o=r(343),l=r(82),d=r(35),h=r(47),c=r(344),m=r(110),f=r(111),v=r(56),y=f("splice"),w=v("splice",{ACCESSORS:!0,0:0,1:2}),S=Math.max,x=Math.min;n({target:"Array",proto:!0,forced:!y||!w},{splice:function(e,t){var r,n,f,v,y,w,T=h(this),C=d(T.length),E=o(e,C),P=arguments.length;if(0===P?r=n=0:1===P?(r=0,n=C-E):(r=P-2,n=x(S(l(t),0),C-E)),C+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=c(T,n),v=0;vC-n+r;v--)delete T[v-1]}else if(r>n)for(v=C-n;v>E;v--)w=v+r-1,(y=v+n-1)in T?T[w]=T[y]:delete T[w];for(v=0;v1?arguments[1]:void 0)}}),l("findIndex")},611:function(e,t,r){var n=r(429),o=r(887),l=r(888);function d(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t1&&void 0!==arguments[1]?arguments[1]:{};e.directive("swiper",c(t))},v={Swiper:d,swiper:m,install:f};t.Swiper=d,t.swiper=m,t.install=f,t.default=v},617:function(e,t,r){var n=r(643);e.exports=function(e,t){return n(e,t)}},618:function(e,t,r){var n=r(941),o=r(846),l=r(847),d=r(848),h=l((function(e,t){return d(e)?n(e,o(t,1,d,!0)):[]}));e.exports=h},619:function(e,t,r){var n=r(342),o=r(846),l=r(437),d=r(143);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),r=arguments[0],h=e;h--;)t[h-1]=arguments[h];return n(d(r)?l(r):[r],o(t,1))}},620:function(e,t,r){var n=r(849);e.exports=function(e){return e&&e.length?n(e):[]}},621:function(e,t,r){var n=r(606),o=r(951),l=r(847),d=r(952),h=l((function(e){var t=n(e,d);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=h},642:function(e,t,r){var n=r(884),o=r(894),l=r(646),d=r(143),h=r(903);e.exports=function(e){return"function"==typeof e?e:null==e?l:"object"==typeof e?d(e)?o(e[0],e[1]):n(e):h(e)}},643:function(e,t,r){var n=r(886),o=r(69);e.exports=function e(t,r,l,d,h){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,l,d,e,h))}},644:function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},645:function(e,t,r){var n=r(143),o=r(427),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/;e.exports=function(e,object){if(n(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!o(e))||(d.test(e)||!l.test(e)||null!=object&&e in Object(object))}},646:function(e,t){e.exports=function(e){return e}},657:function(e,t,r){"use strict";(function(e){r(44),r(54),r(55),r(37),r(45),r(33),r(13),r(79),r(23),r(18),r(19),r(40),r(142),r(38),r(43);var n,o=r(5),l=r(1),d=r(59),h=r.n(d),c=r(29),m=r.n(c),f=r(108),v=r(603),y=r(625),w=r(825),S=r(857),x=r(1090),T=r(858),C=r(604),E=r(859),P=r(860),L=r(868),D=r(853),M=r(861),$=r(580),k=r(586),I=r(587),O=r(609),z=r(31),B=r(337),G=r(1111),_=r(862),N=r(141),A=r(0),V=r(610),W=r(622),H=(n=function(e,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}n(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),R=function(e,t,r,desc){var n,l=arguments.length,d=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(o.a)(Reflect))&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(d=(l<3?n(d):l>3?n(t,r,d):n(t,r))||d);return l>3&&d&&Object.defineProperty(t,r,d),d},F=function(e,t,r,n){return new(r||(r=Promise))((function(o,l){function d(e){try{c(n.next(e))}catch(e){l(e)}}function h(e){try{c(n.throw(e))}catch(e){l(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(d,h)}c((n=n.apply(e,t||[])).next())}))},j=function(e,body){var t,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(d){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(n=2&l[0]?r.return:l[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,l[1])).done)return n;switch(r=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]0?[4,A.a.getSeriesTabList({params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName},routePath:r.fullPath}).then((function(e){void 0===e?o(501,""):n.commit("setSeriesTab",e)}))]:[3,21];case 9:return v.sent(),"FilterAndSeries"in m.SeriesPageSection&&1===m.SeriesPageSection.FilterAndSeries?[4,A.a.getSubSeriesList({params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2WebPath:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series"},routePath:r.fullPath}).then((function(e){void 0===e?o(501,""):n.commit("setSubSeries",e)}))]:[3,11];case 10:v.sent(),v.label=11;case 11:return"Spotlight"in m.SeriesPageSection&&1===m.SeriesPageSection.Spotlight?[4,e.store.dispatch("getSpotlight",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Name:t.levelOneTopMenuName,ProductLevel2Name:t.levelTwoProductLineName,SeriesName:t.seriesName||"all-series"},routePath:r.fullPath})]:[3,13];case 12:v.sent(),v.label=13;case 13:return[4,A.a.getSubSeriesList({params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2WebPath:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series"},routePath:r.fullPath}).then((function(e){void 0===e?o(501,""):n.commit("setSubSeries",e)}))];case 14:return v.sent(),"SeriesNav"in m.SeriesPageSection&&m.SeriesPageSection.SeriesNav&&1===m.SeriesPageSection.SeriesNav?[4,e.store.dispatch("getSeriesNavData",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series",SeriesType:"2"},routePath:r.fullPath})]:[3,16];case 15:v.sent(),v.label=16;case 16:return[4,e.store.dispatch("getSeriesRelatedData",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series",SeriesType:"2",RelatedType:"Related"},routePath:r.fullPath})];case 17:return v.sent(),[4,e.store.dispatch("getSeriesVideoBannerData",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series",SeriesType:"2",DisplayType:"Banner"},routePath:r.fullPath})];case 18:return v.sent(),[4,e.store.dispatch("getSeriesVideoGalleryData",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series",SeriesType:"2",DisplayType:"Gallery"},routePath:r.fullPath})];case 19:return v.sent(),[4,e.store.dispatch("getSeriesSpotlightData",{params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName,SeriesWebPath:t.seriesName||"all-series",SeriesType:"2"},routePath:r.fullPath})];case 20:v.sent(),v.label=21;case 21:return[4,A.a.getSeriesFilter({params:{SystemCode:"asus",WebsiteCode:d,ProductLevel1Code:t.levelOneTopMenuName,ProductLevel2Code:t.levelTwoProductLineName},routePath:r.fullPath}).then((function(e){void 0===e?o(501,""):n.commit("setSeriesFilter",e)}))];case 22:return v.sent(),f="global"===d?"/":"/"+d+"/",n.getters.seriesTabDataGetter&&0===n.getters.seriesTabDataGetter.length&&o(301,{path:""+f+t.levelOneTopMenuName+"/"+t.levelTwoProductLineName+"/all-series/filter/"}),[2]}}))}))},t.prototype.head=function(){Object(N.a)(this.$route.params.region);var e=this.metaData.Canonical;return void 0!==this.metaData.SEO&&Object.keys(this.metaData.SEO).length?{title:this.metaData.SEO.Title,meta:[{hid:"description",name:"description",content:this.metaData.SEO.Description},{hid:"og:title",property:"og:title",content:this.metaData.OG.Title},{hid:"og:type",property:"og:type",content:"website"},{hid:"og:site_name",property:"og:site_name",content:this.metaData.OG.SiteName},{hid:"og:description",property:"og:description",content:this.metaData.OG.Description},{hid:"og:url",property:"og:url",content:e},{hid:"og:image",property:"og:image",content:this.metaData.OG.Image},{hid:"twitter:title",property:"twitter:title",content:this.metaData.Twitter.Title},{hid:"twitter:site",property:"twitter:site",content:"@ASUS"},{hid:"twitter:description",property:"twitter:description",content:this.metaData.Twitter.Description},{hid:"twitter:card",property:"twitter:card",content:"summary_large_image"},{hid:"twitter:image",property:"twitter:image",content:this.metaData.Twitter.Image}],link:[{rel:"canonical",href:e}]}:""},t.prototype.jsonld=function(){var e=void 0!==this.$store.getters.breadcrumbDataGetter?this.$store.getters.breadcrumbDataGetter:[],t=[],r=[];return e.length>0&&e.forEach((function(e,r){t.push({"@type":"ListItem",position:r+1,name:e.Content.LevelName,item:e.Content.Link})})),void 0!==this.metaData.SEO&&Object.keys(this.metaData.SEO).length&&void 0!==this.metaData.Structure&&Object.keys(this.metaData.Structure).length?(this.metaData.Structure.forEach((function(e,t){r.push({"@type":"ListItem",position:t+1,url:e})})),[{"@context":"http://schema.org","@type":"ItemList",itemListElement:r},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}]):[{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}]},t.prototype.created=function(){this.websiteCode=Object(N.b)(this.$route.params.region),this.getContentHubList({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.$route.params.levelOneTopMenuName,ProductLevel2Code:this.$route.params.levelTwoProductLineName,SeriesName:this.$route.params.seriesName||"all-series"}}),this.getHelpMeChooseFilterData({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.$route.params.levelOneTopMenuName,ProductLevel2Code:this.$route.params.levelTwoProductLineName,SeriesName:this.$route.params.seriesName||"all-series"}}),this.$route.query.apilist},t.prototype.mounted=function(){if(window.addEventListener("scroll",h()(this.showBackBtn,100,{trailing:!0})),window.addEventListener("resize",h()(this.setWindowWidth,100,{trailing:!0})),this.setWindowWidth(),this.gaDataLayerPush({event:"data_layer_page_level_SPA","Page Type":"L2","Page Title":this.metaData.SEO?this.metaData.SEO.Title:void 0}),this.gaHmtPush(["_trackPageview",this.$route.fullPath]),this.sectionList&&void 0!==this.sectionList.SeriesPageSectionSort)for(var i=0;i0&&0===this.tabTop&&(this.tabTop=document.getElementById("seriesFilterBtn").offsetHeight),document.getElementById("seriesFilterBtn").offsetHeight>0&&0===this.tabTop&&(this.tabTop=document.getElementById("seriesFilterBtn").offsetHeight),document.getElementById("heroBanner").offsetHeight>0&&0===this.bannerHeight&&(this.bannerHeight=document.getElementById("heroBanner").offsetHeight),document.getElementById("tabBar").offsetHeight>0&&0===this.tabBarHeight&&(this.tabBarHeight=document.getElementById("tabBar").offsetHeight),window.addEventListener("scroll",this.fixFilterBtn)},t.prototype.beforeUpdate=function(){if(this.$refs.seriesList&&void 0!==this.$refs.seriesList){var element=this.$refs.seriesList;this.seriesListHeight=element.offsetHeight}},t.prototype.beforeDestroy=function(){window.removeEventListener("resize",this.setWindowWidth),window.removeEventListener("scroll",this.showBackBtn),document.getElementsByTagName("html")[0].classList.remove("fixed")},Object.defineProperty(t.prototype,"getTabSeriesID",{get:function(){return this.tabSeriesID},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spotlightWording",{get:function(){return this.$store.getters.spotlightDataGetter.Title},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seriesFilterTranslationGetter",{get:function(){return this.$store.getters.seriesFilterGetter.Translation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"getMDADataGetter",{get:function(){return this.$store.state.MDA.MDA},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formatSeriesNavData",{get:function(){for(var e=m()(this.seriesNavData),i=0;i0||"VideoGallery"===t.Webpath&&this.seriesVideoGalleryData.Video&&this.seriesVideoGalleryData.Video.length>0||"SeriesSpotlight"===t.Webpath&&this.seriesSpotlightData.Spotlight&&this.seriesSpotlightData.Spotlight.length>0||"SeriesRelated"!==t.Webpath&&"VideoGallery"!==t.Webpath&&"SeriesSpotlight"!==t.Webpath)&&(t.hidden=!1)}return e},enumerable:!0,configurable:!0}),t.prototype.seriesRouteJudge=function(){"AllSeries"===this.$route.name?this.isLevelTwoRoute=!0:this.isLevelTwoRoute=!1,this.sectionList&&this.sectionList.SeriesPageSection&&1===this.sectionList.SeriesPageSection.SeriesTab&&this.$store.getters.seriesTabDataGetter&&0===this.$store.getters.seriesTabDataGetter.length&&this.$router.push({name:"Filter"})},t.prototype.setHealthCarePageCheck=function(){void 0!==this.healthcarePopData&&this.healthCarePageCheckGetter&&this.healthCarePageCheckGetter.IsHealthCare&&(this.isHealthcarePage=!0,this.healthcarePopData=this.healthCarePageCheckGetter)},t.prototype.setHeroBannerToData=function(){void 0!==this.heroBannerGetter&&this.heroBannerGetter&&(this.heroBannerResult=m()(this.heroBannerGetter))},t.prototype.setSlimBannerToData=function(){void 0!==this.slimBannerResult&&this.slimBannerGetter&&(this.slimBannerResult=m()(this.slimBannerGetter))},t.prototype.setHero2BannerFlag=function(){this.hero2BannerFlag=this.getHero2BannerFlag},t.prototype.setPromotionBanner=function(){this.promotionBannerData=this.getPromotionBanner},t.prototype.setSpotlightData=function(){this.spotlightData=this.getSpotlightData},t.prototype.setSeriesTabData=function(){if(void 0!==this.getSeriesTabData){for(var e in this.seriesTabData=this.getSeriesTabData,this.showType="seriesTab",this.seriesTabData)this.allSeriesID=this.seriesTabData[e].ID+","+this.allSeriesID;this.selectSeriesID()}},t.prototype.setSeriesNaveData=function(){void 0!==this.seriesNaveDataGetter&&(this.seriesNavData=this.seriesNaveDataGetter)},t.prototype.setSeriesRelated=function(){void 0!==this.seriesNaveDataGetter&&(this.seriesRelatedData=this.seriesRelatedDataGetter)},t.prototype.setSeriesVideoBanner=function(){void 0!==this.seriesVideoBannerDataGetter&&(this.seriesVideoBannerData=this.seriesVideoBannerDataGetter)},t.prototype.setSeriesVideoGallery=function(){void 0!==this.seriesVideoGalleryDataGetter&&(this.seriesVideoGalleryData=this.seriesVideoGalleryDataGetter)},t.prototype.setSeriesSpotlight=function(){void 0!==this.seriesSpotlightDataGetter&&(this.seriesSpotlightData=this.seriesSpotlightDataGetter)},t.prototype.setSectionListData=function(){this.sectionListGetter&&Object.keys(this.sectionListGetter).length>0&&(this.$set(this.sectionList,"SeriesPageSection",this.sectionListGetter.SeriesPageSection),this.$set(this.sectionList,"SeriesPageSectionSort",this.sectionListGetter.SeriesPageSectionSort))},t.prototype.setSubSeriesData=function(){void 0!==this.getSubSeriesData&&(this.subSeriesListData=this.getSubSeriesData)},t.prototype.setSeriesFilterTranslation=function(){this.seriesFilterTranslation=m()(this.seriesFilterTranslationGetter)},t.prototype.showBackBtn=function(){var e=screen.height;if(document.documentElement.scrollTop=2*e?this.isExpandFilterButton=!1:this.isExpandFilterButton=!0,void 0!==this.$refs.backFilterBtn){var t=this.$refs.filterWrapper.offsetTop+84,r=this.$refs.backFilterBtn.offsetTop+t+30,n=this.$refs.filterWrapper.clientHeight+t-142,o=document.documentElement.scrollTop;o>r&&!this.isShowBackToFilter&&on)&&(this.isShowBackToFilter=!1)}},t.prototype.setWindowWidth=function(){document&&(this.windowWidth=window.innerWidth)},t.prototype.selectSeriesID=function(){if(this.seriesTabData){this.WebPath=this.$route.params.seriesName||"all-series";var e=this.seriesTabData;for(var t in e)this.WebPath===this.seriesTabData[t].WebPath&&(this.selectName=this.seriesTabData[t].Name,this.tabSeriesID=this.seriesTabData[t].ID,0===this.tabSeriesID?this.$set(this,"singleSeries",!1):this.$set(this,"singleSeries",!0))}},t.prototype.openLeftList=function(){this.aiChatClose(),this.isOpenLeftList=!0,document.getElementsByTagName("html")[0].classList.add("fixed")},t.prototype.clearAll=function(){this.isClearAll=!0},t.prototype.cancelFilter=function(){this.aiChatOpen(),this.isOpenLeftList=!1,this.isFilterCancel++,this.isClearAll=!1,document.getElementsByTagName("html")[0].classList.remove("fixed"),this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"cancel_filter_phone_official",event_category_DL:"filter_phone_official",event_action_DL:"clicked",event_label_DL:"cancel/filter_phone_official",event_value_DL:""})},t.prototype.ApplyFilter=function(){this.aiChatOpen(),this.isOpenLeftList=!1,this.isFilterApply++,this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"apply_filter_phone_official",event_category_DL:"filter_phone_official",event_action_DL:"clicked",event_label_DL:"apply/filter_phone_official",event_value_DL:""})},t.prototype.checkedCount=function(e){this.filterCount=e,this.isClearAll=!1},t.prototype.changShowList=function(){this.isSeriesShow=!this.isSeriesShow},t.prototype.backToFilter=function(){void 0!==this.$refs.filterWrapper&&this.$refs.filterWrapper.scrollIntoView({behavior:"smooth"})},t.prototype.yes=function(){this.switchHealthcarePopAction("Yes")},t.prototype.no=function(){this.switchHealthcarePopAction("No")},t.prototype.switchHealthcarePopAction=function(e){this.isHealthcarePopOpen=!this.isHealthcarePopOpen,sessionStorage.setItem("healthcareCheck",e),this.postHealthCareLog(e)},t.prototype.postHealthCareLog=function(e){return F(this,void 0,Promise,(function(){var t=this;return j(this,(function(r){switch(r.label){case 0:return[4,A.a.postHealthCareLog({data:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.$route.params.levelOneTopMenuName,ProductLevel2Code:this.$route.params.levelTwoProductLineName,SeriesWebpath:this.$route.params.seriesName||"all-series",Option:e},routePath:this.$route.fullPath}).then((function(r){void 0===r?console.log("error"):"No"===e&&t.$router.push({name:"Index"})}))];case 1:return r.sent(),[2]}}))}))},t.prototype.fixFilterBtn=function(){window.scrollY>=this.bannerHeight+this.tabBarHeight+48&&this.tabTop>0?this.isFixedFilterBtn=!0:this.isFixedFilterBtn=!1},R([Object(l.Getter)("healthCarePageCheckGetter")],t.prototype,"healthCarePageCheckGetter",void 0),R([Object(l.Getter)("seriesL25DisplayGetter")],t.prototype,"seriesL25DisplayGetter",void 0),R([Object(l.Getter)("subSeriesDataGetter")],t.prototype,"getSubSeriesData",void 0),R([Object(l.Getter)("hero2BannerFlagGetter")],t.prototype,"getHero2BannerFlag",void 0),R([Object(l.Getter)("promotionBannerGetter")],t.prototype,"getPromotionBanner",void 0),R([Object(l.Getter)("spotlightDataGetter")],t.prototype,"getSpotlightData",void 0),R([Object(l.Getter)("seriesTabDataGetter")],t.prototype,"getSeriesTabData",void 0),R([Object(l.Getter)("sectionListGetter")],t.prototype,"sectionListGetter",void 0),R([Object(l.Getter)("heroBannerGetter")],t.prototype,"heroBannerGetter",void 0),R([Object(l.Getter)("slimBannerGetter")],t.prototype,"slimBannerGetter",void 0),R([Object(l.Getter)("onlineChatDataGetter")],t.prototype,"onlineChatDataGetter",void 0),R([Object(l.Getter)("metaData")],t.prototype,"metaData",void 0),R([Object(l.Getter)("seriesNaveDataGetter")],t.prototype,"seriesNaveDataGetter",void 0),R([Object(l.Getter)("seriesRelatedDataGetter")],t.prototype,"seriesRelatedDataGetter",void 0),R([Object(l.Getter)("seriesVideoBannerDataGetter")],t.prototype,"seriesVideoBannerDataGetter",void 0),R([Object(l.Getter)("seriesVideoGalleryDataGetter")],t.prototype,"seriesVideoGalleryDataGetter",void 0),R([Object(l.Getter)("seriesSpotlightDataGetter")],t.prototype,"seriesSpotlightDataGetter",void 0),R([Object(l.Action)("getHelpMeChooseFilterData")],t.prototype,"getHelpMeChooseFilterData",void 0),R([Object(l.Action)("getContentHubList")],t.prototype,"getContentHubList",void 0),R([Object(l.Action)("getBannerData")],t.prototype,"getBannerData",void 0),R([Object(l.Watch)("$route",{immediate:!0})],t.prototype,"seriesRouteJudge",null),R([Object(l.Watch)("healthCarePageCheckGetter",{immediate:!0})],t.prototype,"setHealthCarePageCheck",null),R([Object(l.Watch)("heroBannerGetter",{immediate:!0})],t.prototype,"setHeroBannerToData",null),R([Object(l.Watch)("slimBannerGetter",{immediate:!0})],t.prototype,"setSlimBannerToData",null),R([Object(l.Watch)("getHero2BannerFlag",{immediate:!0})],t.prototype,"setHero2BannerFlag",null),R([Object(l.Watch)("getPromotionBanner",{immediate:!0})],t.prototype,"setPromotionBanner",null),R([Object(l.Watch)("getSpotlightData",{immediate:!0})],t.prototype,"setSpotlightData",null),R([Object(l.Watch)("getSeriesTabData",{immediate:!0})],t.prototype,"setSeriesTabData",null),R([Object(l.Watch)("seriesNaveDataGetter",{immediate:!0})],t.prototype,"setSeriesNaveData",null),R([Object(l.Watch)("seriesRelatedDataGetter",{immediate:!0})],t.prototype,"setSeriesRelated",null),R([Object(l.Watch)("seriesVideoBannerDataGetter",{immediate:!0})],t.prototype,"setSeriesVideoBanner",null),R([Object(l.Watch)("seriesVideoGalleryDataGetter",{immediate:!0})],t.prototype,"setSeriesVideoGallery",null),R([Object(l.Watch)("seriesSpotlightDataGetter",{immediate:!0})],t.prototype,"setSeriesSpotlight",null),R([Object(l.Watch)("sectionListGetter",{immediate:!0})],t.prototype,"setSectionListData",null),R([Object(l.Watch)("getSubSeriesData",{immediate:!0})],t.prototype,"setSubSeriesData",null),R([Object(l.Watch)("seriesFilterTranslationGetter",{immediate:!0})],t.prototype,"setSeriesFilterTranslation",null),t=R([f.Jsonld,Object(l.Component)({components:{HelpMeChoose:D.a,PromotionBanner:v.a,HeroBanner:y.a,Series:x.a,SeriesSpotlight:T.a,SeriesRelated:L.a,SlimBanner:C.a,VideoCarousel:E.a,SeriesVideos:P.a,SeriesNav:S.a,FilterBar:O.a,ContentHub:w.a,SeriesFilter:M.a,SolidButton:$.a,OnlineChat:k.a,ScrollTop:I.a,TabBar:G.a,SpotLight:_.a,Popup:V.a,FilterInfo:W.a}})],t)}(Object(l.mixins)(z.a,B.a));t.a=X}).call(this,r(61))},675:function(e,t,r){var n=r(843);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},676:function(e,t){e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n=0;i--)(n=e[i])&&(d=(l<3?n(d):l>3?n(t,r,d):n(t,r))||d);return l>3&&d&&Object.defineProperty(t,r,d),d},H=function(e,t,r,n){return new(r||(r=Promise))((function(o,l){function d(e){try{c(n.next(e))}catch(e){l(e)}}function h(e){try{c(n.throw(e))}catch(e){l(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(d,h)}c((n=n.apply(e,t||[])).next())}))},R=function(e,body){var t,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(d){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(n=2&l[0]?r.return:l[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,l[1])).done)return n;switch(r=0,n&&(l=[2&l[0],n.value]),l[0]){case 0:case 1:n=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!n||l[1]>n[0]&&l[1]0&&e.forEach((function(e,r){t.push({"@type":"ListItem",position:r+1,name:e.Content.LevelName,item:e.Content.Link})})),void 0!==this.seriesIntroDataGetter&&void 0!==this.seriesIntroDataGetter.SeriesIntro?(this.seriesIntroDataGetter.SeriesIntro.forEach((function(e,t){r.push({"@type":"ListItem",position:t+1,url:e.BasicInfo.Link})})),[{"@context":"http://schema.org","@type":"ItemList",itemListElement:r},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}]):[{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}]},t.prototype.created=function(){this.websiteCode=Object($.b)(this.$route.params.region),this.defLevelId=this.$route.params.levelOneTopMenuName+"-"+this.$route.params.levelTwoProductLineName,this.$route.query.apilist},t.prototype.mounted=function(){var e=this;if(this.sectionList&&void 0!==this.sectionList.SeriesPageSectionSort)for(var i=0;i0&&e.changeMenu(e.compareMenuList.result[e.defLevelId])),e.compareMenuList&&(e.compareMenuList.currentID=e.defLevelId,sessionStorage.setItem("compareMenuList",JSON.stringify(e.compareMenuList)))}))},t.prototype.routeChange=function(){},t.prototype.setSectionListData=function(){this.sectionListGetter&&Object.keys(this.sectionListGetter).length>0&&(this.$set(this.sectionList,"SeriesPageSection",this.sectionListGetter.SeriesPageSection),this.$set(this.sectionList,"SeriesPageSectionSort",this.sectionListGetter.SeriesPageSectionSort))},t.prototype.setHeroBannerToData=function(){void 0!==this.heroBannerGetter&&this.heroBannerGetter&&(this.heroBannerResult=h()(this.heroBannerGetter))},t.prototype.setSeriesNaveData=function(){void 0!==this.seriesNaveDataGetter&&(this.seriesNavData=this.seriesNaveDataGetter)},t.prototype.setSeriesIntroData=function(){var e,t;if(void 0!==this.seriesIntroDataGetter){this.seriesIntroData=this.seriesIntroDataGetter;for(var i=0;i<(null===(t=null===(e=this.seriesIntroData)||void 0===e?void 0:e.SeriesIntro)||void 0===t?void 0:t.length);i++){var r=this.seriesIntroData.SeriesIntro[i];r.Highlight&&Object.keys(r.Highlight).length>0?this.gatherProductList=F(this.gatherProductList,r.Highlight.ProductList):"Product"===this.seriesIntroData.DataSource&&r.BasicInfo&&Object.keys(r.BasicInfo).length>0&&(this.gatherProductList=F(this.gatherProductList,[V({},r.BasicInfo)]))}}},t.prototype.setPromotionBanner=function(){this.promotionBannerData=this.getPromotionBanner},t.prototype.setSeriesRecommended=function(){void 0!==this.seriesRecommendedDataGetter&&(this.seriesRecommendedData=this.seriesRecommendedDataGetter,this.gatherProductList=F(this.gatherProductList,this.seriesRecommendedData.Related))},t.prototype.setSeriesRelated=function(){void 0!==this.seriesRelatedDataGetter&&(this.seriesRelatedData=this.seriesRelatedDataGetter,this.gatherProductList=F(this.gatherProductList,this.seriesRelatedData.Related))},t.prototype.setSeriesVideoGallery=function(){void 0!==this.seriesVideoGalleryDataGetter&&(this.seriesVideoGalleryData=this.seriesVideoGalleryDataGetter)},t.prototype.setSeriesSpotlight=function(){void 0!==this.seriesSpotlightDataGetter&&(this.seriesSpotlightData=this.seriesSpotlightDataGetter)},t.prototype.setSlimBannerToData=function(){void 0!==this.slimBannerResult&&this.slimBannerGetter&&(this.slimBannerResult=h()(this.slimBannerGetter))},t.prototype.setSeriesVideo=function(){void 0!==this.seriesVideoDataGetter&&(this.seriesVideoData=this.seriesVideoDataGetter)},t.prototype.setSeriesVideoBanner=function(){void 0!==this.seriesVideoBannerDataGetter&&(this.seriesVideoBannerData=this.seriesVideoBannerDataGetter)},t.prototype.setOnlineChatData=function(){this.onlineChat=h()(this.onlineChatDataGetter)},t.prototype.setCompareData=function(){this.compareData=this.getCompareData,this.comparisonMenu=this.compareData.ProductList,this.comparisonMenu?this.compareNum=this.comparisonMenu.length:this.compareNum=0},t.prototype.setGroupId=function(){if(this.groupIdGetter&&void 0!==N.a.get("cn"===this.websiteCode?"aticket_cn":"aticket")&&void 0===N.a.get("groupid_asus_"+this.websiteCode)){var e=new Date(+new Date+1152e5),t=void 0;t=null===this.groupIdGetter.group_id?1:this.groupIdGetter.group_id,N.a.set("groupid_asus_"+this.websiteCode,t,{domain:".asus.com",expires:e,secure:!0}),N.a.set("groupid_asus_"+this.websiteCode,t,{domain:"localhost",expires:e,secure:!0})}},t.prototype.getPrice=function(){var e;this.websiteCode=Object($.b)(this.$route.params.region);for(var t=[],r=[],n=[],o=this.gatherProductList,i=0;i0?this.$set(this.seriesIntroData.SeriesIntro[i].Highlight,"ProductList",this.getPriceList(n.Highlight.ProductList)):"Product"===this.seriesIntroData.DataSource&&n.BasicInfo&&Object.keys(n.BasicInfo).length>0&&this.$set(this.seriesIntroData.SeriesIntro[i],"BasicInfo",this.getPriceList([n.BasicInfo])[0])}}},t.prototype.getPriceList=function(e){for(var t,r,n=e,o=function(i){if((null===(r=null===(t=l.getPDPriceList)||void 0===t?void 0:t.ProductList)||void 0===r?void 0:r.length)>0){var e=l.getPDPriceList.ProductList.filter((function(e){return String(e.ProductID)===String(n[i].ProductID)||String(e.ProductID)===String(n[i].M1Id)||String(e.ProductID)===String(n[i].PartNo)}));e&&e[0]&&Object.keys(e[0]).length>0&&l.$set(n,i,V(V({},n[i]),{Price:e[0]&&""!==e[0].Price?e[0].Price:"",Discount:e[0]&&""!==e[0].Discount?e[0].Discount:"",RegularPrice:e[0]&&""!==e[0].Regular_Price?e[0].Regular_Price:"",StartingAtWording:e[0]&&""!==e[0].StartingAtWording?e[0].StartingAtWording:"",HistoricLowPrice:e[0]&&""!==e[0].HistoricLowPrice?e[0].HistoricLowPrice:"",Buy:V(V({},n[i].Buy),{Link:e[0]&&""!==e[0].BuyLink?e[0].BuyLink:"",Text:e[0]&&""!==e[0].BuyText?e[0].BuyText:"",Code:e[0]&&""!==e[0].BuyCode?e[0].BuyCode:""})}))}},l=this,i=0;i<(null==n?void 0:n.length);i++)o(i);return n},Object.defineProperty(t.prototype,"formatSeriesNavData",{get:function(){for(var e,t,r=h()(this.seriesNavData),i=0;i0)n.hidden=!1;else if("VideoGallery"===n.Webpath&&this.seriesVideoGalleryData.Video&&this.seriesVideoGalleryData.Video.length>0)n.hidden=!1;else if("SeriesSpotlight"===n.Webpath&&this.seriesSpotlightData.Spotlight&&this.seriesSpotlightData.Spotlight.length>0)n.hidden=!1;else if("SeriesRecommend"===n.Webpath&&this.seriesRecommendedData&&this.seriesRecommendedData.Related&&this.seriesRecommendedData.Related.length>0)n.hidden=!1;else for(var o=0;o<(null===(t=null===(e=this.seriesIntroData)||void 0===e?void 0:e.SeriesIntro)||void 0===t?void 0:t.length);o++){var l=this.seriesIntroData.SeriesIntro[o];n.Webpath===l.WebPath&&(l.BasicInfo&&Object.keys(l.BasicInfo).length>0||l.Highlight&&Object.keys(l.Highlight).length>0||l.KeyVisual&&Object.keys(l.KeyVisual).length>0)&&(n.hidden=!1)}}return r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minOrder",{get:function(){return Math.min(Number.isInteger(this.sectionListSort.SeriesRecommend)?this.sectionListSort.SeriesRecommend:999,Number.isInteger(this.sectionListSort.SeriesRelated)?this.sectionListSort.SeriesRelated:999,Number.isInteger(this.sectionListSort.SeriesSpotlight)?this.sectionListSort.SeriesSpotlight:999,Number.isInteger(this.sectionListSort.EventBanner)?this.sectionListSort.EventBanner:999,Number.isInteger(this.sectionListSort.VideoBanner)?this.sectionListSort.VideoBanner:999,Number.isInteger(this.sectionListSort.VideoGallery)?this.sectionListSort.VideoGallery:999)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxOrder",{get:function(){return Math.max(Number.isInteger(this.sectionListSort.SeriesRecommend)?this.sectionListSort.SeriesRecommend:0,Number.isInteger(this.sectionListSort.SeriesRelated)?this.sectionListSort.SeriesRelated:0,Number.isInteger(this.sectionListSort.SeriesSpotlight)?this.sectionListSort.SeriesSpotlight:0,Number.isInteger(this.sectionListSort.EventBanner)?this.sectionListSort.EventBanner:0,Number.isInteger(this.sectionListSort.VideoBanner)?this.sectionListSort.VideoBanner:0,Number.isInteger(this.sectionListSort.VideoGallery)?this.sectionListSort.VideoGallery:0)},enumerable:!0,configurable:!0}),t.prototype.compareMenuShow=function(e){this.compareMenuShowState=e},t.prototype.handleFloatFocus=function(e){this.floatEnterFocus=e},t.prototype.setWindowWidth=function(){document&&(this.windowWidth=window.innerWidth)},t.prototype.changeMenu=function(e){var t=JSON.stringify(e).replace(/\[|\]|"/g,"");this.getCompare({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductIDList:t}})},t.prototype.handleCompareFocus=function(e){this.compareEnterFocus=e},W([Object(l.Getter)("heroBannerGetter")],t.prototype,"heroBannerGetter",void 0),W([Object(l.Getter)("seriesNaveDataGetter")],t.prototype,"seriesNaveDataGetter",void 0),W([Object(l.Getter)("seriesIntroDataGetter")],t.prototype,"seriesIntroDataGetter",void 0),W([Object(l.Getter)("promotionBannerGetter")],t.prototype,"getPromotionBanner",void 0),W([Object(l.Getter)("seriesRecommendedDataGetter")],t.prototype,"seriesRecommendedDataGetter",void 0),W([Object(l.Getter)("seriesRelatedDataGetter")],t.prototype,"seriesRelatedDataGetter",void 0),W([Object(l.Getter)("seriesVideoGalleryDataGetter")],t.prototype,"seriesVideoGalleryDataGetter",void 0),W([Object(l.Getter)("seriesSpotlightDataGetter")],t.prototype,"seriesSpotlightDataGetter",void 0),W([Object(l.Getter)("seriesVideoBannerDataGetter")],t.prototype,"seriesVideoBannerDataGetter",void 0),W([Object(l.Getter)("seriesVideoDataGetter")],t.prototype,"seriesVideoDataGetter",void 0),W([Object(l.Getter)("onlineChatDataGetter")],t.prototype,"onlineChatDataGetter",void 0),W([Object(l.Getter)("metaData")],t.prototype,"metaData",void 0),W([Object(l.Getter)("sectionListGetter")],t.prototype,"sectionListGetter",void 0),W([Object(l.Getter)("slimBannerGetter")],t.prototype,"slimBannerGetter",void 0),W([Object(l.Getter)("compareDataGetter")],t.prototype,"getCompareData",void 0),W([Object(l.Getter)("priceConfigGetter")],t.prototype,"priceConfigGetter",void 0),W([Object(l.Getter)("groupIdGetter")],t.prototype,"groupIdGetter",void 0),W([Object(l.Getter)("PDPriceListGetter")],t.prototype,"getPDPriceList",void 0),W([Object(l.Action)("getBannerData")],t.prototype,"getBannerData",void 0),W([Object(l.Action)("getCompare")],t.prototype,"getCompare",void 0),W([Object(l.Action)("getPDPriceList")],t.prototype,"dispatchPDPriceList",void 0),W([Object(l.Watch)("$route",{immediate:!0})],t.prototype,"routeChange",null),W([Object(l.Watch)("sectionListGetter",{immediate:!0})],t.prototype,"setSectionListData",null),W([Object(l.Watch)("heroBannerGetter",{immediate:!0})],t.prototype,"setHeroBannerToData",null),W([Object(l.Watch)("seriesNaveDataGetter",{immediate:!0})],t.prototype,"setSeriesNaveData",null),W([Object(l.Watch)("seriesIntroDataGetter",{immediate:!0})],t.prototype,"setSeriesIntroData",null),W([Object(l.Watch)("getPromotionBanner",{immediate:!0})],t.prototype,"setPromotionBanner",null),W([Object(l.Watch)("seriesRecommendedDataGetter",{immediate:!0})],t.prototype,"setSeriesRecommended",null),W([Object(l.Watch)("seriesRelatedDataGetter",{immediate:!0})],t.prototype,"setSeriesRelated",null),W([Object(l.Watch)("seriesVideoGalleryDataGetter",{immediate:!0})],t.prototype,"setSeriesVideoGallery",null),W([Object(l.Watch)("seriesSpotlightDataGetter",{immediate:!0})],t.prototype,"setSeriesSpotlight",null),W([Object(l.Watch)("slimBannerGetter",{immediate:!0})],t.prototype,"setSlimBannerToData",null),W([Object(l.Watch)("seriesVideoData",{immediate:!0})],t.prototype,"setSeriesVideo",null),W([Object(l.Watch)("seriesVideoBannerDataGetter",{immediate:!0})],t.prototype,"setSeriesVideoBanner",null),W([Object(l.Watch)("onlineChatDataGetter")],t.prototype,"setOnlineChatData",null),W([Object(l.Watch)("getCompareData",{immediate:!0})],t.prototype,"setCompareData",null),W([Object(l.Watch)("groupIdGetter")],t.prototype,"setGroupId",null),W([Object(l.Watch)("gatherProductList",{immediate:!0})],t.prototype,"getPrice",null),W([Object(l.Watch)("getPDPriceList",{immediate:!0})],t.prototype,"setPriceIdList",null),t=W([c.Jsonld,Object(l.Component)({components:{HeroBanner:m.a,PromotionBanner:f.a,SlimBanner:C.a,SeriesNav:v.a,IntroCard:y.a,KeyFeature:w.a,SeriesCard:S.a,SeriesRelated:T.a,SeriesSpotlight:x.a,VideoCarousel:E.a,SeriesVideos:P.a,OnlineChat:L.a,TextLink:D.a,ComparisonMenu:z.a,ScrollTop:B.a,FloatingComparison:G.a}})],t)}(Object(l.mixins)(M.a));t.a=j}).call(this,r(61))},697:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",section:"LevelTwoPointFiveSeriesPage__section__oCdsN",sectionTitle:"LevelTwoPointFiveSeriesPage__sectionTitle__2-5mq",wrapper:"LevelTwoPointFiveSeriesPage__wrapper__34ZtZ",videoBanner:"LevelTwoPointFiveSeriesPage__videoBanner__2W_dl",SeriesIntro:"LevelTwoPointFiveSeriesPage__SeriesIntro__1Nh_f",seriesIntroSection:"LevelTwoPointFiveSeriesPage__seriesIntroSection__qUD61",seriesIntroKeyFeature:"LevelTwoPointFiveSeriesPage__seriesIntroKeyFeature__2VRbU",seriesIntroHighlight:"LevelTwoPointFiveSeriesPage__seriesIntroHighlight__394xQ",sortBox:"LevelTwoPointFiveSeriesPage__sortBox__31Bdi",lastSection:"LevelTwoPointFiveSeriesPage__lastSection__2J-OH",firstSection:"LevelTwoPointFiveSeriesPage__firstSection__32M7v"}},826:function(e,t,r){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,r=function(e){for(var i=0;i=0&&html.indexOf(">")>=0){var c="div";for(0===html.indexOf(":~]/)?(o||e).querySelectorAll(n.trim()):[e.getElementById(n.trim().split("#")[1])],i=0;i0&&n[0].nodeType)for(i=0;i=0;y-=1){var w=v[y];l&&w.listener===l||l&&w.listener&&w.listener.dom7proxy&&w.listener.dom7proxy===l?(f.removeEventListener(c,w.proxyListener,d),v.splice(y,1)):l||(f.removeEventListener(c,w.proxyListener,d),v.splice(y,1))}}return this},trigger:function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];for(var o=r[0].split(" "),l=r[1],i=0;i0})),c.dispatchEvent(m),c.dom7EventData=[],delete c.dom7EventData}return this},transitionEnd:function(e){var i,t=["webkitTransitionEnd","transitionend"],r=this;function n(o){if(o.target===this)for(e.call(this,o),i=0;i0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var r=this[0],n=r.getBoundingClientRect(),body=e.body,o=r.clientTop||body.clientTop||0,l=r.clientLeft||body.clientLeft||0,d=r===t?t.scrollY:r.scrollTop,h=r===t?t.scrollX:r.scrollLeft;return{top:n.top+d-o,left:n.left+h-l}}return null},css:function(e,r){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;in-1?[]:e<0?(t=n+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,n=[],o=arguments.length;o--;)n[o]=arguments[o];for(var l=0;l=0;n-=1)this[i].insertBefore(o.childNodes[n],this[i].childNodes[0])}else if(t instanceof r)for(n=0;n0?e?this[0].nextElementSibling&&n(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])},nextAll:function(e){var t=[],o=this[0];if(!o)return new r([]);for(;o.nextElementSibling;){var l=o.nextElementSibling;e?n(l).is(e)&&t.push(l):t.push(l),o=l}return new r(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&n(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])},prevAll:function(e){var t=[],o=this[0];if(!o)return new r([]);for(;o.previousElementSibling;){var l=o.previousElementSibling;e?n(l).is(e)&&t.push(l):t.push(l),o=l}return new r(t)},parent:function(e){for(var t=[],i=0;i6&&(o=o.split(", ").map((function(a){return a.replace(",",".")})).join(", ")),l=new t.WebKitCSSMatrix("none"===o?"":o)):n=(l=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===r&&(o=t.WebKitCSSMatrix?l.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===r&&(o=t.WebKitCSSMatrix?l.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),o||0},parseUrlQuery:function(e){var i,r,param,n,o={},l=e||t.location.href;if("string"==typeof l&&l.length)for(n=(r=(l=l.indexOf("?")>-1?l.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(style=h.style,"transition"in style||"webkitTransition"in style||"MozTransition"in style),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var style=h.style;return"webkitPerspective"in style||"MozPerspective"in style||"OPerspective"in style||"MsPerspective"in style||"perspective"in style}(),flexbox:function(){for(var style=h.style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},v=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},y={components:{configurable:!0}};v.prototype.on=function(e,t,r){var n=this;if("function"!=typeof t)return n;var o=r?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][o](t)})),n},v.prototype.once=function(e,t,r){var n=this;if("function"!=typeof t)return n;function o(){for(var r=[],l=arguments.length;l--;)r[l]=arguments[l];t.apply(n,r),n.off(e,o),o.f7proxy&&delete o.f7proxy}return o.f7proxy=t,n.on(e,o,r)},v.prototype.off=function(e,t){var r=this;return r.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].length&&r.eventsListeners[e].forEach((function(n,o){(n===t||n.f7proxy&&n.f7proxy===t)&&r.eventsListeners[e].splice(o,1)}))})),r):r},v.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,data,n,o=this;if(!o.eventsListeners)return o;"string"==typeof e[0]||Array.isArray(e[0])?(r=e[0],data=e.slice(1,e.length),n=o):(r=e[0].events,data=e[0].data,n=e[0].context||o);var l=Array.isArray(r)?r:r.split(" ");return l.forEach((function(e){if(o.eventsListeners&&o.eventsListeners[e]){var t=[];o.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(n,data)}))}})),o},v.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(r){var n=t.modules[r];n.params&&c.extend(e,n.params)}))},v.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(r){var n=t.modules[r],o=e[r]||{};n.instance&&Object.keys(n.instance).forEach((function(e){var r=n.instance[e];t[e]="function"==typeof r?r.bind(t):r})),n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(o)}))},y.components.set=function(e){this.use&&this.use(e)},v.installModule=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this;n.prototype.modules||(n.prototype.modules={});var o=e.name||Object.keys(n.prototype.modules).length+"_"+c.now();return n.prototype.modules[o]=e,e.proto&&Object.keys(e.proto).forEach((function(t){n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n},v.use=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this;return Array.isArray(e)?(e.forEach((function(e){return n.installModule(e)})),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(v,y);var w={updateSize:function(){var e,t,r=this.$el;e=void 0!==this.params.width?this.params.width:r[0].clientWidth,t=void 0!==this.params.height?this.params.height:r[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),t=t-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10),c.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,r=this.$wrapperEl,n=this.size,o=this.rtlTranslate,l=this.wrongRTL,d=this.virtual&&e.virtual.enabled,h=d?this.virtual.slides.length:this.slides.length,v=r.children("."+this.params.slideClass),y=d?this.virtual.slides.length:v.length,w=[],S=[],x=[],T=e.slidesOffsetBefore;"function"==typeof T&&(T=e.slidesOffsetBefore.call(this));var C=e.slidesOffsetAfter;"function"==typeof C&&(C=e.slidesOffsetAfter.call(this));var E=this.snapGrid.length,P=this.snapGrid.length,L=e.spaceBetween,D=-T,M=0,$=0;if(void 0!==n){var k,I;"string"==typeof L&&L.indexOf("%")>=0&&(L=parseFloat(L.replace("%",""))/100*n),this.virtualSize=-L,o?v.css({marginLeft:"",marginTop:""}):v.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(k=Math.floor(y/e.slidesPerColumn)===y/this.params.slidesPerColumn?y:Math.ceil(y/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(k=Math.max(k,e.slidesPerView*e.slidesPerColumn)));for(var O,z=e.slidesPerColumn,B=k/z,G=Math.floor(y/e.slidesPerColumn),i=0;i1){var N=void 0,A=void 0,V=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)V=i-(A=Math.floor(i/z))*z,(A>G||A===G&&V===z-1)&&(V+=1)>=z&&(V=0,A+=1);else{var W=Math.floor(i/e.slidesPerGroup);A=i-(V=Math.floor(i/e.slidesPerView)-W*e.slidesPerColumn)*e.slidesPerView-W*e.slidesPerView}N=A+V*k/z,_.css({"-webkit-box-ordinal-group":N,"-moz-box-ordinal-group":N,"-ms-flex-order":N,"-webkit-order":N,order:N})}else A=i-(V=Math.floor(i/B))*B;_.css("margin-"+(this.isHorizontal()?"top":"left"),0!==V&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",A).attr("data-swiper-row",V)}if("none"!==_.css("display")){if("auto"===e.slidesPerView){var H=t.getComputedStyle(_[0],null),R=_[0].style.transform,F=_[0].style.webkitTransform;if(R&&(_[0].style.transform="none"),F&&(_[0].style.webkitTransform="none"),e.roundLengths)I=this.isHorizontal()?_.outerWidth(!0):_.outerHeight(!0);else if(this.isHorizontal()){var j=parseFloat(H.getPropertyValue("width")),X=parseFloat(H.getPropertyValue("padding-left")),Y=parseFloat(H.getPropertyValue("padding-right")),U=parseFloat(H.getPropertyValue("margin-left")),K=parseFloat(H.getPropertyValue("margin-right")),J=H.getPropertyValue("box-sizing");I=J&&"border-box"===J&&!f.isIE?j+U+K:j+X+Y+U+K}else{var Z=parseFloat(H.getPropertyValue("height")),Q=parseFloat(H.getPropertyValue("padding-top")),ee=parseFloat(H.getPropertyValue("padding-bottom")),te=parseFloat(H.getPropertyValue("margin-top")),ie=parseFloat(H.getPropertyValue("margin-bottom")),se=H.getPropertyValue("box-sizing");I=se&&"border-box"===se&&!f.isIE?Z+te+ie:Z+Q+ee+te+ie}R&&(_[0].style.transform=R),F&&(_[0].style.webkitTransform=F),e.roundLengths&&(I=Math.floor(I))}else I=(n-(e.slidesPerView-1)*L)/e.slidesPerView,e.roundLengths&&(I=Math.floor(I)),v[i]&&(this.isHorizontal()?v[i].style.width=I+"px":v[i].style.height=I+"px");v[i]&&(v[i].swiperSlideSize=I),x.push(I),e.centeredSlides?(D=D+I/2+M/2+L,0===M&&0!==i&&(D=D-n/2-L),0===i&&(D=D-n/2-L),Math.abs(D)<.001&&(D=0),e.roundLengths&&(D=Math.floor(D)),$%e.slidesPerGroup==0&&w.push(D),S.push(D)):(e.roundLengths&&(D=Math.floor(D)),$%e.slidesPerGroup==0&&w.push(D),S.push(D),D=D+I+L),this.virtualSize+=I+L,M=I,$+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+C,o&&l&&("slide"===e.effect||"coverflow"===e.effect)&&r.css({width:this.virtualSize+e.spaceBetween+"px"}),m.flexbox&&!e.setWrapperSize||(this.isHorizontal()?r.css({width:this.virtualSize+e.spaceBetween+"px"}):r.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(I+e.spaceBetween)*k,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?r.css({width:this.virtualSize+e.spaceBetween+"px"}):r.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){O=[];for(var ae=0;ae1&&w.push(this.virtualSize-n)}if(0===w.length&&(w=[0]),0!==e.spaceBetween&&(this.isHorizontal()?o?v.css({marginLeft:L+"px"}):v.css({marginRight:L+"px"}):v.css({marginBottom:L+"px"})),e.centerInsufficientSlides){var le=0;if(x.forEach((function(t){le+=t+(e.spaceBetween?e.spaceBetween:0)})),(le-=e.spaceBetween)1)for(i=0;ithis.slides.length)break;t.push(this.slides.eq(n)[0])}else t.push(this.slides.eq(this.activeIndex)[0]);for(i=0;ir?o:r}r&&this.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){for(var e=this.slides,i=0;i=0&&c1&&m<=this.size||c<=0&&m>=this.size)&&(this.visibleSlides.push(d),this.visibleSlidesIndexes.push(i),r.eq(i).addClass(t.slideVisibleClass))}d.progress=o?-h:h}this.visibleSlides=n(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,r=this.maxTranslate()-this.minTranslate(),progress=this.progress,n=this.isBeginning,o=this.isEnd,l=n,d=o;0===r?(progress=0,n=!0,o=!0):(n=(progress=(e-this.minTranslate())/r)<=0,o=progress>=1),c.extend(this,{progress:progress,isBeginning:n,isEnd:o}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),n&&!l&&this.emit("reachBeginning toEdge"),o&&!d&&this.emit("reachEnd toEdge"),(l&&!n||d&&!o)&&this.emit("fromEdge"),this.emit("progress",progress)},updateSlidesClasses:function(){var e,t=this.slides,r=this.params,n=this.$wrapperEl,o=this.activeIndex,l=this.realIndex,d=this.virtual&&r.virtual.enabled;t.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),(e=d?this.$wrapperEl.find("."+r.slideClass+'[data-swiper-slide-index="'+o+'"]'):t.eq(o)).addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+l+'"]').addClass(r.slideDuplicateActiveClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+l+'"]').addClass(r.slideDuplicateActiveClass));var h=e.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===h.length&&(h=t.eq(0)).addClass(r.slideNextClass);var c=e.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===c.length&&(c=t.eq(-1)).addClass(r.slidePrevClass),r.loop&&(h.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass),c.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,r=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,o=this.snapGrid,l=this.params,d=this.activeIndex,h=this.realIndex,m=this.snapIndex,f=e;if(void 0===f){for(var i=0;i=n[i]&&r=n[i]&&r=n[i]&&(f=i);l.normalizeSlideIndex&&(f<0||void 0===f)&&(f=0)}if((t=o.indexOf(r)>=0?o.indexOf(r):Math.floor(f/l.slidesPerGroup))>=o.length&&(t=o.length-1),f!==d){var v=parseInt(this.slides.eq(f).attr("data-swiper-slide-index")||f,10);c.extend(this,{snapIndex:t,realIndex:v,previousIndex:d,activeIndex:f}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),h!==v&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==m&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,r=n(e.target).closest("."+t.slideClass)[0],o=!1;if(r)for(var i=0;io?"next":rn?"next":r=h.length&&(w=h.length-1),(v||d.initialSlide||0)===(f||0)&&r&&o.emit("beforeSlideChangeStart");var S,x=-h[w];if(o.updateProgress(x),d.normalizeSlideIndex)for(var i=0;i=Math.floor(100*c[i])&&(l=i);if(o.initialized&&l!==v){if(!o.allowSlideNext&&xo.translate&&x>o.maxTranslate()&&(v||0)!==l)return!1}return S=l>v?"next":l(this.snapGrid[o+1]-d)/2&&(n=this.params.slidesPerGroup)}return this.slideTo(n,e,t,r)},slideToClickedSlide:function(){var e,t=this,r=t.params,o=t.$wrapperEl,l="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,d=t.clickedIndex;if(r.loop){if(t.animating)return;e=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10),r.centeredSlides?dt.slides.length-t.loopedSlides+l/2?(t.loopFix(),d=o.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(d)}))):t.slideTo(d):d>t.slides.length-l?(t.loopFix(),d=o.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){t.slideTo(d)}))):t.slideTo(d)}else t.slideTo(d)}},C={loopCreate:function(){var t=this,r=t.params,o=t.$wrapperEl;o.children("."+r.slideClass+"."+r.slideDuplicateClass).remove();var l=o.children("."+r.slideClass);if(r.loopFillGroupWithBlank){var d=r.slidesPerGroup-l.length%r.slidesPerGroup;if(d!==r.slidesPerGroup){for(var i=0;il.length&&(t.loopedSlides=l.length);var c=[],m=[];l.each((function(e,r){var o=n(r);e=l.length-t.loopedSlides&&c.push(r),o.attr("data-swiper-slide-index",e)}));for(var f=0;f=0;v-=1)o.prepend(n(c[v].cloneNode(!0)).addClass(r.slideDuplicateClass))},loopFix:function(){var e,t=this.params,r=this.activeIndex,n=this.slides,o=this.loopedSlides,l=this.allowSlidePrev,d=this.allowSlideNext,h=this.snapGrid,c=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var m=-h[r]-this.getTranslate();r=2*o||r>=n.length-o)&&(e=-n.length+r+o,e+=o,this.slideTo(e,0,!1,!0)&&0!==m&&this.setTranslate((c?-this.translate:this.translate)-m)),this.allowSlidePrev=l,this.allowSlideNext=d},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,r=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}},E={setGrabCursor:function(e){if(!(m.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){m.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},P={appendSlide:function(e){var t=this.$wrapperEl,r=this.params;if(r.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i=l)this.appendSlide(t);else{for(var d=o>e?o+1:o,h=[],i=l-1;i>=e;i-=1){var c=this.slides.eq(i);c.remove(),h.unshift(c)}if("object"==typeof t&&"length"in t){for(var f=0;fe?o+t.length:o}else r.append(t);for(var v=0;v=0),(d||c||h)&&(n.os="ios",n.ios=!0),c&&!h&&(n.osVersion=c[2].replace(/_/g,"."),n.iphone=!0),d&&(n.osVersion=d[2].replace(/_/g,"."),n.ipad=!0),h&&(n.osVersion=h[3]?h[3].replace(/_/g,"."):null,n.iphone=!0),n.ios&&n.osVersion&&r.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=r.toLowerCase().split("version/")[1].split(" ")[0]),n.desktop=!(n.os||n.android||n.webView),n.webView=(c||d||h)&&r.match(/.*AppleWebKit(?!.*Safari)/i),n.os&&"ios"===n.os){var m=n.osVersion.split("."),f=e.querySelector('meta[name="viewport"]');n.minimalUi=!n.webView&&(h||c)&&(1*m[0]==7?1*m[1]>=1:1*m[0]>7)&&f&&f.getAttribute("content").indexOf("minimal-ui")>=0}return n.pixelRatio=t.devicePixelRatio||1,n}();function D(r){var data=this.touchEventsData,o=this.params,l=this.touches;if(!this.animating||!o.preventInteractionOnTransition){var d=r;if(d.originalEvent&&(d=d.originalEvent),data.isTouchEvent="touchstart"===d.type,(data.isTouchEvent||!("which"in d)||3!==d.which)&&!(!data.isTouchEvent&&"button"in d&&d.button>0||data.isTouched&&data.isMoved))if(o.noSwiping&&n(d.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])this.allowClick=!0;else if(!o.swipeHandler||n(d).closest(o.swipeHandler)[0]){l.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,l.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var h=l.currentX,m=l.currentY,f=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,v=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!f||!(h<=v||h>=t.screen.width-v)){if(c.extend(data,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=h,l.startY=m,data.touchStartTime=c.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(data.allowThresholdMove=!1),"touchstart"!==d.type){var y=!0;n(d.target).is(data.formElements)&&(y=!1),e.activeElement&&n(e.activeElement).is(data.formElements)&&e.activeElement!==d.target&&e.activeElement.blur();var w=y&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||w)&&d.preventDefault()}this.emit("touchStart",d)}}}}function M(t){var data=this.touchEventsData,r=this.params,o=this.touches,l=this.rtlTranslate,d=t;if(d.originalEvent&&(d=d.originalEvent),data.isTouched){if(!data.isTouchEvent||"mousemove"!==d.type){var h="touchmove"===d.type?d.targetTouches[0].pageX:d.pageX,m="touchmove"===d.type?d.targetTouches[0].pageY:d.pageY;if(d.preventedByNestedSwiper)return o.startX=h,void(o.startY=m);if(!this.allowTouchMove)return this.allowClick=!1,void(data.isTouched&&(c.extend(o,{startX:h,startY:m,currentX:h,currentY:m}),data.touchStartTime=c.now()));if(data.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(mo.startY&&this.translate>=this.minTranslate())return data.isTouched=!1,void(data.isMoved=!1)}else if(ho.startX&&this.translate>=this.minTranslate())return;if(data.isTouchEvent&&e.activeElement&&d.target===e.activeElement&&n(d.target).is(data.formElements))return data.isMoved=!0,void(this.allowClick=!1);if(data.allowTouchCallbacks&&this.emit("touchMove",d),!(d.targetTouches&&d.targetTouches.length>1)){o.currentX=h,o.currentY=m;var f,v=o.currentX-o.startX,y=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(v,2)+Math.pow(y,2))=25&&(f=180*Math.atan2(Math.abs(y),Math.abs(v))/Math.PI,data.isScrolling=this.isHorizontal()?f>r.touchAngle:90-f>r.touchAngle)),data.isScrolling&&this.emit("touchMoveOpposite",d),void 0===data.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(data.startMoving=!0)),data.isScrolling)data.isTouched=!1;else if(data.startMoving){this.allowClick=!1,d.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&d.stopPropagation(),data.isMoved||(r.loop&&this.loopFix(),data.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),data.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",d)),this.emit("sliderMove",d),data.isMoved=!0;var w=this.isHorizontal()?v:y;o.diff=w,w*=r.touchRatio,l&&(w=-w),this.swipeDirection=w>0?"prev":"next",data.currentTranslate=w+data.startTranslate;var S=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),w>0&&data.currentTranslate>this.minTranslate()?(S=!1,r.resistance&&(data.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+data.startTranslate+w,x))):w<0&&data.currentTranslatedata.startTranslate&&(data.currentTranslate=data.startTranslate),r.threshold>0){if(!(Math.abs(w)>r.threshold||data.allowThresholdMove))return void(data.currentTranslate=data.startTranslate);if(!data.allowThresholdMove)return data.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,data.currentTranslate=data.startTranslate,void(o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===data.velocities.length&&data.velocities.push({position:o[this.isHorizontal()?"startX":"startY"],time:data.touchStartTime}),data.velocities.push({position:o[this.isHorizontal()?"currentX":"currentY"],time:c.now()})),this.updateProgress(data.currentTranslate),this.setTranslate(data.currentTranslate))}}}}else data.startMoving&&data.isScrolling&&this.emit("touchMoveOpposite",d)}function $(e){var t=this,data=t.touchEventsData,r=t.params,n=t.touches,o=t.rtlTranslate,l=t.$wrapperEl,d=t.slidesGrid,h=t.snapGrid,m=e;if(m.originalEvent&&(m=m.originalEvent),data.allowTouchCallbacks&&t.emit("touchEnd",m),data.allowTouchCallbacks=!1,!data.isTouched)return data.isMoved&&r.grabCursor&&t.setGrabCursor(!1),data.isMoved=!1,void(data.startMoving=!1);r.grabCursor&&data.isMoved&&data.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var f,v=c.now(),y=v-data.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(m),t.emit("tap",m),y<300&&v-data.lastClickTime>300&&(data.clickTimeout&&clearTimeout(data.clickTimeout),data.clickTimeout=c.nextTick((function(){t&&!t.destroyed&&t.emit("click",m)}),300)),y<300&&v-data.lastClickTime<300&&(data.clickTimeout&&clearTimeout(data.clickTimeout),t.emit("doubleTap",m))),data.lastClickTime=c.now(),c.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!data.isTouched||!data.isMoved||!t.swipeDirection||0===n.diff||data.currentTranslate===data.startTranslate)return data.isTouched=!1,data.isMoved=!1,void(data.startMoving=!1);if(data.isTouched=!1,data.isMoved=!1,data.startMoving=!1,f=r.followFinger?o?t.translate:-t.translate:-data.currentTranslate,r.freeMode){if(f<-t.minTranslate())return void t.slideTo(t.activeIndex);if(f>-t.maxTranslate())return void(t.slides.length1){var w=data.velocities.pop(),S=data.velocities.pop(),x=w.position-S.position,time=w.time-S.time;t.velocity=x/time,t.velocity/=2,Math.abs(t.velocity)150||c.now()-w.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,data.velocities.length=0;var T=1e3*r.freeModeMomentumRatio,C=t.velocity*T,E=t.translate+C;o&&(E=-E);var P,L,D=!1,M=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(Et.minTranslate())r.freeModeMomentumBounce?(E-t.minTranslate()>M&&(E=t.minTranslate()+M),P=t.minTranslate(),D=!0,data.allowMomentumBounce=!0):E=t.minTranslate(),r.loop&&r.centeredSlides&&(L=!0);else if(r.freeModeSticky){for(var $,k=0;k-E){$=k;break}E=-(E=Math.abs(h[$]-E)=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var I=0,O=t.slidesSizesGrid[0],i=0;i=d[i]&&f=d[i]&&(I=i,O=d[d.length-1]-d[d.length-2]);var z=(f-d[I])/O;if(y>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=r.longSwipesRatio?t.slideTo(I+r.slidesPerGroup):t.slideTo(I)),"prev"===t.swipeDirection&&(z>1-r.longSwipesRatio?t.slideTo(I+r.slidesPerGroup):t.slideTo(I))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(I+r.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(I)}}}function k(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var r=this.allowSlideNext,n=this.allowSlidePrev,o=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var l=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=r,this.params.watchOverflow&&o!==this.snapGrid&&this.checkOverflow()}}function I(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var O={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold: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",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",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",runCallbacksOnInit:!0},z={update:w,translate:S,transition:x,slide:T,loop:C,grabCursor:E,manipulation:P,events:{attachEvents:function(){var t=this.params,r=this.touchEvents,n=this.el,o=this.wrapperEl;this.onTouchStart=D.bind(this),this.onTouchMove=M.bind(this),this.onTouchEnd=$.bind(this),this.onClick=I.bind(this);var l="container"===t.touchEventsTarget?n:o,d=!!t.nested;if(m.touch||!m.pointerEvents&&!m.prefixedPointerEvents){if(m.touch){var h=!("touchstart"!==r.start||!m.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};l.addEventListener(r.start,this.onTouchStart,h),l.addEventListener(r.move,this.onTouchMove,m.passiveListener?{passive:!1,capture:d}:d),l.addEventListener(r.end,this.onTouchEnd,h)}(t.simulateTouch&&!L.ios&&!L.android||t.simulateTouch&&!m.touch&&L.ios)&&(l.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,d),e.addEventListener("mouseup",this.onTouchEnd,!1))}else l.addEventListener(r.start,this.onTouchStart,!1),e.addEventListener(r.move,this.onTouchMove,d),e.addEventListener(r.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&l.addEventListener("click",this.onClick,!0),this.on(L.ios||L.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0)},detachEvents:function(){var t=this.params,r=this.touchEvents,n=this.el,o=this.wrapperEl,l="container"===t.touchEventsTarget?n:o,d=!!t.nested;if(m.touch||!m.pointerEvents&&!m.prefixedPointerEvents){if(m.touch){var h=!("onTouchStart"!==r.start||!m.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};l.removeEventListener(r.start,this.onTouchStart,h),l.removeEventListener(r.move,this.onTouchMove,d),l.removeEventListener(r.end,this.onTouchEnd,h)}(t.simulateTouch&&!L.ios&&!L.android||t.simulateTouch&&!m.touch&&L.ios)&&(l.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,d),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else l.removeEventListener(r.start,this.onTouchStart,!1),e.removeEventListener(r.move,this.onTouchMove,d),e.removeEventListener(r.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&l.removeEventListener("click",this.onClick,!0),this.off(L.ios||L.android?"resize orientationchange observerUpdate":"resize observerUpdate",k)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,r=this.loopedSlides;void 0===r&&(r=0);var n=this.params,o=n.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=this.getBreakpoint(o);if(l&&this.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(param){var e=d[param];void 0!==e&&(d[param]="slidesPerView"!==param||"AUTO"!==e&&"auto"!==e?"slidesPerView"===param?parseFloat(e):parseInt(e,10):"auto")}));var h=d||this.originalParams,m=h.direction&&h.direction!==n.direction,f=n.loop&&(h.slidesPerView!==n.slidesPerView||m);m&&t&&this.changeDirection(),c.extend(this.params,h),c.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=l,f&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-r+this.loopedSlides,0,!1)),this.emit("breakpoint",h)}}},getBreakpoint:function(e){if(e){var r=!1,n=[];Object.keys(e).forEach((function(e){n.push(e)})),n.sort((function(a,b){return parseInt(a,10)-parseInt(b,10)}));for(var i=0;i=t.innerWidth&&!r&&(r=o)}return r||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,r=this.rtl,n=this.$el,o=[];o.push("initialized"),o.push(t.direction),t.freeMode&&o.push("free-mode"),m.flexbox||o.push("no-flexbox"),t.autoHeight&&o.push("autoheight"),r&&o.push("rtl"),t.slidesPerColumn>1&&o.push("multirow"),L.android&&o.push("android"),L.ios&&o.push("ios"),(f.isIE||f.isEdge)&&(m.pointerEvents||m.prefixedPointerEvents)&&o.push("wp8-"+t.direction),o.forEach((function(r){e.push(t.containerModifierClass+r)})),n.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,r,n,o,l,d){var image;function h(){d&&d()}e.complete&&l?h():r?((image=new t.Image).onload=h,image.onerror=h,o&&(image.sizes=o),n&&(image.srcset=n),r&&(image.src=r)):h()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i1){var w=[];return y.each((function(e,r){var n=c.extend({},l,{el:r});w.push(new t(n))})),w}o.swiper=f,y.data("swiper",f);var S,x,T=y.children("."+f.params.wrapperClass);return c.extend(f,{$el:y,el:o,$wrapperEl:T,wrapperEl:T[0],classNames:[],slides:n(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===f.params.direction},isVertical:function(){return"vertical"===f.params.direction},rtl:"rtl"===o.dir.toLowerCase()||"rtl"===y.css("direction"),rtlTranslate:"horizontal"===f.params.direction&&("rtl"===o.dir.toLowerCase()||"rtl"===y.css("direction")),wrongRTL:"-webkit-box"===T.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:f.params.allowSlideNext,allowSlidePrev:f.params.allowSlidePrev,touchEvents:(S=["touchstart","touchmove","touchend"],x=["mousedown","mousemove","mouseup"],m.pointerEvents?x=["pointerdown","pointermove","pointerup"]:m.prefixedPointerEvents&&(x=["MSPointerDown","MSPointerMove","MSPointerUp"]),f.touchEventsTouch={start:S[0],move:S[1],end:S[2]},f.touchEventsDesktop={start:x[0],move:x[1],end:x[2]},m.touch||!f.params.simulateTouch?f.touchEventsTouch:f.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:c.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:f.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),f.useModules(),f.params.init&&f.init(),f}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,r=this.slidesGrid,n=this.size,o=this.activeIndex,l=1;if(e.centeredSlides){for(var d,h=t[o].swiperSlideSize,i=o+1;in&&(d=!0));for(var c=o-1;c>=0;c-=1)t[c]&&!d&&(l+=1,(h+=t[c].swiperSlideSize)>n&&(d=!0))}else for(var m=o+1;m1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+r+" wp8-"+r).addClass(""+this.params.containerModifierClass+e),(f.isIE||f.isEdge)&&(m.pointerEvents||m.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,r){"vertical"===e?r.style.width="":r.style.height=""})),this.emit("changeDirection"),t&&this.update()),this},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var r=this,n=r.params,o=r.$el,l=r.$wrapperEl,d=r.slides;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),o.removeAttr("style"),l.removeAttr("style"),d&&d.length&&d.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(e){r.off(e)})),!1!==e&&(r.$el[0].swiper=null,r.$el.data("swiper",null),c.deleteProps(r)),r.destroyed=!0),null},t.extendDefaults=function(e){c.extend(B,e)},r.extendedDefaults.get=function(){return B},r.defaults.get=function(){return O},r.Class.get=function(){return e},r.$.get=function(){return n},Object.defineProperties(t,r),t}(v),_={name:"device",proto:{device:L},static:{device:L}},N={name:"support",proto:{support:m},static:{support:m}},A={name:"browser",proto:{browser:f},static:{browser:f}},V={name:"resize",create:function(){var e=this;c.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},W={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,r){void 0===r&&(r={});var n=this,o=new(0,W.func)((function(e){if(1!==e.length){var r=function(){n.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(r):t.setTimeout(r,0)}else n.emit("observerUpdate",e[0])}));o.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:void 0===r.childList||r.childList,characterData:void 0===r.characterData||r.characterData}),n.observer.observers.push(o)},init:function(){if(m.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),i=0;iM)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+i+'"]').remove();for(var z=0;z=D&&z<=M&&(void 0===y||e?O.push(z):(z>y&&O.push(z),z'+e+"");return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",t),r.cache&&(this.virtual.cache[t]=o),o},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var i=0;i=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var h=t.innerWidth,c=t.innerHeight,m=this.$el.offset();n&&(m.left-=this.$el[0].scrollLeft);for(var f=[[m.left,m.top],[m.left+this.width,m.top],[m.left,m.top+this.height],[m.left+this.width,m.top+this.height]],i=0;i=0&&v[0]<=h&&v[1]>=0&&v[1]<=c&&(d=!0)}if(!d)return}this.isHorizontal()?(33!==l&&34!==l&&37!==l&&39!==l||(o.preventDefault?o.preventDefault():o.returnValue=!1),(34!==l&&39!==l||n)&&(33!==l&&37!==l||!n)||this.slideNext(),(33!==l&&37!==l||n)&&(34!==l&&39!==l||!n)||this.slidePrev()):(33!==l&&34!==l&&38!==l&&40!==l||(o.preventDefault?o.preventDefault():o.returnValue=!1),34!==l&&40!==l||this.slideNext(),33!==l&&38!==l||this.slidePrev()),this.emit("keyPress",l)}},enable:function(){this.keyboard.enabled||(n(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(n(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},X={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){c.extend(this,{keyboard:{enabled:!1,enable:j.enable.bind(this),disable:j.disable.bind(this),handle:j.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},Y={lastScrollTime:c.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var element=e.createElement("div");element.setAttribute("onwheel","return;"),t="function"==typeof element.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=10*t,o=10*r,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1===e.deltaMode?(n*=40,o*=40):(n*=800,o*=800)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var r=e,n=this,o=n.params.mousewheel;if(!n.mouseEntered&&!o.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);var l=0,d=n.rtlTranslate?-1:1,data=Y.normalize(r);if(o.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(data.pixelX)>Math.abs(data.pixelY)))return!0;l=data.pixelX*d}else{if(!(Math.abs(data.pixelY)>Math.abs(data.pixelX)))return!0;l=data.pixelY}else l=Math.abs(data.pixelX)>Math.abs(data.pixelY)?-data.pixelX*d:-data.pixelY;if(0===l)return!0;if(o.invert&&(l=-l),n.params.freeMode){n.params.loop&&n.loopFix();var h=n.getTranslate()+l*o.sensitivity,m=n.isBeginning,f=n.isEnd;if(h>=n.minTranslate()&&(h=n.minTranslate()),h<=n.maxTranslate()&&(h=n.maxTranslate()),n.setTransition(0),n.setTranslate(h),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!m&&n.isBeginning||!f&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=c.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",r),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),h===n.minTranslate()||h===n.maxTranslate())return!0}else{if(c.now()-n.mousewheel.lastScrollTime>60)if(l<0)if(n.isEnd&&!n.params.loop||n.animating){if(o.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",r);else if(n.isBeginning&&!n.params.loop||n.animating){if(o.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",r);n.mousewheel.lastScrollTime=(new t.Date).getTime()}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1},enable:function(){if(!Y.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=n(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(Y.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!Y.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=n(this.params.mousewheel.eventsTarged)),e.off(Y.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},U={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,r=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),r&&r.length>0&&(this.isEnd?r.addClass(e.disabledClass):r.removeClass(e.disabledClass),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,r=this.params.navigation;(r.nextEl||r.prevEl)&&(r.nextEl&&(e=n(r.nextEl),this.params.uniqueNavElements&&"string"==typeof r.nextEl&&e.length>1&&1===this.$el.find(r.nextEl).length&&(e=this.$el.find(r.nextEl))),r.prevEl&&(t=n(r.prevEl),this.params.uniqueNavElements&&"string"==typeof r.prevEl&&t.length>1&&1===this.$el.find(r.prevEl).length&&(t=this.$el.find(r.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),c.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,r=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),r&&r.length&&(r.off("click",this.navigation.onPrevClick),r.removeClass(this.params.navigation.disabledClass))}},K={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var r,o=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,l=this.pagination.$el,d=this.params.loop?Math.ceil((o-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((r=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>o-1-2*this.loopedSlides&&(r-=o-2*this.loopedSlides),r>d-1&&(r-=d),r<0&&"bullets"!==this.params.paginationType&&(r=d+r)):r=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var h,c,m,f=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=f.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=r-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),h=r-this.pagination.dynamicBulletIndex,m=((c=h+(Math.min(f.length,t.dynamicMainBullets)-1))+h)/2),f.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),l.length>1)f.each((function(e,o){var l=n(o),d=l.index();d===r&&l.addClass(t.bulletActiveClass),t.dynamicBullets&&(d>=h&&d<=c&&l.addClass(t.bulletActiveClass+"-main"),d===h&&l.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),d===c&&l.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(f.eq(r).addClass(t.bulletActiveClass),t.dynamicBullets){for(var v=f.eq(h),y=f.eq(c),i=h;i<=c;i+=1)f.eq(i).addClass(t.bulletActiveClass+"-main");v.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),y.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var w=Math.min(f.length,t.dynamicMainBullets+4),S=(this.pagination.bulletSize*w-this.pagination.bulletSize)/2-m*this.pagination.bulletSize,x=e?"right":"left";f.css(this.isHorizontal()?x:"top",S+"px")}}if("fraction"===t.type&&(l.find("."+t.currentClass).text(t.formatFractionCurrent(r+1)),l.find("."+t.totalClass).text(t.formatFractionTotal(d))),"progressbar"===t.type){var T;T=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var C=(r+1)/d,E=1,P=1;"horizontal"===T?E=C:P=C,l.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+E+") scaleY("+P+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(l.html(t.renderCustom(this,r+1,d)),this.emit("paginationRender",this,l[0])):this.emit("paginationUpdate",this,l[0]),l[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n="";if("bullets"===e.type){for(var o=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,i=0;i";r.html(n),this.pagination.bullets=r.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):' / ',r.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'',r.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var r=n(t.el);0!==r.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&r.length>1&&1===e.$el.find(t.el).length&&(r=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&r.addClass(t.clickableClass),r.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(r.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&r.addClass(t.progressbarOppositeClass),t.clickable&&r.on("click","."+t.bulletClass,(function(t){t.preventDefault();var r=n(this).index()*e.params.slidesPerGroup;e.params.loop&&(r+=e.loopedSlides),e.slideTo(r)})),c.extend(e.pagination,{$el:r,el:r[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},J={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,progress=this.progress,r=e.dragSize,n=e.trackSize,o=e.$dragEl,l=e.$el,d=this.params.scrollbar,h=r,c=(n-r)*progress;t?(c=-c)>0?(h=r-c,c=0):-c+r>n&&(h=n+c):c<0?(h=r+c,c=0):c+r>n&&(h=n-c),this.isHorizontal()?(m.transforms3d?o.transform("translate3d("+c+"px, 0, 0)"):o.transform("translateX("+c+"px)"),o[0].style.width=h+"px"):(m.transforms3d?o.transform("translate3d(0px, "+c+"px, 0)"):o.transform("translateY("+c+"px)"),o[0].style.height=h+"px"),d.hide&&(clearTimeout(this.scrollbar.timeout),l[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){l[0].style.opacity=0,l.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,r=e.$el;t[0].style.width="",t[0].style.height="";var n,o=this.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,l=this.size/this.virtualSize,d=l*(o/this.size);n="auto"===this.params.scrollbar.dragSize?o*l:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",r[0].style.display=l>=1?"none":"",this.params.scrollbar.hide&&(r[0].style.opacity=0),c.extend(e,{trackSize:o,divider:l,moveDivider:d,dragSize:n}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.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},setDragPosition:function(e){var t,r=this.scrollbar,n=this.rtlTranslate,o=r.$el,l=r.dragSize,d=r.trackSize,h=r.dragStartPos;t=(r.getPointerPosition(e)-o.offset()[this.isHorizontal()?"left":"top"]-(null!==h?h:l/2))/(d-l),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var c=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(c),this.setTranslate(c),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,r=this.scrollbar,n=this.$wrapperEl,o=r.$el,l=r.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===l[0]||e.target===l?r.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),l.transition(100),r.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),o.transition(0),t.hide&&o.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,r=this.$wrapperEl,n=t.$el,o=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),r.transition(0),n.transition(0),o.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,r=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=c.nextTick((function(){r.css("opacity",0),r.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,r=this.touchEventsTouch,n=this.touchEventsDesktop,o=this.params,l=t.$el[0],d=!(!m.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!m.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};m.touch?(l.addEventListener(r.start,this.scrollbar.onDragStart,d),l.addEventListener(r.move,this.scrollbar.onDragMove,d),l.addEventListener(r.end,this.scrollbar.onDragEnd,h)):(l.addEventListener(n.start,this.scrollbar.onDragStart,d),e.addEventListener(n.move,this.scrollbar.onDragMove,d),e.addEventListener(n.end,this.scrollbar.onDragEnd,h))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,r=this.touchEventsTouch,n=this.touchEventsDesktop,o=this.params,l=t.$el[0],d=!(!m.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!m.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};m.touch?(l.removeEventListener(r.start,this.scrollbar.onDragStart,d),l.removeEventListener(r.move,this.scrollbar.onDragMove,d),l.removeEventListener(r.end,this.scrollbar.onDragEnd,h)):(l.removeEventListener(n.start,this.scrollbar.onDragStart,d),e.removeEventListener(n.move,this.scrollbar.onDragMove,d),e.removeEventListener(n.end,this.scrollbar.onDragEnd,h))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,r=this.params.scrollbar,o=n(r.el);this.params.uniqueNavElements&&"string"==typeof r.el&&o.length>1&&1===t.find(r.el).length&&(o=t.find(r.el));var l=o.find("."+this.params.scrollbar.dragClass);0===l.length&&(l=n('
'),o.append(l)),c.extend(e,{$el:o,el:o[0],$dragEl:l,dragEl:l[0]}),r.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},Z={setTransform:function(e,progress){var t=this.rtl,r=n(e),o=t?-1:1,p=r.attr("data-swiper-parallax")||"0",l=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y"),h=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(l||d?(l=l||"0",d=d||"0"):this.isHorizontal()?(l=p,d="0"):(d=p,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*progress*o+"%":l*progress*o+"px",d=d.indexOf("%")>=0?parseInt(d,10)*progress+"%":d*progress+"px",null!=c){var m=c-(c-1)*(1-Math.abs(progress));r[0].style.opacity=m}if(null==h)r.transform("translate3d("+l+", "+d+", 0px)");else{var f=h-(h-1)*(1-Math.abs(progress));r.transform("translate3d("+l+", "+d+", 0px) scale("+f+")")}},setTranslate:function(){var e=this,t=e.$el,r=e.slides,progress=e.progress,o=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){e.parallax.setTransform(r,progress)})),r.each((function(t,r){var l=r.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(t/2)-progress*(o.length-1)),l=Math.min(Math.max(l,-1),1),n(r).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){e.parallax.setTransform(r,l)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){var o=n(r),l=parseInt(o.attr("data-swiper-parallax-duration"),10)||e;0===e&&(l=0),o.transition(l)}))}},Q={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,r=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,o=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(o-r,2))},onGestureStart:function(e){var t=this.params.zoom,r=this.zoom,o=r.gesture;if(r.fakeGestureTouched=!1,r.fakeGestureMoved=!1,!m.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;r.fakeGestureTouched=!0,o.scaleStart=Q.getDistanceBetweenTouches(e)}o.$slideEl&&o.$slideEl.length||(o.$slideEl=n(e.target).closest(".swiper-slide"),0===o.$slideEl.length&&(o.$slideEl=this.slides.eq(this.activeIndex)),o.$imageEl=o.$slideEl.find("img, svg, canvas"),o.$imageWrapEl=o.$imageEl.parent("."+t.containerClass),o.maxRatio=o.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==o.$imageWrapEl.length)?(o.$imageEl.transition(0),this.zoom.isScaling=!0):o.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,r=this.zoom,n=r.gesture;if(!m.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r.fakeGestureMoved=!0,n.scaleMove=Q.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(r.scale=m.gestures?e.scale*r.currentScale:n.scaleMove/n.scaleStart*r.currentScale,r.scale>n.maxRatio&&(r.scale=n.maxRatio-1+Math.pow(r.scale-n.maxRatio+1,.5)),r.scaleimage.touchesStart.x))return void(image.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(image.minY)===Math.floor(image.startY)&&image.touchesCurrent.yimage.touchesStart.y))return void(image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),image.isMoved=!0,image.currentX=image.touchesCurrent.x-image.touchesStart.x+image.startX,image.currentY=image.touchesCurrent.y-image.touchesStart.y+image.startY,image.currentXimage.maxX&&(image.currentX=image.maxX-1+Math.pow(image.currentX-image.maxX+1,.8)),image.currentYimage.maxY&&(image.currentY=image.maxY-1+Math.pow(image.currentY-image.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=image.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=image.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(image.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(image.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(image.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(image.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=image.touchesCurrent.x,n.prevPositionY=image.touchesCurrent.y,n.prevTime=Date.now(),r.$imageWrapEl.transform("translate3d("+image.currentX+"px, "+image.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,image=e.image,r=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!image.isTouched||!image.isMoved)return image.isTouched=!1,void(image.isMoved=!1);image.isTouched=!1,image.isMoved=!1;var n=300,o=300,l=r.x*n,d=image.currentX+l,h=r.y*o,c=image.currentY+h;0!==r.x&&(n=Math.abs((d-image.currentX)/r.x)),0!==r.y&&(o=Math.abs((c-image.currentY)/r.y));var m=Math.max(n,o);image.currentX=d,image.currentY=c;var f=image.width*e.scale,v=image.height*e.scale;image.minX=Math.min(t.slideWidth/2-f/2,0),image.maxX=-image.minX,image.minY=Math.min(t.slideHeight/2-v/2,0),image.maxY=-image.minY,image.currentX=Math.max(Math.min(image.currentX,image.maxX),image.minX),image.currentY=Math.max(Math.min(image.currentY,image.maxY),image.minY),t.$imageWrapEl.transition(m).transform("translate3d("+image.currentX+"px, "+image.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,r,o,l,d,h,c,m,f,v,y,w,S,x,T,C,E=this.zoom,P=this.params.zoom,L=E.gesture,image=E.image;L.$slideEl||(L.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),L.$imageEl=L.$slideEl.find("img, svg, canvas"),L.$imageWrapEl=L.$imageEl.parent("."+P.containerClass)),L.$imageEl&&0!==L.$imageEl.length&&(L.$slideEl.addClass(""+P.zoomedSlideClass),void 0===image.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,r="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=image.touchesStart.x,r=image.touchesStart.y),E.scale=L.$imageWrapEl.attr("data-swiper-zoom")||P.maxRatio,E.currentScale=L.$imageWrapEl.attr("data-swiper-zoom")||P.maxRatio,e?(T=L.$slideEl[0].offsetWidth,C=L.$slideEl[0].offsetHeight,o=L.$slideEl.offset().left+T/2-t,l=L.$slideEl.offset().top+C/2-r,c=L.$imageEl[0].offsetWidth,m=L.$imageEl[0].offsetHeight,f=c*E.scale,v=m*E.scale,S=-(y=Math.min(T/2-f/2,0)),x=-(w=Math.min(C/2-v/2,0)),(d=o*E.scale)S&&(d=S),(h=l*E.scale)x&&(h=x)):(d=0,h=0),L.$imageWrapEl.transition(300).transform("translate3d("+d+"px, "+h+"px,0)"),L.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+E.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,r=e.gesture;r.$slideEl||(r.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+t.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&(e.scale=1,e.currentScale=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(""+t.zoomedSlideClass),r.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!m.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};m.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!m.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};m.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},ee={loadInSlide:function(e,t){void 0===t&&(t=!0);var r=this,o=r.params.lazy;if(void 0!==e&&0!==r.slides.length){var l=r.virtual&&r.params.virtual.enabled?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):r.slides.eq(e),d=l.find("."+o.elementClass+":not(."+o.loadedClass+"):not(."+o.loadingClass+")");!l.hasClass(o.elementClass)||l.hasClass(o.loadedClass)||l.hasClass(o.loadingClass)||(d=d.add(l[0])),0!==d.length&&d.each((function(e,d){var h=n(d);h.addClass(o.loadingClass);var c=h.attr("data-background"),m=h.attr("data-src"),f=h.attr("data-srcset"),v=h.attr("data-sizes");r.loadImage(h[0],m||c,f,v,!1,(function(){if(null!=r&&r&&(!r||r.params)&&!r.destroyed){if(c?(h.css("background-image",'url("'+c+'")'),h.removeAttr("data-background")):(f&&(h.attr("srcset",f),h.removeAttr("data-srcset")),v&&(h.attr("sizes",v),h.removeAttr("data-sizes")),m&&(h.attr("src",m),h.removeAttr("data-src"))),h.addClass(o.loadedClass).removeClass(o.loadingClass),l.find("."+o.preloaderClass).remove(),r.params.loop&&t){var e=l.attr("data-swiper-slide-index");if(l.hasClass(r.params.slideDuplicateClass)){var n=r.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+r.params.slideDuplicateClass+")");r.lazy.loadInSlide(n.index(),!1)}else{var d=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');r.lazy.loadInSlide(d.index(),!1)}}r.emit("lazyImageReady",l[0],h[0])}})),r.emit("lazyImageLoad",l[0],h[0])}))}},load:function(){var e=this,t=e.$wrapperEl,r=e.params,o=e.slides,l=e.activeIndex,d=e.virtual&&r.virtual.enabled,h=r.lazy,c=r.slidesPerView;function m(e){if(d){if(t.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(o[e])return!0;return!1}function f(e){return d?n(e).attr("data-swiper-slide-index"):n(e).index()}if("auto"===c&&(c=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+r.slideVisibleClass).each((function(t,r){var o=d?n(r).attr("data-swiper-slide-index"):n(r).index();e.lazy.loadInSlide(o)}));else if(c>1)for(var i=l;i1||h.loadPrevNextAmount&&h.loadPrevNextAmount>1){for(var v=h.loadPrevNextAmount,y=c,w=Math.min(l+y+Math.max(v,y),o.length),S=Math.max(l-Math.max(y,v),0),x=l+c;x0&&e.lazy.loadInSlide(f(C));var E=t.children("."+r.slidePrevClass);E.length>0&&e.lazy.loadInSlide(f(E))}}},te={LinearSpline:function(e,t){var r,n,o,l,d,h=function(e,t){for(n=-1,r=e.length;r-n>1;)e[o=r+n>>1]<=t?n=o:r=o;return r};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(d=h(this.x,e),l=d-1,(e-this.x[l])*(this.y[d]-this.y[l])/(this.x[d]-this.x[l])+this.y[l]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new te.LinearSpline(this.slidesGrid,e.slidesGrid):new te.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var r,n,o=this,l=o.controller.control;function d(e){var t=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(o.controller.getInterpolateFunction(e),n=-o.controller.spline.interpolate(-t)),n&&"container"!==o.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(o.maxTranslate()-o.minTranslate()),n=(t-o.minTranslate())*r+e.minTranslate()),o.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,o),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(l))for(var i=0;i0&&(this.isBeginning?this.a11y.disableEl(r):this.a11y.enableEl(r)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(r,o){var l=n(o);e.a11y.makeElFocusable(l),e.a11y.addElRole(l,"button"),e.a11y.addElLabel(l,t.paginationBulletMessage.replace(/{{index}}/,l.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,r=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,r.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,r.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},ae={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=ae.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=ae.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),r=e.length;return{key:e[r-2],value:e[r-1]}},setHistory:function(e,r){if(this.history.initialized&&this.params.history.enabled){var n=this.slides.eq(r),o=ae.slugify(n.attr("data-history"));t.location.pathname.includes(e)||(o=e+"/"+o);var l=t.history.state;l&&l.value===o||(this.params.history.replaceState?t.history.replaceState({value:o},null,o):t.history.pushState({value:o},null,o))}},slugify:function(text){return text.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,r){if(t)for(var i=0,n=this.slides.length;i'),r.append(e)),e.css({height:l+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=n('
'),t.append(e)));for(var i=0;i-1&&(w=90*x+90*progress,h&&(w=90*-x-90*progress)),S.transform(D),m.slideShadows){var M=v?S.find(".swiper-slide-shadow-left"):S.find(".swiper-slide-shadow-top"),$=v?S.find(".swiper-slide-shadow-right"):S.find(".swiper-slide-shadow-bottom");0===M.length&&(M=n('
'),S.append(M)),0===$.length&&($=n('
'),S.append($)),M.length&&(M[0].style.opacity=Math.max(-progress,0)),$.length&&($[0].style.opacity=Math.max(progress,0))}}if(r.css({"-webkit-transform-origin":"50% 50% -"+c/2+"px","-moz-transform-origin":"50% 50% -"+c/2+"px","-ms-transform-origin":"50% 50% -"+c/2+"px","transform-origin":"50% 50% -"+c/2+"px"}),m.shadow)if(v)e.transform("translate3d(0px, "+(l/2+m.shadowOffset)+"px, "+-l/2+"px) rotateX(90deg) rotateZ(0deg) scale("+m.shadowScale+")");else{var k=Math.abs(w)-90*Math.floor(Math.abs(w)/90),I=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),O=m.shadowScale,z=m.shadowScale/I,B=m.shadowOffset;e.transform("scale3d("+O+", 1, "+z+") translate3d(0px, "+(d/2+B)+"px, "+-d/2/z+"px) rotateX(-90deg)")}var G=f.isSafari||f.isUiWebView?-c/2:0;r.transform("translate3d(0px,0,"+G+"px) rotateX("+(this.isHorizontal()?0:w)+"deg) rotateY("+(this.isHorizontal()?-w:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},de={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i'),r.append(c)),0===m.length&&(m=n('
'),r.append(m)),c.length&&(c[0].style.opacity=Math.max(-progress,0)),m.length&&(m[0].style.opacity=Math.max(progress,0))}r.transform("translate3d("+d+"px, "+h+"px, 0px) rotateX("+l+"deg) rotateY("+o+"deg)")}},setTransition:function(e){var t=this,r=t.slides,n=t.activeIndex,o=t.$wrapperEl;if(r.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 l=!1;r.eq(n).transitionEnd((function(){if(!l&&t&&!t.destroyed){l=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i'),S.append($)),0===k.length&&(k=n('
'),S.append(k)),$.length&&($[0].style.opacity=T>0?T:0),k.length&&(k[0].style.opacity=-T>0?-T:0)}}(m.pointerEvents||m.prefixedPointerEvents)&&(o[0].style.perspectiveOrigin=f+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ce={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,c.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):c.isObject(e.swiper)&&(this.thumbs.swiper=new t(c.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,r=e.clickedSlide;if(!(r&&n(r).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var o;if(o=e.params.loop?parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var l=this.activeIndex;this.slides.eq(l).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,l=this.activeIndex);var d=this.slides.eq(l).prevAll('[data-swiper-slide-index="'+o+'"]').eq(0).index(),h=this.slides.eq(l).nextAll('[data-swiper-slide-index="'+o+'"]').eq(0).index();o=void 0===d?h:void 0===h?d:h-lo?n-Math.floor(r/2)+1:n+Math.floor(r/2)-1:n>o&&(n=n-r+1),t.slideTo(n,e?0:void 0))}var h=1,c=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(h=this.params.slidesPerView),t.slides.removeClass(c),t.params.loop||t.params.virtual)for(var i=0;i0&&!n(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){c.extend(this,{scrollbar:{init:J.init.bind(this),destroy:J.destroy.bind(this),updateSize:J.updateSize.bind(this),setTranslate:J.setTranslate.bind(this),setTransition:J.setTransition.bind(this),enableDraggable:J.enableDraggable.bind(this),disableDraggable:J.disableDraggable.bind(this),setDragPosition:J.setDragPosition.bind(this),getPointerPosition:J.getPointerPosition.bind(this),onDragStart:J.onDragStart.bind(this),onDragMove:J.onDragMove.bind(this),onDragEnd:J.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){c.extend(this,{parallax:{setTransform:Z.setTransform.bind(this),setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},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}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(r){t[r]=Q[r].bind(e)})),c.extend(e,{zoom:t});var r=1;Object.defineProperty(e.zoom,"scale",{get:function(){return r},set:function(t){if(r!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,o=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,o)}r=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){c.extend(this,{lazy:{initialImageLoaded:!1,load:ee.load.bind(this),loadInSlide:ee.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},ie,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;c.extend(e,{a11y:{liveRegion:n('')}}),Object.keys(se).forEach((function(t){e.a11y[t]=se[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){c.extend(this,{history:{init:ae.init.bind(this),setHistory:ae.setHistory.bind(this),setHistoryPopState:ae.setHistoryPopState.bind(this),scrollToSlide:ae.scrollToSlide.bind(this),destroy:ae.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){c.extend(this,{hashNavigation:{initialized:!1,init:re.init.bind(this),destroy:re.destroy.bind(this),setHash:re.setHash.bind(this),onHashCange:re.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;c.extend(e,{autoplay:{running:!1,paused:!1,run:ne.run.bind(e),start:ne.start.bind(e),stop:ne.stop.bind(e),pause:ne.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){c.extend(this,{fadeEffect:{setTranslate:oe.setTranslate.bind(this),setTransition:oe.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){c.extend(this,{cubeEffect:{setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){c.extend(this,{flipEffect:{setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,e),c.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){c.extend(this,{coverflowEffect:{setTranslate:he.setTranslate.bind(this),setTransition:he.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){c.extend(this,{thumbs:{swiper:null,init:ce.init.bind(this),update:ce.update.bind(this),onThumbClick:ce.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===G.use&&(G.use=G.Class.use,G.installModule=G.Class.installModule),G.use(pe),G}()},827:function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function d(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,source){for(var t,r,h=d(e),s=1;sf))return!1;var y=c.get(e);if(y&&c.get(t))return y==t;var w=-1,S=!0,x=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++w-1:!!f&&n(e,t,r)>-1}},843:function(e,t,r){var n=r(834),o=r(930),l=r(931);e.exports=function(e,t,r){return t==t?l(e,t,r):n(e,o,r)}},845:function(e,t,r){var n=r(14),o=r(109),l=r(41),d=r(148).f,h=function(e){return function(t){for(var r,h=l(t),c=o(h),m=c.length,i=0,f=[];m>i;)r=c[i++],n&&!d.call(h,r)||f.push(e?[r,h[r]]:h[r]);return f}};e.exports={entries:h(!0),values:h(!1)}},846:function(e,t,r){var n=r(342),o=r(942);e.exports=function e(t,r,l,d,h){var c=-1,m=t.length;for(l||(l=o),h||(h=[]);++c0&&l(f)?r>1?e(f,r-1,l,d,h):n(h,f):d||(h[h.length]=f)}return h}},847:function(e,t,r){var n=r(646),o=r(943),l=r(945);e.exports=function(e,t){return l(o(e,t,n),e+"")}},848:function(e,t,r){var n=r(340),o=r(69);e.exports=function(e){return o(e)&&n(e)}},849:function(e,t,r){var n=r(611),o=r(675),l=r(676),d=r(612),h=r(949),c=r(644);e.exports=function(e,t,r){var m=-1,f=o,v=e.length,y=!0,w=[],S=w;if(r)y=!1,f=l;else if(v>=200){var x=t?null:h(e);if(x)return c(x);y=!1,f=d,S=new n}else S=t?[]:w;e:for(;++m0&&o(e[r],t[r])}))}r.r(t);var l="undefined"!=typeof document?document:{},d={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};o(l,d);var h="undefined"!=typeof window?window:{};o(h,{document:d,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class c{constructor(e){const t=this;for(let i=0;i=0&&html.indexOf(">")>=0){let e="div";for(0===html.indexOf(":~]/)?(t||l).querySelectorAll(e.trim()):[l.getElementById(e.trim().split("#")[1])],i=0;i0&&e[0].nodeType)for(i=0;i=0;t-=1){const r=d[t];n&&r.listener===n||n&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===n?(l.removeEventListener(e,r.proxyListener,o),d.splice(t,1)):n||(l.removeEventListener(e,r.proxyListener,o),d.splice(t,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),r=e[1];for(let i=0;ie>0),o.dispatchEvent(d),o.dom7EventData=[],delete o.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],r=this;let i;function n(o){if(o.target===this)for(e.call(this,o),i=0;i0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),body=l.body,r=e.clientTop||body.clientTop||0,n=e.clientLeft||body.clientLeft||0,o=e===h?h.scrollY:e.scrollTop,d=e===h?h.scrollX:e.scrollLeft;return{top:t.top+o-r,left:t.left+d-n}}return null},css:function(e,t){let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;it-1?new c([]):e<0?(r=t+e,new c(r<0?[]:[this[r]])):new c([this[e]])},append:function(...e){let t;for(let r=0;r=0;t-=1)this[i].insertBefore(r.childNodes[t],this[i].childNodes[0])}else if(e instanceof c)for(t=0;t0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?new c([this[0].nextElementSibling]):new c([]):this[0].nextElementSibling?new c([this[0].nextElementSibling]):new c([]):new c([])},nextAll:function(e){const t=[];let r=this[0];if(!r)return new c([]);for(;r.nextElementSibling;){const n=r.nextElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),r=n}return new c(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?new c([t.previousElementSibling]):new c([]):t.previousElementSibling?new c([t.previousElementSibling]):new c([])}return new c([])},prevAll:function(e){const t=[];let r=this[0];if(!r)return new c([]);for(;r.previousElementSibling;){const n=r.previousElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),r=n}return new c(t)},parent:function(e){const t=[];for(let i=0;i{m.fn[e]=m.fn[e]||w[e]});const S={deleteProps(e){const object=e;Object.keys(object).forEach(e=>{try{object[e]=null}catch(e){}try{delete object[e]}catch(e){}})},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let r,n,o;const l=y.getComputedStyle(e,null);return y.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new y.WebKitCSSMatrix("none"===n?"":n)):(o=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(n=y.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(n=y.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),n||0},parseUrlQuery(e){const t={};let i,r,param,n,o=e||y.location.href;if("string"==typeof o&&o.length)for(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"",r=o.split("&").filter(e=>""!==e),n=r.length,i=0;i"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let i=1;i0||"ontouchstart"in y||y.DocumentTouch&&v instanceof y.DocumentTouch),pointerEvents:!!(y.navigator.pointerEnabled||y.PointerEvent||"maxTouchPoints"in y.navigator&&y.navigator.maxTouchPoints>0),prefixedPointerEvents:!!y.navigator.msPointerEnabled,transition:function(){const style=e.style;return"transition"in style||"webkitTransition"in style||"MozTransition"in style}(),transforms3d:y.Modernizr&&!0===y.Modernizr.csstransforms3d||function(){const style=e.style;return"webkitPerspective"in style||"MozPerspective"in style||"OPerspective"in style||"MsPerspective"in style||"perspective"in style}(),flexbox:function(){const style=e.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" ");for(let i=0;i=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(y.navigator.userAgent)};class C{constructor(e={}){const t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,r){const n=this;if("function"!=typeof t)return n;const o=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][o](t)}),n}once(e,t,r){const n=this;if("function"!=typeof t)return n;function o(...r){t.apply(n,r),n.off(e,o),o.f7proxy&&delete o.f7proxy}return o.f7proxy=t,n.on(e,o,r)}off(e,t){const r=this;return r.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].length&&r.eventsListeners[e].forEach((n,o)=>{(n===t||n.f7proxy&&n.f7proxy===t)&&r.eventsListeners[e].splice(o,1)})}),r):r}emit(...e){const t=this;if(!t.eventsListeners)return t;let r,data,n;"string"==typeof e[0]||Array.isArray(e[0])?(r=e[0],data=e.slice(1,e.length),n=t):(r=e[0].events,data=e[0].data,n=e[0].context||t);return(Array.isArray(r)?r:r.split(" ")).forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const r=[];t.eventsListeners[e].forEach(e=>{r.push(e)}),r.forEach(e=>{e.apply(n,data)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(r=>{const n=t.modules[r];n.params&&S.extend(e,n.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(r=>{const n=t.modules[r],o=e[r]||{};n.instance&&Object.keys(n.instance).forEach(e=>{const r=n.instance[e];t[e]="function"==typeof r?r.bind(t):r}),n.on&&t.on&&Object.keys(n.on).forEach(e=>{t.on(e,n.on[e])}),n.create&&n.create.bind(t)(o)})}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const r=this;r.prototype.modules||(r.prototype.modules={});const n=e.name||`${Object.keys(r.prototype.modules).length}_${S.now()}`;return r.prototype.modules[n]=e,e.proto&&Object.keys(e.proto).forEach(t=>{r.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{r[t]=e.static[t]}),e.install&&e.install.apply(r,t),r}static use(e,...t){const r=this;return Array.isArray(e)?(e.forEach(e=>r.installModule(e)),r):r.installModule(e,...t)}}var E={updateSize:function(){const e=this;let t,r;const n=e.$el;t=void 0!==e.params.width?e.params.width:n[0].clientWidth,r=void 0!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),r=r-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),S.extend(e,{width:t,height:r,size:e.isHorizontal()?t:r}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:r,size:n,rtlTranslate:o,wrongRTL:l}=e,d=e.virtual&&t.virtual.enabled,h=d?e.virtual.slides.length:e.slides.length,c=r.children("."+e.params.slideClass),m=d?e.virtual.slides.length:c.length;let f=[];const v=[],w=[];let C=t.slidesOffsetBefore;"function"==typeof C&&(C=t.slidesOffsetBefore.call(e));let E=t.slidesOffsetAfter;"function"==typeof E&&(E=t.slidesOffsetAfter.call(e));const P=e.snapGrid.length,L=e.snapGrid.length;let D,M,$=t.spaceBetween,k=-C,I=0,O=0;if(void 0===n)return;"string"==typeof $&&$.indexOf("%")>=0&&($=parseFloat($.replace("%",""))/100*n),e.virtualSize=-$,o?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(D=Math.floor(m/t.slidesPerColumn)===m/e.params.slidesPerColumn?m:Math.ceil(m/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(D=Math.max(D,t.slidesPerView*t.slidesPerColumn)));const z=t.slidesPerColumn,B=D/z,G=Math.floor(m/t.slidesPerColumn);for(let i=0;i1){let n,o,l;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)o=Math.floor(i/z),l=i-o*z,(o>G||o===G&&l===z-1)&&(l+=1,l>=z&&(l=0,o+=1));else{const e=Math.floor(i/t.slidesPerGroup);l=Math.floor(i/t.slidesPerView)-e*t.slidesPerColumn,o=i-l*t.slidesPerView-e*t.slidesPerView}n=o+l*D/z,r.css({"-webkit-box-ordinal-group":n,"-moz-box-ordinal-group":n,"-ms-flex-order":n,"-webkit-order":n,order:n})}else l=Math.floor(i/B),o=i-l*B;r.css("margin-"+(e.isHorizontal()?"top":"left"),0!==l&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",o).attr("data-swiper-row",l)}if("none"!==r.css("display")){if("auto"===t.slidesPerView){const n=y.getComputedStyle(r[0],null),o=r[0].style.transform,l=r[0].style.webkitTransform;if(o&&(r[0].style.transform="none"),l&&(r[0].style.webkitTransform="none"),t.roundLengths)M=e.isHorizontal()?r.outerWidth(!0):r.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(n.getPropertyValue("width")),t=parseFloat(n.getPropertyValue("padding-left")),r=parseFloat(n.getPropertyValue("padding-right")),o=parseFloat(n.getPropertyValue("margin-left")),l=parseFloat(n.getPropertyValue("margin-right")),d=n.getPropertyValue("box-sizing");M=d&&"border-box"===d&&!T.isIE?e+o+l:e+t+r+o+l}else{const e=parseFloat(n.getPropertyValue("height")),t=parseFloat(n.getPropertyValue("padding-top")),r=parseFloat(n.getPropertyValue("padding-bottom")),o=parseFloat(n.getPropertyValue("margin-top")),l=parseFloat(n.getPropertyValue("margin-bottom")),d=n.getPropertyValue("box-sizing");M=d&&"border-box"===d&&!T.isIE?e+o+l:e+t+r+o+l}o&&(r[0].style.transform=o),l&&(r[0].style.webkitTransform=l),t.roundLengths&&(M=Math.floor(M))}else M=(n-(t.slidesPerView-1)*$)/t.slidesPerView,t.roundLengths&&(M=Math.floor(M)),c[i]&&(e.isHorizontal()?c[i].style.width=M+"px":c[i].style.height=M+"px");c[i]&&(c[i].swiperSlideSize=M),w.push(M),t.centeredSlides?(k=k+M/2+I/2+$,0===I&&0!==i&&(k=k-n/2-$),0===i&&(k=k-n/2-$),Math.abs(k)<.001&&(k=0),t.roundLengths&&(k=Math.floor(k)),O%t.slidesPerGroup==0&&f.push(k),v.push(k)):(t.roundLengths&&(k=Math.floor(k)),O%t.slidesPerGroup==0&&f.push(k),v.push(k),k=k+M+$),e.virtualSize+=M+$,I=M,O+=1}}let _;if(e.virtualSize=Math.max(e.virtualSize,n)+E,o&&l&&("slide"===t.effect||"coverflow"===t.effect)&&r.css({width:e.virtualSize+t.spaceBetween+"px"}),x.flexbox&&!t.setWrapperSize||(e.isHorizontal()?r.css({width:e.virtualSize+t.spaceBetween+"px"}):r.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(M+t.spaceBetween)*D,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?r.css({width:e.virtualSize+t.spaceBetween+"px"}):r.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){_=[];for(let i=0;i1&&f.push(e.virtualSize-n)}if(0===f.length&&(f=[0]),0!==t.spaceBetween&&(e.isHorizontal()?o?c.css({marginLeft:$+"px"}):c.css({marginRight:$+"px"}):c.css({marginBottom:$+"px"})),t.centerInsufficientSlides){let e=0;if(w.forEach(r=>{e+=r+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e{f[r]=e-t}),v.forEach((e,r)=>{v[r]=e+t})}}S.extend(e,{slides:c,snapGrid:f,slidesGrid:v,slidesSizesGrid:w}),m!==h&&e.emit("slidesLengthChange"),f.length!==P&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==L&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,r=[];let i,n=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)for(i=0;it.slides.length)break;r.push(t.slides.eq(e)[0])}else r.push(t.slides.eq(t.activeIndex)[0]);for(i=0;in?e:n}n&&t.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i=0&&o1&&d<=t.size||o<=0&&d>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(i),n.eq(i).addClass(r.slideVisibleClass))}e.progress=o?-d:d}t.visibleSlides=m(t.visibleSlides)},updateProgress:function(e=this&&this.translate||0){const t=this,r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:progress,isBeginning:o,isEnd:l}=t;const d=o,h=l;0===n?(progress=0,o=!0,l=!0):(progress=(e-t.minTranslate())/n,o=progress<=0,l=progress>=1),S.extend(t,{progress:progress,isBeginning:o,isEnd:l}),(r.watchSlidesProgress||r.watchSlidesVisibility)&&t.updateSlidesProgress(e),o&&!d&&t.emit("reachBeginning toEdge"),l&&!h&&t.emit("reachEnd toEdge"),(d&&!o||h&&!l)&&t.emit("fromEdge"),t.emit("progress",progress)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,$wrapperEl:n,activeIndex:o,realIndex:l}=e,d=e.virtual&&r.virtual.enabled;let h;t.removeClass(`${r.slideActiveClass} ${r.slideNextClass} ${r.slidePrevClass} ${r.slideDuplicateActiveClass} ${r.slideDuplicateNextClass} ${r.slideDuplicatePrevClass}`),h=d?e.$wrapperEl.find(`.${r.slideClass}[data-swiper-slide-index="${o}"]`):t.eq(o),h.addClass(r.slideActiveClass),r.loop&&(h.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${l}"]`).addClass(r.slideDuplicateActiveClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${l}"]`).addClass(r.slideDuplicateActiveClass));let c=h.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===c.length&&(c=t.eq(0),c.addClass(r.slideNextClass));let m=h.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===m.length&&(m=t.eq(-1),m.addClass(r.slidePrevClass)),r.loop&&(c.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass),m.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${m.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${m.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:o,params:l,activeIndex:d,realIndex:h,snapIndex:c}=t;let m,f=e;if(void 0===f){for(let i=0;i=n[i]&&r=n[i]&&r=n[i]&&(f=i);l.normalizeSlideIndex&&(f<0||void 0===f)&&(f=0)}if(m=o.indexOf(r)>=0?o.indexOf(r):Math.floor(f/l.slidesPerGroup),m>=o.length&&(m=o.length-1),f===d)return void(m!==c&&(t.snapIndex=m,t.emit("snapIndexChange")));const v=parseInt(t.slides.eq(f).attr("data-swiper-slide-index")||f,10);S.extend(t,{snapIndex:m,realIndex:v,previousIndex:d,activeIndex:f}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),h!==v&&t.emit("realIndexChange"),(t.initialized||t.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,r=t.params,n=m(e.target).closest("."+r.slideClass)[0];let o=!1;if(n)for(let i=0;il?"next":no?"next":n=h.length&&(y=h.length-1),(f||d.initialSlide||0)===(m||0)&&r&&o.emit("beforeSlideChangeStart");const w=-h[y];if(o.updateProgress(w),d.normalizeSlideIndex)for(let i=0;i=Math.floor(100*c[i])&&(l=i);if(o.initialized&&l!==f){if(!o.allowSlideNext&&wo.translate&&w>o.maxTranslate()&&(f||0)!==l)return!1}let S;return S=l>f?"next":lm(e)),y=(h.map(e=>m(e)),d[v.indexOf(f)],d[v.indexOf(f)-1]);let w;return void 0!==y&&(w=h.indexOf(y),w<0&&(w=n.activeIndex-1)),n.slideTo(w,e,t,r)},slideReset:function(e=this.params.speed,t=!0,r){return this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e=this.params.speed,t=!0,r){const n=this;let o=n.activeIndex;const l=Math.floor(o/n.params.slidesPerGroup);if(l(n.snapGrid[l+1]-t)/2&&(o=n.params.slidesPerGroup)}return n.slideTo(o,e,t,r)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,l=e.clickedIndex;if(t.loop){if(e.animating)return;o=parseInt(m(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?le.slides.length-e.loopedSlides+n/2?(e.loopFix(),l=r.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),S.nextTick(()=>{e.slideTo(l)})):e.slideTo(l):l>e.slides.length-n?(e.loopFix(),l=r.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),S.nextTick(()=>{e.slideTo(l)})):e.slideTo(l)}else e.slideTo(l)}};var M={loopCreate:function(){const e=this,{params:t,$wrapperEl:r}=e;r.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let n=r.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-n.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let i=0;in.length&&(e.loopedSlides=n.length);const o=[],l=[];n.each((t,r)=>{const d=m(r);t=n.length-e.loopedSlides&&o.push(r),d.attr("data-swiper-slide-index",t)});for(let i=0;i=0;i-=1)r.prepend(m(o[i].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){const e=this,{params:t,activeIndex:r,slides:n,loopedSlides:o,allowSlidePrev:l,allowSlideNext:d,snapGrid:h,rtlTranslate:c}=e;let m;e.allowSlidePrev=!0,e.allowSlideNext=!0;const f=-h[r]-e.getTranslate();if(r=2*o||r>=n.length-o){m=-n.length+r+o,m+=o;e.slideTo(m,0,!1,!0)&&0!==f&&e.setTranslate((c?-e.translate:e.translate)-f)}e.allowSlidePrev=l,e.allowSlideNext=d},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:r}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),r.removeAttr("data-swiper-slide-index")}};var $={setGrabCursor:function(e){if(x.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)return;const t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){x.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}};var k={appendSlide:function(e){const t=this,{$wrapperEl:r,params:n}=t;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let i=0;i=h)return void r.appendSlide(t);let c=d>e?d+1:d;const m=[];for(let i=h-1;i>=e;i-=1){const e=r.slides.eq(i);e.remove(),m.unshift(e)}if("object"==typeof t&&"length"in t){for(let i=0;ie?d+t.length:d}else n.append(t);for(let i=0;i=0),(o||d||l)&&(t.os="ios",t.ios=!0),d&&!l&&(t.osVersion=d[2].replace(/_/g,"."),t.iphone=!0),o&&(t.osVersion=o[2].replace(/_/g,"."),t.ipad=!0),l&&(t.osVersion=l[3]?l[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&e.indexOf("Version/")>=0&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(d||o||l)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){const e=t.osVersion.split("."),r=v.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(l||d)&&(1*e[0]==7?1*e[1]>=1:1*e[0]>7)&&r&&r.getAttribute("content").indexOf("minimal-ui")>=0}return t.pixelRatio=y.devicePixelRatio||1,t}();function O(e){const t=this,data=t.touchEventsData,{params:r,touches:n}=t;if(t.animating&&r.preventInteractionOnTransition)return;let o=e;if(o.originalEvent&&(o=o.originalEvent),data.isTouchEvent="touchstart"===o.type,!data.isTouchEvent&&"which"in o&&3===o.which)return;if(!data.isTouchEvent&&"button"in o&&o.button>0)return;if(data.isTouched&&data.isMoved)return;if(r.noSwiping&&m(o.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])return void(t.allowClick=!0);if(r.swipeHandler&&!m(o).closest(r.swipeHandler)[0])return;n.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,n.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;const l=n.currentX,d=n.currentY,h=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,c=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!h||!(l<=c||l>=y.screen.width-c)){if(S.extend(data,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=l,n.startY=d,data.touchStartTime=S.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(data.allowThresholdMove=!1),"touchstart"!==o.type){let e=!0;m(o.target).is(data.formElements)&&(e=!1),v.activeElement&&m(v.activeElement).is(data.formElements)&&v.activeElement!==o.target&&v.activeElement.blur();const n=e&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||n)&&o.preventDefault()}t.emit("touchStart",o)}}function z(e){const t=this,data=t.touchEventsData,{params:r,touches:n,rtlTranslate:o}=t;let l=e;if(l.originalEvent&&(l=l.originalEvent),!data.isTouched)return void(data.startMoving&&data.isScrolling&&t.emit("touchMoveOpposite",l));if(data.isTouchEvent&&"mousemove"===l.type)return;const d="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,h="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return n.startX=d,void(n.startY=h);if(!t.allowTouchMove)return t.allowClick=!1,void(data.isTouched&&(S.extend(n,{startX:d,startY:h,currentX:d,currentY:h}),data.touchStartTime=S.now()));if(data.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(hn.startY&&t.translate>=t.minTranslate())return data.isTouched=!1,void(data.isMoved=!1)}else if(dn.startX&&t.translate>=t.minTranslate())return;if(data.isTouchEvent&&v.activeElement&&l.target===v.activeElement&&m(l.target).is(data.formElements))return data.isMoved=!0,void(t.allowClick=!1);if(data.allowTouchCallbacks&&t.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;n.currentX=d,n.currentY=h;const c=n.currentX-n.startX,f=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(c**2+f**2)=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(c))/Math.PI,data.isScrolling=t.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(data.isScrolling&&t.emit("touchMoveOpposite",l),void 0===data.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(data.startMoving=!0)),data.isScrolling)return void(data.isTouched=!1);if(!data.startMoving)return;t.allowClick=!1,l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),data.isMoved||(r.loop&&t.loopFix(),data.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),data.allowMomentumBounce=!1,!r.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",l)),t.emit("sliderMove",l),data.isMoved=!0;let y=t.isHorizontal()?c:f;n.diff=y,y*=r.touchRatio,o&&(y=-y),t.swipeDirection=y>0?"prev":"next",data.currentTranslate=y+data.startTranslate;let w=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),y>0&&data.currentTranslate>t.minTranslate()?(w=!1,r.resistance&&(data.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+data.startTranslate+y)**x)):y<0&&data.currentTranslatedata.startTranslate&&(data.currentTranslate=data.startTranslate),r.threshold>0){if(!(Math.abs(y)>r.threshold||data.allowThresholdMove))return void(data.currentTranslate=data.startTranslate);if(!data.allowThresholdMove)return data.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,data.currentTranslate=data.startTranslate,void(n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&(0===data.velocities.length&&data.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:data.touchStartTime}),data.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:S.now()})),t.updateProgress(data.currentTranslate),t.setTranslate(data.currentTranslate))}function B(e){const t=this,data=t.touchEventsData,{params:r,touches:n,rtlTranslate:o,$wrapperEl:l,slidesGrid:d,snapGrid:h}=t;let c=e;if(c.originalEvent&&(c=c.originalEvent),data.allowTouchCallbacks&&t.emit("touchEnd",c),data.allowTouchCallbacks=!1,!data.isTouched)return data.isMoved&&r.grabCursor&&t.setGrabCursor(!1),data.isMoved=!1,void(data.startMoving=!1);r.grabCursor&&data.isMoved&&data.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const m=S.now(),f=m-data.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),f<300&&m-data.lastClickTime>300&&(data.clickTimeout&&clearTimeout(data.clickTimeout),data.clickTimeout=S.nextTick(()=>{t&&!t.destroyed&&t.emit("click",c)},300)),f<300&&m-data.lastClickTime<300&&(data.clickTimeout&&clearTimeout(data.clickTimeout),t.emit("doubleTap",c))),data.lastClickTime=S.now(),S.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!data.isTouched||!data.isMoved||!t.swipeDirection||0===n.diff||data.currentTranslate===data.startTranslate)return data.isTouched=!1,data.isMoved=!1,void(data.startMoving=!1);let v;if(data.isTouched=!1,data.isMoved=!1,data.startMoving=!1,v=r.followFinger?o?t.translate:-t.translate:-data.currentTranslate,r.freeMode){if(v<-t.minTranslate())return void t.slideTo(t.activeIndex);if(v>-t.maxTranslate())return void(t.slides.length1){const e=data.velocities.pop(),n=data.velocities.pop(),o=e.position-n.position,time=e.time-n.time;t.velocity=o/time,t.velocity/=2,Math.abs(t.velocity)150||S.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,data.velocities.length=0;let e=1e3*r.freeModeMomentumRatio;const n=t.velocity*e;let d=t.translate+n;o&&(d=-d);let c,m=!1;const f=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;let v;if(dt.minTranslate())r.freeModeMomentumBounce?(d-t.minTranslate()>f&&(d=t.minTranslate()+f),c=t.minTranslate(),m=!0,data.allowMomentumBounce=!0):d=t.minTranslate(),r.loop&&r.centeredSlides&&(v=!0);else if(r.freeModeSticky){let e;for(let t=0;t-d){e=t;break}d=Math.abs(h[e]-d){t.loopFix()}),0!==t.velocity)e=o?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity);else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&m?(t.updateProgress(c),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating=!0,l.transitionEnd(()=>{t&&!t.destroyed&&data.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),t.setTranslate(c),l.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,l.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else if(r.freeModeSticky)return void t.slideToClosest();return void((!r.freeModeMomentum||f>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let y=0,w=t.slidesSizesGrid[0];for(let i=0;i=d[i]&&v=d[i]&&(y=i,w=d[d.length-1]-d[d.length-2]);const x=(v-d[y])/w;if(f>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(x>=r.longSwipesRatio?t.slideTo(y+r.slidesPerGroup):t.slideTo(y)),"prev"===t.swipeDirection&&(x>1-r.longSwipesRatio?t.slideTo(y+r.slidesPerGroup):t.slideTo(y))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(y+r.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(y)}}function G(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=e;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){const r=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=o,e.allowSlideNext=n,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function _(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var N={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold: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",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",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",runCallbacksOnInit:!0};const A={update:E,translate:P,transition:L,slide:D,loop:M,grabCursor:$,manipulation:k,events:{attachEvents:function(){const e=this,{params:t,touchEvents:r,el:n,wrapperEl:o}=e;e.onTouchStart=O.bind(e),e.onTouchMove=z.bind(e),e.onTouchEnd=B.bind(e),e.onClick=_.bind(e);const l="container"===t.touchEventsTarget?n:o,d=!!t.nested;if(x.touch||!x.pointerEvents&&!x.prefixedPointerEvents){if(x.touch){const n=!("touchstart"!==r.start||!x.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};l.addEventListener(r.start,e.onTouchStart,n),l.addEventListener(r.move,e.onTouchMove,x.passiveListener?{passive:!1,capture:d}:d),l.addEventListener(r.end,e.onTouchEnd,n)}(t.simulateTouch&&!I.ios&&!I.android||t.simulateTouch&&!x.touch&&I.ios)&&(l.addEventListener("mousedown",e.onTouchStart,!1),v.addEventListener("mousemove",e.onTouchMove,d),v.addEventListener("mouseup",e.onTouchEnd,!1))}else l.addEventListener(r.start,e.onTouchStart,!1),v.addEventListener(r.move,e.onTouchMove,d),v.addEventListener(r.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&l.addEventListener("click",e.onClick,!0),e.on(I.ios||I.android?"resize orientationchange observerUpdate":"resize observerUpdate",G,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:r,el:n,wrapperEl:o}=e,l="container"===t.touchEventsTarget?n:o,d=!!t.nested;if(x.touch||!x.pointerEvents&&!x.prefixedPointerEvents){if(x.touch){const n=!("onTouchStart"!==r.start||!x.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};l.removeEventListener(r.start,e.onTouchStart,n),l.removeEventListener(r.move,e.onTouchMove,d),l.removeEventListener(r.end,e.onTouchEnd,n)}(t.simulateTouch&&!I.ios&&!I.android||t.simulateTouch&&!x.touch&&I.ios)&&(l.removeEventListener("mousedown",e.onTouchStart,!1),v.removeEventListener("mousemove",e.onTouchMove,d),v.removeEventListener("mouseup",e.onTouchEnd,!1))}else l.removeEventListener(r.start,e.onTouchStart,!1),v.removeEventListener(r.move,e.onTouchMove,d),v.removeEventListener(r.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&l.removeEventListener("click",e.onClick,!0),e.off(I.ios||I.android?"resize orientationchange observerUpdate":"resize observerUpdate",G)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:r,loopedSlides:n=0,params:o}=e,l=o.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const d=e.getBreakpoint(l);if(d&&e.currentBreakpoint!==d){const h=d in l?l[d]:void 0;h&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(param=>{const e=h[param];void 0!==e&&(h[param]="slidesPerView"!==param||"AUTO"!==e&&"auto"!==e?"slidesPerView"===param?parseFloat(e):parseInt(e,10):"auto")});const c=h||e.originalParams,m=c.direction&&c.direction!==o.direction,f=o.loop&&(c.slidesPerView!==o.slidesPerView||m);m&&r&&e.changeDirection(),S.extend(e.params,c),S.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=d,f&&r&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},getBreakpoint:function(e){const t=this;if(!e)return;let r=!1;const n=[];Object.keys(e).forEach(e=>{n.push(e)}),n.sort((a,b)=>parseInt(a,10)-parseInt(b,10));for(let i=0;i=y.innerWidth&&!r&&(r=e)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:r,$el:n}=this,o=[];o.push("initialized"),o.push(t.direction),t.freeMode&&o.push("free-mode"),x.flexbox||o.push("no-flexbox"),t.autoHeight&&o.push("autoheight"),r&&o.push("rtl"),t.slidesPerColumn>1&&o.push("multirow"),I.android&&o.push("android"),I.ios&&o.push("ios"),(T.isIE||T.isEdge)&&(x.pointerEvents||x.prefixedPointerEvents)&&o.push("wp8-"+t.direction),o.forEach(r=>{e.push(t.containerModifierClass+r)}),n.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,r,n,o,l){let image;function d(){l&&l()}e.complete&&o?d():t?(image=new y.Image,image.onload=d,image.onerror=d,n&&(image.sizes=n),r&&(image.srcset=r),t&&(image.src=t)):d()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i{Object.keys(A[e]).forEach(t=>{W.prototype[t]||(W.prototype[t]=A[e][t])})});const n=this;void 0===n.modules&&(n.modules={}),Object.keys(n.modules).forEach(e=>{const t=n.modules[e];if(t.params){const e=Object.keys(t.params)[0],n=t.params[e];if("object"!=typeof n||null===n)return;if(!(e in r)||!("enabled"in n))return;!0===r[e]&&(r[e]={enabled:!0}),"object"!=typeof r[e]||"enabled"in r[e]||(r[e].enabled=!0),r[e]||(r[e]={enabled:!1})}});const o=S.extend({},N);n.useModulesParams(o),n.params=S.extend({},o,V,r),n.originalParams=S.extend({},n.params),n.passedParams=S.extend({},r),n.$=m;const l=m(n.params.el);if(t=l[0],!t)return;if(l.length>1){const e=[];return l.each((t,n)=>{const o=S.extend({},r,{el:n});e.push(new W(o))}),e}t.swiper=n,l.data("swiper",n);const d=l.children("."+n.params.wrapperClass);return S.extend(n,{$el:l,el:t,$wrapperEl:d,wrapperEl:d[0],classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===l.css("direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===l.css("direction")),wrongRTL:"-webkit-box"===d.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend"];let t=["mousedown","mousemove","mouseup"];return x.pointerEvents?t=["pointerdown","pointermove","pointerup"]:x.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),n.touchEventsTouch={start:e[0],move:e[1],end:e[2]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},x.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:S.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.useModules(),n.params.init&&n.init(),n}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:r,size:n,activeIndex:o}=this;let l=1;if(e.centeredSlides){let e,r=t[o].swiperSlideSize;for(let i=o+1;in&&(e=!0));for(let i=o-1;i>=0;i-=1)t[i]&&!e&&(r+=t[i].swiperSlideSize,l+=1,r>n&&(e=!0))}else for(let i=o+1;i1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),o||n()),r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.$el.removeClass(`${r.params.containerModifierClass}${n} wp8-${n}`).addClass(`${r.params.containerModifierClass}${e}`),(T.isIE||T.isEdge)&&(x.pointerEvents||x.prefixedPointerEvents)&&r.$el.addClass(`${r.params.containerModifierClass}wp8-${e}`),r.params.direction=e,r.slides.each((t,r)=>{"vertical"===e?r.style.width="":r.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const r=this,{params:n,$el:o,$wrapperEl:l,slides:d}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),o.removeAttr("style"),l.removeAttr("style"),d&&d.length&&d.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.$el[0].swiper=null,r.$el.data("swiper",null),S.deleteProps(r)),r.destroyed=!0),null}static extendDefaults(e){S.extend(V,e)}static get extendedDefaults(){return V}static get defaults(){return N}static get Class(){return C}static get $(){return m}}var H={name:"device",proto:{device:I},static:{device:I}},R={name:"support",proto:{support:x},static:{support:x}},F={name:"browser",proto:{browser:T},static:{browser:T}},j={name:"resize",create(){const e=this;S.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){y.addEventListener("resize",this.resize.resizeHandler),y.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){y.removeEventListener("resize",this.resize.resizeHandler),y.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const X={func:y.MutationObserver||y.WebkitMutationObserver,attach(e,t={}){const r=this,n=new(0,X.func)(e=>{if(1===e.length)return void r.emit("observerUpdate",e[0]);const t=function(){r.emit("observerUpdate",e[0])};y.requestAnimationFrame?y.requestAnimationFrame(t):y.setTimeout(t,0)});n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.observer.observers.push(n)},init(){const e=this;if(x.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let i=0;i{e.disconnect()}),this.observer.observers=[]}};var Y={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){S.extend(this,{observer:{init:X.init.bind(this),attach:X.attach.bind(this),destroy:X.destroy.bind(this),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const U={update(e){const t=this,{slidesPerView:r,slidesPerGroup:n,centeredSlides:o}=t.params,{addSlidesBefore:l,addSlidesAfter:d}=t.params.virtual,{from:h,to:c,slides:m,slidesGrid:f,renderSlide:v,offset:y}=t.virtual;t.updateActiveIndex();const w=t.activeIndex||0;let x,T,C;x=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(T=Math.floor(r/2)+n+l,C=Math.floor(r/2)+n+d):(T=r+(n-1)+l,C=n+d);const E=Math.max((w||0)-C,0),P=Math.min((w||0)+T,m.length-1),L=(t.slidesGrid[E]||0)-(t.slidesGrid[0]||0);function D(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(S.extend(t.virtual,{from:E,to:P,offset:L,slidesGrid:t.slidesGrid}),h===E&&c===P&&!e)return t.slidesGrid!==f&&L!==y&&t.slides.css(x,L+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:L,from:E,to:P,slides:function(){const e=[];for(let i=E;i<=P;i+=1)e.push(m[i]);return e}()}),void D();const M=[],$=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let i=h;i<=c;i+=1)(iP)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${i}"]`).remove();for(let i=0;i=E&&i<=P&&(void 0===c||e?$.push(i):(i>c&&$.push(i),i{t.$wrapperEl.append(v(m[e],e))}),M.sort((a,b)=>b-a).forEach(e=>{t.$wrapperEl.prepend(v(m[e],e))}),t.$wrapperEl.children(".swiper-slide").css(x,L+"px"),D()},renderSlide(e,t){const r=this,n=r.params.virtual;if(n.cache&&r.virtual.cache[t])return r.virtual.cache[t];const o=n.renderSlide?m(n.renderSlide.call(r,e,t)):m(`
${e}
`);return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",t),n.cache&&(r.virtual.cache[t]=o),o},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let i=0;i{r[parseInt(t,10)+o]=e[t]}),t.virtual.cache=r}t.virtual.update(!0),t.slideTo(n,0)},removeSlide(e){const t=this;if(null==e)return;let r=t.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const n=y.innerWidth,o=y.innerHeight,l=t.$el.offset();r&&(l.left-=t.$el[0].scrollLeft);const d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]];for(let i=0;i=0&&t[0]<=n&&t[1]>=0&&t[1]<=o&&(e=!0)}if(!e)return}t.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(n.preventDefault?n.preventDefault():n.returnValue=!1),(34!==o&&39!==o||r)&&(33!==o&&37!==o||!r)||t.slideNext(),(33!==o&&37!==o||r)&&(34!==o&&39!==o||!r)||t.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(n.preventDefault?n.preventDefault():n.returnValue=!1),34!==o&&40!==o||t.slideNext(),33!==o&&38!==o||t.slidePrev()),t.emit("keyPress",o)}},enable(){this.keyboard.enabled||(m(v).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable(){this.keyboard.enabled&&(m(v).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}};var Z={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create(){S.extend(this,{keyboard:{enabled:!1,enable:J.enable.bind(this),disable:J.disable.bind(this),handle:J.handle.bind(this)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};const Q={lastScrollTime:S.now(),event:y.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){let e="onwheel"in v;if(!e){const element=v.createElement("div");element.setAttribute("onwheel","return;"),e="function"==typeof element.onwheel}return!e&&v.implementation&&v.implementation.hasFeature&&!0!==v.implementation.hasFeature("","")&&(e=v.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize(e){let t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=10*t,o=10*r,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1===e.deltaMode?(n*=40,o*=40):(n*=800,o*=800)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const r=this,n=r.params.mousewheel;if(!r.mouseEntered&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let o=0;const l=r.rtlTranslate?-1:1,data=Q.normalize(t);if(n.forceToAxis)if(r.isHorizontal()){if(!(Math.abs(data.pixelX)>Math.abs(data.pixelY)))return!0;o=data.pixelX*l}else{if(!(Math.abs(data.pixelY)>Math.abs(data.pixelX)))return!0;o=data.pixelY}else o=Math.abs(data.pixelX)>Math.abs(data.pixelY)?-data.pixelX*l:-data.pixelY;if(0===o)return!0;if(n.invert&&(o=-o),r.params.freeMode){r.params.loop&&r.loopFix();let e=r.getTranslate()+o*n.sensitivity;const l=r.isBeginning,d=r.isEnd;if(e>=r.minTranslate()&&(e=r.minTranslate()),e<=r.maxTranslate()&&(e=r.maxTranslate()),r.setTransition(0),r.setTranslate(e),r.updateProgress(),r.updateActiveIndex(),r.updateSlidesClasses(),(!l&&r.isBeginning||!d&&r.isEnd)&&r.updateSlidesClasses(),r.params.freeModeSticky&&(clearTimeout(r.mousewheel.timeout),r.mousewheel.timeout=S.nextTick(()=>{r.slideToClosest()},300)),r.emit("scroll",t),r.params.autoplay&&r.params.autoplayDisableOnInteraction&&r.autoplay.stop(),e===r.minTranslate()||e===r.maxTranslate())return!0}else{if(S.now()-r.mousewheel.lastScrollTime>60)if(o<0)if(r.isEnd&&!r.params.loop||r.animating){if(n.releaseOnEdges)return!0}else r.slideNext(),r.emit("scroll",t);else if(r.isBeginning&&!r.params.loop||r.animating){if(n.releaseOnEdges)return!0}else r.slidePrev(),r.emit("scroll",t);r.mousewheel.lastScrollTime=(new y.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable(){const e=this;if(!Q.event)return!1;if(e.mousewheel.enabled)return!1;let t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=m(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(Q.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this;if(!Q.event)return!1;if(!e.mousewheel.enabled)return!1;let t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=m(e.params.mousewheel.eventsTarged)),t.off(Q.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};const ee={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:r,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),r&&r.length>0&&(e.isEnd?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let r,n;t.nextEl&&(r=m(t.nextEl),e.params.uniqueNavElements&&"string"==typeof t.nextEl&&r.length>1&&1===e.$el.find(t.nextEl).length&&(r=e.$el.find(t.nextEl))),t.prevEl&&(n=m(t.prevEl),e.params.uniqueNavElements&&"string"==typeof t.prevEl&&n.length>1&&1===e.$el.find(t.prevEl).length&&(n=e.$el.find(t.prevEl))),r&&r.length>0&&r.on("click",e.navigation.onNextClick),n&&n.length>0&&n.on("click",e.navigation.onPrevClick),S.extend(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:n,prevEl:n&&n[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:r}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",e.navigation.onPrevClick),r.removeClass(e.params.navigation.disabledClass))}};const te={update(){const e=this,t=e.rtl,r=e.params.pagination;if(!r.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let l;const d=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(l=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),l>n-1-2*e.loopedSlides&&(l-=n-2*e.loopedSlides),l>d-1&&(l-=d),l<0&&"bullets"!==e.params.paginationType&&(l=d+l)):l=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===r.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let d,h,c;if(r.dynamicBullets&&(e.pagination.bulletSize=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(r.dynamicMainBullets+4)+"px"),r.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=l-e.previousIndex,e.pagination.dynamicBulletIndex>r.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=r.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),d=l-e.pagination.dynamicBulletIndex,h=d+(Math.min(n.length,r.dynamicMainBullets)-1),c=(h+d)/2),n.removeClass(`${r.bulletActiveClass} ${r.bulletActiveClass}-next ${r.bulletActiveClass}-next-next ${r.bulletActiveClass}-prev ${r.bulletActiveClass}-prev-prev ${r.bulletActiveClass}-main`),o.length>1)n.each((e,t)=>{const n=m(t),o=n.index();o===l&&n.addClass(r.bulletActiveClass),r.dynamicBullets&&(o>=d&&o<=h&&n.addClass(r.bulletActiveClass+"-main"),o===d&&n.prev().addClass(r.bulletActiveClass+"-prev").prev().addClass(r.bulletActiveClass+"-prev-prev"),o===h&&n.next().addClass(r.bulletActiveClass+"-next").next().addClass(r.bulletActiveClass+"-next-next"))});else{if(n.eq(l).addClass(r.bulletActiveClass),r.dynamicBullets){const e=n.eq(d),t=n.eq(h);for(let i=d;i<=h;i+=1)n.eq(i).addClass(r.bulletActiveClass+"-main");e.prev().addClass(r.bulletActiveClass+"-prev").prev().addClass(r.bulletActiveClass+"-prev-prev"),t.next().addClass(r.bulletActiveClass+"-next").next().addClass(r.bulletActiveClass+"-next-next")}}if(r.dynamicBullets){const o=Math.min(n.length,r.dynamicMainBullets+4),l=(e.pagination.bulletSize*o-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,d=t?"right":"left";n.css(e.isHorizontal()?d:"top",l+"px")}}if("fraction"===r.type&&(o.find("."+r.currentClass).text(r.formatFractionCurrent(l+1)),o.find("."+r.totalClass).text(r.formatFractionTotal(d))),"progressbar"===r.type){let t;t=r.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(l+1)/d;let h=1,c=1;"horizontal"===t?h=n:c=n,o.find("."+r.progressbarFillClass).transform(`translate3d(0,0,0) scaleX(${h}) scaleY(${c})`).transition(e.params.speed)}"custom"===r.type&&r.renderCustom?(o.html(r.renderCustom(e,l+1,d)),e.emit("paginationRender",e,o[0])):e.emit("paginationUpdate",e,o[0]),o[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](r.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el;let o="";if("bullets"===t.type){const l=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let i=0;i`;n.html(o),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,n.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,n.html(o)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let r=m(t.el);0!==r.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&r.length>1&&1===e.$el.find(t.el).length&&(r=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&r.addClass(t.clickableClass),r.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(r.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&r.addClass(t.progressbarOppositeClass),t.clickable&&r.on("click","."+t.bulletClass,(function(t){t.preventDefault();let r=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(r+=e.loopedSlides),e.slideTo(r)})),S.extend(e.pagination,{$el:r,el:r[0]}))},destroy(){const e=this.params.pagination;if(!e.el||!this.pagination.el||!this.pagination.$el||0===this.pagination.$el.length)return;const t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}};const ie={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:r,progress:progress}=e,{dragSize:n,trackSize:o,$dragEl:l,$el:d}=t,h=e.params.scrollbar;let c=n,m=(o-n)*progress;r?(m=-m,m>0?(c=n-m,m=0):-m+n>o&&(c=o+m)):m<0?(c=n+m,m=0):m+n>o&&(c=o-m),e.isHorizontal()?(x.transforms3d?l.transform(`translate3d(${m}px, 0, 0)`):l.transform(`translateX(${m}px)`),l[0].style.width=c+"px"):(x.transforms3d?l.transform(`translate3d(0px, ${m}px, 0)`):l.transform(`translateY(${m}px)`),l[0].style.height=c+"px"),h.hide&&(clearTimeout(e.scrollbar.timeout),d[0].style.opacity=1,e.scrollbar.timeout=setTimeout(()=>{d[0].style.opacity=0,d.transition(400)},1e3))},setTransition(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:r,$el:n}=t;r[0].style.width="",r[0].style.height="";const o=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,l=e.size/e.virtualSize,d=l*(o/e.size);let h;h="auto"===e.params.scrollbar.dragSize?o*l:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?r[0].style.width=h+"px":r[0].style.height=h+"px",n[0].style.display=l>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),S.extend(t,{trackSize:o,divider:l,moveDivider:d,dragSize:h}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){return this.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},setDragPosition(e){const{scrollbar:t,rtlTranslate:r}=this,{$el:n,dragSize:o,trackSize:l,dragStartPos:d}=t;let h;h=(t.getPointerPosition(e)-n.offset()[this.isHorizontal()?"left":"top"]-(null!==d?d:o/2))/(l-o),h=Math.max(Math.min(h,1),0),r&&(h=1-h);const c=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*h;this.updateProgress(c),this.setTranslate(c),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart(e){const t=this.params.scrollbar,{scrollbar:r,$wrapperEl:n}=this,{$el:o,$dragEl:l}=r;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===l[0]||e.target===l?r.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),l.transition(100),r.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),o.transition(0),t.hide&&o.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove(e){const{scrollbar:t,$wrapperEl:r}=this,{$el:n,$dragEl:o}=t;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),r.transition(0),n.transition(0),o.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,r=t.params.scrollbar,{scrollbar:n}=t,{$el:o}=n;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,r.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=S.nextTick(()=>{o.css("opacity",0),o.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),r.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:r,touchEventsDesktop:n,params:o}=e,l=t.$el[0],d=!(!x.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!x.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};x.touch?(l.addEventListener(r.start,e.scrollbar.onDragStart,d),l.addEventListener(r.move,e.scrollbar.onDragMove,d),l.addEventListener(r.end,e.scrollbar.onDragEnd,h)):(l.addEventListener(n.start,e.scrollbar.onDragStart,d),v.addEventListener(n.move,e.scrollbar.onDragMove,d),v.addEventListener(n.end,e.scrollbar.onDragEnd,h))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:r,touchEventsDesktop:n,params:o}=e,l=t.$el[0],d=!(!x.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},h=!(!x.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};x.touch?(l.removeEventListener(r.start,e.scrollbar.onDragStart,d),l.removeEventListener(r.move,e.scrollbar.onDragMove,d),l.removeEventListener(r.end,e.scrollbar.onDragEnd,h)):(l.removeEventListener(n.start,e.scrollbar.onDragStart,d),v.removeEventListener(n.move,e.scrollbar.onDragMove,d),v.removeEventListener(n.end,e.scrollbar.onDragEnd,h))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:r}=e,n=e.params.scrollbar;let o=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&o.length>1&&1===r.find(n.el).length&&(o=r.find(n.el));let l=o.find("."+e.params.scrollbar.dragClass);0===l.length&&(l=m(`
`),o.append(l)),S.extend(t,{$el:o,el:o[0],$dragEl:l,dragEl:l[0]}),n.draggable&&t.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}};const se={setTransform(e,progress){const{rtl:t}=this,r=m(e),n=t?-1:1,p=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y");const d=r.attr("data-swiper-parallax-scale"),h=r.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=p,l="0"):(l=p,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*progress*n+"%":o*progress*n+"px",l=l.indexOf("%")>=0?parseInt(l,10)*progress+"%":l*progress+"px",null!=h){const e=h-(h-1)*(1-Math.abs(progress));r[0].style.opacity=e}if(null==d)r.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(progress));r.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:r,progress:progress,snapGrid:n}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,r)=>{e.parallax.setTransform(r,progress)}),r.each((t,r)=>{let o=r.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(t/2)-progress*(n.length-1)),o=Math.min(Math.max(o,-1),1),m(r).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,r)=>{e.parallax.setTransform(r,o)})})},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,r)=>{const n=m(r);let o=parseInt(n.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),n.transition(o)})}};const ae={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,r=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,o=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(o-r)**2)},onGestureStart(e){const t=this,r=t.params.zoom,n=t.zoom,{gesture:o}=n;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!x.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,o.scaleStart=ae.getDistanceBetweenTouches(e)}o.$slideEl&&o.$slideEl.length||(o.$slideEl=m(e.target).closest(".swiper-slide"),0===o.$slideEl.length&&(o.$slideEl=t.slides.eq(t.activeIndex)),o.$imageEl=o.$slideEl.find("img, svg, canvas"),o.$imageWrapEl=o.$imageEl.parent("."+r.containerClass),o.maxRatio=o.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,0!==o.$imageWrapEl.length)?(o.$imageEl.transition(0),t.zoom.isScaling=!0):o.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,r=this.zoom,{gesture:n}=r;if(!x.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r.fakeGestureMoved=!0,n.scaleMove=ae.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(x.gestures?r.scale=e.scale*r.currentScale:r.scale=n.scaleMove/n.scaleStart*r.currentScale,r.scale>n.maxRatio&&(r.scale=n.maxRatio-1+(r.scale-n.maxRatio+1)**.5),r.scaleimage.touchesStart.x))return void(image.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(image.minY)===Math.floor(image.startY)&&image.touchesCurrent.yimage.touchesStart.y))return void(image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),image.isMoved=!0,image.currentX=image.touchesCurrent.x-image.touchesStart.x+image.startX,image.currentY=image.touchesCurrent.y-image.touchesStart.y+image.startY,image.currentXimage.maxX&&(image.currentX=image.maxX-1+(image.currentX-image.maxX+1)**.8),image.currentYimage.maxY&&(image.currentY=image.maxY-1+(image.currentY-image.maxY+1)**.8),o.prevPositionX||(o.prevPositionX=image.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=image.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(image.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(image.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(image.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(image.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=image.touchesCurrent.x,o.prevPositionY=image.touchesCurrent.y,o.prevTime=Date.now(),n.$imageWrapEl.transform(`translate3d(${image.currentX}px, ${image.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:image,velocity:r}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!image.isTouched||!image.isMoved)return image.isTouched=!1,void(image.isMoved=!1);image.isTouched=!1,image.isMoved=!1;let n=300,o=300;const l=r.x*n,d=image.currentX+l,h=r.y*o,c=image.currentY+h;0!==r.x&&(n=Math.abs((d-image.currentX)/r.x)),0!==r.y&&(o=Math.abs((c-image.currentY)/r.y));const m=Math.max(n,o);image.currentX=d,image.currentY=c;const f=image.width*e.scale,v=image.height*e.scale;image.minX=Math.min(t.slideWidth/2-f/2,0),image.maxX=-image.minX,image.minY=Math.min(t.slideHeight/2-v/2,0),image.maxY=-image.minY,image.currentX=Math.max(Math.min(image.currentX,image.maxX),image.minX),image.currentY=Math.max(Math.min(image.currentY,image.maxY),image.minY),t.$imageWrapEl.transition(m).transform(`translate3d(${image.currentX}px, ${image.currentY}px,0)`)},onTransitionEnd(){const e=this.zoom,{gesture:t}=e;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this,r=t.zoom,n=t.params.zoom,{gesture:o,image:image}=r;if(o.$slideEl||(o.$slideEl=t.clickedSlide?m(t.clickedSlide):t.slides.eq(t.activeIndex),o.$imageEl=o.$slideEl.find("img, svg, canvas"),o.$imageWrapEl=o.$imageEl.parent("."+n.containerClass)),!o.$imageEl||0===o.$imageEl.length)return;let l,d,h,c,f,v,y,w,S,x,T,C,E,P,L,D,M,$;o.$slideEl.addClass(""+n.zoomedSlideClass),void 0===image.touchesStart.x&&e?(l="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,d="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(l=image.touchesStart.x,d=image.touchesStart.y),r.scale=o.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,r.currentScale=o.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,e?(M=o.$slideEl[0].offsetWidth,$=o.$slideEl[0].offsetHeight,h=o.$slideEl.offset().left,c=o.$slideEl.offset().top,f=h+M/2-l,v=c+$/2-d,S=o.$imageEl[0].offsetWidth,x=o.$imageEl[0].offsetHeight,T=S*r.scale,C=x*r.scale,E=Math.min(M/2-T/2,0),P=Math.min($/2-C/2,0),L=-E,D=-P,y=f*r.scale,w=v*r.scale,yL&&(y=L),wD&&(w=D)):(y=0,w=0),o.$imageWrapEl.transition(300).transform(`translate3d(${y}px, ${w}px,0)`),o.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${r.scale})`)},out(){const e=this,t=e.zoom,r=e.params.zoom,{gesture:n}=t;n.$slideEl||(n.$slideEl=e.clickedSlide?m(e.clickedSlide):e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+r.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+r.zoomedSlideClass),n.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const r=!("touchstart"!==e.touchEvents.start||!x.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};x.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,r),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,r),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,r),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,r),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,r)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const r=!("touchstart"!==e.touchEvents.start||!x.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};x.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,r),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,r),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,r),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,r),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,r)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}};const re={loadInSlide(e,t=!0){const r=this,n=r.params.lazy;if(void 0===e)return;if(0===r.slides.length)return;const o=r.virtual&&r.params.virtual.enabled?r.$wrapperEl.children(`.${r.params.slideClass}[data-swiper-slide-index="${e}"]`):r.slides.eq(e);let l=o.find(`.${n.elementClass}:not(.${n.loadedClass}):not(.${n.loadingClass})`);!o.hasClass(n.elementClass)||o.hasClass(n.loadedClass)||o.hasClass(n.loadingClass)||(l=l.add(o[0])),0!==l.length&&l.each((e,l)=>{const d=m(l);d.addClass(n.loadingClass);const h=d.attr("data-background"),c=d.attr("data-src"),f=d.attr("data-srcset"),v=d.attr("data-sizes");r.loadImage(d[0],c||h,f,v,!1,()=>{if(null!=r&&r&&(!r||r.params)&&!r.destroyed){if(h?(d.css("background-image",`url("${h}")`),d.removeAttr("data-background")):(f&&(d.attr("srcset",f),d.removeAttr("data-srcset")),v&&(d.attr("sizes",v),d.removeAttr("data-sizes")),c&&(d.attr("src",c),d.removeAttr("data-src"))),d.addClass(n.loadedClass).removeClass(n.loadingClass),o.find("."+n.preloaderClass).remove(),r.params.loop&&t){const e=o.attr("data-swiper-slide-index");if(o.hasClass(r.params.slideDuplicateClass)){const t=r.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${r.params.slideDuplicateClass})`);r.lazy.loadInSlide(t.index(),!1)}else{const t=r.$wrapperEl.children(`.${r.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);r.lazy.loadInSlide(t.index(),!1)}}r.emit("lazyImageReady",o[0],d[0])}}),r.emit("lazyImageLoad",o[0],d[0])})},load(){const e=this,{$wrapperEl:t,params:r,slides:n,activeIndex:o}=e,l=e.virtual&&r.virtual.enabled,d=r.lazy;let h=r.slidesPerView;function c(e){if(l){if(t.children(`.${r.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(n[e])return!0;return!1}function f(e){return l?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===h&&(h=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+r.slideVisibleClass).each((t,r)=>{const n=l?m(r).attr("data-swiper-slide-index"):m(r).index();e.lazy.loadInSlide(n)});else if(h>1)for(let i=o;i1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){const t=d.loadPrevNextAmount,r=h,l=Math.min(o+r+Math.max(t,r),n.length),m=Math.max(o-Math.max(r,t),0);for(let i=o+h;i0&&e.lazy.loadInSlide(f(n));const o=t.children("."+r.slidePrevClass);o.length>0&&e.lazy.loadInSlide(f(o))}}};const ne={LinearSpline:function(e,t){const r=function(){let e,t,r;return(n,o)=>{for(t=-1,e=n.length;e-t>1;)r=e+t>>1,n[r]<=o?t=r:e=r;return e}}();let n,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=r(this.x,e),n=o-1,(e-this.x[n])*(this.y[o]-this.y[n])/(this.x[o]-this.x[n])+this.y[n]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ne.LinearSpline(t.slidesGrid,e.slidesGrid):new ne.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const r=this,n=r.controller.control;let o,l;function d(e){const t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),l=-r.controller.spline.interpolate(-t)),l&&"container"!==r.params.controller.by||(o=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),l=(t-r.minTranslate())*o+e.minTranslate()),r.params.controller.inverse&&(l=e.maxTranslate()-l),e.updateProgress(l),e.setTranslate(l,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(let i=0;i{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{n&&(t.params.loop&&"slide"===r.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(n))for(i=0;i(e.attr("tabIndex","0"),e),addElRole:(e,t)=>(e.attr("role",t),e),addElLabel:(e,label)=>(e.attr("aria-label",label),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this,r=t.params.a11y;if(13!==e.keyCode)return;const n=m(e.target);t.navigation&&t.navigation.$nextEl&&n.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(r.lastSlideMessage):t.a11y.notify(r.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&n.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(r.firstSlideMessage):t.a11y.notify(r.prevSlideMessage)),t.pagination&&n.is("."+t.params.pagination.bulletClass)&&n[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){const e=this;if(e.params.loop)return;const{$nextEl:t,$prevEl:r}=e.navigation;r&&r.length>0&&(e.isBeginning?e.a11y.disableEl(r):e.a11y.enableEl(r)),t&&t.length>0&&(e.isEnd?e.a11y.disableEl(t):e.a11y.enableEl(t))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((r,n)=>{const o=m(n);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/{{index}}/,o.index()+1))})},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let r,n;e.navigation&&e.navigation.$nextEl&&(r=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),r&&(e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.nextSlideMessage),r.on("keydown",e.a11y.onEnterKey)),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.prevSlideMessage),n.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy(){const e=this;let t,r;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),r&&r.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}};const le={init(){const e=this;if(!e.params.history)return;if(!y.history||!y.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=le.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||y.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||y.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){this.history.paths=le.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues(){const e=y.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){if(!this.history.initialized||!this.params.history.enabled)return;const r=this.slides.eq(t);let n=le.slugify(r.attr("data-history"));y.location.pathname.includes(e)||(n=`${e}/${n}`);const o=y.history.state;o&&o.value===n||(this.params.history.replaceState?y.history.replaceState({value:n},null,n):y.history.pushState({value:n},null,n))},slugify:text=>text.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,r){const n=this;if(t)for(let i=0,o=n.slides.length;i{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},r)},start(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}};const ce={setTranslate(){const e=this,{slides:t}=e;for(let i=0;i{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const r=["webkitTransitionEnd","transitionend"];for(let i=0;i'),t.append(v)),v.css({height:n+"px"})):(v=e.find(".swiper-cube-shadow"),0===v.length&&(v=m('
'),e.append(v))));for(let i=0;i-1&&(y=90*t+90*progress,l&&(y=90*-t-90*progress)),e.transform(x),h.slideShadows){let t=c?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=c?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=m(`
`),e.append(t)),0===r.length&&(r=m(`
`),e.append(r)),t.length&&(t[0].style.opacity=Math.max(-progress,0)),r.length&&(r[0].style.opacity=Math.max(progress,0))}}if(t.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"-moz-transform-origin":`50% 50% -${d/2}px`,"-ms-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),h.shadow)if(c)v.transform(`translate3d(0px, ${n/2+h.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${h.shadowScale})`);else{const e=Math.abs(y)-90*Math.floor(Math.abs(y)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),r=h.shadowScale,n=h.shadowScale/t,l=h.shadowOffset;v.transform(`scale3d(${r}, 1, ${n}) translate3d(0px, ${o/2+l}px, ${-o/2/n}px) rotateX(-90deg)`)}const w=T.isSafari||T.isUiWebView?-d/2:0;t.transform(`translate3d(0px,0,${w}px) rotateX(${this.isHorizontal()?0:y}deg) rotateY(${this.isHorizontal()?-y:0}deg)`)},setTransition(e){const{$el:t,slides:r}=this;r.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}};const ue={setTranslate(){const e=this,{slides:t,rtlTranslate:r}=e;for(let i=0;i`),n.append(t)),0===r.length&&(r=m(`
`),n.append(r)),t.length&&(t[0].style.opacity=Math.max(-progress,0)),r.length&&(r[0].style.opacity=Math.max(progress,0))}n.transform(`translate3d(${d}px, ${h}px, 0px) rotateX(${l}deg) rotateY(${o}deg)`)}},setTransition(e){const t=this,{slides:r,activeIndex:n,$wrapperEl:o}=t;if(r.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){let e=!1;r.eq(n).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const r=["webkitTransitionEnd","transitionend"];for(let i=0;i`),e.append(t)),0===r.length&&(r=m(`
`),e.append(r)),t.length&&(t[0].style.opacity=n>0?n:0),r.length&&(r[0].style.opacity=-n>0?-n:0)}}if(x.pointerEvents||x.prefixedPointerEvents){n[0].style.perspectiveOrigin=c+"px 50%"}},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};const fe={init(){const e=this,{thumbs:t}=e.params,r=e.constructor;t.swiper instanceof r?(e.thumbs.swiper=t.swiper,S.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),S.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):S.isObject(t.swiper)&&(e.thumbs.swiper=new r(S.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const r=t.clickedIndex,n=t.clickedSlide;if(n&&m(n).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==r)return;let o;if(o=t.params.loop?parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10):r,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const r=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${o}"]`).eq(0).index(),n=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${o}"]`).eq(0).index();o=void 0===r?n:void 0===n?r:n-tl?o-Math.floor(n/2)+1:o+Math.floor(n/2)-1:o>l&&(o=o-n+1),r.slideTo(o,e?0:void 0))}let o=1;const l=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(o=t.params.slidesPerView),r.slides.removeClass(l),r.params.loop||r.params.virtual)for(let i=0;ie,formatFractionTotal:e=>e,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){S.extend(this,{pagination:{init:te.init.bind(this),render:te.render.bind(this),update:te.update.bind(this),destroy:te.destroy.bind(this),dynamicBulletIndex:0}})},on:{init(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!m(e.target).hasClass(t.params.pagination.bulletClass)){!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){S.extend(this,{scrollbar:{init:ie.init.bind(this),destroy:ie.destroy.bind(this),updateSize:ie.updateSize.bind(this),setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this),enableDraggable:ie.enableDraggable.bind(this),disableDraggable:ie.disableDraggable.bind(this),setDragPosition:ie.setDragPosition.bind(this),getPointerPosition:ie.getPointerPosition.bind(this),onDragStart:ie.onDragStart.bind(this),onDragMove:ie.onDragMove.bind(this),onDragEnd:ie.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){S.extend(this,{parallax:{setTransform:se.setTransform.bind(this),setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},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}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(r=>{t[r]=ae[r].bind(e)}),S.extend(e,{zoom:t});let r=1;Object.defineProperty(e.zoom,"scale",{get:()=>r,set(t){if(r!==t){const r=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,r,n)}r=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){S.extend(this,{lazy:{initialImageLoaded:!1,load:re.load.bind(this),loadInSlide:re.loadInSlide.bind(this)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){S.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:ne.getInterpolateFunction.bind(this),setTranslate:ne.setTranslate.bind(this),setTransition:ne.setTransition.bind(this)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;S.extend(e,{a11y:{liveRegion:m(``)}}),Object.keys(oe).forEach(t=>{e.a11y[t]=oe[t].bind(e)})},on:{init(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){S.extend(this,{history:{init:le.init.bind(this),setHistory:le.setHistory.bind(this),setHistoryPopState:le.setHistoryPopState.bind(this),scrollToSlide:le.scrollToSlide.bind(this),destroy:le.destroy.bind(this)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){S.extend(this,{hashNavigation:{initialized:!1,init:de.init.bind(this),destroy:de.destroy.bind(this),setHash:de.setHash.bind(this),onHashCange:de.onHashCange.bind(this)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;S.extend(e,{autoplay:{running:!1,paused:!1,run:he.run.bind(e),start:he.start.bind(e),stop:he.stop.bind(e),pause:he.pause.bind(e),onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&e.autoplay.start()},beforeTransitionStart(e,t){const r=this;r.autoplay.running&&(t||!r.params.autoplay.disableOnInteraction?r.autoplay.pause(e):r.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){S.extend(this,{fadeEffect:{setTranslate:ce.setTranslate.bind(this),setTransition:ce.setTransition.bind(this)}})},on:{beforeInit(){if("fade"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"fade");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};S.extend(this.params,e),S.extend(this.originalParams,e)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){S.extend(this,{cubeEffect:{setTranslate:pe.setTranslate.bind(this),setTransition:pe.setTransition.bind(this)}})},on:{beforeInit(){if("cube"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};S.extend(this.params,e),S.extend(this.originalParams,e)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){S.extend(this,{flipEffect:{setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{beforeInit(){if("flip"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};S.extend(this.params,e),S.extend(this.originalParams,e)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create(){S.extend(this,{coverflowEffect:{setTranslate:me.setTranslate.bind(this),setTransition:me.setTransition.bind(this)}})},on:{beforeInit(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){S.extend(this,{thumbs:{swiper:null,init:fe.init.bind(this),update:fe.update.bind(this),onThumbClick:fe.onThumbClick.bind(this)}})},on:{beforeInit(){const{thumbs:e}=this.params;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===W.use&&(W.use=W.Class.use,W.installModule=W.Class.installModule),W.use(ve);t.default=W},884:function(e,t,r){var n=r(885),o=r(893),l=r(837);e.exports=function(source){var e=o(source);return 1==e.length&&e[0][2]?l(e[0][0],e[0][1]):function(object){return object===source||n(object,source,e)}}},885:function(e,t,r){var n=r(428),o=r(643);e.exports=function(object,source,e,t){var r=e.length,l=r,d=!t;if(null==object)return!l;for(object=Object(object);r--;){var data=e[r];if(d&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++r-1?h[c?t[m]:m]:void 0}}},909:function(e,t,r){var n=r(840),o=0;e.exports=function(e){var t=++o;return n(e)+t}},930:function(e,t){e.exports=function(e){return e!=e}},931:function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n=200&&(v=c,y=!1,t=new n(t));e:for(;++f0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},949:function(e,t,r){var n=r(439),o=r(950),l=r(644),d=n&&1/l(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=d},950:function(e,t){e.exports=function(){}},951:function(e,t,r){var n=r(611),o=r(675),l=r(676),d=r(606),h=r(147),c=r(612),m=Math.min;e.exports=function(e,t,r){for(var f=r?l:o,v=e[0].length,y=e.length,w=y,S=Array(y),x=1/0,T=[];w--;){var C=e[w];w&&t&&(C=d(C,h(t))),x=m(C.length,x),S[w]=!r&&(t||v>=120&&C.length>=120)?new n(w&&C):void 0}C=e[0];var E=-1,P=S[0];e:for(;++E"+d+""}},962:function(e,t,r){var n=r(7);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},965:function(e,t,r){"use strict";var n=r(688),o=r.n(n);t.default=o.a},966:function(e,t,r){r(6)({target:"Number",stat:!0},{isInteger:r(967)})},967:function(e,t,r){var n=r(15),o=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&o(e)===e}},976:function(e,t,r){"use strict";var n=r(697),o=r.n(n);t.default=o.a}}]);