diff --git a/chunk/3286.js b/chunk/3286.js index e1452d9..cc30387 100644 --- a/chunk/3286.js +++ b/chunk/3286.js @@ -1,2 +1,2 @@ /*! For license information please see 3286.js.LICENSE.txt */ -(self.webpackJsonp=self.webpackJsonp||[]).push([[3286],{"1789":function(S,k,C){"use strict";C.d(k,{"h":function(){return handleStencilNodes},"n":function(){return notSupport}});var M=C(4536);function notSupport(S="",k={}){console.error(`H5 暂不支持 ${S} 组件!`),M.ZP.eventCenter.trigger("__taroNotSupport",{"name":S,"instance":k,"type":"component","category":"temporarily"})}function handleStencilNodes(S){var k;null===(k=null==S?void 0:S.childNodes)||void 0===k||k.forEach((S=>{S.nodeType===document.COMMENT_NODE&&S["s-cn"]&&(S["s-cn"]=!1),S.nodeType!==document.COMMENT_NODE&&S["s-sr"]&&(S["s-sr"]=!1)}))}},"6883":function(S,k,C){"use strict";C.d(k,{"M":function(){return Me}});var M=C(7210);function isObject(S){return null!==S&&"object"==typeof S&&"constructor"in S&&S.constructor===Object}function extend(S,k){void 0===S&&(S={}),void 0===k&&(k={}),Object.keys(k).forEach((C=>{void 0===S[C]?S[C]=k[C]:isObject(k[C])&&isObject(S[C])&&Object.keys(k[C]).length>0&&extend(S[C],k[C])}))}const P={"body":{},"addEventListener"(){},"removeEventListener"(){},"activeElement":{"blur"(){},"nodeName":""},"querySelector"(){return null},"querySelectorAll"(){return[]},"getElementById"(){return null},"createEvent"(){return{"initEvent"(){}}},"createElement"(){return{"children":[],"childNodes":[],"style":{},"setAttribute"(){},"getElementsByTagName"(){return[]}}},"createElementNS"(){return{}},"importNode"(){return null},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""}};function getDocument(){const S="undefined"!=typeof document?document:{};return extend(S,P),S}const O={"document":P,"navigator":{"userAgent":""},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""},"history":{"replaceState"(){},"pushState"(){},"go"(){},"back"(){}},"CustomEvent":function CustomEvent(){return this},"addEventListener"(){},"removeEventListener"(){},"getComputedStyle"(){return{"getPropertyValue"(){return""}}},"Image"(){},"Date"(){},"screen":{},"setTimeout"(){},"clearTimeout"(){},"matchMedia"(){return{}},"requestAnimationFrame"(S){return"undefined"==typeof setTimeout?(S(),null):setTimeout(S,0)},"cancelAnimationFrame"(S){"undefined"!=typeof setTimeout&&clearTimeout(S)}};function getWindow(){const S="undefined"!=typeof window?window:{};return extend(S,O),S}function classesToTokens(S){return void 0===S&&(S=""),S.trim().split(" ").filter((S=>!!S.trim()))}function nextTick(S,k){return void 0===k&&(k=0),setTimeout(S,k)}function now(){return Date.now()}function getTranslate(S,k){void 0===k&&(k="x");const C=getWindow();let M,P,O;const D=function utils_getComputedStyle(S){const k=getWindow();let C;return k.getComputedStyle&&(C=k.getComputedStyle(S,null)),!C&&S.currentStyle&&(C=S.currentStyle),C||(C=S.style),C}(S);return C.WebKitCSSMatrix?(P=D.transform||D.webkitTransform,P.split(",").length>6&&(P=P.split(", ").map((S=>S.replace(",","."))).join(", ")),O=new C.WebKitCSSMatrix("none"===P?"":P)):(O=D.MozTransform||D.OTransform||D.MsTransform||D.msTransform||D.transform||D.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),M=O.toString().split(",")),"x"===k&&(P=C.WebKitCSSMatrix?O.m41:16===M.length?parseFloat(M[12]):parseFloat(M[4])),"y"===k&&(P=C.WebKitCSSMatrix?O.m42:16===M.length?parseFloat(M[13]):parseFloat(M[5])),P||0}function utils_isObject(S){return"object"==typeof S&&null!==S&&S.constructor&&"Object"===Object.prototype.toString.call(S).slice(8,-1)}function utils_extend(){const S=Object(arguments.length<=0?void 0:arguments[0]),k=["__proto__","constructor","prototype"];for(let M=1;Mk.indexOf(S)<0));for(let k=0,M=C.length;kO?"next":"prev",isOutOfBound=(S,k)=>"next"===se&&S>=k||"prev"===se&&S<=k,animate=()=>{D=(new Date).getTime(),null===re&&(re=D);const S=Math.max(Math.min((D-re)/ne,1),0),se=.5-Math.cos(S*Math.PI)/2;let oe=O+se*(C-O);if(isOutOfBound(oe,C)&&(oe=C),k.wrapperEl.scrollTo({[M]:oe}),isOutOfBound(oe,C))return k.wrapperEl.style.overflow="hidden",k.wrapperEl.style.scrollSnapType="",setTimeout((()=>{k.wrapperEl.style.overflow="",k.wrapperEl.scrollTo({[M]:oe})})),void P.cancelAnimationFrame(k.cssModeFrameID);k.cssModeFrameID=P.requestAnimationFrame(animate)};animate()}function getSlideTransformEl(S){return S.querySelector(".swiper-slide-transform")||S.shadowRoot&&S.shadowRoot.querySelector(".swiper-slide-transform")||S}function elementChildren(S,k){return void 0===k&&(k=""),[...S.children].filter((S=>S.matches(k)))}function showWarning(S){try{return void console.warn(S)}catch(S){}}function createElement(S,k){void 0===k&&(k=[]);const C=document.createElement(S);return C.classList.add(...Array.isArray(k)?k:classesToTokens(k)),C}function elementOffset(S){const k=getWindow(),C=getDocument(),M=S.getBoundingClientRect(),P=C.body,O=S.clientTop||P.clientTop||0,D=S.clientLeft||P.clientLeft||0,re=S===k?k.scrollY:S.scrollTop,ne=S===k?k.scrollX:S.scrollLeft;return{"top":M.top+re-O,"left":M.left+ne-D}}function elementStyle(S,k){return getWindow().getComputedStyle(S,null).getPropertyValue(k)}function elementIndex(S){let k,C=S;if(C){for(k=0;null!==(C=C.previousSibling);)1===C.nodeType&&(k+=1);return k}}function elementParents(S,k){const C=[];let M=S.parentElement;for(;M;)k?M.matches(k)&&C.push(M):C.push(M),M=M.parentElement;return C}function elementTransitionEnd(S,k){k&&S.addEventListener("transitionend",(function fireCallBack(C){C.target===S&&(k.call(S,C),S.removeEventListener("transitionend",fireCallBack))}))}function elementOuterSize(S,k,C){const M=getWindow();return C?S["width"===k?"offsetWidth":"offsetHeight"]+parseFloat(M.getComputedStyle(S,null).getPropertyValue("width"===k?"margin-right":"margin-top"))+parseFloat(M.getComputedStyle(S,null).getPropertyValue("width"===k?"margin-left":"margin-bottom")):S.offsetWidth}function makeElementsArray(S){return(Array.isArray(S)?S:[S]).filter((S=>!!S))}let D,re,ne;function getSupport(){return D||(D=function calcSupport(){const S=getWindow(),k=getDocument();return{"smoothScroll":k.documentElement&&k.documentElement.style&&"scrollBehavior"in k.documentElement.style,"touch":!!("ontouchstart"in S||S.DocumentTouch&&k instanceof S.DocumentTouch)}}()),D}function getDevice(S){return void 0===S&&(S={}),re||(re=function calcDevice(S){let{"userAgent":k}=void 0===S?{}:S;const C=getSupport(),M=getWindow(),P=M.navigator.platform,O=k||M.navigator.userAgent,D={"ios":!1,"android":!1},re=M.screen.width,ne=M.screen.height,se=O.match(/(Android);?[\s\/]+([\d.]+)?/);let oe=O.match(/(iPad).*OS\s([\d_]+)/);const de=O.match(/(iPod)(.*OS\s([\d_]+))?/),ue=!oe&&O.match(/(iPhone\sOS|iOS)\s([\d_]+)/),pe="Win32"===P;let he="MacIntel"===P;return!oe&&he&&C.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${re}x${ne}`)>=0&&(oe=O.match(/(Version)\/([\d.]+)/),oe||(oe=[0,1,"13_0_0"]),he=!1),se&&!pe&&(D.os="android",D.android=!0),(oe||ue||de)&&(D.os="ios",D.ios=!0),D}(S)),re}function getBrowser(){return ne||(ne=function calcBrowser(){const S=getWindow(),k=getDevice();let C=!1;function isSafari(){const k=S.navigator.userAgent.toLowerCase();return k.indexOf("safari")>=0&&k.indexOf("chrome")<0&&k.indexOf("android")<0}if(isSafari()){const k=String(S.navigator.userAgent);if(k.includes("Version/")){const[S,M]=k.split("Version/")[1].split(" ")[0].split(".").map((S=>Number(S)));C=S<16||16===S&&M<2}}const M=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(S.navigator.userAgent),P=isSafari();return{"isSafari":C||P,"needPerspectiveFix":C,"need3dFix":P||M&&k.ios,"isWebView":M}}()),ne}var se={"on"(S,k,C){const M=this;if(!M.eventsListeners||M.destroyed)return M;if("function"!=typeof k)return M;const P=C?"unshift":"push";return S.split(" ").forEach((S=>{M.eventsListeners[S]||(M.eventsListeners[S]=[]),M.eventsListeners[S][P](k)})),M},"once"(S,k,C){const M=this;if(!M.eventsListeners||M.destroyed)return M;if("function"!=typeof k)return M;function onceHandler(){M.off(S,onceHandler),onceHandler.__emitterProxy&&delete onceHandler.__emitterProxy;for(var C=arguments.length,P=new Array(C),O=0;O=0&&k.eventsAnyListeners.splice(C,1),k},"off"(S,k){const C=this;return!C.eventsListeners||C.destroyed?C:C.eventsListeners?(S.split(" ").forEach((S=>{void 0===k?C.eventsListeners[S]=[]:C.eventsListeners[S]&&C.eventsListeners[S].forEach(((M,P)=>{(M===k||M.__emitterProxy&&M.__emitterProxy===k)&&C.eventsListeners[S].splice(P,1)}))})),C):C},"emit"(){const S=this;if(!S.eventsListeners||S.destroyed)return S;if(!S.eventsListeners)return S;let k,C,M;for(var P=arguments.length,O=new Array(P),D=0;D{S.eventsAnyListeners&&S.eventsAnyListeners.length&&S.eventsAnyListeners.forEach((S=>{S.apply(M,[k,...C])})),S.eventsListeners&&S.eventsListeners[k]&&S.eventsListeners[k].forEach((S=>{S.apply(M,C)}))})),S}};const toggleSlideClasses=(S,k,C)=>{k&&!S.classList.contains(C)?S.classList.add(C):!k&&S.classList.contains(C)&&S.classList.remove(C)};const processLazyPreloader=(S,k)=>{if(!S||S.destroyed||!S.params)return;const C=k.closest(S.isElement?"swiper-slide":`.${S.params.slideClass}`);if(C){let k=C.querySelector(`.${S.params.lazyPreloaderClass}`);!k&&S.isElement&&(C.shadowRoot?k=C.shadowRoot.querySelector(`.${S.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{C.shadowRoot&&(k=C.shadowRoot.querySelector(`.${S.params.lazyPreloaderClass}`),k&&k.remove())}))),k&&k.remove()}},unlazy=(S,k)=>{if(!S.slides[k])return;const C=S.slides[k].querySelector('[loading="lazy"]');C&&C.removeAttribute("loading")},preload=S=>{if(!S||S.destroyed||!S.params)return;let k=S.params.lazyPreloadPrevNext;const C=S.slides.length;if(!C||!k||k<0)return;k=Math.min(k,C);const M="auto"===S.params.slidesPerView?S.slidesPerViewDynamic():Math.ceil(S.params.slidesPerView),P=S.activeIndex;if(S.params.grid&&S.params.grid.rows>1){const C=P,O=[C-k];return O.push(...Array.from({"length":k}).map(((S,k)=>C+M+k))),void S.slides.forEach(((k,C)=>{O.includes(k.column)&&unlazy(S,C)}))}const O=P+M-1;if(S.params.rewind||S.params.loop)for(let M=P-k;M<=O+k;M+=1){const k=(M%C+C)%C;(kO)&&unlazy(S,k)}else for(let M=Math.max(P-k,0);M<=Math.min(O+k,C-1);M+=1)M!==P&&(M>O||M=0?be=parseFloat(be.replace("%",""))/100*P:"string"==typeof be&&(be=parseFloat(be)),S.virtualSize=-be,se.forEach((S=>{O?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""})),k.centeredSlides&&k.cssMode&&(setCSSProperty(C,"--swiper-centered-offset-before",""),setCSSProperty(C,"--swiper-centered-offset-after",""));const Ae=k.grid&&k.grid.rows>1&&S.grid;let ke;Ae?S.grid.initSlides(se):S.grid&&S.grid.unsetSlides();const Te="auto"===k.slidesPerView&&k.breakpoints&&Object.keys(k.breakpoints).filter((S=>void 0!==k.breakpoints[S].slidesPerView)).length>0;for(let C=0;C1&&de.push(S.virtualSize-P)}if(re&&k.loop){const C=pe[0]+be;if(k.slidesPerGroup>1){const M=Math.ceil((S.virtual.slidesBefore+S.virtual.slidesAfter)/k.slidesPerGroup),P=C*k.slidesPerGroup;for(let S=0;S!(k.cssMode&&!k.loop)||C!==se.length-1)).forEach((S=>{S.style[C]=`${be}px`}))}if(k.centeredSlides&&k.centeredSlidesBounds){let S=0;pe.forEach((k=>{S+=k+(be||0)})),S-=be;const k=S-P;de=de.map((S=>S<=0?-he:S>k?k+fe:S))}if(k.centerInsufficientSlides){let S=0;if(pe.forEach((k=>{S+=k+(be||0)})),S-=be,S{de[C]=S-k})),ue.forEach(((S,C)=>{ue[C]=S+k}))}}if(Object.assign(S,{"slides":se,"snapGrid":de,"slidesGrid":ue,"slidesSizesGrid":pe}),k.centeredSlides&&k.cssMode&&!k.centeredSlidesBounds){setCSSProperty(C,"--swiper-centered-offset-before",-de[0]+"px"),setCSSProperty(C,"--swiper-centered-offset-after",S.size/2-pe[pe.length-1]/2+"px");const k=-S.snapGrid[0],M=-S.slidesGrid[0];S.snapGrid=S.snapGrid.map((S=>S+k)),S.slidesGrid=S.slidesGrid.map((S=>S+M))}if(oe!==ne&&S.emit("slidesLengthChange"),de.length!==me&&(S.params.watchOverflow&&S.checkOverflow(),S.emit("snapGridLengthChange")),ue.length!==ge&&S.emit("slidesGridLengthChange"),k.watchSlidesProgress&&S.updateSlidesOffset(),S.emit("slidesUpdated"),!(re||k.cssMode||"slide"!==k.effect&&"fade"!==k.effect)){const C=`${k.containerModifierClass}backface-hidden`,M=S.el.classList.contains(C);oe<=k.maxBackfaceHiddenSlides?M||S.el.classList.add(C):M&&S.el.classList.remove(C)}},"updateAutoHeight":function updateAutoHeight(S){const k=this,C=[],M=k.virtual&&k.params.virtual.enabled;let P,O=0;"number"==typeof S?k.setTransition(S):!0===S&&k.setTransition(k.params.speed);const getSlideByIndex=S=>M?k.slides[k.getSlideIndexByData(S)]:k.slides[S];if("auto"!==k.params.slidesPerView&&k.params.slidesPerView>1)if(k.params.centeredSlides)(k.visibleSlides||[]).forEach((S=>{C.push(S)}));else for(P=0;Pk.slides.length&&!M)break;C.push(getSlideByIndex(S))}else C.push(getSlideByIndex(k.activeIndex));for(P=0;PO?S:O}(O||0===O)&&(k.wrapperEl.style.height=`${O}px`)},"updateSlidesOffset":function updateSlidesOffset(){const S=this,k=S.slides,C=S.isElement?S.isHorizontal()?S.wrapperEl.offsetLeft:S.wrapperEl.offsetTop:0;for(let M=0;M{S.classList.remove(C.slideVisibleClass,C.slideFullyVisibleClass)})),k.visibleSlidesIndexes=[],k.visibleSlides=[];let re=C.spaceBetween;"string"==typeof re&&re.indexOf("%")>=0?re=parseFloat(re.replace("%",""))/100*k.size:"string"==typeof re&&(re=parseFloat(re));for(let S=0;S=0&&ue<=k.size-k.slidesSizesGrid[S];(ue>=0&&ue1&&pe<=k.size||ue<=0&&pe>=k.size)&&(k.visibleSlides.push(ne),k.visibleSlidesIndexes.push(S),M[S].classList.add(C.slideVisibleClass)),he&&M[S].classList.add(C.slideFullyVisibleClass),ne.progress=P?-oe:oe,ne.originalProgress=P?-de:de}},"updateProgress":function updateProgress(S){const k=this;if(void 0===S){const C=k.rtlTranslate?-1:1;S=k&&k.translate&&k.translate*C||0}const C=k.params,M=k.maxTranslate()-k.minTranslate();let{"progress":P,"isBeginning":O,"isEnd":D,"progressLoop":re}=k;const ne=O,se=D;if(0===M)P=0,O=!0,D=!0;else{P=(S-k.minTranslate())/M;const C=Math.abs(S-k.minTranslate())<1,re=Math.abs(S-k.maxTranslate())<1;O=C||P<=0,D=re||P>=1,C&&(P=0),re&&(P=1)}if(C.loop){const C=k.getSlideIndexByData(0),M=k.getSlideIndexByData(k.slides.length-1),P=k.slidesGrid[C],O=k.slidesGrid[M],D=k.slidesGrid[k.slidesGrid.length-1],ne=Math.abs(S);re=ne>=P?(ne-P)/D:(ne+D-O)/D,re>1&&(re-=1)}Object.assign(k,{"progress":P,"progressLoop":re,"isBeginning":O,"isEnd":D}),(C.watchSlidesProgress||C.centeredSlides&&C.autoHeight)&&k.updateSlidesProgress(S),O&&!ne&&k.emit("reachBeginning toEdge"),D&&!se&&k.emit("reachEnd toEdge"),(ne&&!O||se&&!D)&&k.emit("fromEdge"),k.emit("progress",P)},"updateSlidesClasses":function updateSlidesClasses(){const S=this,{"slides":k,"params":C,"slidesEl":M,"activeIndex":P}=S,O=S.virtual&&C.virtual.enabled,D=S.grid&&C.grid&&C.grid.rows>1,getFilteredSlide=S=>elementChildren(M,`.${C.slideClass}${S}, swiper-slide${S}`)[0];let re,ne,se;if(O)if(C.loop){let k=P-S.virtual.slidesBefore;k<0&&(k=S.virtual.slides.length+k),k>=S.virtual.slides.length&&(k-=S.virtual.slides.length),re=getFilteredSlide(`[data-swiper-slide-index="${k}"]`)}else re=getFilteredSlide(`[data-swiper-slide-index="${P}"]`);else D?(re=k.filter((S=>S.column===P))[0],se=k.filter((S=>S.column===P+1))[0],ne=k.filter((S=>S.column===P-1))[0]):re=k[P];re&&(D||(se=function elementNextAll(S,k){const C=[];for(;S.nextElementSibling;){const M=S.nextElementSibling;k?M.matches(k)&&C.push(M):C.push(M),S=M}return C}(re,`.${C.slideClass}, swiper-slide`)[0],C.loop&&!se&&(se=k[0]),ne=function elementPrevAll(S,k){const C=[];for(;S.previousElementSibling;){const M=S.previousElementSibling;k?M.matches(k)&&C.push(M):C.push(M),S=M}return C}(re,`.${C.slideClass}, swiper-slide`)[0],C.loop&&0===!ne&&(ne=k[k.length-1]))),k.forEach((S=>{toggleSlideClasses(S,S===re,C.slideActiveClass),toggleSlideClasses(S,S===se,C.slideNextClass),toggleSlideClasses(S,S===ne,C.slidePrevClass)})),S.emitSlidesClasses()},"updateActiveIndex":function updateActiveIndex(S){const k=this,C=k.rtlTranslate?k.translate:-k.translate,{"snapGrid":M,"params":P,"activeIndex":O,"realIndex":D,"snapIndex":re}=k;let ne,se=S;const getVirtualRealIndex=S=>{let C=S-k.virtual.slidesBefore;return C<0&&(C=k.virtual.slides.length+C),C>=k.virtual.slides.length&&(C-=k.virtual.slides.length),C};if(void 0===se&&(se=function getActiveIndexByTranslate(S){const{"slidesGrid":k,"params":C}=S,M=S.rtlTranslate?S.translate:-S.translate;let P;for(let S=0;S=k[S]&&M=k[S]&&M=k[S]&&(P=S);return C.normalizeSlideIndex&&(P<0||void 0===P)&&(P=0),P}(k)),M.indexOf(C)>=0)ne=M.indexOf(C);else{const S=Math.min(P.slidesPerGroupSkip,se);ne=S+Math.floor((se-S)/P.slidesPerGroup)}if(ne>=M.length&&(ne=M.length-1),se===O&&!k.params.loop)return void(ne!==re&&(k.snapIndex=ne,k.emit("snapIndexChange")));if(se===O&&k.params.loop&&k.virtual&&k.params.virtual.enabled)return void(k.realIndex=getVirtualRealIndex(se));const oe=k.grid&&P.grid&&P.grid.rows>1;let de;if(k.virtual&&P.virtual.enabled&&P.loop)de=getVirtualRealIndex(se);else if(oe){const S=k.slides.filter((S=>S.column===se))[0];let C=parseInt(S.getAttribute("data-swiper-slide-index"),10);Number.isNaN(C)&&(C=Math.max(k.slides.indexOf(S),0)),de=Math.floor(C/P.grid.rows)}else if(k.slides[se]){const S=k.slides[se].getAttribute("data-swiper-slide-index");de=S?parseInt(S,10):se}else de=se;Object.assign(k,{"previousSnapIndex":re,"snapIndex":ne,"previousRealIndex":D,"realIndex":de,"previousIndex":O,"activeIndex":se}),k.initialized&&preload(k),k.emit("activeIndexChange"),k.emit("snapIndexChange"),(k.initialized||k.params.runCallbacksOnInit)&&(D!==de&&k.emit("realIndexChange"),k.emit("slideChange"))},"updateClickedSlide":function updateClickedSlide(S,k){const C=this,M=C.params;let P=S.closest(`.${M.slideClass}, swiper-slide`);!P&&C.isElement&&k&&k.length>1&&k.includes(S)&&[...k.slice(k.indexOf(S)+1,k.length)].forEach((S=>{!P&&S.matches&&S.matches(`.${M.slideClass}, swiper-slide`)&&(P=S)}));let O,D=!1;if(P)for(let S=0;Sne?ne:M&&SD?"next":O=ne.length&&(me=ne.length-1);const ge=-ne[me];if(re.normalizeSlideIndex)for(let S=0;S=C&&k=C&&k=C&&(D=S)}if(O.initialized&&D!==de){if(!O.allowSlideNext&&(ue?ge>O.translate&&ge>O.minTranslate():geO.translate&&ge>O.maxTranslate()&&(de||0)!==D)return!1}let be;if(D!==(oe||0)&&C&&O.emit("beforeSlideChangeStart"),O.updateProgress(ge),be=D>de?"next":D0?(O._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{pe[S?"scrollLeft":"scrollTop"]=C}))):pe[S?"scrollLeft":"scrollTop"]=C,k&&requestAnimationFrame((()=>{O.wrapperEl.style.scrollSnapType="",O._immediateVirtual=!1}))}else{if(!O.support.smoothScroll)return animateCSSModeScroll({"swiper":O,"targetPosition":C,"side":S?"left":"top"}),!0;pe.scrollTo({[S?"left":"top"]:C,"behavior":"smooth"})}return!0}return O.setTransition(k),O.setTranslate(ge),O.updateActiveIndex(D),O.updateSlidesClasses(),O.emit("beforeTransitionStart",k,M),O.transitionStart(C,be),0===k?O.transitionEnd(C,be):O.animating||(O.animating=!0,O.onSlideToWrapperTransitionEnd||(O.onSlideToWrapperTransitionEnd=function transitionEnd(S){O&&!O.destroyed&&S.target===this&&(O.wrapperEl.removeEventListener("transitionend",O.onSlideToWrapperTransitionEnd),O.onSlideToWrapperTransitionEnd=null,delete O.onSlideToWrapperTransitionEnd,O.transitionEnd(C,be))}),O.wrapperEl.addEventListener("transitionend",O.onSlideToWrapperTransitionEnd)),!0},"slideToLoop":function slideToLoop(S,k,C,M){if(void 0===S&&(S=0),void 0===C&&(C=!0),"string"==typeof S){S=parseInt(S,10)}const P=this;if(P.destroyed)return;void 0===k&&(k=P.params.speed);const O=P.grid&&P.params.grid&&P.params.grid.rows>1;let D=S;if(P.params.loop)if(P.virtual&&P.params.virtual.enabled)D+=P.virtual.slidesBefore;else{let S;if(O){const k=D*P.params.grid.rows;S=P.slides.filter((S=>1*S.getAttribute("data-swiper-slide-index")===k))[0].column}else S=P.getSlideIndexByData(D);const k=O?Math.ceil(P.slides.length/P.params.grid.rows):P.slides.length,{"centeredSlides":C}=P.params;let re=P.params.slidesPerView;"auto"===re?re=P.slidesPerViewDynamic():(re=Math.ceil(parseFloat(P.params.slidesPerView,10)),C&&re%2==0&&(re+=1));let ne=k-S1*k.getAttribute("data-swiper-slide-index")===S))[0].column}else D=P.getSlideIndexByData(D)}return requestAnimationFrame((()=>{P.slideTo(D,k,C,M)})),P},"slideNext":function slideNext(S,k,C){void 0===k&&(k=!0);const M=this,{"enabled":P,"params":O,"animating":D}=M;if(!P||M.destroyed)return M;void 0===S&&(S=M.params.speed);let re=O.slidesPerGroup;"auto"===O.slidesPerView&&1===O.slidesPerGroup&&O.slidesPerGroupAuto&&(re=Math.max(M.slidesPerViewDynamic("current",!0),1));const ne=M.activeIndex{M.slideTo(M.activeIndex+ne,S,k,C)})),!0}return O.rewind&&M.isEnd?M.slideTo(0,S,k,C):M.slideTo(M.activeIndex+ne,S,k,C)},"slidePrev":function slidePrev(S,k,C){void 0===k&&(k=!0);const M=this,{"params":P,"snapGrid":O,"slidesGrid":D,"rtlTranslate":re,"enabled":ne,"animating":se}=M;if(!ne||M.destroyed)return M;void 0===S&&(S=M.params.speed);const oe=M.virtual&&P.virtual.enabled;if(P.loop){if(se&&!oe&&P.loopPreventsSliding)return!1;M.loopFix({"direction":"prev"}),M._clientLeft=M.wrapperEl.clientLeft}function normalize(S){return S<0?-Math.floor(Math.abs(S)):Math.floor(S)}const de=normalize(re?M.translate:-M.translate),ue=O.map((S=>normalize(S)));let pe=O[ue.indexOf(de)-1];if(void 0===pe&&P.cssMode){let S;O.forEach(((k,C)=>{de>=k&&(S=C)})),void 0!==S&&(pe=O[S>0?S-1:S])}let he=0;if(void 0!==pe&&(he=D.indexOf(pe),he<0&&(he=M.activeIndex-1),"auto"===P.slidesPerView&&1===P.slidesPerGroup&&P.slidesPerGroupAuto&&(he=he-M.slidesPerViewDynamic("previous",!0)+1,he=Math.max(he,0))),P.rewind&&M.isBeginning){const P=M.params.virtual&&M.params.virtual.enabled&&M.virtual?M.virtual.slides.length-1:M.slides.length-1;return M.slideTo(P,S,k,C)}return P.loop&&0===M.activeIndex&&P.cssMode?(requestAnimationFrame((()=>{M.slideTo(he,S,k,C)})),!0):M.slideTo(he,S,k,C)},"slideReset":function slideReset(S,k,C){void 0===k&&(k=!0);const M=this;if(!M.destroyed)return void 0===S&&(S=M.params.speed),M.slideTo(M.activeIndex,S,k,C)},"slideToClosest":function slideToClosest(S,k,C,M){void 0===k&&(k=!0),void 0===M&&(M=.5);const P=this;if(P.destroyed)return;void 0===S&&(S=P.params.speed);let O=P.activeIndex;const D=Math.min(P.params.slidesPerGroupSkip,O),re=D+Math.floor((O-D)/P.params.slidesPerGroup),ne=P.rtlTranslate?P.translate:-P.translate;if(ne>=P.snapGrid[re]){const S=P.snapGrid[re];ne-S>(P.snapGrid[re+1]-S)*M&&(O+=P.params.slidesPerGroup)}else{const S=P.snapGrid[re-1];ne-S<=(P.snapGrid[re]-S)*M&&(O-=P.params.slidesPerGroup)}return O=Math.max(O,0),O=Math.min(O,P.slidesGrid.length-1),P.slideTo(O,S,k,C)},"slideToClickedSlide":function slideToClickedSlide(){const S=this;if(S.destroyed)return;const{"params":k,"slidesEl":C}=S,M="auto"===k.slidesPerView?S.slidesPerViewDynamic():k.slidesPerView;let P,O=S.clickedIndex;const D=S.isElement?"swiper-slide":`.${k.slideClass}`;if(k.loop){if(S.animating)return;P=parseInt(S.clickedSlide.getAttribute("data-swiper-slide-index"),10),k.centeredSlides?OS.slides.length-S.loopedSlides+M/2?(S.loopFix(),O=S.getSlideIndex(elementChildren(C,`${D}[data-swiper-slide-index="${P}"]`)[0]),nextTick((()=>{S.slideTo(O)}))):S.slideTo(O):O>S.slides.length-M?(S.loopFix(),O=S.getSlideIndex(elementChildren(C,`${D}[data-swiper-slide-index="${P}"]`)[0]),nextTick((()=>{S.slideTo(O)}))):S.slideTo(O)}else S.slideTo(O)}};var pe={"loopCreate":function loopCreate(S){const k=this,{"params":C,"slidesEl":M}=k;if(!C.loop||k.virtual&&k.params.virtual.enabled)return;const initSlides=()=>{elementChildren(M,`.${C.slideClass}, swiper-slide`).forEach(((S,k)=>{S.setAttribute("data-swiper-slide-index",k)}))},P=k.grid&&C.grid&&C.grid.rows>1,O=C.slidesPerGroup*(P?C.grid.rows:1),D=k.slides.length%O!=0,re=P&&k.slides.length%C.grid.rows!=0,addBlankSlides=S=>{for(let M=0;M1;se.lengthS.classList.contains(pe.slideActiveClass)))[0]):Ee=O;const Ae="next"===M||!M,ke="prev"===M||!M;let Te=0,_e=0;const Me=be?Math.ceil(se.length/pe.grid.rows):se.length,Pe=(be?se[O].column:O)+(he&&void 0===P?-fe/2+.5:0);if(Pe=0;k-=1)se[k].column===S&&ve.push(k)}else ve.push(Me-k-1)}}else if(Pe+fe>Me-ge){_e=Math.max(Pe-(Me-2*ge),me);for(let S=0;S<_e;S+=1){const k=S-Math.floor(S/Me)*Me;be?se.forEach(((S,C)=>{S.column===k&&ye.push(C)})):ye.push(k)}}if(ne.__preventObserver__=!0,requestAnimationFrame((()=>{ne.__preventObserver__=!1})),ke&&ve.forEach((S=>{se[S].swiperLoopMoveDOM=!0,ue.prepend(se[S]),se[S].swiperLoopMoveDOM=!1})),Ae&&ye.forEach((S=>{se[S].swiperLoopMoveDOM=!0,ue.append(se[S]),se[S].swiperLoopMoveDOM=!1})),ne.recalcSlides(),"auto"===pe.slidesPerView?ne.updateSlides():be&&(ve.length>0&&ke||ye.length>0&&Ae)&&ne.slides.forEach(((S,k)=>{ne.grid.updateSlide(k,S,ne.slides)})),pe.watchSlidesProgress&&ne.updateSlidesOffset(),C)if(ve.length>0&&ke){if(void 0===k){const S=ne.slidesGrid[Ee],k=ne.slidesGrid[Ee+Te]-S;re?ne.setTranslate(ne.translate-k):(ne.slideTo(Ee+Math.ceil(Te),0,!1,!0),P&&(ne.touchEventsData.startTranslate=ne.touchEventsData.startTranslate-k,ne.touchEventsData.currentTranslate=ne.touchEventsData.currentTranslate-k))}else if(P){const S=be?ve.length/pe.grid.rows:ve.length;ne.slideTo(ne.activeIndex+S,0,!1,!0),ne.touchEventsData.currentTranslate=ne.translate}}else if(ye.length>0&&Ae)if(void 0===k){const S=ne.slidesGrid[Ee],k=ne.slidesGrid[Ee-_e]-S;re?ne.setTranslate(ne.translate-k):(ne.slideTo(Ee-_e,0,!1,!0),P&&(ne.touchEventsData.startTranslate=ne.touchEventsData.startTranslate-k,ne.touchEventsData.currentTranslate=ne.touchEventsData.currentTranslate-k))}else{const S=be?ye.length/pe.grid.rows:ye.length;ne.slideTo(ne.activeIndex-S,0,!1,!0)}if(ne.allowSlidePrev=oe,ne.allowSlideNext=de,ne.controller&&ne.controller.control&&!D){const S={"slideRealIndex":k,"direction":M,"setTranslate":P,"activeSlideIndex":O,"byController":!0};Array.isArray(ne.controller.control)?ne.controller.control.forEach((k=>{!k.destroyed&&k.params.loop&&k.loopFix({...S,"slideTo":k.params.slidesPerView===pe.slidesPerView&&C})})):ne.controller.control instanceof ne.constructor&&ne.controller.control.params.loop&&ne.controller.control.loopFix({...S,"slideTo":ne.controller.control.params.slidesPerView===pe.slidesPerView&&C})}ne.emit("loopFix")},"loopDestroy":function loopDestroy(){const S=this,{"params":k,"slidesEl":C}=S;if(!k.loop||S.virtual&&S.params.virtual.enabled)return;S.recalcSlides();const M=[];S.slides.forEach((S=>{const k=void 0===S.swiperSlideIndex?1*S.getAttribute("data-swiper-slide-index"):S.swiperSlideIndex;M[k]=S})),S.slides.forEach((S=>{S.removeAttribute("data-swiper-slide-index")})),M.forEach((S=>{C.append(S)})),S.recalcSlides(),S.slideTo(S.realIndex,0)}};function preventEdgeSwipe(S,k,C){const M=getWindow(),{"params":P}=S,O=P.edgeSwipeDetection,D=P.edgeSwipeThreshold;return!O||!(C<=D||C>=M.innerWidth-D)||"prevent"===O&&(k.preventDefault(),!0)}function onTouchStart(S){const k=this,C=getDocument();let M=S;M.originalEvent&&(M=M.originalEvent);const P=k.touchEventsData;if("pointerdown"===M.type){if(null!==P.pointerId&&P.pointerId!==M.pointerId)return;P.pointerId=M.pointerId}else"touchstart"===M.type&&1===M.targetTouches.length&&(P.touchId=M.targetTouches[0].identifier);if("touchstart"===M.type)return void preventEdgeSwipe(k,M,M.targetTouches[0].pageX);const{"params":O,"touches":D,"enabled":re}=k;if(!re)return;if(!O.simulateTouch&&"mouse"===M.pointerType)return;if(k.animating&&O.preventInteractionOnTransition)return;!k.animating&&O.cssMode&&O.loop&&k.loopFix();let ne=M.target;if("wrapper"===O.touchEventsTarget&&!k.wrapperEl.contains(ne))return;if("which"in M&&3===M.which)return;if("button"in M&&M.button>0)return;if(P.isTouched&&P.isMoved)return;const se=!!O.noSwipingClass&&""!==O.noSwipingClass,oe=M.composedPath?M.composedPath():M.path;se&&M.target&&M.target.shadowRoot&&oe&&(ne=oe[0]);const de=O.noSwipingSelector?O.noSwipingSelector:`.${O.noSwipingClass}`,ue=!(!M.target||!M.target.shadowRoot);if(O.noSwiping&&(ue?function closestElement(S,k){return void 0===k&&(k=this),function __closestFrom(k){if(!k||k===getDocument()||k===getWindow())return null;k.assignedSlot&&(k=k.assignedSlot);const C=k.closest(S);return C||k.getRootNode?C||__closestFrom(k.getRootNode().host):null}(k)}(de,ne):ne.closest(de)))return void(k.allowClick=!0);if(O.swipeHandler&&!ne.closest(O.swipeHandler))return;D.currentX=M.pageX,D.currentY=M.pageY;const pe=D.currentX,he=D.currentY;if(!preventEdgeSwipe(k,M,pe))return;Object.assign(P,{"isTouched":!0,"isMoved":!1,"allowTouchCallbacks":!0,"isScrolling":void 0,"startMoving":void 0}),D.startX=pe,D.startY=he,P.touchStartTime=now(),k.allowClick=!0,k.updateSize(),k.swipeDirection=void 0,O.threshold>0&&(P.allowThresholdMove=!1);let fe=!0;ne.matches(P.focusableElements)&&(fe=!1,"SELECT"===ne.nodeName&&(P.isTouched=!1)),C.activeElement&&C.activeElement.matches(P.focusableElements)&&C.activeElement!==ne&&C.activeElement.blur();const me=fe&&k.allowTouchMove&&O.touchStartPreventDefault;!O.touchStartForcePreventDefault&&!me||ne.isContentEditable||M.preventDefault(),O.freeMode&&O.freeMode.enabled&&k.freeMode&&k.animating&&!O.cssMode&&k.freeMode.onTouchStart(),k.emit("touchStart",M)}function onTouchMove(S){const k=getDocument(),C=this,M=C.touchEventsData,{"params":P,"touches":O,"rtlTranslate":D,"enabled":re}=C;if(!re)return;if(!P.simulateTouch&&"mouse"===S.pointerType)return;let ne,se=S;if(se.originalEvent&&(se=se.originalEvent),"pointermove"===se.type){if(null!==M.touchId)return;if(se.pointerId!==M.pointerId)return}if("touchmove"===se.type){if(ne=[...se.changedTouches].filter((S=>S.identifier===M.touchId))[0],!ne||ne.identifier!==M.touchId)return}else ne=se;if(!M.isTouched)return void(M.startMoving&&M.isScrolling&&C.emit("touchMoveOpposite",se));const oe=ne.pageX,de=ne.pageY;if(se.preventedByNestedSwiper)return O.startX=oe,void(O.startY=de);if(!C.allowTouchMove)return se.target.matches(M.focusableElements)||(C.allowClick=!1),void(M.isTouched&&(Object.assign(O,{"startX":oe,"startY":de,"currentX":oe,"currentY":de}),M.touchStartTime=now()));if(P.touchReleaseOnEdges&&!P.loop)if(C.isVertical()){if(deO.startY&&C.translate>=C.minTranslate())return M.isTouched=!1,void(M.isMoved=!1)}else if(oeO.startX&&C.translate>=C.minTranslate())return;if(k.activeElement&&se.target===k.activeElement&&se.target.matches(M.focusableElements))return M.isMoved=!0,void(C.allowClick=!1);M.allowTouchCallbacks&&C.emit("touchMove",se),O.previousX=O.currentX,O.previousY=O.currentY,O.currentX=oe,O.currentY=de;const ue=O.currentX-O.startX,pe=O.currentY-O.startY;if(C.params.threshold&&Math.sqrt(ue**2+pe**2)=25&&(S=180*Math.atan2(Math.abs(pe),Math.abs(ue))/Math.PI,M.isScrolling=C.isHorizontal()?S>P.touchAngle:90-S>P.touchAngle)}if(M.isScrolling&&C.emit("touchMoveOpposite",se),void 0===M.startMoving&&(O.currentX===O.startX&&O.currentY===O.startY||(M.startMoving=!0)),M.isScrolling)return void(M.isTouched=!1);if(!M.startMoving)return;C.allowClick=!1,!P.cssMode&&se.cancelable&&se.preventDefault(),P.touchMoveStopPropagation&&!P.nested&&se.stopPropagation();let he=C.isHorizontal()?ue:pe,fe=C.isHorizontal()?O.currentX-O.previousX:O.currentY-O.previousY;P.oneWayMovement&&(he=Math.abs(he)*(D?1:-1),fe=Math.abs(fe)*(D?1:-1)),O.diff=he,he*=P.touchRatio,D&&(he=-he,fe=-fe);const me=C.touchesDirection;C.swipeDirection=he>0?"prev":"next",C.touchesDirection=fe>0?"prev":"next";const ge=C.params.loop&&!P.cssMode,be="next"===C.touchesDirection&&C.allowSlideNext||"prev"===C.touchesDirection&&C.allowSlidePrev;if(!M.isMoved){if(ge&&be&&C.loopFix({"direction":C.swipeDirection}),M.startTranslate=C.getTranslate(),C.setTransition(0),C.animating){const S=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});C.wrapperEl.dispatchEvent(S)}M.allowMomentumBounce=!1,!P.grabCursor||!0!==C.allowSlideNext&&!0!==C.allowSlidePrev||C.setGrabCursor(!0),C.emit("sliderFirstMove",se)}if((new Date).getTime(),M.isMoved&&M.allowThresholdMove&&me!==C.touchesDirection&&ge&&be&&Math.abs(he)>=1)return Object.assign(O,{"startX":oe,"startY":de,"currentX":oe,"currentY":de,"startTranslate":M.currentTranslate}),M.loopSwapReset=!0,void(M.startTranslate=M.currentTranslate);C.emit("sliderMove",se),M.isMoved=!0,M.currentTranslate=he+M.startTranslate;let ve=!0,ye=P.resistanceRatio;if(P.touchReleaseOnEdges&&(ye=0),he>0?(ge&&be&&M.allowThresholdMove&&M.currentTranslate>(P.centeredSlides?C.minTranslate()-C.slidesSizesGrid[C.activeIndex+1]:C.minTranslate())&&C.loopFix({"direction":"prev","setTranslate":!0,"activeSlideIndex":0}),M.currentTranslate>C.minTranslate()&&(ve=!1,P.resistance&&(M.currentTranslate=C.minTranslate()-1+(-C.minTranslate()+M.startTranslate+he)**ye))):he<0&&(ge&&be&&M.allowThresholdMove&&M.currentTranslate<(P.centeredSlides?C.maxTranslate()+C.slidesSizesGrid[C.slidesSizesGrid.length-1]:C.maxTranslate())&&C.loopFix({"direction":"next","setTranslate":!0,"activeSlideIndex":C.slides.length-("auto"===P.slidesPerView?C.slidesPerViewDynamic():Math.ceil(parseFloat(P.slidesPerView,10)))}),M.currentTranslateM.startTranslate&&(M.currentTranslate=M.startTranslate),C.allowSlidePrev||C.allowSlideNext||(M.currentTranslate=M.startTranslate),P.threshold>0){if(!(Math.abs(he)>P.threshold||M.allowThresholdMove))return void(M.currentTranslate=M.startTranslate);if(!M.allowThresholdMove)return M.allowThresholdMove=!0,O.startX=O.currentX,O.startY=O.currentY,M.currentTranslate=M.startTranslate,void(O.diff=C.isHorizontal()?O.currentX-O.startX:O.currentY-O.startY)}P.followFinger&&!P.cssMode&&((P.freeMode&&P.freeMode.enabled&&C.freeMode||P.watchSlidesProgress)&&(C.updateActiveIndex(),C.updateSlidesClasses()),P.freeMode&&P.freeMode.enabled&&C.freeMode&&C.freeMode.onTouchMove(),C.updateProgress(M.currentTranslate),C.setTranslate(M.currentTranslate))}function onTouchEnd(S){const k=this,C=k.touchEventsData;let M,P=S;P.originalEvent&&(P=P.originalEvent);if("touchend"===P.type||"touchcancel"===P.type){if(M=[...P.changedTouches].filter((S=>S.identifier===C.touchId))[0],!M||M.identifier!==C.touchId)return}else{if(null!==C.touchId)return;if(P.pointerId!==C.pointerId)return;M=P}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(P.type)){if(!(["pointercancel","contextmenu"].includes(P.type)&&(k.browser.isSafari||k.browser.isWebView)))return}C.pointerId=null,C.touchId=null;const{"params":O,"touches":D,"rtlTranslate":re,"slidesGrid":ne,"enabled":se}=k;if(!se)return;if(!O.simulateTouch&&"mouse"===P.pointerType)return;if(C.allowTouchCallbacks&&k.emit("touchEnd",P),C.allowTouchCallbacks=!1,!C.isTouched)return C.isMoved&&O.grabCursor&&k.setGrabCursor(!1),C.isMoved=!1,void(C.startMoving=!1);O.grabCursor&&C.isMoved&&C.isTouched&&(!0===k.allowSlideNext||!0===k.allowSlidePrev)&&k.setGrabCursor(!1);const oe=now(),de=oe-C.touchStartTime;if(k.allowClick){const S=P.path||P.composedPath&&P.composedPath();k.updateClickedSlide(S&&S[0]||P.target,S),k.emit("tap click",P),de<300&&oe-C.lastClickTime<300&&k.emit("doubleTap doubleClick",P)}if(C.lastClickTime=now(),nextTick((()=>{k.destroyed||(k.allowClick=!0)})),!C.isTouched||!C.isMoved||!k.swipeDirection||0===D.diff&&!C.loopSwapReset||C.currentTranslate===C.startTranslate&&!C.loopSwapReset)return C.isTouched=!1,C.isMoved=!1,void(C.startMoving=!1);let ue;if(C.isTouched=!1,C.isMoved=!1,C.startMoving=!1,ue=O.followFinger?re?k.translate:-k.translate:-C.currentTranslate,O.cssMode)return;if(O.freeMode&&O.freeMode.enabled)return void k.freeMode.onTouchEnd({"currentPos":ue});const pe=ue>=-k.maxTranslate()&&!k.params.loop;let he=0,fe=k.slidesSizesGrid[0];for(let S=0;S=ne[S]&&ue=ne[S])&&(he=S,fe=ne[ne.length-1]-ne[ne.length-2])}let me=null,ge=null;O.rewind&&(k.isBeginning?ge=O.virtual&&O.virtual.enabled&&k.virtual?k.virtual.slides.length-1:k.slides.length-1:k.isEnd&&(me=0));const be=(ue-ne[he])/fe,ve=heO.longSwipesMs){if(!O.longSwipes)return void k.slideTo(k.activeIndex);"next"===k.swipeDirection&&(be>=O.longSwipesRatio?k.slideTo(O.rewind&&k.isEnd?me:he+ve):k.slideTo(he)),"prev"===k.swipeDirection&&(be>1-O.longSwipesRatio?k.slideTo(he+ve):null!==ge&&be<0&&Math.abs(be)>O.longSwipesRatio?k.slideTo(ge):k.slideTo(he))}else{if(!O.shortSwipes)return void k.slideTo(k.activeIndex);k.navigation&&(P.target===k.navigation.nextEl||P.target===k.navigation.prevEl)?P.target===k.navigation.nextEl?k.slideTo(he+ve):k.slideTo(he):("next"===k.swipeDirection&&k.slideTo(null!==me?me:he+ve),"prev"===k.swipeDirection&&k.slideTo(null!==ge?ge:he))}}function onResize(){const S=this,{"params":k,"el":C}=S;if(C&&0===C.offsetWidth)return;k.breakpoints&&S.setBreakpoint();const{"allowSlideNext":M,"allowSlidePrev":P,"snapGrid":O}=S,D=S.virtual&&S.params.virtual.enabled;S.allowSlideNext=!0,S.allowSlidePrev=!0,S.updateSize(),S.updateSlides(),S.updateSlidesClasses();const re=D&&k.loop;!("auto"===k.slidesPerView||k.slidesPerView>1)||!S.isEnd||S.isBeginning||S.params.centeredSlides||re?S.params.loop&&!D?S.slideToLoop(S.realIndex,0,!1,!0):S.slideTo(S.activeIndex,0,!1,!0):S.slideTo(S.slides.length-1,0,!1,!0),S.autoplay&&S.autoplay.running&&S.autoplay.paused&&(clearTimeout(S.autoplay.resizeTimeout),S.autoplay.resizeTimeout=setTimeout((()=>{S.autoplay&&S.autoplay.running&&S.autoplay.paused&&S.autoplay.resume()}),500)),S.allowSlidePrev=P,S.allowSlideNext=M,S.params.watchOverflow&&O!==S.snapGrid&&S.checkOverflow()}function onClick(S){const k=this;k.enabled&&(k.allowClick||(k.params.preventClicks&&S.preventDefault(),k.params.preventClicksPropagation&&k.animating&&(S.stopPropagation(),S.stopImmediatePropagation())))}function onScroll(){const S=this,{"wrapperEl":k,"rtlTranslate":C,"enabled":M}=S;if(!M)return;let P;S.previousTranslate=S.translate,S.isHorizontal()?S.translate=-k.scrollLeft:S.translate=-k.scrollTop,0===S.translate&&(S.translate=0),S.updateActiveIndex(),S.updateSlidesClasses();const O=S.maxTranslate()-S.minTranslate();P=0===O?0:(S.translate-S.minTranslate())/O,P!==S.progress&&S.updateProgress(C?-S.translate:S.translate),S.emit("setTranslate",S.translate,!1)}function onLoad(S){const k=this;processLazyPreloader(k,S.target),k.params.cssMode||"auto"!==k.params.slidesPerView&&!k.params.autoHeight||k.update()}function onDocumentTouchStart(){const S=this;S.documentTouchHandlerProceeded||(S.documentTouchHandlerProceeded=!0,S.params.touchReleaseOnEdges&&(S.el.style.touchAction="auto"))}const events=(S,k)=>{const C=getDocument(),{"params":M,"el":P,"wrapperEl":O,"device":D}=S,re=!!M.nested,ne="on"===k?"addEventListener":"removeEventListener",se=k;C[ne]("touchstart",S.onDocumentTouchStart,{"passive":!1,"capture":re}),P[ne]("touchstart",S.onTouchStart,{"passive":!1}),P[ne]("pointerdown",S.onTouchStart,{"passive":!1}),C[ne]("touchmove",S.onTouchMove,{"passive":!1,"capture":re}),C[ne]("pointermove",S.onTouchMove,{"passive":!1,"capture":re}),C[ne]("touchend",S.onTouchEnd,{"passive":!0}),C[ne]("pointerup",S.onTouchEnd,{"passive":!0}),C[ne]("pointercancel",S.onTouchEnd,{"passive":!0}),C[ne]("touchcancel",S.onTouchEnd,{"passive":!0}),C[ne]("pointerout",S.onTouchEnd,{"passive":!0}),C[ne]("pointerleave",S.onTouchEnd,{"passive":!0}),C[ne]("contextmenu",S.onTouchEnd,{"passive":!0}),(M.preventClicks||M.preventClicksPropagation)&&P[ne]("click",S.onClick,!0),M.cssMode&&O[ne]("scroll",S.onScroll),M.updateOnWindowResize?S[se](D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):S[se]("observerUpdate",onResize,!0),P[ne]("load",S.onLoad,{"capture":!0})};const isGridEnabled=(S,k)=>S.grid&&k.grid&&k.grid.rows>1;var he={"init":!0,"direction":"horizontal","oneWayMovement":!1,"swiperElementNodeName":"SWIPER-CONTAINER","touchEventsTarget":"wrapper","initialSlide":0,"speed":300,"cssMode":!1,"updateOnWindowResize":!0,"resizeObserver":!0,"nested":!1,"createElements":!1,"eventsPrefix":"swiper","enabled":!0,"focusableElements":"input, select, option, textarea, button, video, label","width":null,"height":null,"preventInteractionOnTransition":!1,"userAgent":null,"url":null,"edgeSwipeDetection":!1,"edgeSwipeThreshold":20,"autoHeight":!1,"setWrapperSize":!1,"virtualTranslate":!1,"effect":"slide","breakpoints":void 0,"breakpointsBase":"window","spaceBetween":0,"slidesPerView":1,"slidesPerGroup":1,"slidesPerGroupSkip":0,"slidesPerGroupAuto":!1,"centeredSlides":!1,"centeredSlidesBounds":!1,"slidesOffsetBefore":0,"slidesOffsetAfter":0,"normalizeSlideIndex":!0,"centerInsufficientSlides":!1,"watchOverflow":!0,"roundLengths":!1,"touchRatio":1,"touchAngle":45,"simulateTouch":!0,"shortSwipes":!0,"longSwipes":!0,"longSwipesRatio":.5,"longSwipesMs":300,"followFinger":!0,"allowTouchMove":!0,"threshold":5,"touchMoveStopPropagation":!1,"touchStartPreventDefault":!0,"touchStartForcePreventDefault":!1,"touchReleaseOnEdges":!1,"uniqueNavElements":!0,"resistance":!0,"resistanceRatio":.85,"watchSlidesProgress":!1,"grabCursor":!1,"preventClicks":!0,"preventClicksPropagation":!0,"slideToClickedSlide":!1,"loop":!1,"loopAddBlankSlides":!0,"loopAdditionalSlides":0,"loopPreventsSliding":!0,"rewind":!1,"allowSlidePrev":!0,"allowSlideNext":!0,"swipeHandler":null,"noSwiping":!0,"noSwipingClass":"swiper-no-swiping","noSwipingSelector":null,"passiveListeners":!0,"maxBackfaceHiddenSlides":10,"containerModifierClass":"swiper-","slideClass":"swiper-slide","slideBlankClass":"swiper-slide-blank","slideActiveClass":"swiper-slide-active","slideVisibleClass":"swiper-slide-visible","slideFullyVisibleClass":"swiper-slide-fully-visible","slideNextClass":"swiper-slide-next","slidePrevClass":"swiper-slide-prev","wrapperClass":"swiper-wrapper","lazyPreloaderClass":"swiper-lazy-preloader","lazyPreloadPrevNext":0,"runCallbacksOnInit":!0,"_emitClasses":!1};function moduleExtendParams(S,k){return function extendParams(C){void 0===C&&(C={});const M=Object.keys(C)[0],P=C[M];"object"==typeof P&&null!==P?(!0===S[M]&&(S[M]={"enabled":!0}),"navigation"===M&&S[M]&&S[M].enabled&&!S[M].prevEl&&!S[M].nextEl&&(S[M].auto=!0),["pagination","scrollbar"].indexOf(M)>=0&&S[M]&&S[M].enabled&&!S[M].el&&(S[M].auto=!0),M in S&&"enabled"in P?("object"!=typeof S[M]||"enabled"in S[M]||(S[M].enabled=!0),S[M]||(S[M]={"enabled":!1}),utils_extend(k,C)):utils_extend(k,C)):utils_extend(k,C)}}const fe={"eventsEmitter":se,"update":oe,"translate":de,"transition":{"setTransition":function setTransition(S,k){const C=this;C.params.cssMode||(C.wrapperEl.style.transitionDuration=`${S}ms`,C.wrapperEl.style.transitionDelay=0===S?"0ms":""),C.emit("setTransition",S,k)},"transitionStart":function transitionStart(S,k){void 0===S&&(S=!0);const C=this,{"params":M}=C;M.cssMode||(M.autoHeight&&C.updateAutoHeight(),transitionEmit({"swiper":C,"runCallbacks":S,"direction":k,"step":"Start"}))},"transitionEnd":function transitionEnd(S,k){void 0===S&&(S=!0);const C=this,{"params":M}=C;C.animating=!1,M.cssMode||(C.setTransition(0),transitionEmit({"swiper":C,"runCallbacks":S,"direction":k,"step":"End"}))}},"slide":ue,"loop":pe,"grabCursor":{"setGrabCursor":function setGrabCursor(S){const k=this;if(!k.params.simulateTouch||k.params.watchOverflow&&k.isLocked||k.params.cssMode)return;const C="container"===k.params.touchEventsTarget?k.el:k.wrapperEl;k.isElement&&(k.__preventObserver__=!0),C.style.cursor="move",C.style.cursor=S?"grabbing":"grab",k.isElement&&requestAnimationFrame((()=>{k.__preventObserver__=!1}))},"unsetGrabCursor":function unsetGrabCursor(){const S=this;S.params.watchOverflow&&S.isLocked||S.params.cssMode||(S.isElement&&(S.__preventObserver__=!0),S["container"===S.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",S.isElement&&requestAnimationFrame((()=>{S.__preventObserver__=!1})))}},"events":{"attachEvents":function attachEvents(){const S=this,{"params":k}=S;S.onTouchStart=onTouchStart.bind(S),S.onTouchMove=onTouchMove.bind(S),S.onTouchEnd=onTouchEnd.bind(S),S.onDocumentTouchStart=onDocumentTouchStart.bind(S),k.cssMode&&(S.onScroll=onScroll.bind(S)),S.onClick=onClick.bind(S),S.onLoad=onLoad.bind(S),events(S,"on")},"detachEvents":function detachEvents(){events(this,"off")}},"breakpoints":{"setBreakpoint":function setBreakpoint(){const S=this,{"realIndex":k,"initialized":C,"params":M,"el":P}=S,O=M.breakpoints;if(!O||O&&0===Object.keys(O).length)return;const D=S.getBreakpoint(O,S.params.breakpointsBase,S.el);if(!D||S.currentBreakpoint===D)return;const re=(D in O?O[D]:void 0)||S.originalParams,ne=isGridEnabled(S,M),se=isGridEnabled(S,re),oe=S.params.grabCursor,de=re.grabCursor,ue=M.enabled;ne&&!se?(P.classList.remove(`${M.containerModifierClass}grid`,`${M.containerModifierClass}grid-column`),S.emitContainerClasses()):!ne&&se&&(P.classList.add(`${M.containerModifierClass}grid`),(re.grid.fill&&"column"===re.grid.fill||!re.grid.fill&&"column"===M.grid.fill)&&P.classList.add(`${M.containerModifierClass}grid-column`),S.emitContainerClasses()),oe&&!de?S.unsetGrabCursor():!oe&&de&&S.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((k=>{if(void 0===re[k])return;const C=M[k]&&M[k].enabled,P=re[k]&&re[k].enabled;C&&!P&&S[k].disable(),!C&&P&&S[k].enable()}));const pe=re.direction&&re.direction!==M.direction,he=M.loop&&(re.slidesPerView!==M.slidesPerView||pe),fe=M.loop;pe&&C&&S.changeDirection(),utils_extend(S.params,re);const me=S.params.enabled,ge=S.params.loop;Object.assign(S,{"allowTouchMove":S.params.allowTouchMove,"allowSlideNext":S.params.allowSlideNext,"allowSlidePrev":S.params.allowSlidePrev}),ue&&!me?S.disable():!ue&&me&&S.enable(),S.currentBreakpoint=D,S.emit("_beforeBreakpoint",re),C&&(he?(S.loopDestroy(),S.loopCreate(k),S.updateSlides()):!fe&&ge?(S.loopCreate(k),S.updateSlides()):fe&&!ge&&S.loopDestroy()),S.emit("breakpoint",re)},"getBreakpoint":function getBreakpoint(S,k,C){if(void 0===k&&(k="window"),!S||"container"===k&&!C)return;let M=!1;const P=getWindow(),O="window"===k?P.innerHeight:C.clientHeight,D=Object.keys(S).map((S=>{if("string"==typeof S&&0===S.indexOf("@")){const k=parseFloat(S.substr(1));return{"value":O*k,"point":S}}return{"value":S,"point":S}}));D.sort(((S,k)=>parseInt(S.value,10)-parseInt(k.value,10)));for(let S=0;SC}else S.isLocked=1===S.snapGrid.length;!0===C.allowSlideNext&&(S.allowSlideNext=!S.isLocked),!0===C.allowSlidePrev&&(S.allowSlidePrev=!S.isLocked),k&&k!==S.isLocked&&(S.isEnd=!1),k!==S.isLocked&&S.emit(S.isLocked?"lock":"unlock")}},"classes":{"addClasses":function addClasses(){const S=this,{"classNames":k,"params":C,"rtl":M,"el":P,"device":O}=S,D=function prepareClasses(S,k){const C=[];return S.forEach((S=>{"object"==typeof S?Object.keys(S).forEach((M=>{S[M]&&C.push(k+M)})):"string"==typeof S&&C.push(k+S)})),C}(["initialized",C.direction,{"free-mode":S.params.freeMode&&C.freeMode.enabled},{"autoheight":C.autoHeight},{"rtl":M},{"grid":C.grid&&C.grid.rows>1},{"grid-column":C.grid&&C.grid.rows>1&&"column"===C.grid.fill},{"android":O.android},{"ios":O.ios},{"css-mode":C.cssMode},{"centered":C.cssMode&&C.centeredSlides},{"watch-progress":C.watchSlidesProgress}],C.containerModifierClass);k.push(...D),P.classList.add(...k),S.emitContainerClasses()},"removeClasses":function removeClasses(){const{"el":S,"classNames":k}=this;S.classList.remove(...k),this.emitContainerClasses()}}},me={};class Swiper{"constructor"(){let S,k;for(var C=arguments.length,M=new Array(C),P=0;P1){const S=[];return O.querySelectorAll(k.el).forEach((C=>{const M=utils_extend({},k,{"el":C});S.push(new Swiper(M))})),S}const D=this;D.__swiper__=!0,D.support=getSupport(),D.device=getDevice({"userAgent":k.userAgent}),D.browser=getBrowser(),D.eventsListeners={},D.eventsAnyListeners=[],D.modules=[...D.__modules__],k.modules&&Array.isArray(k.modules)&&D.modules.push(...k.modules);const re={};D.modules.forEach((S=>{S({"params":k,"swiper":D,"extendParams":moduleExtendParams(k,re),"on":D.on.bind(D),"once":D.once.bind(D),"off":D.off.bind(D),"emit":D.emit.bind(D)})}));const ne=utils_extend({},he,re);return D.params=utils_extend({},ne,me,k),D.originalParams=utils_extend({},D.params),D.passedParams=utils_extend({},k),D.params&&D.params.on&&Object.keys(D.params.on).forEach((S=>{D.on(S,D.params.on[S])})),D.params&&D.params.onAny&&D.onAny(D.params.onAny),Object.assign(D,{"enabled":D.params.enabled,"el":S,"classNames":[],"slides":[],"slidesGrid":[],"snapGrid":[],"slidesSizesGrid":[],"isHorizontal"(){return"horizontal"===D.params.direction},"isVertical"(){return"vertical"===D.params.direction},"activeIndex":0,"realIndex":0,"isBeginning":!0,"isEnd":!1,"translate":0,"previousTranslate":0,"progress":0,"velocity":0,"animating":!1,"cssOverflowAdjustment"(){return Math.trunc(this.translate/2**23)*2**23},"allowSlideNext":D.params.allowSlideNext,"allowSlidePrev":D.params.allowSlidePrev,"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,"focusableElements":D.params.focusableElements,"lastClickTime":0,"clickTimeout":void 0,"velocities":[],"allowMomentumBounce":void 0,"startMoving":void 0,"pointerId":null,"touchId":null},"allowClick":!0,"allowTouchMove":D.params.allowTouchMove,"touches":{"startX":0,"startY":0,"currentX":0,"currentY":0,"diff":0},"imagesToLoad":[],"imagesLoaded":0}),D.emit("_swiper"),D.params.init&&D.init(),D}"getDirectionLabel"(S){return this.isHorizontal()?S:{"width":"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom","marginRight":"marginBottom"}[S]}"getSlideIndex"(S){const{"slidesEl":k,"params":C}=this,M=elementIndex(elementChildren(k,`.${C.slideClass}, swiper-slide`)[0]);return elementIndex(S)-M}"getSlideIndexByData"(S){return this.getSlideIndex(this.slides.filter((k=>1*k.getAttribute("data-swiper-slide-index")===S))[0])}"recalcSlides"(){const{"slidesEl":S,"params":k}=this;this.slides=elementChildren(S,`.${k.slideClass}, swiper-slide`)}"enable"(){const S=this;S.enabled||(S.enabled=!0,S.params.grabCursor&&S.setGrabCursor(),S.emit("enable"))}"disable"(){const S=this;S.enabled&&(S.enabled=!1,S.params.grabCursor&&S.unsetGrabCursor(),S.emit("disable"))}"setProgress"(S,k){const C=this;S=Math.min(Math.max(S,0),1);const M=C.minTranslate(),P=(C.maxTranslate()-M)*S+M;C.translateTo(P,void 0===k?0:k),C.updateActiveIndex(),C.updateSlidesClasses()}"emitContainerClasses"(){const S=this;if(!S.params._emitClasses||!S.el)return;const k=S.el.className.split(" ").filter((k=>0===k.indexOf("swiper")||0===k.indexOf(S.params.containerModifierClass)));S.emit("_containerClasses",k.join(" "))}"getSlideClasses"(S){const k=this;return k.destroyed?"":S.className.split(" ").filter((S=>0===S.indexOf("swiper-slide")||0===S.indexOf(k.params.slideClass))).join(" ")}"emitSlidesClasses"(){const S=this;if(!S.params._emitClasses||!S.el)return;const k=[];S.slides.forEach((C=>{const M=S.getSlideClasses(C);k.push({"slideEl":C,"classNames":M}),S.emit("_slideClass",C,M)})),S.emit("_slideClasses",k)}"slidesPerViewDynamic"(S,k){void 0===S&&(S="current"),void 0===k&&(k=!1);const{"params":C,"slides":M,"slidesGrid":P,"slidesSizesGrid":O,"size":D,"activeIndex":re}=this;let ne=1;if("number"==typeof C.slidesPerView)return C.slidesPerView;if(C.centeredSlides){let S,k=M[re]?Math.ceil(M[re].swiperSlideSize):0;for(let C=re+1;CD&&(S=!0));for(let C=re-1;C>=0;C-=1)M[C]&&!S&&(k+=M[C].swiperSlideSize,ne+=1,k>D&&(S=!0))}else if("current"===S)for(let S=re+1;S=0;S-=1){P[re]-P[S]{k.complete&&processLazyPreloader(S,k)})),S.updateSize(),S.updateSlides(),S.updateProgress(),S.updateSlidesClasses(),C.freeMode&&C.freeMode.enabled&&!C.cssMode)setTranslate(),C.autoHeight&&S.updateAutoHeight();else{if(("auto"===C.slidesPerView||C.slidesPerView>1)&&S.isEnd&&!C.centeredSlides){const k=S.virtual&&C.virtual.enabled?S.virtual.slides:S.slides;M=S.slideTo(k.length-1,0,!1,!0)}else M=S.slideTo(S.activeIndex,0,!1,!0);M||setTranslate()}C.watchOverflow&&k!==S.snapGrid&&S.checkOverflow(),S.emit("update")}"changeDirection"(S,k){void 0===k&&(k=!0);const C=this,M=C.params.direction;return S||(S="horizontal"===M?"vertical":"horizontal"),S===M||"horizontal"!==S&&"vertical"!==S||(C.el.classList.remove(`${C.params.containerModifierClass}${M}`),C.el.classList.add(`${C.params.containerModifierClass}${S}`),C.emitContainerClasses(),C.params.direction=S,C.slides.forEach((k=>{"vertical"===S?k.style.width="":k.style.height=""})),C.emit("changeDirection"),k&&C.update()),C}"changeLanguageDirection"(S){const k=this;k.rtl&&"rtl"===S||!k.rtl&&"ltr"===S||(k.rtl="rtl"===S,k.rtlTranslate="horizontal"===k.params.direction&&k.rtl,k.rtl?(k.el.classList.add(`${k.params.containerModifierClass}rtl`),k.el.dir="rtl"):(k.el.classList.remove(`${k.params.containerModifierClass}rtl`),k.el.dir="ltr"),k.update())}"mount"(S){const k=this;if(k.mounted)return!0;let C=S||k.params.el;if("string"==typeof C&&(C=document.querySelector(C)),!C)return!1;C.swiper=k,C.parentNode&&C.parentNode.host&&C.parentNode.host.nodeName===k.params.swiperElementNodeName.toUpperCase()&&(k.isElement=!0);const getWrapperSelector=()=>`.${(k.params.wrapperClass||"").trim().split(" ").join(".")}`;let M=(()=>{if(C&&C.shadowRoot&&C.shadowRoot.querySelector){return C.shadowRoot.querySelector(getWrapperSelector())}return elementChildren(C,getWrapperSelector())[0]})();return!M&&k.params.createElements&&(M=createElement("div",k.params.wrapperClass),C.append(M),elementChildren(C,`.${k.params.slideClass}`).forEach((S=>{M.append(S)}))),Object.assign(k,{"el":C,"wrapperEl":M,"slidesEl":k.isElement&&!C.parentNode.host.slideSlots?C.parentNode.host:M,"hostEl":k.isElement?C.parentNode.host:C,"mounted":!0,"rtl":"rtl"===C.dir.toLowerCase()||"rtl"===elementStyle(C,"direction"),"rtlTranslate":"horizontal"===k.params.direction&&("rtl"===C.dir.toLowerCase()||"rtl"===elementStyle(C,"direction")),"wrongRTL":"-webkit-box"===elementStyle(M,"display")}),!0}"init"(S){const k=this;if(k.initialized)return k;if(!1===k.mount(S))return k;k.emit("beforeInit"),k.params.breakpoints&&k.setBreakpoint(),k.addClasses(),k.updateSize(),k.updateSlides(),k.params.watchOverflow&&k.checkOverflow(),k.params.grabCursor&&k.enabled&&k.setGrabCursor(),k.params.loop&&k.virtual&&k.params.virtual.enabled?k.slideTo(k.params.initialSlide+k.virtual.slidesBefore,0,k.params.runCallbacksOnInit,!1,!0):k.slideTo(k.params.initialSlide,0,k.params.runCallbacksOnInit,!1,!0),k.params.loop&&k.loopCreate(),k.attachEvents();const C=[...k.el.querySelectorAll('[loading="lazy"]')];return k.isElement&&C.push(...k.hostEl.querySelectorAll('[loading="lazy"]')),C.forEach((S=>{S.complete?processLazyPreloader(k,S):S.addEventListener("load",(S=>{processLazyPreloader(k,S.target)}))})),preload(k),k.initialized=!0,preload(k),k.emit("init"),k.emit("afterInit"),k}"destroy"(S,k){void 0===S&&(S=!0),void 0===k&&(k=!0);const C=this,{"params":M,"el":P,"wrapperEl":O,"slides":D}=C;return void 0===C.params||C.destroyed||(C.emit("beforeDestroy"),C.initialized=!1,C.detachEvents(),M.loop&&C.loopDestroy(),k&&(C.removeClasses(),P.removeAttribute("style"),O.removeAttribute("style"),D&&D.length&&D.forEach((S=>{S.classList.remove(M.slideVisibleClass,M.slideFullyVisibleClass,M.slideActiveClass,M.slideNextClass,M.slidePrevClass),S.removeAttribute("style"),S.removeAttribute("data-swiper-slide-index")}))),C.emit("destroy"),Object.keys(C.eventsListeners).forEach((S=>{C.off(S)})),!1!==S&&(C.el.swiper=null,function deleteProps(S){const k=S;Object.keys(k).forEach((S=>{try{k[S]=null}catch(S){}try{delete k[S]}catch(S){}}))}(C)),C.destroyed=!0),null}static"extendDefaults"(S){utils_extend(me,S)}static get"extendedDefaults"(){return me}static get"defaults"(){return he}static"installModule"(S){Swiper.prototype.__modules__||(Swiper.prototype.__modules__=[]);const k=Swiper.prototype.__modules__;"function"==typeof S&&k.indexOf(S)<0&&k.push(S)}static"use"(S){return Array.isArray(S)?(S.forEach((S=>Swiper.installModule(S))),Swiper):(Swiper.installModule(S),Swiper)}}function createElementIfNotDefined(S,k,C,M){return S.params.createElements&&Object.keys(M).forEach((P=>{if(!C[P]&&!0===C.auto){let O=elementChildren(S.el,`.${M[P]}`)[0];O||(O=createElement("div",M[P]),O.className=M[P],S.el.append(O)),C[P]=O,k[P]=O}})),C}function classesToSelector(S){return void 0===S&&(S=""),`.${S.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function appendSlide(S){const k=this,{"params":C,"slidesEl":M}=k;C.loop&&k.loopDestroy();const appendElement=S=>{if("string"==typeof S){const k=document.createElement("div");k.innerHTML=S,M.append(k.children[0]),k.innerHTML=""}else M.append(S)};if("object"==typeof S&&"length"in S)for(let k=0;k{if("string"==typeof S){const k=document.createElement("div");k.innerHTML=S,P.prepend(k.children[0]),k.innerHTML=""}else P.prepend(S)};if("object"==typeof S&&"length"in S){for(let k=0;k=re)return void C.appendSlide(k);let ne=D>S?D+1:D;const se=[];for(let k=re-1;k>=S;k-=1){const S=C.slides[k];S.remove(),se.unshift(S)}if("object"==typeof k&&"length"in k){for(let S=0;SS?D+k.length:D}else O.append(k);for(let S=0;S{if(C.params.effect!==k)return;C.classNames.push(`${C.params.containerModifierClass}${k}`),re&&re()&&C.classNames.push(`${C.params.containerModifierClass}3d`);const S=D?D():{};Object.assign(C.params,S),Object.assign(C.originalParams,S)})),M("setTranslate",(()=>{C.params.effect===k&&P()})),M("setTransition",((S,M)=>{C.params.effect===k&&O(M)})),M("transitionEnd",(()=>{if(C.params.effect===k&&ne){if(!se||!se().slideShadows)return;C.slides.forEach((S=>{S.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((S=>S.remove()))})),ne()}})),M("virtualUpdate",(()=>{C.params.effect===k&&(C.slides.length||(oe=!0),requestAnimationFrame((()=>{oe&&C.slides&&C.slides.length&&(P(),oe=!1)})))}))}function effectTarget(S,k){const C=getSlideTransformEl(k);return C!==k&&(C.style.backfaceVisibility="hidden",C.style["-webkit-backface-visibility"]="hidden"),C}function effectVirtualTransitionEnd(S){let{"swiper":k,"duration":C,"transformElements":M,"allSlides":P}=S;const{"activeIndex":O}=k;if(k.params.virtualTranslate&&0!==C){let S,C=!1;S=P?M:M.filter((S=>{const C=S.classList.contains("swiper-slide-transform")?(S=>{if(!S.parentElement)return k.slides.filter((k=>k.shadowRoot&&k.shadowRoot===S.parentNode))[0];return S.parentElement})(S):S;return k.getSlideIndex(C)===O})),S.forEach((S=>{elementTransitionEnd(S,(()=>{if(C)return;if(!k||k.destroyed)return;C=!0,k.animating=!1;const S=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});k.wrapperEl.dispatchEvent(S)}))}))}}function createShadow(S,k,C){const M=`swiper-slide-shadow${C?`-${C}`:""}${S?` swiper-slide-shadow-${S}`:""}`,P=getSlideTransformEl(k);let O=P.querySelector(`.${M.split(" ").join(".")}`);return O||(O=createElement("div",M.split(" ")),P.append(O)),O}Object.keys(fe).forEach((S=>{Object.keys(fe[S]).forEach((k=>{Swiper.prototype[k]=fe[S][k]}))})),Swiper.use([function Resize(S){let{"swiper":k,"on":C,"emit":M}=S;const P=getWindow();let O=null,D=null;const resizeHandler=()=>{k&&!k.destroyed&&k.initialized&&(M("beforeResize"),M("resize"))},orientationChangeHandler=()=>{k&&!k.destroyed&&k.initialized&&M("orientationchange")};C("init",(()=>{k.params.resizeObserver&&void 0!==P.ResizeObserver?k&&!k.destroyed&&k.initialized&&(O=new ResizeObserver((S=>{D=P.requestAnimationFrame((()=>{const{"width":C,"height":M}=k;let P=C,O=M;S.forEach((S=>{let{"contentBoxSize":C,"contentRect":M,"target":D}=S;D&&D!==k.el||(P=M?M.width:(C[0]||C).inlineSize,O=M?M.height:(C[0]||C).blockSize)})),P===C&&O===M||resizeHandler()}))})),O.observe(k.el)):(P.addEventListener("resize",resizeHandler),P.addEventListener("orientationchange",orientationChangeHandler))})),C("destroy",(()=>{D&&P.cancelAnimationFrame(D),O&&O.unobserve&&k.el&&(O.unobserve(k.el),O=null),P.removeEventListener("resize",resizeHandler),P.removeEventListener("orientationchange",orientationChangeHandler)}))},function Observer(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=[],D=getWindow(),attach=function(S,C){void 0===C&&(C={});const M=new(D.MutationObserver||D.WebkitMutationObserver)((S=>{if(k.__preventObserver__)return;if(1===S.length)return void P("observerUpdate",S[0]);const C=function observerUpdate(){P("observerUpdate",S[0])};D.requestAnimationFrame?D.requestAnimationFrame(C):D.setTimeout(C,0)}));M.observe(S,{"attributes":void 0===C.attributes||C.attributes,"childList":void 0===C.childList||C.childList,"characterData":void 0===C.characterData||C.characterData}),O.push(M)};C({"observer":!1,"observeParents":!1,"observeSlideChildren":!1}),M("init",(()=>{if(k.params.observer){if(k.params.observeParents){const S=elementParents(k.hostEl);for(let k=0;k{O.forEach((S=>{S.disconnect()})),O.splice(0,O.length)}))}]);const ge=[function Virtual(S){let k,{"swiper":C,"extendParams":M,"on":P,"emit":O}=S;M({"virtual":{"enabled":!1,"slides":[],"cache":!0,"renderSlide":null,"renderExternal":null,"renderExternalUpdate":!0,"addSlidesBefore":0,"addSlidesAfter":0}});const D=getDocument();C.virtual={"cache":{},"from":void 0,"to":void 0,"slides":[],"offset":0,"slidesGrid":[]};const re=D.createElement("div");function renderSlide(S,k){const M=C.params.virtual;if(M.cache&&C.virtual.cache[k])return C.virtual.cache[k];let P;return M.renderSlide?(P=M.renderSlide.call(C,S,k),"string"==typeof P&&(re.innerHTML=P,P=re.children[0])):P=C.isElement?createElement("swiper-slide"):createElement("div",C.params.slideClass),P.setAttribute("data-swiper-slide-index",k),M.renderSlide||(P.innerHTML=S),M.cache&&(C.virtual.cache[k]=P),P}function update(S,k){const{"slidesPerView":M,"slidesPerGroup":P,"centeredSlides":D,"loop":re,"initialSlide":ne}=C.params;if(k&&!re&&ne>0)return;const{"addSlidesBefore":se,"addSlidesAfter":oe}=C.params.virtual,{"from":de,"to":ue,"slides":pe,"slidesGrid":he,"offset":fe}=C.virtual;C.params.cssMode||C.updateActiveIndex();const me=C.activeIndex||0;let ge,be,ve;ge=C.rtlTranslate?"right":C.isHorizontal()?"left":"top",D?(be=Math.floor(M/2)+P+oe,ve=Math.floor(M/2)+P+se):(be=M+(P-1)+oe,ve=(re?M:P)+se);let ye=me-ve,Ee=me+be;re||(ye=Math.max(ye,0),Ee=Math.min(Ee,pe.length-1));let Ae=(C.slidesGrid[ye]||0)-(C.slidesGrid[0]||0);function onRendered(){C.updateSlides(),C.updateProgress(),C.updateSlidesClasses(),O("virtualUpdate")}if(re&&me>=ve?(ye-=ve,D||(Ae+=C.slidesGrid[0])):re&&me{S.style[ge]=Ae-Math.abs(C.cssOverflowAdjustment())+"px"})),C.updateProgress(),void O("virtualUpdate");if(C.params.virtual.renderExternal)return C.params.virtual.renderExternal.call(C,{"offset":Ae,"from":ye,"to":Ee,"slides":function getSlides(){const S=[];for(let k=ye;k<=Ee;k+=1)S.push(pe[k]);return S}()}),void(C.params.virtual.renderExternalUpdate?onRendered():O("virtualUpdate"));const ke=[],Te=[],getSlideIndex=S=>{let k=S;return S<0?k=pe.length+S:k>=pe.length&&(k-=pe.length),k};if(S)C.slides.filter((S=>S.matches(`.${C.params.slideClass}, swiper-slide`))).forEach((S=>{S.remove()}));else for(let S=de;S<=ue;S+=1)if(SEe){const k=getSlideIndex(S);C.slides.filter((S=>S.matches(`.${C.params.slideClass}[data-swiper-slide-index="${k}"], swiper-slide[data-swiper-slide-index="${k}"]`))).forEach((S=>{S.remove()}))}const _e=re?-pe.length:0,Me=re?2*pe.length:pe.length;for(let k=_e;k=ye&&k<=Ee){const C=getSlideIndex(k);void 0===ue||S?Te.push(C):(k>ue&&Te.push(C),k{C.slidesEl.append(renderSlide(pe[S],S))})),re)for(let S=ke.length-1;S>=0;S-=1){const k=ke[S];C.slidesEl.prepend(renderSlide(pe[k],k))}else ke.sort(((S,k)=>k-S)),ke.forEach((S=>{C.slidesEl.prepend(renderSlide(pe[S],S))}));elementChildren(C.slidesEl,".swiper-slide, swiper-slide").forEach((S=>{S.style[ge]=Ae-Math.abs(C.cssOverflowAdjustment())+"px"})),onRendered()}P("beforeInit",(()=>{if(!C.params.virtual.enabled)return;let S;if(void 0===C.passedParams.virtual.slides){const k=[...C.slidesEl.children].filter((S=>S.matches(`.${C.params.slideClass}, swiper-slide`)));k&&k.length&&(C.virtual.slides=[...k],S=!0,k.forEach(((S,k)=>{S.setAttribute("data-swiper-slide-index",k),C.virtual.cache[k]=S,S.remove()})))}S||(C.virtual.slides=C.params.virtual.slides),C.classNames.push(`${C.params.containerModifierClass}virtual`),C.params.watchSlidesProgress=!0,C.originalParams.watchSlidesProgress=!0,update(!1,!0)})),P("setTranslate",(()=>{C.params.virtual.enabled&&(C.params.cssMode&&!C._immediateVirtual?(clearTimeout(k),k=setTimeout((()=>{update()}),100)):update())})),P("init update resize",(()=>{C.params.virtual.enabled&&C.params.cssMode&&setCSSProperty(C.wrapperEl,"--swiper-virtual-size",`${C.virtualSize}px`)})),Object.assign(C.virtual,{"appendSlide":function appendSlide(S){if("object"==typeof S&&"length"in S)for(let k=0;k{const M=S[C],O=M.getAttribute("data-swiper-slide-index");O&&M.setAttribute("data-swiper-slide-index",parseInt(O,10)+P),k[parseInt(C,10)+P]=M})),C.virtual.cache=k}update(!0),C.slideTo(M,0)},"removeSlide":function removeSlide(S){if(null==S)return;let k=C.activeIndex;if(Array.isArray(S))for(let M=S.length-1;M>=0;M-=1)C.params.virtual.cache&&(delete C.virtual.cache[S[M]],Object.keys(C.virtual.cache).forEach((k=>{k>S&&(C.virtual.cache[k-1]=C.virtual.cache[k],C.virtual.cache[k-1].setAttribute("data-swiper-slide-index",k-1),delete C.virtual.cache[k])}))),C.virtual.slides.splice(S[M],1),S[M]{k>S&&(C.virtual.cache[k-1]=C.virtual.cache[k],C.virtual.cache[k-1].setAttribute("data-swiper-slide-index",k-1),delete C.virtual.cache[k])}))),C.virtual.slides.splice(S,1),S0&&0===elementParents(k.el,`.${k.params.slideActiveClass}`).length)return;const M=k.el,P=M.clientWidth,O=M.clientHeight,re=D.innerWidth,ne=D.innerHeight,se=elementOffset(M);C&&(se.left-=M.scrollLeft);const oe=[[se.left,se.top],[se.left+P,se.top],[se.left,se.top+O],[se.left+P,se.top+O]];for(let k=0;k=0&&C[0]<=re&&C[1]>=0&&C[1]<=ne){if(0===C[0]&&0===C[1])continue;S=!0}}if(!S)return}k.isHorizontal()?((se||oe||de||ue)&&(M.preventDefault?M.preventDefault():M.returnValue=!1),((oe||ue)&&!C||(se||de)&&C)&&k.slideNext(),((se||de)&&!C||(oe||ue)&&C)&&k.slidePrev()):((se||oe||pe||he)&&(M.preventDefault?M.preventDefault():M.returnValue=!1),(oe||he)&&k.slideNext(),(se||pe)&&k.slidePrev()),P("keyPress",re)}}function enable(){k.keyboard.enabled||(O.addEventListener("keydown",handle),k.keyboard.enabled=!0)}function disable(){k.keyboard.enabled&&(O.removeEventListener("keydown",handle),k.keyboard.enabled=!1)}k.keyboard={"enabled":!1},C({"keyboard":{"enabled":!1,"onlyInViewport":!0,"pageUpDown":!0}}),M("init",(()=>{k.params.keyboard.enabled&&enable()})),M("destroy",(()=>{k.keyboard.enabled&&disable()})),Object.assign(k.keyboard,{"enable":enable,"disable":disable})},function Mousewheel(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getWindow();let D;C({"mousewheel":{"enabled":!1,"releaseOnEdges":!1,"invert":!1,"forceToAxis":!1,"sensitivity":1,"eventsTarget":"container","thresholdDelta":null,"thresholdTime":null,"noMousewheelClass":"swiper-no-mousewheel"}}),k.mousewheel={"enabled":!1};let re,ne=now();const se=[];function handleMouseEnter(){k.enabled&&(k.mouseEntered=!0)}function handleMouseLeave(){k.enabled&&(k.mouseEntered=!1)}function animateSlider(S){return!(k.params.mousewheel.thresholdDelta&&S.delta=6&&now()-ne<60||(S.direction<0?k.isEnd&&!k.params.loop||k.animating||(k.slideNext(),P("scroll",S.raw)):k.isBeginning&&!k.params.loop||k.animating||(k.slidePrev(),P("scroll",S.raw)),ne=(new O.Date).getTime(),!1)))}function handle(S){let C=S,M=!0;if(!k.enabled)return;if(S.target.closest(`.${k.params.mousewheel.noMousewheelClass}`))return;const O=k.params.mousewheel;k.params.cssMode&&C.preventDefault();let ne=k.el;"container"!==k.params.mousewheel.eventsTarget&&(ne=document.querySelector(k.params.mousewheel.eventsTarget));const oe=ne&&ne.contains(C.target);if(!k.mouseEntered&&!oe&&!O.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let de=0;const ue=k.rtlTranslate?-1:1,pe=function normalize(S){let k=0,C=0,M=0,P=0;return"detail"in S&&(C=S.detail),"wheelDelta"in S&&(C=-S.wheelDelta/120),"wheelDeltaY"in S&&(C=-S.wheelDeltaY/120),"wheelDeltaX"in S&&(k=-S.wheelDeltaX/120),"axis"in S&&S.axis===S.HORIZONTAL_AXIS&&(k=C,C=0),M=10*k,P=10*C,"deltaY"in S&&(P=S.deltaY),"deltaX"in S&&(M=S.deltaX),S.shiftKey&&!M&&(M=P,P=0),(M||P)&&S.deltaMode&&(1===S.deltaMode?(M*=40,P*=40):(M*=800,P*=800)),M&&!k&&(k=M<1?-1:1),P&&!C&&(C=P<1?-1:1),{"spinX":k,"spinY":C,"pixelX":M,"pixelY":P}}(C);if(O.forceToAxis)if(k.isHorizontal()){if(!(Math.abs(pe.pixelX)>Math.abs(pe.pixelY)))return!0;de=-pe.pixelX*ue}else{if(!(Math.abs(pe.pixelY)>Math.abs(pe.pixelX)))return!0;de=-pe.pixelY}else de=Math.abs(pe.pixelX)>Math.abs(pe.pixelY)?-pe.pixelX*ue:-pe.pixelY;if(0===de)return!0;O.invert&&(de=-de);let he=k.getTranslate()+de*O.sensitivity;if(he>=k.minTranslate()&&(he=k.minTranslate()),he<=k.maxTranslate()&&(he=k.maxTranslate()),M=!!k.params.loop||!(he===k.minTranslate()||he===k.maxTranslate()),M&&k.params.nested&&C.stopPropagation(),k.params.freeMode&&k.params.freeMode.enabled){const S={"time":now(),"delta":Math.abs(de),"direction":Math.sign(de)},M=re&&S.time=k.minTranslate()&&(ne=k.minTranslate()),ne<=k.maxTranslate()&&(ne=k.maxTranslate()),k.setTransition(0),k.setTranslate(ne),k.updateProgress(),k.updateActiveIndex(),k.updateSlidesClasses(),(!oe&&k.isBeginning||!ue&&k.isEnd)&&k.updateSlidesClasses(),k.params.loop&&k.loopFix({"direction":S.direction<0?"next":"prev","byMousewheel":!0}),k.params.freeMode.sticky){clearTimeout(D),D=void 0,se.length>=15&&se.shift();const C=se.length?se[se.length-1]:void 0,M=se[0];if(se.push(S),C&&(S.delta>C.delta||S.direction!==C.direction))se.splice(0);else if(se.length>=15&&S.time-M.time<500&&M.delta-S.delta>=1&&S.delta<=6){const C=de>0?.8:.2;re=S,se.splice(0),D=nextTick((()=>{k.slideToClosest(k.params.speed,!0,void 0,C)}),0)}D||(D=nextTick((()=>{re=S,se.splice(0),k.slideToClosest(k.params.speed,!0,void 0,.5)}),500))}if(M||P("scroll",C),k.params.autoplay&&k.params.autoplayDisableOnInteraction&&k.autoplay.stop(),O.releaseOnEdges&&(ne===k.minTranslate()||ne===k.maxTranslate()))return!0}}else{const C={"time":now(),"delta":Math.abs(de),"direction":Math.sign(de),"raw":S};se.length>=2&&se.shift();const M=se.length?se[se.length-1]:void 0;if(se.push(C),M?(C.direction!==M.direction||C.delta>M.delta||C.time>M.time+150)&&animateSlider(C):animateSlider(C),function releaseScroll(S){const C=k.params.mousewheel;if(S.direction<0){if(k.isEnd&&!k.params.loop&&C.releaseOnEdges)return!0}else if(k.isBeginning&&!k.params.loop&&C.releaseOnEdges)return!0;return!1}(C))return!0}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function events(S){let C=k.el;"container"!==k.params.mousewheel.eventsTarget&&(C=document.querySelector(k.params.mousewheel.eventsTarget)),C[S]("mouseenter",handleMouseEnter),C[S]("mouseleave",handleMouseLeave),C[S]("wheel",handle)}function enable(){return k.params.cssMode?(k.wrapperEl.removeEventListener("wheel",handle),!0):!k.mousewheel.enabled&&(events("addEventListener"),k.mousewheel.enabled=!0,!0)}function disable(){return k.params.cssMode?(k.wrapperEl.addEventListener(event,handle),!0):!!k.mousewheel.enabled&&(events("removeEventListener"),k.mousewheel.enabled=!1,!0)}M("init",(()=>{!k.params.mousewheel.enabled&&k.params.cssMode&&disable(),k.params.mousewheel.enabled&&enable()})),M("destroy",(()=>{k.params.cssMode&&enable(),k.mousewheel.enabled&&disable()})),Object.assign(k.mousewheel,{"enable":enable,"disable":disable})},function Navigation(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;function getEl(S){let C;return S&&"string"==typeof S&&k.isElement&&(C=k.el.querySelector(S),C)?C:(S&&("string"==typeof S&&(C=[...document.querySelectorAll(S)]),k.params.uniqueNavElements&&"string"==typeof S&&C&&C.length>1&&1===k.el.querySelectorAll(S).length?C=k.el.querySelector(S):C&&1===C.length&&(C=C[0])),S&&!C?S:C)}function toggleEl(S,C){const M=k.params.navigation;(S=makeElementsArray(S)).forEach((S=>{S&&(S.classList[C?"add":"remove"](...M.disabledClass.split(" ")),"BUTTON"===S.tagName&&(S.disabled=C),k.params.watchOverflow&&k.enabled&&S.classList[k.isLocked?"add":"remove"](M.lockClass))}))}function update(){const{"nextEl":S,"prevEl":C}=k.navigation;if(k.params.loop)return toggleEl(C,!1),void toggleEl(S,!1);toggleEl(C,k.isBeginning&&!k.params.rewind),toggleEl(S,k.isEnd&&!k.params.rewind)}function onPrevClick(S){S.preventDefault(),(!k.isBeginning||k.params.loop||k.params.rewind)&&(k.slidePrev(),P("navigationPrev"))}function onNextClick(S){S.preventDefault(),(!k.isEnd||k.params.loop||k.params.rewind)&&(k.slideNext(),P("navigationNext"))}function init(){const S=k.params.navigation;if(k.params.navigation=createElementIfNotDefined(k,k.originalParams.navigation,k.params.navigation,{"nextEl":"swiper-button-next","prevEl":"swiper-button-prev"}),!S.nextEl&&!S.prevEl)return;let C=getEl(S.nextEl),M=getEl(S.prevEl);Object.assign(k.navigation,{"nextEl":C,"prevEl":M}),C=makeElementsArray(C),M=makeElementsArray(M);const initButton=(C,M)=>{C&&C.addEventListener("click","next"===M?onNextClick:onPrevClick),!k.enabled&&C&&C.classList.add(...S.lockClass.split(" "))};C.forEach((S=>initButton(S,"next"))),M.forEach((S=>initButton(S,"prev")))}function destroy(){let{"nextEl":S,"prevEl":C}=k.navigation;S=makeElementsArray(S),C=makeElementsArray(C);const destroyButton=(S,C)=>{S.removeEventListener("click","next"===C?onNextClick:onPrevClick),S.classList.remove(...k.params.navigation.disabledClass.split(" "))};S.forEach((S=>destroyButton(S,"next"))),C.forEach((S=>destroyButton(S,"prev")))}C({"navigation":{"nextEl":null,"prevEl":null,"hideOnClick":!1,"disabledClass":"swiper-button-disabled","hiddenClass":"swiper-button-hidden","lockClass":"swiper-button-lock","navigationDisabledClass":"swiper-navigation-disabled"}}),k.navigation={"nextEl":null,"prevEl":null},M("init",(()=>{!1===k.params.navigation.enabled?disable():(init(),update())})),M("toEdge fromEdge lock unlock",(()=>{update()})),M("destroy",(()=>{destroy()})),M("enable disable",(()=>{let{"nextEl":S,"prevEl":C}=k.navigation;S=makeElementsArray(S),C=makeElementsArray(C),k.enabled?update():[...S,...C].filter((S=>!!S)).forEach((S=>S.classList.add(k.params.navigation.lockClass)))})),M("click",((S,C)=>{let{"nextEl":M,"prevEl":O}=k.navigation;M=makeElementsArray(M),O=makeElementsArray(O);const D=C.target;if(k.params.navigation.hideOnClick&&!O.includes(D)&&!M.includes(D)){if(k.pagination&&k.params.pagination&&k.params.pagination.clickable&&(k.pagination.el===D||k.pagination.el.contains(D)))return;let S;M.length?S=M[0].classList.contains(k.params.navigation.hiddenClass):O.length&&(S=O[0].classList.contains(k.params.navigation.hiddenClass)),P(!0===S?"navigationShow":"navigationHide"),[...M,...O].filter((S=>!!S)).forEach((S=>S.classList.toggle(k.params.navigation.hiddenClass)))}}));const disable=()=>{k.el.classList.add(...k.params.navigation.navigationDisabledClass.split(" ")),destroy()};Object.assign(k.navigation,{"enable":()=>{k.el.classList.remove(...k.params.navigation.navigationDisabledClass.split(" ")),init(),update()},"disable":disable,"update":update,"init":init,"destroy":destroy})},function Pagination(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O="swiper-pagination";let D;C({"pagination":{"el":null,"bulletElement":"span","clickable":!1,"hideOnClick":!1,"renderBullet":null,"renderProgressbar":null,"renderFraction":null,"renderCustom":null,"progressbarOpposite":!1,"type":"bullets","dynamicBullets":!1,"dynamicMainBullets":1,"formatFractionCurrent":S=>S,"formatFractionTotal":S=>S,"bulletClass":`${O}-bullet`,"bulletActiveClass":`${O}-bullet-active`,"modifierClass":`${O}-`,"currentClass":`${O}-current`,"totalClass":`${O}-total`,"hiddenClass":`${O}-hidden`,"progressbarFillClass":`${O}-progressbar-fill`,"progressbarOppositeClass":`${O}-progressbar-opposite`,"clickableClass":`${O}-clickable`,"lockClass":`${O}-lock`,"horizontalClass":`${O}-horizontal`,"verticalClass":`${O}-vertical`,"paginationDisabledClass":`${O}-disabled`}}),k.pagination={"el":null,"bullets":[]};let re=0;function isPaginationDisabled(){return!k.params.pagination.el||!k.pagination.el||Array.isArray(k.pagination.el)&&0===k.pagination.el.length}function setSideBullets(S,C){const{"bulletActiveClass":M}=k.params.pagination;S&&(S=S[("prev"===C?"previous":"next")+"ElementSibling"])&&(S.classList.add(`${M}-${C}`),(S=S[("prev"===C?"previous":"next")+"ElementSibling"])&&S.classList.add(`${M}-${C}-${C}`))}function onBulletClick(S){const C=S.target.closest(classesToSelector(k.params.pagination.bulletClass));if(!C)return;S.preventDefault();const M=elementIndex(C)*k.params.slidesPerGroup;if(k.params.loop){if(k.realIndex===M)return;k.slideToLoop(M)}else k.slideTo(M)}function update(){const S=k.rtl,C=k.params.pagination;if(isPaginationDisabled())return;let M,O,ne=k.pagination.el;ne=makeElementsArray(ne);const se=k.virtual&&k.params.virtual.enabled?k.virtual.slides.length:k.slides.length,oe=k.params.loop?Math.ceil(se/k.params.slidesPerGroup):k.snapGrid.length;if(k.params.loop?(O=k.previousRealIndex||0,M=k.params.slidesPerGroup>1?Math.floor(k.realIndex/k.params.slidesPerGroup):k.realIndex):void 0!==k.snapIndex?(M=k.snapIndex,O=k.previousSnapIndex):(O=k.previousIndex||0,M=k.activeIndex||0),"bullets"===C.type&&k.pagination.bullets&&k.pagination.bullets.length>0){const P=k.pagination.bullets;let se,oe,de;if(C.dynamicBullets&&(D=elementOuterSize(P[0],k.isHorizontal()?"width":"height",!0),ne.forEach((S=>{S.style[k.isHorizontal()?"width":"height"]=D*(C.dynamicMainBullets+4)+"px"})),C.dynamicMainBullets>1&&void 0!==O&&(re+=M-(O||0),re>C.dynamicMainBullets-1?re=C.dynamicMainBullets-1:re<0&&(re=0)),se=Math.max(M-re,0),oe=se+(Math.min(P.length,C.dynamicMainBullets)-1),de=(oe+se)/2),P.forEach((S=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((S=>`${C.bulletActiveClass}${S}`))].map((S=>"string"==typeof S&&S.includes(" ")?S.split(" "):S)).flat();S.classList.remove(...k)})),ne.length>1)P.forEach((S=>{const P=elementIndex(S);P===M?S.classList.add(...C.bulletActiveClass.split(" ")):k.isElement&&S.setAttribute("part","bullet"),C.dynamicBullets&&(P>=se&&P<=oe&&S.classList.add(...`${C.bulletActiveClass}-main`.split(" ")),P===se&&setSideBullets(S,"prev"),P===oe&&setSideBullets(S,"next"))}));else{const S=P[M];if(S&&S.classList.add(...C.bulletActiveClass.split(" ")),k.isElement&&P.forEach(((S,k)=>{S.setAttribute("part",k===M?"bullet-active":"bullet")})),C.dynamicBullets){const S=P[se],k=P[oe];for(let S=se;S<=oe;S+=1)P[S]&&P[S].classList.add(...`${C.bulletActiveClass}-main`.split(" "));setSideBullets(S,"prev"),setSideBullets(k,"next")}}if(C.dynamicBullets){const M=Math.min(P.length,C.dynamicMainBullets+4),O=(D*M-D)/2-de*D,re=S?"right":"left";P.forEach((S=>{S.style[k.isHorizontal()?re:"top"]=`${O}px`}))}}ne.forEach(((S,O)=>{if("fraction"===C.type&&(S.querySelectorAll(classesToSelector(C.currentClass)).forEach((S=>{S.textContent=C.formatFractionCurrent(M+1)})),S.querySelectorAll(classesToSelector(C.totalClass)).forEach((S=>{S.textContent=C.formatFractionTotal(oe)}))),"progressbar"===C.type){let P;P=C.progressbarOpposite?k.isHorizontal()?"vertical":"horizontal":k.isHorizontal()?"horizontal":"vertical";const O=(M+1)/oe;let D=1,re=1;"horizontal"===P?D=O:re=O,S.querySelectorAll(classesToSelector(C.progressbarFillClass)).forEach((S=>{S.style.transform=`translate3d(0,0,0) scaleX(${D}) scaleY(${re})`,S.style.transitionDuration=`${k.params.speed}ms`}))}"custom"===C.type&&C.renderCustom?(S.innerHTML=C.renderCustom(k,M+1,oe),0===O&&P("paginationRender",S)):(0===O&&P("paginationRender",S),P("paginationUpdate",S)),k.params.watchOverflow&&k.enabled&&S.classList[k.isLocked?"add":"remove"](C.lockClass)}))}function render(){const S=k.params.pagination;if(isPaginationDisabled())return;const C=k.virtual&&k.params.virtual.enabled?k.virtual.slides.length:k.grid&&k.params.grid.rows>1?k.slides.length/Math.ceil(k.params.grid.rows):k.slides.length;let M=k.pagination.el;M=makeElementsArray(M);let O="";if("bullets"===S.type){let M=k.params.loop?Math.ceil(C/k.params.slidesPerGroup):k.snapGrid.length;k.params.freeMode&&k.params.freeMode.enabled&&M>C&&(M=C);for(let C=0;C`}"fraction"===S.type&&(O=S.renderFraction?S.renderFraction.call(k,S.currentClass,S.totalClass):` / `),"progressbar"===S.type&&(O=S.renderProgressbar?S.renderProgressbar.call(k,S.progressbarFillClass):``),k.pagination.bullets=[],M.forEach((C=>{"custom"!==S.type&&(C.innerHTML=O||""),"bullets"===S.type&&k.pagination.bullets.push(...C.querySelectorAll(classesToSelector(S.bulletClass)))})),"custom"!==S.type&&P("paginationRender",M[0])}function init(){k.params.pagination=createElementIfNotDefined(k,k.originalParams.pagination,k.params.pagination,{"el":"swiper-pagination"});const S=k.params.pagination;if(!S.el)return;let C;"string"==typeof S.el&&k.isElement&&(C=k.el.querySelector(S.el)),C||"string"!=typeof S.el||(C=[...document.querySelectorAll(S.el)]),C||(C=S.el),C&&0!==C.length&&(k.params.uniqueNavElements&&"string"==typeof S.el&&Array.isArray(C)&&C.length>1&&(C=[...k.el.querySelectorAll(S.el)],C.length>1&&(C=C.filter((S=>elementParents(S,".swiper")[0]===k.el))[0])),Array.isArray(C)&&1===C.length&&(C=C[0]),Object.assign(k.pagination,{"el":C}),C=makeElementsArray(C),C.forEach((C=>{"bullets"===S.type&&S.clickable&&C.classList.add(...(S.clickableClass||"").split(" ")),C.classList.add(S.modifierClass+S.type),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass),"bullets"===S.type&&S.dynamicBullets&&(C.classList.add(`${S.modifierClass}${S.type}-dynamic`),re=0,S.dynamicMainBullets<1&&(S.dynamicMainBullets=1)),"progressbar"===S.type&&S.progressbarOpposite&&C.classList.add(S.progressbarOppositeClass),S.clickable&&C.addEventListener("click",onBulletClick),k.enabled||C.classList.add(S.lockClass)})))}function destroy(){const S=k.params.pagination;if(isPaginationDisabled())return;let C=k.pagination.el;C&&(C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.hiddenClass),C.classList.remove(S.modifierClass+S.type),C.classList.remove(k.isHorizontal()?S.horizontalClass:S.verticalClass),S.clickable&&(C.classList.remove(...(S.clickableClass||"").split(" ")),C.removeEventListener("click",onBulletClick))}))),k.pagination.bullets&&k.pagination.bullets.forEach((k=>k.classList.remove(...S.bulletActiveClass.split(" "))))}M("changeDirection",(()=>{if(!k.pagination||!k.pagination.el)return;const S=k.params.pagination;let{"el":C}=k.pagination;C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass)}))})),M("init",(()=>{!1===k.params.pagination.enabled?disable():(init(),render(),update())})),M("activeIndexChange",(()=>{void 0===k.snapIndex&&update()})),M("snapIndexChange",(()=>{update()})),M("snapGridLengthChange",(()=>{render(),update()})),M("destroy",(()=>{destroy()})),M("enable disable",(()=>{let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList[k.enabled?"remove":"add"](k.params.pagination.lockClass))))})),M("lock unlock",(()=>{update()})),M("click",((S,C)=>{const M=C.target,O=makeElementsArray(k.pagination.el);if(k.params.pagination.el&&k.params.pagination.hideOnClick&&O&&O.length>0&&!M.classList.contains(k.params.pagination.bulletClass)){if(k.navigation&&(k.navigation.nextEl&&M===k.navigation.nextEl||k.navigation.prevEl&&M===k.navigation.prevEl))return;const S=O[0].classList.contains(k.params.pagination.hiddenClass);P(!0===S?"paginationShow":"paginationHide"),O.forEach((S=>S.classList.toggle(k.params.pagination.hiddenClass)))}}));const disable=()=>{k.el.classList.add(k.params.pagination.paginationDisabledClass);let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList.add(k.params.pagination.paginationDisabledClass)))),destroy()};Object.assign(k.pagination,{"enable":()=>{k.el.classList.remove(k.params.pagination.paginationDisabledClass);let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList.remove(k.params.pagination.paginationDisabledClass)))),init(),render(),update()},"disable":disable,"render":render,"update":update,"init":init,"destroy":destroy})},function Scrollbar(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getDocument();let D,re,ne,se,oe=!1,de=null,ue=null;function setTranslate(){if(!k.params.scrollbar.el||!k.scrollbar.el)return;const{"scrollbar":S,"rtlTranslate":C}=k,{"dragEl":M,"el":P}=S,O=k.params.scrollbar,D=k.params.loop?k.progressLoop:k.progress;let se=re,oe=(ne-re)*D;C?(oe=-oe,oe>0?(se=re-oe,oe=0):-oe+re>ne&&(se=ne+oe)):oe<0?(se=re+oe,oe=0):oe+re>ne&&(se=ne-oe),k.isHorizontal()?(M.style.transform=`translate3d(${oe}px, 0, 0)`,M.style.width=`${se}px`):(M.style.transform=`translate3d(0px, ${oe}px, 0)`,M.style.height=`${se}px`),O.hide&&(clearTimeout(de),P.style.opacity=1,de=setTimeout((()=>{P.style.opacity=0,P.style.transitionDuration="400ms"}),1e3))}function updateSize(){if(!k.params.scrollbar.el||!k.scrollbar.el)return;const{"scrollbar":S}=k,{"dragEl":C,"el":M}=S;C.style.width="",C.style.height="",ne=k.isHorizontal()?M.offsetWidth:M.offsetHeight,se=k.size/(k.virtualSize+k.params.slidesOffsetBefore-(k.params.centeredSlides?k.snapGrid[0]:0)),re="auto"===k.params.scrollbar.dragSize?ne*se:parseInt(k.params.scrollbar.dragSize,10),k.isHorizontal()?C.style.width=`${re}px`:C.style.height=`${re}px`,M.style.display=se>=1?"none":"",k.params.scrollbar.hide&&(M.style.opacity=0),k.params.watchOverflow&&k.enabled&&S.el.classList[k.isLocked?"add":"remove"](k.params.scrollbar.lockClass)}function getPointerPosition(S){return k.isHorizontal()?S.clientX:S.clientY}function setDragPosition(S){const{"scrollbar":C,"rtlTranslate":M}=k,{"el":P}=C;let O;O=(getPointerPosition(S)-elementOffset(P)[k.isHorizontal()?"left":"top"]-(null!==D?D:re/2))/(ne-re),O=Math.max(Math.min(O,1),0),M&&(O=1-O);const se=k.minTranslate()+(k.maxTranslate()-k.minTranslate())*O;k.updateProgress(se),k.setTranslate(se),k.updateActiveIndex(),k.updateSlidesClasses()}function onDragStart(S){const C=k.params.scrollbar,{"scrollbar":M,"wrapperEl":O}=k,{"el":re,"dragEl":ne}=M;oe=!0,D=S.target===ne?getPointerPosition(S)-S.target.getBoundingClientRect()[k.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),O.style.transitionDuration="100ms",ne.style.transitionDuration="100ms",setDragPosition(S),clearTimeout(ue),re.style.transitionDuration="0ms",C.hide&&(re.style.opacity=1),k.params.cssMode&&(k.wrapperEl.style["scroll-snap-type"]="none"),P("scrollbarDragStart",S)}function onDragMove(S){const{"scrollbar":C,"wrapperEl":M}=k,{"el":O,"dragEl":D}=C;oe&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,setDragPosition(S),M.style.transitionDuration="0ms",O.style.transitionDuration="0ms",D.style.transitionDuration="0ms",P("scrollbarDragMove",S))}function onDragEnd(S){const C=k.params.scrollbar,{"scrollbar":M,"wrapperEl":O}=k,{"el":D}=M;oe&&(oe=!1,k.params.cssMode&&(k.wrapperEl.style["scroll-snap-type"]="",O.style.transitionDuration=""),C.hide&&(clearTimeout(ue),ue=nextTick((()=>{D.style.opacity=0,D.style.transitionDuration="400ms"}),1e3)),P("scrollbarDragEnd",S),C.snapOnRelease&&k.slideToClosest())}function events(S){const{"scrollbar":C,"params":M}=k,P=C.el;if(!P)return;const D=P,re=!!M.passiveListeners&&{"passive":!1,"capture":!1},ne=!!M.passiveListeners&&{"passive":!0,"capture":!1};if(!D)return;const se="on"===S?"addEventListener":"removeEventListener";D[se]("pointerdown",onDragStart,re),O[se]("pointermove",onDragMove,re),O[se]("pointerup",onDragEnd,ne)}function init(){const{"scrollbar":S,"el":C}=k;k.params.scrollbar=createElementIfNotDefined(k,k.originalParams.scrollbar,k.params.scrollbar,{"el":"swiper-scrollbar"});const M=k.params.scrollbar;if(!M.el)return;let P,D;if("string"==typeof M.el&&k.isElement&&(P=k.el.querySelector(M.el)),P||"string"!=typeof M.el)P||(P=M.el);else if(P=O.querySelectorAll(M.el),!P.length)return;k.params.uniqueNavElements&&"string"==typeof M.el&&P.length>1&&1===C.querySelectorAll(M.el).length&&(P=C.querySelector(M.el)),P.length>0&&(P=P[0]),P.classList.add(k.isHorizontal()?M.horizontalClass:M.verticalClass),P&&(D=P.querySelector(classesToSelector(k.params.scrollbar.dragClass)),D||(D=createElement("div",k.params.scrollbar.dragClass),P.append(D))),Object.assign(S,{"el":P,"dragEl":D}),M.draggable&&function enableDraggable(){k.params.scrollbar.el&&k.scrollbar.el&&events("on")}(),P&&P.classList[k.enabled?"remove":"add"](...classesToTokens(k.params.scrollbar.lockClass))}function destroy(){const S=k.params.scrollbar,C=k.scrollbar.el;C&&C.classList.remove(...classesToTokens(k.isHorizontal()?S.horizontalClass:S.verticalClass)),function disableDraggable(){k.params.scrollbar.el&&k.scrollbar.el&&events("off")}()}C({"scrollbar":{"el":null,"dragSize":"auto","hide":!1,"draggable":!1,"snapOnRelease":!0,"lockClass":"swiper-scrollbar-lock","dragClass":"swiper-scrollbar-drag","scrollbarDisabledClass":"swiper-scrollbar-disabled","horizontalClass":"swiper-scrollbar-horizontal","verticalClass":"swiper-scrollbar-vertical"}}),k.scrollbar={"el":null,"dragEl":null},M("changeDirection",(()=>{if(!k.scrollbar||!k.scrollbar.el)return;const S=k.params.scrollbar;let{"el":C}=k.scrollbar;C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass)}))})),M("init",(()=>{!1===k.params.scrollbar.enabled?disable():(init(),updateSize(),setTranslate())})),M("update resize observerUpdate lock unlock changeDirection",(()=>{updateSize()})),M("setTranslate",(()=>{setTranslate()})),M("setTransition",((S,C)=>{!function setTransition(S){k.params.scrollbar.el&&k.scrollbar.el&&(k.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}(C)})),M("enable disable",(()=>{const{"el":S}=k.scrollbar;S&&S.classList[k.enabled?"remove":"add"](...classesToTokens(k.params.scrollbar.lockClass))})),M("destroy",(()=>{destroy()}));const disable=()=>{k.el.classList.add(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),k.scrollbar.el&&k.scrollbar.el.classList.add(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),destroy()};Object.assign(k.scrollbar,{"enable":()=>{k.el.classList.remove(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),k.scrollbar.el&&k.scrollbar.el.classList.remove(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),init(),updateSize(),setTranslate()},"disable":disable,"updateSize":updateSize,"setTranslate":setTranslate,"init":init,"destroy":destroy})},function Parallax(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"parallax":{"enabled":!1}});const P="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",setTransform=(S,C)=>{const{"rtl":M}=k,P=M?-1:1,O=S.getAttribute("data-swiper-parallax")||"0";let D=S.getAttribute("data-swiper-parallax-x"),re=S.getAttribute("data-swiper-parallax-y");const ne=S.getAttribute("data-swiper-parallax-scale"),se=S.getAttribute("data-swiper-parallax-opacity"),oe=S.getAttribute("data-swiper-parallax-rotate");if(D||re?(D=D||"0",re=re||"0"):k.isHorizontal()?(D=O,re="0"):(re=O,D="0"),D=D.indexOf("%")>=0?parseInt(D,10)*C*P+"%":D*C*P+"px",re=re.indexOf("%")>=0?parseInt(re,10)*C+"%":re*C+"px",null!=se){const k=se-(se-1)*(1-Math.abs(C));S.style.opacity=k}let de=`translate3d(${D}, ${re}, 0px)`;if(null!=ne){de+=` scale(${ne-(ne-1)*(1-Math.abs(C))})`}if(oe&&null!=oe){de+=` rotate(${oe*C*-1}deg)`}S.style.transform=de},setTranslate=()=>{const{"el":S,"slides":C,"progress":M,"snapGrid":O,"isElement":D}=k,re=elementChildren(S,P);k.isElement&&re.push(...elementChildren(k.hostEl,P)),re.forEach((S=>{setTransform(S,M)})),C.forEach(((S,C)=>{let D=S.progress;k.params.slidesPerGroup>1&&"auto"!==k.params.slidesPerView&&(D+=Math.ceil(C/2)-M*(O.length-1)),D=Math.min(Math.max(D,-1),1),S.querySelectorAll(`${P}, [data-swiper-parallax-rotate]`).forEach((S=>{setTransform(S,D)}))}))};M("beforeInit",(()=>{k.params.parallax.enabled&&(k.params.watchSlidesProgress=!0,k.originalParams.watchSlidesProgress=!0)})),M("init",(()=>{k.params.parallax.enabled&&setTranslate()})),M("setTranslate",(()=>{k.params.parallax.enabled&&setTranslate()})),M("setTransition",((S,C)=>{k.params.parallax.enabled&&function(S){void 0===S&&(S=k.params.speed);const{"el":C,"hostEl":M}=k,O=[...C.querySelectorAll(P)];k.isElement&&O.push(...M.querySelectorAll(P)),O.forEach((k=>{let C=parseInt(k.getAttribute("data-swiper-parallax-duration"),10)||S;0===S&&(C=0),k.style.transitionDuration=`${C}ms`}))}(C)}))},function Zoom(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getWindow();C({"zoom":{"enabled":!1,"limitToOriginalSize":!1,"maxRatio":3,"minRatio":1,"toggle":!0,"containerClass":"swiper-zoom-container","zoomedSlideClass":"swiper-slide-zoomed"}}),k.zoom={"enabled":!1};let D,re,ne=1,se=!1;const oe=[],de={"originX":0,"originY":0,"slideEl":void 0,"slideWidth":void 0,"slideHeight":void 0,"imageEl":void 0,"imageWrapEl":void 0,"maxRatio":3},ue={"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":{}},pe={"x":void 0,"y":void 0,"prevPositionX":void 0,"prevPositionY":void 0,"prevTime":void 0};let he=1;function getDistanceBetweenTouches(){if(oe.length<2)return 1;const S=oe[0].pageX,k=oe[0].pageY,C=oe[1].pageX,M=oe[1].pageY;return Math.sqrt((C-S)**2+(M-k)**2)}function getMaxRatio(){const S=k.params.zoom,C=de.imageWrapEl.getAttribute("data-swiper-zoom")||S.maxRatio;if(S.limitToOriginalSize&&de.imageEl&&de.imageEl.naturalWidth){const S=de.imageEl.naturalWidth/de.imageEl.offsetWidth;return Math.min(S,C)}return C}function eventWithinSlide(S){const C=function getSlideSelector(){return k.isElement?"swiper-slide":`.${k.params.slideClass}`}();return!!S.target.matches(C)||k.slides.filter((k=>k.contains(S.target))).length>0}function onGestureStart(S){if("mouse"===S.pointerType&&oe.splice(0,oe.length),!eventWithinSlide(S))return;const C=k.params.zoom;if(D=!1,re=!1,oe.push(S),!(oe.length<2)){if(D=!0,de.scaleStart=getDistanceBetweenTouches(),!de.slideEl){de.slideEl=S.target.closest(`.${k.params.slideClass}, swiper-slide`),de.slideEl||(de.slideEl=k.slides[k.activeIndex]);let M=de.slideEl.querySelector(`.${C.containerClass}`);if(M&&(M=M.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=M,de.imageWrapEl=M?elementParents(de.imageEl,`.${C.containerClass}`)[0]:void 0,!de.imageWrapEl)return void(de.imageEl=void 0);de.maxRatio=getMaxRatio()}if(de.imageEl){const[S,k]=function getScaleOrigin(){if(oe.length<2)return{"x":null,"y":null};const S=de.imageEl.getBoundingClientRect();return[(oe[0].pageX+(oe[1].pageX-oe[0].pageX)/2-S.x-O.scrollX)/ne,(oe[0].pageY+(oe[1].pageY-oe[0].pageY)/2-S.y-O.scrollY)/ne]}();de.originX=S,de.originY=k,de.imageEl.style.transitionDuration="0ms"}se=!0}}function onGestureChange(S){if(!eventWithinSlide(S))return;const C=k.params.zoom,M=k.zoom,P=oe.findIndex((k=>k.pointerId===S.pointerId));P>=0&&(oe[P]=S),oe.length<2||(re=!0,de.scaleMove=getDistanceBetweenTouches(),de.imageEl&&(M.scale=de.scaleMove/de.scaleStart*ne,M.scale>de.maxRatio&&(M.scale=de.maxRatio-1+(M.scale-de.maxRatio+1)**.5),M.scalek.pointerId===S.pointerId));P>=0&&oe.splice(P,1),D&&re&&(D=!1,re=!1,de.imageEl&&(M.scale=Math.max(Math.min(M.scale,de.maxRatio),C.minRatio),de.imageEl.style.transitionDuration=`${k.params.speed}ms`,de.imageEl.style.transform=`translate3d(0,0,0) scale(${M.scale})`,ne=M.scale,se=!1,M.scale>1&&de.slideEl?de.slideEl.classList.add(`${C.zoomedSlideClass}`):M.scale<=1&&de.slideEl&&de.slideEl.classList.remove(`${C.zoomedSlideClass}`),1===M.scale&&(de.originX=0,de.originY=0,de.slideEl=void 0)))}function onTouchMove(S){if(!eventWithinSlide(S)||!function eventWithinZoomContainer(S){const C=`.${k.params.zoom.containerClass}`;return!!S.target.matches(C)||[...k.hostEl.querySelectorAll(C)].filter((k=>k.contains(S.target))).length>0}(S))return;const C=k.zoom;if(!de.imageEl)return;if(!ue.isTouched||!de.slideEl)return;ue.isMoved||(ue.width=de.imageEl.offsetWidth||de.imageEl.clientWidth,ue.height=de.imageEl.offsetHeight||de.imageEl.clientHeight,ue.startX=getTranslate(de.imageWrapEl,"x")||0,ue.startY=getTranslate(de.imageWrapEl,"y")||0,de.slideWidth=de.slideEl.offsetWidth,de.slideHeight=de.slideEl.offsetHeight,de.imageWrapEl.style.transitionDuration="0ms");const M=ue.width*C.scale,P=ue.height*C.scale;if(M0?oe[0].pageX:S.pageX,ue.touchesCurrent.y=oe.length>0?oe[0].pageY:S.pageY;if(Math.max(Math.abs(ue.touchesCurrent.x-ue.touchesStart.x),Math.abs(ue.touchesCurrent.y-ue.touchesStart.y))>5&&(k.allowClick=!1),!ue.isMoved&&!se){if(k.isHorizontal()&&(Math.floor(ue.minX)===Math.floor(ue.startX)&&ue.touchesCurrent.xue.touchesStart.x))return void(ue.isTouched=!1);if(!k.isHorizontal()&&(Math.floor(ue.minY)===Math.floor(ue.startY)&&ue.touchesCurrent.yue.touchesStart.y))return void(ue.isTouched=!1)}S.cancelable&&S.preventDefault(),S.stopPropagation(),ue.isMoved=!0;const O=(C.scale-ne)/(de.maxRatio-k.params.zoom.minRatio),{"originX":D,"originY":re}=de;ue.currentX=ue.touchesCurrent.x-ue.touchesStart.x+ue.startX+O*(ue.width-2*D),ue.currentY=ue.touchesCurrent.y-ue.touchesStart.y+ue.startY+O*(ue.height-2*re),ue.currentXue.maxX&&(ue.currentX=ue.maxX-1+(ue.currentX-ue.maxX+1)**.8),ue.currentYue.maxY&&(ue.currentY=ue.maxY-1+(ue.currentY-ue.maxY+1)**.8),pe.prevPositionX||(pe.prevPositionX=ue.touchesCurrent.x),pe.prevPositionY||(pe.prevPositionY=ue.touchesCurrent.y),pe.prevTime||(pe.prevTime=Date.now()),pe.x=(ue.touchesCurrent.x-pe.prevPositionX)/(Date.now()-pe.prevTime)/2,pe.y=(ue.touchesCurrent.y-pe.prevPositionY)/(Date.now()-pe.prevTime)/2,Math.abs(ue.touchesCurrent.x-pe.prevPositionX)<2&&(pe.x=0),Math.abs(ue.touchesCurrent.y-pe.prevPositionY)<2&&(pe.y=0),pe.prevPositionX=ue.touchesCurrent.x,pe.prevPositionY=ue.touchesCurrent.y,pe.prevTime=Date.now(),de.imageWrapEl.style.transform=`translate3d(${ue.currentX}px, ${ue.currentY}px,0)`}function onTransitionEnd(){const S=k.zoom;de.slideEl&&k.activeIndex!==k.slides.indexOf(de.slideEl)&&(de.imageEl&&(de.imageEl.style.transform="translate3d(0,0,0) scale(1)"),de.imageWrapEl&&(de.imageWrapEl.style.transform="translate3d(0,0,0)"),de.slideEl.classList.remove(`${k.params.zoom.zoomedSlideClass}`),S.scale=1,ne=1,de.slideEl=void 0,de.imageEl=void 0,de.imageWrapEl=void 0,de.originX=0,de.originY=0)}function zoomIn(S){const C=k.zoom,M=k.params.zoom;if(!de.slideEl){S&&S.target&&(de.slideEl=S.target.closest(`.${k.params.slideClass}, swiper-slide`)),de.slideEl||(k.params.virtual&&k.params.virtual.enabled&&k.virtual?de.slideEl=elementChildren(k.slidesEl,`.${k.params.slideActiveClass}`)[0]:de.slideEl=k.slides[k.activeIndex]);let C=de.slideEl.querySelector(`.${M.containerClass}`);C&&(C=C.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=C,de.imageWrapEl=C?elementParents(de.imageEl,`.${M.containerClass}`)[0]:void 0}if(!de.imageEl||!de.imageWrapEl)return;let P,D,re,se,oe,pe,he,fe,me,ge,be,ve,ye,Ee,Ae,ke,Te,_e;k.params.cssMode&&(k.wrapperEl.style.overflow="hidden",k.wrapperEl.style.touchAction="none"),de.slideEl.classList.add(`${M.zoomedSlideClass}`),void 0===ue.touchesStart.x&&S?(P=S.pageX,D=S.pageY):(P=ue.touchesStart.x,D=ue.touchesStart.y);const Me="number"==typeof S?S:null;1===ne&&Me&&(P=void 0,D=void 0);const Pe=getMaxRatio();C.scale=Me||Pe,ne=Me||Pe,!S||1===ne&&Me?(he=0,fe=0):(Te=de.slideEl.offsetWidth,_e=de.slideEl.offsetHeight,re=elementOffset(de.slideEl).left+O.scrollX,se=elementOffset(de.slideEl).top+O.scrollY,oe=re+Te/2-P,pe=se+_e/2-D,me=de.imageEl.offsetWidth||de.imageEl.clientWidth,ge=de.imageEl.offsetHeight||de.imageEl.clientHeight,be=me*C.scale,ve=ge*C.scale,ye=Math.min(Te/2-be/2,0),Ee=Math.min(_e/2-ve/2,0),Ae=-ye,ke=-Ee,he=oe*C.scale,fe=pe*C.scale,heAe&&(he=Ae),feke&&(fe=ke)),Me&&1===C.scale&&(de.originX=0,de.originY=0),de.imageWrapEl.style.transitionDuration="300ms",de.imageWrapEl.style.transform=`translate3d(${he}px, ${fe}px,0)`,de.imageEl.style.transitionDuration="300ms",de.imageEl.style.transform=`translate3d(0,0,0) scale(${C.scale})`}function zoomOut(){const S=k.zoom,C=k.params.zoom;if(!de.slideEl){k.params.virtual&&k.params.virtual.enabled&&k.virtual?de.slideEl=elementChildren(k.slidesEl,`.${k.params.slideActiveClass}`)[0]:de.slideEl=k.slides[k.activeIndex];let S=de.slideEl.querySelector(`.${C.containerClass}`);S&&(S=S.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=S,de.imageWrapEl=S?elementParents(de.imageEl,`.${C.containerClass}`)[0]:void 0}de.imageEl&&de.imageWrapEl&&(k.params.cssMode&&(k.wrapperEl.style.overflow="",k.wrapperEl.style.touchAction=""),S.scale=1,ne=1,de.imageWrapEl.style.transitionDuration="300ms",de.imageWrapEl.style.transform="translate3d(0,0,0)",de.imageEl.style.transitionDuration="300ms",de.imageEl.style.transform="translate3d(0,0,0) scale(1)",de.slideEl.classList.remove(`${C.zoomedSlideClass}`),de.slideEl=void 0,de.originX=0,de.originY=0)}function zoomToggle(S){const C=k.zoom;C.scale&&1!==C.scale?zoomOut():zoomIn(S)}function getListeners(){return{"passiveListener":!!k.params.passiveListeners&&{"passive":!0,"capture":!1},"activeListenerWithCapture":!k.params.passiveListeners||{"passive":!1,"capture":!0}}}function enable(){const S=k.zoom;if(S.enabled)return;S.enabled=!0;const{"passiveListener":C,"activeListenerWithCapture":M}=getListeners();k.wrapperEl.addEventListener("pointerdown",onGestureStart,C),k.wrapperEl.addEventListener("pointermove",onGestureChange,M),["pointerup","pointercancel","pointerout"].forEach((S=>{k.wrapperEl.addEventListener(S,onGestureEnd,C)})),k.wrapperEl.addEventListener("pointermove",onTouchMove,M)}function disable(){const S=k.zoom;if(!S.enabled)return;S.enabled=!1;const{"passiveListener":C,"activeListenerWithCapture":M}=getListeners();k.wrapperEl.removeEventListener("pointerdown",onGestureStart,C),k.wrapperEl.removeEventListener("pointermove",onGestureChange,M),["pointerup","pointercancel","pointerout"].forEach((S=>{k.wrapperEl.removeEventListener(S,onGestureEnd,C)})),k.wrapperEl.removeEventListener("pointermove",onTouchMove,M)}Object.defineProperty(k.zoom,"scale",{"get"(){return he},"set"(S){if(he!==S){const k=de.imageEl,C=de.slideEl;P("zoomChange",S,k,C)}he=S}}),M("init",(()=>{k.params.zoom.enabled&&enable()})),M("destroy",(()=>{disable()})),M("touchStart",((S,C)=>{k.zoom.enabled&&function onTouchStart(S){const C=k.device;if(!de.imageEl)return;if(ue.isTouched)return;C.android&&S.cancelable&&S.preventDefault(),ue.isTouched=!0;const M=oe.length>0?oe[0]:S;ue.touchesStart.x=M.pageX,ue.touchesStart.y=M.pageY}(C)})),M("touchEnd",((S,C)=>{k.zoom.enabled&&function onTouchEnd(){const S=k.zoom;if(!de.imageEl)return;if(!ue.isTouched||!ue.isMoved)return ue.isTouched=!1,void(ue.isMoved=!1);ue.isTouched=!1,ue.isMoved=!1;let C=300,M=300;const P=pe.x*C,O=ue.currentX+P,D=pe.y*M,re=ue.currentY+D;0!==pe.x&&(C=Math.abs((O-ue.currentX)/pe.x)),0!==pe.y&&(M=Math.abs((re-ue.currentY)/pe.y));const ne=Math.max(C,M);ue.currentX=O,ue.currentY=re;const se=ue.width*S.scale,oe=ue.height*S.scale;ue.minX=Math.min(de.slideWidth/2-se/2,0),ue.maxX=-ue.minX,ue.minY=Math.min(de.slideHeight/2-oe/2,0),ue.maxY=-ue.minY,ue.currentX=Math.max(Math.min(ue.currentX,ue.maxX),ue.minX),ue.currentY=Math.max(Math.min(ue.currentY,ue.maxY),ue.minY),de.imageWrapEl.style.transitionDuration=`${ne}ms`,de.imageWrapEl.style.transform=`translate3d(${ue.currentX}px, ${ue.currentY}px,0)`}()})),M("doubleTap",((S,C)=>{!k.animating&&k.params.zoom.enabled&&k.zoom.enabled&&k.params.zoom.toggle&&zoomToggle(C)})),M("transitionEnd",(()=>{k.zoom.enabled&&k.params.zoom.enabled&&onTransitionEnd()})),M("slideChange",(()=>{k.zoom.enabled&&k.params.zoom.enabled&&k.params.cssMode&&onTransitionEnd()})),Object.assign(k.zoom,{"enable":enable,"disable":disable,"in":zoomIn,"out":zoomOut,"toggle":zoomToggle})},function Controller(S){let{"swiper":k,"extendParams":C,"on":M}=S;function LinearSpline(S,k){const C=function search(){let S,k,C;return(M,P)=>{for(k=-1,S=M.length;S-k>1;)C=S+k>>1,M[C]<=P?k=C:S=C;return S}}();let M,P;return this.x=S,this.y=k,this.lastIndex=S.length-1,this.interpolate=function interpolate(S){return S?(P=C(this.x,S),M=P-1,(S-this.x[M])*(this.y[P]-this.y[M])/(this.x[P]-this.x[M])+this.y[M]):0},this}function removeSpline(){k.controller.control&&k.controller.spline&&(k.controller.spline=void 0,delete k.controller.spline)}C({"controller":{"control":void 0,"inverse":!1,"by":"slide"}}),k.controller={"control":void 0},M("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof k.params.controller.control||k.params.controller.control instanceof HTMLElement)){const S=document.querySelector(k.params.controller.control);if(S&&S.swiper)k.controller.control=S.swiper;else if(S){const onControllerSwiper=C=>{k.controller.control=C.detail[0],k.update(),S.removeEventListener("init",onControllerSwiper)};S.addEventListener("init",onControllerSwiper)}}else k.controller.control=k.params.controller.control})),M("update",(()=>{removeSpline()})),M("resize",(()=>{removeSpline()})),M("observerUpdate",(()=>{removeSpline()})),M("setTranslate",((S,C,M)=>{k.controller.control&&!k.controller.control.destroyed&&k.controller.setTranslate(C,M)})),M("setTransition",((S,C,M)=>{k.controller.control&&!k.controller.control.destroyed&&k.controller.setTransition(C,M)})),Object.assign(k.controller,{"setTranslate":function setTranslate(S,C){const M=k.controller.control;let P,O;const D=k.constructor;function setControlledTranslate(S){if(S.destroyed)return;const C=k.rtlTranslate?-k.translate:k.translate;"slide"===k.params.controller.by&&(!function getInterpolateFunction(S){k.controller.spline=k.params.loop?new LinearSpline(k.slidesGrid,S.slidesGrid):new LinearSpline(k.snapGrid,S.snapGrid)}(S),O=-k.controller.spline.interpolate(-C)),O&&"container"!==k.params.controller.by||(P=(S.maxTranslate()-S.minTranslate())/(k.maxTranslate()-k.minTranslate()),!Number.isNaN(P)&&Number.isFinite(P)||(P=1),O=(C-k.minTranslate())*P+S.minTranslate()),k.params.controller.inverse&&(O=S.maxTranslate()-O),S.updateProgress(O),S.setTranslate(O,k),S.updateActiveIndex(),S.updateSlidesClasses()}if(Array.isArray(M))for(let S=0;S{C.updateAutoHeight()})),elementTransitionEnd(C.wrapperEl,(()=>{P&&C.transitionEnd()}))))}if(Array.isArray(P))for(O=0;O{S.setAttribute("tabIndex","0")}))}function makeElNotFocusable(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("tabIndex","-1")}))}function addElRole(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("role",k)}))}function addElRoleDescription(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-roledescription",k)}))}function addElLabel(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-label",k)}))}function disableEl(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-disabled",!0)}))}function enableEl(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-disabled",!1)}))}function onEnterOrSpaceKey(S){if(13!==S.keyCode&&32!==S.keyCode)return;const C=k.params.a11y,M=S.target;if(!k.pagination||!k.pagination.el||M!==k.pagination.el&&!k.pagination.el.contains(S.target)||S.target.matches(classesToSelector(k.params.pagination.bulletClass))){if(k.navigation&&k.navigation.prevEl&&k.navigation.nextEl){const S=makeElementsArray(k.navigation.prevEl);makeElementsArray(k.navigation.nextEl).includes(M)&&(k.isEnd&&!k.params.loop||k.slideNext(),k.isEnd?notify(C.lastSlideMessage):notify(C.nextSlideMessage)),S.includes(M)&&(k.isBeginning&&!k.params.loop||k.slidePrev(),k.isBeginning?notify(C.firstSlideMessage):notify(C.prevSlideMessage))}k.pagination&&M.matches(classesToSelector(k.params.pagination.bulletClass))&&M.click()}}function hasPagination(){return k.pagination&&k.pagination.bullets&&k.pagination.bullets.length}function hasClickablePagination(){return hasPagination()&&k.params.pagination.clickable}const initNavEl=(S,k,C)=>{makeElFocusable(S),"BUTTON"!==S.tagName&&(addElRole(S,"button"),S.addEventListener("keydown",onEnterOrSpaceKey)),addElLabel(S,C),function addElControls(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-controls",k)}))}(S,k)},handlePointerDown=S=>{O&&O!==S.target&&!O.contains(S.target)&&(P=!0),k.a11y.clicked=!0},handlePointerUp=()=>{P=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{k.destroyed||(k.a11y.clicked=!1)}))}))},onVisibilityChange=S=>{re=(new Date).getTime()},handleFocus=S=>{if(k.a11y.clicked)return;if((new Date).getTime()-re<100)return;const C=S.target.closest(`.${k.params.slideClass}, swiper-slide`);if(!C||!k.slides.includes(C))return;O=C;const M=k.slides.indexOf(C)===k.activeIndex,D=k.params.watchSlidesProgress&&k.visibleSlides&&k.visibleSlides.includes(C);M||D||S.sourceCapabilities&&S.sourceCapabilities.firesTouchEvents||(k.isHorizontal()?k.el.scrollLeft=0:k.el.scrollTop=0,requestAnimationFrame((()=>{P||(k.slideTo(k.slides.indexOf(C),0),P=!1)})))},initSlides=()=>{const S=k.params.a11y;S.itemRoleDescriptionMessage&&addElRoleDescription(k.slides,S.itemRoleDescriptionMessage),S.slideRole&&addElRole(k.slides,S.slideRole);const C=k.slides.length;S.slideLabelMessage&&k.slides.forEach(((M,P)=>{const O=k.params.loop?parseInt(M.getAttribute("data-swiper-slide-index"),10):P;addElLabel(M,S.slideLabelMessage.replace(/\{\{index\}\}/,O+1).replace(/\{\{slidesLength\}\}/,C))}))},init=()=>{const S=k.params.a11y;k.el.append(D);const C=k.el;S.containerRoleDescriptionMessage&&addElRoleDescription(C,S.containerRoleDescriptionMessage),S.containerMessage&&addElLabel(C,S.containerMessage);const M=k.wrapperEl,P=S.id||M.getAttribute("id")||`swiper-wrapper-${function getRandomNumber(S){return void 0===S&&(S=16),"x".repeat(S).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,O=k.params.autoplay&&k.params.autoplay.enabled?"off":"polite";!function addElId(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("id",k)}))}(M,P),function addElLive(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-live",k)}))}(M,O),initSlides();let{"nextEl":re,"prevEl":ne}=k.navigation?k.navigation:{};if(re=makeElementsArray(re),ne=makeElementsArray(ne),re&&re.forEach((k=>initNavEl(k,P,S.nextSlideMessage))),ne&&ne.forEach((k=>initNavEl(k,P,S.prevSlideMessage))),hasClickablePagination()){makeElementsArray(k.pagination.el).forEach((S=>{S.addEventListener("keydown",onEnterOrSpaceKey)}))}getDocument().addEventListener("visibilitychange",onVisibilityChange),k.el.addEventListener("focus",handleFocus,!0),k.el.addEventListener("focus",handleFocus,!0),k.el.addEventListener("pointerdown",handlePointerDown,!0),k.el.addEventListener("pointerup",handlePointerUp,!0)};M("beforeInit",(()=>{D=createElement("span",k.params.a11y.notificationClass),D.setAttribute("aria-live","assertive"),D.setAttribute("aria-atomic","true")})),M("afterInit",(()=>{k.params.a11y.enabled&&init()})),M("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{k.params.a11y.enabled&&initSlides()})),M("fromEdge toEdge afterInit lock unlock",(()=>{k.params.a11y.enabled&&function updateNavigation(){if(k.params.loop||k.params.rewind||!k.navigation)return;const{"nextEl":S,"prevEl":C}=k.navigation;C&&(k.isBeginning?(disableEl(C),makeElNotFocusable(C)):(enableEl(C),makeElFocusable(C))),S&&(k.isEnd?(disableEl(S),makeElNotFocusable(S)):(enableEl(S),makeElFocusable(S)))}()})),M("paginationUpdate",(()=>{k.params.a11y.enabled&&function updatePagination(){const S=k.params.a11y;hasPagination()&&k.pagination.bullets.forEach((C=>{k.params.pagination.clickable&&(makeElFocusable(C),k.params.pagination.renderBullet||(addElRole(C,"button"),addElLabel(C,S.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(C)+1)))),C.matches(classesToSelector(k.params.pagination.bulletActiveClass))?C.setAttribute("aria-current","true"):C.removeAttribute("aria-current")}))}()})),M("destroy",(()=>{k.params.a11y.enabled&&function destroy(){D&&D.remove();let{"nextEl":S,"prevEl":C}=k.navigation?k.navigation:{};S=makeElementsArray(S),C=makeElementsArray(C),S&&S.forEach((S=>S.removeEventListener("keydown",onEnterOrSpaceKey))),C&&C.forEach((S=>S.removeEventListener("keydown",onEnterOrSpaceKey))),hasClickablePagination()&&makeElementsArray(k.pagination.el).forEach((S=>{S.removeEventListener("keydown",onEnterOrSpaceKey)}));getDocument().removeEventListener("visibilitychange",onVisibilityChange),k.el.removeEventListener("focus",handleFocus,!0),k.el.removeEventListener("pointerdown",handlePointerDown,!0),k.el.removeEventListener("pointerup",handlePointerUp,!0)}()}))},function History(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"history":{"enabled":!1,"root":"","replaceState":!1,"key":"slides","keepQuery":!1}});let P=!1,O={};const slugify=S=>S.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),getPathValues=S=>{const k=getWindow();let C;C=S?new URL(S):k.location;const M=C.pathname.slice(1).split("/").filter((S=>""!==S)),P=M.length;return{"key":M[P-2],"value":M[P-1]}},setHistory=(S,C)=>{const M=getWindow();if(!P||!k.params.history.enabled)return;let O;O=k.params.url?new URL(k.params.url):M.location;const D=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${C}"]`):k.slides[C];let re=slugify(D.getAttribute("data-history"));if(k.params.history.root.length>0){let C=k.params.history.root;"/"===C[C.length-1]&&(C=C.slice(0,C.length-1)),re=`${C}/${S?`${S}/`:""}${re}`}else O.pathname.includes(S)||(re=`${S?`${S}/`:""}${re}`);k.params.history.keepQuery&&(re+=O.search);const ne=M.history.state;ne&&ne.value===re||(k.params.history.replaceState?M.history.replaceState({"value":re},null,re):M.history.pushState({"value":re},null,re))},scrollToSlide=(S,C,M)=>{if(C)for(let P=0,O=k.slides.length;P{O=getPathValues(k.params.url),scrollToSlide(k.params.speed,O.value,!1)};M("init",(()=>{k.params.history.enabled&&(()=>{const S=getWindow();if(k.params.history){if(!S.history||!S.history.pushState)return k.params.history.enabled=!1,void(k.params.hashNavigation.enabled=!0);P=!0,O=getPathValues(k.params.url),O.key||O.value?(scrollToSlide(0,O.value,k.params.runCallbacksOnInit),k.params.history.replaceState||S.addEventListener("popstate",setHistoryPopState)):k.params.history.replaceState||S.addEventListener("popstate",setHistoryPopState)}})()})),M("destroy",(()=>{k.params.history.enabled&&(()=>{const S=getWindow();k.params.history.replaceState||S.removeEventListener("popstate",setHistoryPopState)})()})),M("transitionEnd _freeModeNoMomentumRelease",(()=>{P&&setHistory(k.params.history.key,k.activeIndex)})),M("slideChange",(()=>{P&&k.params.cssMode&&setHistory(k.params.history.key,k.activeIndex)}))},function HashNavigation(S){let{"swiper":k,"extendParams":C,"emit":M,"on":P}=S,O=!1;const D=getDocument(),re=getWindow();C({"hashNavigation":{"enabled":!1,"replaceState":!1,"watchState":!1,"getSlideIndex"(S,C){if(k.virtual&&k.params.virtual.enabled){const S=k.slides.filter((S=>S.getAttribute("data-hash")===C))[0];if(!S)return 0;return parseInt(S.getAttribute("data-swiper-slide-index"),10)}return k.getSlideIndex(elementChildren(k.slidesEl,`.${k.params.slideClass}[data-hash="${C}"], swiper-slide[data-hash="${C}"]`)[0])}}});const onHashChange=()=>{M("hashChange");const S=D.location.hash.replace("#",""),C=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${k.activeIndex}"]`):k.slides[k.activeIndex];if(S!==(C?C.getAttribute("data-hash"):"")){const C=k.params.hashNavigation.getSlideIndex(k,S);if(void 0===C||Number.isNaN(C))return;k.slideTo(C)}},setHash=()=>{if(!O||!k.params.hashNavigation.enabled)return;const S=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${k.activeIndex}"]`):k.slides[k.activeIndex],C=S?S.getAttribute("data-hash")||S.getAttribute("data-history"):"";k.params.hashNavigation.replaceState&&re.history&&re.history.replaceState?(re.history.replaceState(null,null,`#${C}`||""),M("hashSet")):(D.location.hash=C||"",M("hashSet"))};P("init",(()=>{k.params.hashNavigation.enabled&&(()=>{if(!k.params.hashNavigation.enabled||k.params.history&&k.params.history.enabled)return;O=!0;const S=D.location.hash.replace("#","");if(S){const C=0,M=k.params.hashNavigation.getSlideIndex(k,S);k.slideTo(M||0,C,k.params.runCallbacksOnInit,!0)}k.params.hashNavigation.watchState&&re.addEventListener("hashchange",onHashChange)})()})),P("destroy",(()=>{k.params.hashNavigation.enabled&&k.params.hashNavigation.watchState&&re.removeEventListener("hashchange",onHashChange)})),P("transitionEnd _freeModeNoMomentumRelease",(()=>{O&&setHash()})),P("slideChange",(()=>{O&&k.params.cssMode&&setHash()}))},function Autoplay(S){let k,C,{"swiper":M,"extendParams":P,"on":O,"emit":D,"params":re}=S;M.autoplay={"running":!1,"paused":!1,"timeLeft":0},P({"autoplay":{"enabled":!1,"delay":3e3,"waitForTransition":!0,"disableOnInteraction":!1,"stopOnLastSlide":!1,"reverseDirection":!1,"pauseOnMouseEnter":!1}});let ne,se,oe,de,ue,pe,he,fe,me=re&&re.autoplay?re.autoplay.delay:3e3,ge=re&&re.autoplay?re.autoplay.delay:3e3,be=(new Date).getTime();function onTransitionEnd(S){M&&!M.destroyed&&M.wrapperEl&&S.target===M.wrapperEl&&(M.wrapperEl.removeEventListener("transitionend",onTransitionEnd),fe||resume())}const calcTimeLeft=()=>{if(M.destroyed||!M.autoplay.running)return;M.autoplay.paused?se=!0:se&&(ge=ne,se=!1);const S=M.autoplay.paused?ne:be+ge-(new Date).getTime();M.autoplay.timeLeft=S,D("autoplayTimeLeft",S,S/me),C=requestAnimationFrame((()=>{calcTimeLeft()}))},run=S=>{if(M.destroyed||!M.autoplay.running)return;cancelAnimationFrame(C),calcTimeLeft();let P=void 0===S?M.params.autoplay.delay:S;me=M.params.autoplay.delay,ge=M.params.autoplay.delay;const O=(()=>{let S;if(S=M.virtual&&M.params.virtual.enabled?M.slides.filter((S=>S.classList.contains("swiper-slide-active")))[0]:M.slides[M.activeIndex],!S)return;return parseInt(S.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(O)&&O>0&&void 0===S&&(P=O,me=O,ge=O),ne=P;const re=M.params.speed,proceed=()=>{M&&!M.destroyed&&(M.params.autoplay.reverseDirection?!M.isBeginning||M.params.loop||M.params.rewind?(M.slidePrev(re,!0,!0),D("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(M.slides.length-1,re,!0,!0),D("autoplay")):!M.isEnd||M.params.loop||M.params.rewind?(M.slideNext(re,!0,!0),D("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(0,re,!0,!0),D("autoplay")),M.params.cssMode&&(be=(new Date).getTime(),requestAnimationFrame((()=>{run()}))))};return P>0?(clearTimeout(k),k=setTimeout((()=>{proceed()}),P)):requestAnimationFrame((()=>{proceed()})),P},start=()=>{be=(new Date).getTime(),M.autoplay.running=!0,run(),D("autoplayStart")},stop=()=>{M.autoplay.running=!1,clearTimeout(k),cancelAnimationFrame(C),D("autoplayStop")},pause=(S,C)=>{if(M.destroyed||!M.autoplay.running)return;clearTimeout(k),S||(he=!0);const proceed=()=>{D("autoplayPause"),M.params.autoplay.waitForTransition?M.wrapperEl.addEventListener("transitionend",onTransitionEnd):resume()};if(M.autoplay.paused=!0,C)return pe&&(ne=M.params.autoplay.delay),pe=!1,void proceed();const P=ne||M.params.autoplay.delay;ne=P-((new Date).getTime()-be),M.isEnd&&ne<0&&!M.params.loop||(ne<0&&(ne=0),proceed())},resume=()=>{M.isEnd&&ne<0&&!M.params.loop||M.destroyed||!M.autoplay.running||(be=(new Date).getTime(),he?(he=!1,run(ne)):run(),M.autoplay.paused=!1,D("autoplayResume"))},onVisibilityChange=()=>{if(M.destroyed||!M.autoplay.running)return;const S=getDocument();"hidden"===S.visibilityState&&(he=!0,pause(!0)),"visible"===S.visibilityState&&resume()},onPointerEnter=S=>{"mouse"===S.pointerType&&(he=!0,fe=!0,M.animating||M.autoplay.paused||pause(!0))},onPointerLeave=S=>{"mouse"===S.pointerType&&(fe=!1,M.autoplay.paused&&resume())};O("init",(()=>{M.params.autoplay.enabled&&(M.params.autoplay.pauseOnMouseEnter&&(M.el.addEventListener("pointerenter",onPointerEnter),M.el.addEventListener("pointerleave",onPointerLeave)),getDocument().addEventListener("visibilitychange",onVisibilityChange),start())})),O("destroy",(()=>{M.el.removeEventListener("pointerenter",onPointerEnter),M.el.removeEventListener("pointerleave",onPointerLeave),getDocument().removeEventListener("visibilitychange",onVisibilityChange),M.autoplay.running&&stop()})),O("_freeModeStaticRelease",(()=>{(de||he)&&resume()})),O("_freeModeNoMomentumRelease",(()=>{M.params.autoplay.disableOnInteraction?stop():pause(!0,!0)})),O("beforeTransitionStart",((S,k,C)=>{!M.destroyed&&M.autoplay.running&&(C||!M.params.autoplay.disableOnInteraction?pause(!0,!0):stop())})),O("sliderFirstMove",(()=>{!M.destroyed&&M.autoplay.running&&(M.params.autoplay.disableOnInteraction?stop():(oe=!0,de=!1,he=!1,ue=setTimeout((()=>{he=!0,de=!0,pause(!0)}),200)))})),O("touchEnd",(()=>{if(!M.destroyed&&M.autoplay.running&&oe){if(clearTimeout(ue),clearTimeout(k),M.params.autoplay.disableOnInteraction)return de=!1,void(oe=!1);de&&M.params.cssMode&&resume(),de=!1,oe=!1}})),O("slideChange",(()=>{!M.destroyed&&M.autoplay.running&&(pe=!0)})),Object.assign(M.autoplay,{"start":start,"stop":stop,"pause":pause,"resume":resume})},function Thumb(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"thumbs":{"swiper":null,"multipleActiveThumbs":!0,"autoScrollOffset":0,"slideThumbActiveClass":"swiper-slide-thumb-active","thumbsContainerClass":"swiper-thumbs"}});let P=!1,O=!1;function onThumbClick(){const S=k.thumbs.swiper;if(!S||S.destroyed)return;const C=S.clickedIndex,M=S.clickedSlide;if(M&&M.classList.contains(k.params.thumbs.slideThumbActiveClass))return;if(null==C)return;let P;P=S.params.loop?parseInt(S.clickedSlide.getAttribute("data-swiper-slide-index"),10):C,k.params.loop?k.slideToLoop(P):k.slideTo(P)}function init(){const{"thumbs":S}=k.params;if(P)return!1;P=!0;const C=k.constructor;if(S.swiper instanceof C)k.thumbs.swiper=S.swiper,Object.assign(k.thumbs.swiper.originalParams,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),Object.assign(k.thumbs.swiper.params,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),k.thumbs.swiper.update();else if(utils_isObject(S.swiper)){const M=Object.assign({},S.swiper);Object.assign(M,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),k.thumbs.swiper=new C(M),O=!0}return k.thumbs.swiper.el.classList.add(k.params.thumbs.thumbsContainerClass),k.thumbs.swiper.on("tap",onThumbClick),!0}function update(S){const C=k.thumbs.swiper;if(!C||C.destroyed)return;const M="auto"===C.params.slidesPerView?C.slidesPerViewDynamic():C.params.slidesPerView;let P=1;const O=k.params.thumbs.slideThumbActiveClass;if(k.params.slidesPerView>1&&!k.params.centeredSlides&&(P=k.params.slidesPerView),k.params.thumbs.multipleActiveThumbs||(P=1),P=Math.floor(P),C.slides.forEach((S=>S.classList.remove(O))),C.params.loop||C.params.virtual&&C.params.virtual.enabled)for(let S=0;S{S.classList.add(O)}));else for(let S=0;SS.getAttribute("data-swiper-slide-index")===`${k.realIndex}`))[0];O=C.slides.indexOf(S),ne=k.activeIndex>k.previousIndex?"next":"prev"}else O=k.realIndex,ne=O>k.previousIndex?"next":"prev";re&&(O+="next"===ne?D:-1*D),C.visibleSlidesIndexes&&C.visibleSlidesIndexes.indexOf(O)<0&&(C.params.centeredSlides?O=O>P?O-Math.floor(M/2)+1:O+Math.floor(M/2)-1:O>P&&C.params.slidesPerGroup,C.slideTo(O,S?0:void 0))}}k.thumbs={"swiper":null},M("beforeInit",(()=>{const{"thumbs":S}=k.params;if(S&&S.swiper)if("string"==typeof S.swiper||S.swiper instanceof HTMLElement){const C=getDocument(),getThumbsElementAndInit=()=>{const M="string"==typeof S.swiper?C.querySelector(S.swiper):S.swiper;if(M&&M.swiper)S.swiper=M.swiper,init(),update(!0);else if(M){const onThumbsSwiper=C=>{S.swiper=C.detail[0],M.removeEventListener("init",onThumbsSwiper),init(),update(!0),S.swiper.update(),k.update()};M.addEventListener("init",onThumbsSwiper)}return M},watchForThumbsToAppear=()=>{if(k.destroyed)return;getThumbsElementAndInit()||requestAnimationFrame(watchForThumbsToAppear)};requestAnimationFrame(watchForThumbsToAppear)}else init(),update(!0)})),M("slideChange update resize observerUpdate",(()=>{update()})),M("setTransition",((S,C)=>{const M=k.thumbs.swiper;M&&!M.destroyed&&M.setTransition(C)})),M("beforeDestroy",(()=>{const S=k.thumbs.swiper;S&&!S.destroyed&&O&&S.destroy()})),Object.assign(k.thumbs,{"init":init,"update":update})},function freeMode(S){let{"swiper":k,"extendParams":C,"emit":M,"once":P}=S;C({"freeMode":{"enabled":!1,"momentum":!0,"momentumRatio":1,"momentumBounce":!0,"momentumBounceRatio":1,"momentumVelocityRatio":1,"sticky":!1,"minimumVelocity":.02}}),Object.assign(k,{"freeMode":{"onTouchStart":function onTouchStart(){if(k.params.cssMode)return;const S=k.getTranslate();k.setTranslate(S),k.setTransition(0),k.touchEventsData.velocities.length=0,k.freeMode.onTouchEnd({"currentPos":k.rtl?k.translate:-k.translate})},"onTouchMove":function onTouchMove(){if(k.params.cssMode)return;const{"touchEventsData":S,"touches":C}=k;0===S.velocities.length&&S.velocities.push({"position":C[k.isHorizontal()?"startX":"startY"],"time":S.touchStartTime}),S.velocities.push({"position":C[k.isHorizontal()?"currentX":"currentY"],"time":now()})},"onTouchEnd":function onTouchEnd(S){let{"currentPos":C}=S;if(k.params.cssMode)return;const{"params":O,"wrapperEl":D,"rtlTranslate":re,"snapGrid":ne,"touchEventsData":se}=k,oe=now()-se.touchStartTime;if(C<-k.minTranslate())k.slideTo(k.activeIndex);else if(C>-k.maxTranslate())k.slides.length1){const S=se.velocities.pop(),C=se.velocities.pop(),M=S.position-C.position,P=S.time-C.time;k.velocity=M/P,k.velocity/=2,Math.abs(k.velocity)150||now()-S.time>300)&&(k.velocity=0)}else k.velocity=0;k.velocity*=O.freeMode.momentumVelocityRatio,se.velocities.length=0;let S=1e3*O.freeMode.momentumRatio;const C=k.velocity*S;let oe=k.translate+C;re&&(oe=-oe);let de,ue=!1;const pe=20*Math.abs(k.velocity)*O.freeMode.momentumBounceRatio;let he;if(oek.minTranslate())O.freeMode.momentumBounce?(oe-k.minTranslate()>pe&&(oe=k.minTranslate()+pe),de=k.minTranslate(),ue=!0,se.allowMomentumBounce=!0):oe=k.minTranslate(),O.loop&&O.centeredSlides&&(he=!0);else if(O.freeMode.sticky){let S;for(let k=0;k-oe){S=k;break}oe=Math.abs(ne[S]-oe){k.loopFix()})),0!==k.velocity){if(S=re?Math.abs((-oe-k.translate)/k.velocity):Math.abs((oe-k.translate)/k.velocity),O.freeMode.sticky){const C=Math.abs((re?-oe:oe)-k.translate),M=k.slidesSizesGrid[k.activeIndex];S=C{k&&!k.destroyed&&se.allowMomentumBounce&&(M("momentumBounce"),k.setTransition(O.speed),setTimeout((()=>{k.setTranslate(de),elementTransitionEnd(D,(()=>{k&&!k.destroyed&&k.transitionEnd()}))}),0))}))):k.velocity?(M("_freeModeNoMomentumRelease"),k.updateProgress(oe),k.setTransition(S),k.setTranslate(oe),k.transitionStart(!0,k.swipeDirection),k.animating||(k.animating=!0,elementTransitionEnd(D,(()=>{k&&!k.destroyed&&k.transitionEnd()})))):k.updateProgress(oe),k.updateActiveIndex(),k.updateSlidesClasses()}else{if(O.freeMode.sticky)return void k.slideToClosest();O.freeMode&&M("_freeModeNoMomentumRelease")}(!O.freeMode.momentum||oe>=O.longSwipesMs)&&(M("_freeModeStaticRelease"),k.updateProgress(),k.updateActiveIndex(),k.updateSlidesClasses())}}}})},function Grid(S){let k,C,M,P,{"swiper":O,"extendParams":D,"on":re}=S;D({"grid":{"rows":1,"fill":"column"}});const getSpaceBetween=()=>{let S=O.params.spaceBetween;return"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*O.size:"string"==typeof S&&(S=parseFloat(S)),S};re("init",(()=>{P=O.params.grid&&O.params.grid.rows>1})),re("update",(()=>{const{"params":S,"el":k}=O,C=S.grid&&S.grid.rows>1;P&&!C?(k.classList.remove(`${S.containerModifierClass}grid`,`${S.containerModifierClass}grid-column`),M=1,O.emitContainerClasses()):!P&&C&&(k.classList.add(`${S.containerModifierClass}grid`),"column"===S.grid.fill&&k.classList.add(`${S.containerModifierClass}grid-column`),O.emitContainerClasses()),P=C})),O.grid={"initSlides":S=>{const{"slidesPerView":P}=O.params,{"rows":D,"fill":re}=O.params.grid,ne=O.virtual&&O.params.virtual.enabled?O.virtual.slides.length:S.length;M=Math.floor(ne/D),k=Math.floor(ne/D)===ne/D?ne:Math.ceil(ne/D)*D,"auto"!==P&&"row"===re&&(k=Math.max(k,P*D)),C=k/D},"unsetSlides":()=>{O.slides&&O.slides.forEach((S=>{S.swiperSlideGridSet&&(S.style.height="",S.style[O.getDirectionLabel("margin-top")]="")}))},"updateSlide":(S,P,D)=>{const{"slidesPerGroup":re}=O.params,ne=getSpaceBetween(),{"rows":se,"fill":oe}=O.params.grid,de=O.virtual&&O.params.virtual.enabled?O.virtual.slides.length:D.length;let ue,pe,he;if("row"===oe&&re>1){const C=Math.floor(S/(re*se)),M=S-se*re*C,O=0===C?re:Math.min(Math.ceil((de-C*se*re)/se),re);he=Math.floor(M/O),pe=M-he*O+C*re,ue=pe+he*k/se,P.style.order=ue}else"column"===oe?(pe=Math.floor(S/se),he=S-pe*se,(pe>M||pe===M&&he===se-1)&&(he+=1,he>=se&&(he=0,pe+=1))):(he=Math.floor(S/C),pe=S-he*C);P.row=he,P.column=pe,P.style.height=`calc((100% - ${(se-1)*ne}px) / ${se})`,P.style[O.getDirectionLabel("margin-top")]=0!==he?ne&&`${ne}px`:"",P.swiperSlideGridSet=!0},"updateWrapperSize":(S,C)=>{const{"centeredSlides":M,"roundLengths":P}=O.params,D=getSpaceBetween(),{"rows":re}=O.params.grid;if(O.virtualSize=(S+D)*k,O.virtualSize=Math.ceil(O.virtualSize/re)-D,O.params.cssMode||(O.wrapperEl.style[O.getDirectionLabel("width")]=`${O.virtualSize+D}px`),M){const S=[];for(let k=0;k{const{"slides":S}=k;k.params.fadeEffect;for(let C=0;C{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C,"allSlides":!0})},"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!k.params.cssMode})})},function EffectCube(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"cubeEffect":{"slideShadows":!0,"shadow":!0,"shadowOffset":20,"shadowScale":.94}});const createSlideShadows=(S,k,C)=>{let M=C?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),P=C?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");M||(M=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(C?"left":"top")).split(" ")),S.append(M)),P||(P=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(C?"right":"bottom")).split(" ")),S.append(P)),M&&(M.style.opacity=Math.max(-k,0)),P&&(P.style.opacity=Math.max(k,0))};effectInit({"effect":"cube","swiper":k,"on":M,"setTranslate":()=>{const{"el":S,"wrapperEl":C,"slides":M,"width":P,"height":O,"rtlTranslate":D,"size":re,"browser":ne}=k,se=k.params.cubeEffect,oe=k.isHorizontal(),de=k.virtual&&k.params.virtual.enabled;let ue,pe=0;se.shadow&&(oe?(ue=k.wrapperEl.querySelector(".swiper-cube-shadow"),ue||(ue=createElement("div","swiper-cube-shadow"),k.wrapperEl.append(ue)),ue.style.height=`${P}px`):(ue=S.querySelector(".swiper-cube-shadow"),ue||(ue=createElement("div","swiper-cube-shadow"),S.append(ue))));for(let S=0;S-1&&(pe=90*P+90*ue,D&&(pe=90*-P-90*ue),k.browser&&k.browser.need3dFix&&Math.abs(pe)/90%2==1&&(pe+=.001)),C.style.transform=ge,se.slideShadows&&createSlideShadows(C,ue,oe)}if(C.style.transformOrigin=`50% 50% -${re/2}px`,C.style["-webkit-transform-origin"]=`50% 50% -${re/2}px`,se.shadow)if(oe)ue.style.transform=`translate3d(0px, ${P/2+se.shadowOffset}px, ${-P/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${se.shadowScale})`;else{const S=Math.abs(pe)-90*Math.floor(Math.abs(pe)/90),k=1.5-(Math.sin(2*S*Math.PI/360)/2+Math.cos(2*S*Math.PI/360)/2),C=se.shadowScale,M=se.shadowScale/k,P=se.shadowOffset;ue.style.transform=`scale3d(${C}, 1, ${M}) translate3d(0px, ${O/2+P}px, ${-O/2/M}px) rotateX(-89.99deg)`}const he=(ne.isSafari||ne.isWebView)&&ne.needPerspectiveFix?-re/2:0;C.style.transform=`translate3d(0px,0,${he}px) rotateX(${k.isHorizontal()?0:pe}deg) rotateY(${k.isHorizontal()?-pe:0}deg)`,C.style.setProperty("--swiper-cube-translate-z",`${he}px`)},"setTransition":S=>{const{"el":C,"slides":M}=k;if(M.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),k.params.cubeEffect.shadow&&!k.isHorizontal()){const k=C.querySelector(".swiper-cube-shadow");k&&(k.style.transitionDuration=`${S}ms`)}},"recreateShadows":()=>{const S=k.isHorizontal();k.slides.forEach((k=>{const C=Math.max(Math.min(k.progress,1),-1);createSlideShadows(k,C,S)}))},"getEffectParams":()=>k.params.cubeEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"resistanceRatio":0,"spaceBetween":0,"centeredSlides":!1,"virtualTranslate":!0})})},function EffectFlip(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"flipEffect":{"slideShadows":!0,"limitRotation":!0}});const createSlideShadows=(S,C)=>{let M=k.isHorizontal()?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),P=k.isHorizontal()?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");M||(M=createShadow("flip",S,k.isHorizontal()?"left":"top")),P||(P=createShadow("flip",S,k.isHorizontal()?"right":"bottom")),M&&(M.style.opacity=Math.max(-C,0)),P&&(P.style.opacity=Math.max(C,0))};effectInit({"effect":"flip","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"rtlTranslate":C}=k,M=k.params.flipEffect;for(let P=0;P{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C})},"recreateShadows":()=>{k.params.flipEffect,k.slides.forEach((S=>{let C=S.progress;k.params.flipEffect.limitRotation&&(C=Math.max(Math.min(S.progress,1),-1)),createSlideShadows(S,C)}))},"getEffectParams":()=>k.params.flipEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!k.params.cssMode})})},function EffectCoverflow(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"coverflowEffect":{"rotate":50,"stretch":0,"depth":100,"scale":1,"modifier":1,"slideShadows":!0}}),effectInit({"effect":"coverflow","swiper":k,"on":M,"setTranslate":()=>{const{"width":S,"height":C,"slides":M,"slidesSizesGrid":P}=k,O=k.params.coverflowEffect,D=k.isHorizontal(),re=k.translate,ne=D?S/2-re:C/2-re,se=D?O.rotate:-O.rotate,oe=O.depth;for(let S=0,C=M.length;S0?ue:0),k&&(k.style.opacity=-ue>0?-ue:0)}}},"setTransition":S=>{k.slides.map((S=>getSlideTransformEl(S))).forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))}))},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0})})},function EffectCreative(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"creativeEffect":{"limitProgress":1,"shadowPerProgress":!1,"progressMultiplier":1,"perspective":!0,"prev":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1},"next":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1}}});const getTranslateValue=S=>"string"==typeof S?S:`${S}px`;effectInit({"effect":"creative","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"wrapperEl":C,"slidesSizesGrid":M}=k,P=k.params.creativeEffect,{"progressMultiplier":O}=P,D=k.params.centeredSlides;if(D){const S=M[0]/2-k.params.slidesOffsetBefore||0;C.style.transform=`translateX(calc(50% - ${S}px))`}for(let C=0;C0&&(he=P.prev,pe=!0),de.forEach(((S,k)=>{de[k]=`calc(${S}px + (${getTranslateValue(he.translate[k])} * ${Math.abs(ne*O)}))`})),ue.forEach(((S,C)=>{let M=he.rotate[C]*Math.abs(ne*O);k.browser&&k.browser.need3dFix&&Math.abs(M)/90%2==1&&(M+=.001),ue[C]=M})),M.style.zIndex=-Math.abs(Math.round(re))+S.length;const fe=de.join(", "),me=`rotateX(${ue[0]}deg) rotateY(${ue[1]}deg) rotateZ(${ue[2]}deg)`,ge=se<0?`scale(${1+(1-he.scale)*se*O})`:`scale(${1-(1-he.scale)*se*O})`,be=se<0?1+(1-he.opacity)*se*O:1-(1-he.opacity)*se*O,ve=`translate3d(${fe}) ${me} ${ge}`;if(pe&&he.shadow||!pe){let S=M.querySelector(".swiper-slide-shadow");if(!S&&he.shadow&&(S=createShadow("creative",M)),S){const k=P.shadowPerProgress?ne*(1/P.limitProgress):ne;S.style.opacity=Math.min(Math.max(Math.abs(k),0),1)}}const ye=effectTarget(0,M);ye.style.transform=ve,ye.style.opacity=be,he.origin&&(ye.style.transformOrigin=he.origin)}},"setTransition":S=>{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C,"allSlides":!0})},"perspective":()=>k.params.creativeEffect.perspective,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!k.params.cssMode})})},function EffectCards(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"cardsEffect":{"slideShadows":!0,"rotate":!0,"perSlideRotate":2,"perSlideOffset":8}}),effectInit({"effect":"cards","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"activeIndex":C,"rtlTranslate":M}=k,P=k.params.cardsEffect,{"startTranslate":O,"isTouched":D}=k.touchEventsData,re=M?-k.translate:k.translate;for(let ne=0;ne0&&de<1&&(D||k.params.cssMode)&&re-1&&(D||k.params.cssMode)&&re>O;if(ye||Ee){const S=(1-Math.abs((Math.abs(de)-.5)/.5))**.5;ge+=-28*de*S,me+=-.5*S,be+=96*S,he=-25*S*Math.abs(de)+"%"}if(pe=de<0?`calc(${pe}px ${M?"-":"+"} (${be*Math.abs(de)}%))`:de>0?`calc(${pe}px ${M?"-":"+"} (-${be*Math.abs(de)}%))`:`${pe}px`,!k.isHorizontal()){const S=he;he=pe,pe=S}const Ae=de<0?""+(1+(1-me)*de):""+(1-(1-me)*de),ke=`\n translate3d(${pe}, ${he}, ${fe}px)\n rotateZ(${P.rotate?M?-ge:ge:0}deg)\n scale(${Ae})\n `;if(P.slideShadows){let S=se.querySelector(".swiper-slide-shadow");S||(S=createShadow("cards",se)),S&&(S.style.opacity=Math.min(Math.max((Math.abs(de)-.5)/.5,0),1))}se.style.zIndex=-Math.abs(Math.round(oe))+S.length;effectTarget(0,se).style.transform=ke}},"setTransition":S=>{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C})},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!k.params.cssMode})})}];Swiper.use(ge);var be=C(6585);var ve,ye,Ee,Ae,ke,__classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)},__classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C};let Te=0;const _e=(0,M.GH)(class extends M.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,M.yM)(this,"change",7),this.onAnimationFinish=(0,M.yM)(this,"animationfinish",7),ve.set(this,Te++),ye.set(this,"autoplay"),Ee.set(this,!1),Ae.set(this,!1),ke.set(this,0),this.handleSwiperSizeDebounce=(0,be.d)((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?__classPrivateFieldGet(this,Ae,"f")&&(this.reset(),__classPrivateFieldSet(this,Ae,!1,"f"),__classPrivateFieldSet(this,Ee,!1,"f")):(this.swiper.update(),__classPrivateFieldSet(this,Ee,!1,"f")))}),50),this.reset=()=>{__classPrivateFieldSet(this,Ee,!0,"f"),__classPrivateFieldSet(this,ke,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),__classPrivateFieldSet(this,Ee,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const S=this.parseMargin().filter(Boolean).length>0;return this.circular&&S},this.parseMargin=()=>{const[,S]=/^(\d+)px/.exec(this.previousMargin)||[],[,k]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(S)||0,parseInt(k)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}"watchCurrent"(S){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const k=parseInt(S,10);isNaN(k)||k===this.swiper.realIndex||(__classPrivateFieldSet(this,ye,"","f"),this.circular?(this.swiper.slideToLoop(k),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(k))}"watchCurrentItemId"(S){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let k=0;this.getSlidersList().forEach(((C,M)=>{C.getAttribute("item-id")===S&&(k=this.circular?Number(C.getAttribute("data-swiper-slide-index")):M)})),k!==this.swiper.realIndex&&(__classPrivateFieldSet(this,ye,"","f"),this.circular?(this.swiper.slideToLoop(k),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(k))}"watchAutoplay"(S){if(!this.isWillLoadCalled||!this.swiper)return;const k=this.swiper.autoplay;if(k){if(k.running===S)return;S?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),k.start()):k.stop()}}"watchDuration"(S){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=S)}"watchInterval"(S){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=S)}"watchSwiperWrapper"(S){if(!this.isWillLoadCalled||!this.swiper)return;if(!S)return;const beforeDomOperation=()=>{__classPrivateFieldSet(this,Ae,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=k=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.appendChild(k)),this.el.insertBefore=(k,C)=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.insertBefore(k,C)),this.el.replaceChild=(k,C)=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.replaceChild(k,C)),this.el.removeChild=k=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.removeChild(k))}"watchCircular"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"watchDisplayMultipleItems"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{"childList":!0}))}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"handleInit"(S=!1){const{"autoplay":k,"circular":C,"current":M,"currentItemId":P,"displayMultipleItems":O,"duration":D,"interval":re,"effectsProps":ne,"vertical":se}=this;let oe=M;if(S)oe=__classPrivateFieldGet(this,ke,"f");else if(P){let S=0;this.getSlidersList().forEach(((k,C)=>{k.itemId&&k.itemId===P&&(S=C)})),oe=S}const de=this.getLoopAdditionalSlides(),ue=1===O&&this.getNeedFixLoop(),pe=1===O?"auto":O,he=this,fe=Object.assign(Object.assign({"pagination":{"el":`.taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination`},"direction":se?"vertical":"horizontal","loop":C,"slidesPerView":pe,"initialSlide":oe,"loopAdditionalSlides":de,"speed":D,"observeParents":!0,"observer":!0,"centeredSlides":ue,"zoom":this.zoom,"nested":!0},ne),{"on":{"transitionEnd"(S){if(__classPrivateFieldGet(he,Ee,"f")||__classPrivateFieldGet(he,ke,"f")===this.realIndex)return;__classPrivateFieldSet(he,ke,this.realIndex,"f"),he.getNeedFixLoop()&&S.loopFix(),he.autoplay&&S.autoplay.start();const k=he.getCurrentItemId(S);he.onAnimationFinish.emit({"current":this.realIndex,"source":__classPrivateFieldGet(he,ye,"f"),"currentItemId":k}),__classPrivateFieldSet(he,ye,"autoplay","f")},"touchMove"(){__classPrivateFieldSet(he,ye,"touch","f")},"slideChange"(S){if(__classPrivateFieldGet(he,Ee,"f")||__classPrivateFieldGet(he,ke,"f")===this.realIndex)return;const k=he.getCurrentItemId(S);he.onChange.emit({"current":this.realIndex,"source":__classPrivateFieldGet(he,ye,"f"),"currentItemId":k})},"init":S=>{he.getNeedFixLoop()&&S.loopFix(),he.autoplay&&S.autoplay.start()},"touchEnd":S=>{__classPrivateFieldSet(he,ye,"touch","f"),he.autoplay&&S.autoplay.start()},"touchStart":S=>{__classPrivateFieldSet(he,ye,"touch","f"),he.autoplay&&S.autoplay.pause()},"autoplay"(S){S.animating=!1,__classPrivateFieldSet(he,ye,"autoplay","f")}}});if(k&&(fe.autoplay={"delay":re,"disableOnInteraction":!1}),this.swiper=new Swiper(`.taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container`,fe),this.getNeedFixLoop()){const S=this.swiper.minTranslate.bind(this.swiper),k=this.swiper.maxTranslate.bind(this.swiper);ue&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>S()+this.parseMargin()[1],this.swiper.maxTranslate=()=>k()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>S()-this.parseMargin()[0],this.swiper.maxTranslate=()=>k()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}"getLoopAdditionalSlides"(){const S=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||S<5?0:S<=7?1:2}"getCurrentItemId"(S){return S.slides[S.activeIndex].getAttribute("item-id")}"render"(){const{"vertical":S,"indicatorDots":k,"indicatorColor":C,"indicatorActiveColor":P}=this,[O,D]=this.parseMargin(),re=["overflow: visible;",S?`margin-top: ${O}px; margin-bottom: ${D}px;`:`margin-right: ${D}px; margin-left: ${O}px;`,this.full?"height: 100%;":""],ne=[k?"opacity: 1;":"display: none;","font-size: 0;"],se={"overflow":"hidden"};return this.full&&(se.height="100%"),(0,M.h)(M.AA,{"class":`taro-swiper-${__classPrivateFieldGet(this,ve,"f")}`,"style":se},(0,M.h)("div",{"class":"swiper-container"},(0,M.h)("style",{"type":"text/css"},`\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${C} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${P} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container { ${re.join("")} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination { ${ne.join("")} }\n `),(0,M.h)("div",{"class":"swiper-wrapper"},(0,M.h)("slot",null)),(0,M.h)("div",{"class":"swiper-pagination"})))}get"el"(){return this}static get"watchers"(){return{"current":["watchCurrent"],"currentItemId":["watchCurrentItemId"],"autoplay":["watchAutoplay"],"duration":["watchDuration"],"interval":["watchInterval"],"swiperWrapper":["watchSwiperWrapper"],"circular":["watchCircular"],"displayMultipleItems":["watchDisplayMultipleItems"]}}static get"style"(){return"@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-webkit-transform-origin:center;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;-ms-touch-action:none;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;-webkit-transition-property:opacity,height,-webkit-transform;transition-property:opacity,height,-webkit-transform;transition-property:transform,opacity,height;transition-property:transform,opacity,height,-webkit-transform}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}"}},[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}]);ve=new WeakMap,ye=new WeakMap,Ee=new WeakMap,Ae=new WeakMap,ke=new WeakMap;const Me=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-core"].forEach((S=>{if("taro-swiper-core"===S)customElements.get(S)||customElements.define(S,_e)}))}},"8028":function(S,k,C){"use strict";C.d(k,{"M":function(){return re}});var M=C(7210),P=C(7109),O=C(1789);const D=(0,M.GH)(class extends M.mv{"constructor"(){super(),this.__registerHost(),this.itemId=void 0}"connectedCallback"(){this.el.className=(0,P.c)(this.el.className,"swiper-slide")}"componentDidRender"(){(0,O.h)(this.el)}"render"(){return(0,M.h)(M.AA,{"item-id":this.itemId},(0,M.h)("slot",null))}get"el"(){return this}},[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]);const re=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-item-core"].forEach((S=>{if("taro-swiper-item-core"===S)customElements.get(S)||customElements.define(S,D)}))}},"4385":function(S,k,C){"use strict";C.d(k,{"zx":function(){return Mt},"V1":function(){return Pt},"XZ":function(){return Ot},"cO":function(){return It},"l0":function(){return Lt},"JO":function(){return jt},"Ee":function(){return Dt},"II":function(){return zt},"__":function(){return Rt},"ub":function(){return Bt},"Gt":function(){return Ft},"C3":function(){return Nt},"_z":function(){return Ht},"cW":function(){return Gt},"Nf":function(){return Vt},"$o":function(){return Yt},"Ex":function(){return Wt},"Y8":function(){return $t},"FX":function(){return qt},"Ho":function(){return Xt},"pf":function(){return Ut},"iR":function(){return Zt},"tq":function(){return Kt},"t3":function(){return Qt},"rs":function(){return Jt},"xv":function(){return ei},"gx":function(){return ti},"nk":function(){return ii},"G7":function(){return ri},"kh":function(){return ai}});var M=C(7294);const helper_manipulatePropsFunction=(S,k={})=>{const{"dangerouslySetInnerHTML":C,"style":M}=S;return"string"!=typeof M&&(k.style=M),Object.assign(Object.assign({},k),{"dangerouslySetInnerHTML":C})};var P=C(7210),O=C(7109);const D=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,P.yM)(this,"tarobuttonsubmit",7),this.onReset=(0,P.yM)(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}"onClick"(S){this.disabled&&S.stopPropagation()}"onTouchStart"(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}"onTouchEnd"(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}"render"(){const{"disabled":S,"hoverClass":k,"type":C,"size":M,"plain":D,"loading":re,"hover":ne}=this,se=(0,O.c)({[`${k}`]:ne&&!S});return(0,P.h)(P.AA,{"class":se,"type":C,"plain":D,"loading":re,"size":M,"disabled":S},re&&(0,P.h)("i",{"class":"weui-loading"}),(0,P.h)("slot",null))}get"el"(){return this}static get"style"(){return".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}"}},[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const re=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-button-core"].forEach((S=>{if("taro-button-core"===S)customElements.get(S)||customElements.define(S,D)}))};var ne=C(1789);const se=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,ne.n)("Camera",this)}"render"(){return(0,P.h)(P.AA,null)}},[0,"taro-camera-core"]);const oe=function taro_camera_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-camera-core"].forEach((S=>{if("taro-camera-core"===S)customElements.get(S)||customElements.define(S,se)}))},de=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"checkboxchange",7),this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchId"(S){this.isWillLoadCalled&&S&&this.inputEl.setAttribute("id",S)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"render"(){const{"checked":S,"name":k,"color":C,"value":M,"disabled":O,"nativeProps":D}=this;return(0,P.h)(P.AA,{"className":"weui-cells_checkbox"},(0,P.h)("input",Object.assign({"ref":S=>{S&&(this.inputEl=S,this.id&&S.setAttribute("id",this.id))},"type":"checkbox","value":M,"name":k,"class":"taro-checkbox_checked","style":{"color":C},"checked":S,"disabled":O,"onChange":this.handleChange},D)),(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"id":["watchId"]}}static get"style"(){return'page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}'}},[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ue=function taro_checkbox_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-core"].forEach((S=>{if("taro-checkbox-core"===S)customElements.get(S)||customElements.define(S,de)}))};var pe,__classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},__classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const he=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),pe.set(this,void 0),this.name=void 0}"function"(S){if(S.stopPropagation(),"TARO-CHECKBOX-CORE"!==S.target.tagName)return;const k=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,pe,this.getValues(k),"f"),this.onChange.emit({"value":__classPrivateFieldGet(this,pe,"f")})}"componentDidLoad"(){this.el.querySelectorAll("taro-checkbox-core").forEach((S=>{S.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!__classPrivateFieldGet(this,pe,"f")){const S=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,pe,this.getValues(S),"f")}return __classPrivateFieldGet(this,pe,"f")},"configurable":!0})}"getValues"(S){return Array.from(S).filter((S=>{const k=S.querySelector("input");return null==k?void 0:k.checked})).map((S=>S.value))}"render"(){return(0,P.h)(P.AA,null)}get"el"(){return this}},[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]);pe=new WeakMap;const fe=function taro_checkbox_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-group-core"].forEach((S=>{if("taro-checkbox-group-core"===S)customElements.get(S)||customElements.define(S,he)}))};var me,taro_form_core_classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},taro_form_core_classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const ge=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,P.yM)(this,"submit",7),me.set(this,{})}"onButtonSubmit"(S){S.stopPropagation(),taro_form_core_classPrivateFieldSet(this,me,this.getFormValue(),"f"),this.onSubmit.emit({"value":taro_form_core_classPrivateFieldGet(this,me,"f")})}"onButtonReset"(S){S.stopPropagation(),this.form.reset()}"componentDidLoad"(){taro_form_core_classPrivateFieldSet(this,me,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{"get":()=>taro_form_core_classPrivateFieldGet(this,me,"f"),"configurable":!0})}"componentDidRender"(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=S=>this.form.appendChild(S),this.el.insertBefore=(S,k)=>this.form.insertBefore(S,k),this.el.replaceChild=(S,k)=>this.form.replaceChild(S,k),this.el.removeChild=S=>this.form.removeChild(S)}"getFormValue"(){const S=this.el,k=[],C=S.getElementsByTagName("input");for(let S=0;S{"string"==typeof S.name&&(-1===S.className.indexOf("weui-switch")?"radio"!==S.type?"checkbox"!==S.type?M[S.name]=S.value:S.checked?P[S.name]?M[S.name].push(S.value):(P[S.name]=!0,M[S.name]=[S.value]):P[S.name]||(M[S.name]=[]):S.checked?(P[S.name]=!0,M[S.name]=S.value):P[S.name]||(M[S.name]=""):M[S.name]=S.checked)}));const O=S.getElementsByTagName("textarea"),D=[];for(let S=0;S{"string"==typeof S.name&&(M[S.name]=S.value)})),M}"render"(){return(0,P.h)("form",{"ref":S=>{this.form=S}},(0,P.h)("slot",null))}get"el"(){return this}},[4,"taro-form-core",void 0,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]);me=new WeakMap;const be=function taro_form_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-form-core"].forEach((S=>{if("taro-form-core"===S)customElements.get(S)||customElements.define(S,ge)}))},ve=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.type=void 0,this.size="23",this.color=void 0}"render"(){const{"type":S,"size":k,"color":C}=this,M=null==S?void 0:S.replace(/_/g,"-"),D=(0,O.c)({[`weui-icon-${M}`]:!0}),re={"font-size":`${k}px`,"color":C};return(0,P.h)(P.AA,{"class":D,"style":re})}static get"style"(){return'.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}'}},[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]);const ye=function taro_icon_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-icon-core"].forEach((S=>{if("taro-icon-core"===S)customElements.get(S)||customElements.define(S,ve)}))},Ee=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,P.yM)(this,"load",7),this.onError=(0,P.yM)(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}"componentDidLoad"(){if(!this.lazyLoad)return;const S=new IntersectionObserver((k=>{k[k.length-1].isIntersecting&&(S.unobserve(this.imgRef),this.didLoad=!0)}),{"rootMargin":"300px 0px"});S.observe(this.imgRef)}"imageOnLoad"(){const{"width":S,"height":k,"naturalWidth":C,"naturalHeight":M}=this.imgRef;this.onLoad.emit({"width":S,"height":k}),this.aspectFillMode=C>M?"width":"height"}"imageOnError"(S){this.onError.emit(S)}"render"(){const{"src":S,"lazyLoad":k=!1,"aspectFillMode":C="width","imageOnLoad":M,"imageOnError":D,"nativeProps":re,"didLoad":ne}=this,se=this.mode||"scaleToFill",oe=(0,O.c)({"taro-img__widthfix":"widthFix"===se}),de=(0,O.c)(`taro-img__mode-${se.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${C}`]:"aspectFill"===se});return(0,P.h)(P.AA,{"class":oe},S?(0,P.h)("img",Object.assign({"ref":S=>this.imgRef=S,"class":de,"src":k&&!ne?void 0:S,"onLoad":M.bind(this),"onError":D.bind(this)},re)):"")}static get"style"(){return'img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}'}},[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]);const Ae=function taro_image_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-image-core"].forEach((S=>{if("taro-image-core"===S)customElements.get(S)||customElements.define(S,Ee)}))};function getTrueType(S,k,C){if("search"===k&&(S="search"),C&&(S="password"),void 0===S)return"text";if(!S)throw new Error("unexpected type");return"digit"===S&&(S="number"),S}function fixControlledValue(S){return null!=S?S:""}const ke=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,P.yM)(this,"input",7),this.onPaste=(0,P.yM)(this,"paste",7),this.onFocus=(0,P.yM)(this,"focus",7),this.onBlur=(0,P.yM)(this,"blur",7),this.onConfirm=(0,P.yM)(this,"confirm",7),this.onChange=(0,P.yM)(this,"change",7),this.onKeyDown=(0,P.yM)(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.handleInput=S=>{S.stopPropagation();const{"type":k,"maxlength":C,"confirmType":M,"password":P}=this;if(!this.isOnComposition&&!this.onInputExcuted){let O=S.target.value;const D=getTrueType(k,M,P);this.onInputExcuted=!0,"number"===D&&O&&C>-1&&C<=O.length&&(O=O.substring(0,C),S.target.value=O),this.value=O,this.onInput.emit({"value":O,"cursor":O.length}),this.onInputExcuted=!1}},this.handlePaste=S=>{S.stopPropagation(),this.isOnPaste=!0,this.onPaste.emit({"value":S.target.value})},this.handleFocus=S=>{S.stopPropagation(),this.onInputExcuted=!1,this.onFocus.emit({"value":S.target.value})},this.handleBlur=S=>{S.stopPropagation(),this.onBlur.emit({"value":S.target.value})},this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":S.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=S.target.value,this.onInput.emit({"value":S.target.value,"cursor":S.target.value.length}))},this.handleKeyDown=S=>{S.stopPropagation();const{"value":k}=S.target,C=S.keyCode||S.code;this.onInputExcuted=!1,this.onKeyDown.emit({"value":k,"cursor":k.length,"keyCode":C}),13===C&&this.onConfirm.emit({"value":k})},this.handleComposition=S=>{S.stopPropagation(),S.target instanceof HTMLInputElement&&("compositionend"===S.type?(this.isOnComposition=!1,this.value=S.target.value,this.onInput.emit({"value":S.target.value,"cursor":S.target.value.length})):this.isOnComposition=!0)},this.handleBeforeInput=S=>{if(!S.data)return;const k=S.data&&/[0-9]/.test(S.data);"number"!==this.type||k||S.preventDefault(),"digit"!==this.type||k||("."!==S.data||"."===S.data&&S.target.value.indexOf(".")>-1)&&S.preventDefault()},this.value="",this.type=void 0,this.password=!1,this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.name=void 0,this.nativeProps={}}async"focus"(){this.inputRef.focus()}"watchAutoFocus"(S,k){var C;!k&&S&&(null===(C=this.inputRef)||void 0===C||C.focus())}"watchValue"(S){const k=fixControlledValue(S);this.inputRef.value!==k&&(this.inputRef.value=k)}"componentDidLoad"(){var S,k,C,M,P;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(S=this.inputRef)||void 0===S||S.addEventListener("change",this.fileListener)):(null===(k=this.inputRef)||void 0===k||k.addEventListener("compositionstart",this.handleComposition),null===(C=this.inputRef)||void 0===C||C.addEventListener("compositionend",this.handleComposition),null===(M=this.inputRef)||void 0===M||M.addEventListener("beforeinput",this.handleBeforeInput),null===(P=this.inputRef)||void 0===P||P.addEventListener("textInput",this.handleBeforeInput))}"disconnectedCallback"(){var S,k,C,M,P;"file"===this.type?null===(S=this.inputRef)||void 0===S||S.removeEventListener("change",this.fileListener):(null===(k=this.inputRef)||void 0===k||k.removeEventListener("compositionstart",this.handleComposition),null===(C=this.inputRef)||void 0===C||C.removeEventListener("compositionend",this.handleComposition),null===(M=this.inputRef)||void 0===M||M.removeEventListener("beforeinput",this.handleBeforeInput),null===(P=this.inputRef)||void 0===P||P.removeEventListener("textInput",this.handleBeforeInput))}"render"(){const{"value":S,"type":k,"password":C,"placeholder":M,"autoFocus":O,"disabled":D,"maxlength":re,"confirmType":ne,"name":se,"nativeProps":oe}=this;return(0,P.h)("input",Object.assign({"ref":S=>{this.inputRef=S,O&&S&&S.focus()},"class":"weui-input","type":getTrueType(k,ne,C),"placeholder":M,"autoFocus":O,"disabled":D,"maxlength":re,"name":se,"onInput":this.handleInput,"onFocus":this.handleFocus,"onBlur":this.handleBlur,"onChange":this.handleChange,"onKeyDown":this.handleKeyDown,"onPaste":this.handlePaste,"onCompositionStart":this.handleComposition,"onCompositionEnd":this.handleComposition},oe,{"value":fixControlledValue(S)}))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}"}},[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]);const Te=function taro_input_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-input-core"].forEach((S=>{if("taro-input-core"===S)customElements.get(S)||customElements.define(S,ke)}))},_e=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.for=void 0}"render"(){return(0,P.h)("label",{"htmlFor":this.for},(0,P.h)("slot",null))}},[4,"taro-label-core",{"for":[1]}]);const Me=function taro_label_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-label-core"].forEach((S=>{if("taro-label-core"===S)customElements.get(S)||customElements.define(S,_e)}))};var Pe=C(6585);const Oe=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const S=this.element.querySelectorAll("taro-movable-view-core");Array.from(S).forEach((S=>{this.views.push(S)})),this.updateArea()},this.handleTouchStart=S=>{const k=S.touches;if(!k||k.length<=1)return;const C=k[1].pageX-k[0].pageX,M=k[1].pageY-k[0].pageY;if(this.scaleLength=Math.sqrt(C*C+M*M),this.scaleArea)return;const find=(S,k)=>{const loop=(S,k)=>!!(S=S.parentNode)&&((!(0,Pe.i)(S)||S!==document.body)&&(S===k||S===k.element||S.element===k||loop(S,k)));for(let C=0;C{const k=S.touches;if(!k||k.length<=1)return;S.preventDefault();const C=k[1].pageX-k[0].pageX,M=k[1].pageY-k[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(C*C+M*M)/this.scaleLength)},this.handleTouchEnd=S=>{var k,C;S.touches&&S.touches.length||!S.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((S=>{var k;null===(k=S.endScale)||void 0===k||k.call(S)})):null===(C=null===(k=this.scaleTarget)||void 0===k?void 0:k.endScale)||void 0===C||C.call(k),this.scaleTarget=void 0)},this.updateScale=S=>{var k,C;S&&1!==S&&(this.scaleArea?this.views.forEach((k=>{var C;null===(C=k.setScale)||void 0===C||C.call(k,S)})):null===(C=null===(k=this.scaleTarget)||void 0===k?void 0:k.setScale)||void 0===C||C.call(k,S))},this.updateArea=()=>{const S=window.getComputedStyle(this.element),k=this.element.getBoundingClientRect(),C=["Left","Right"].map((k=>parseFloat(S["border"+k+"Width"])+parseFloat(S["padding"+k]))),M=["Top","Bottom"].map((k=>parseFloat(S["border"+k+"Width"])+parseFloat(S["padding"+k])));this.views.forEach((S=>{var P;null===(P=S.setParent)||void 0===P||P.call(S,{"element":this.element,"area":{"height":k.height-M[0]-M[1],"width":k.width-C[0]-C[1]}})}))},this.scaleArea=void 0}"connectedCallback"(){this.observer=new MutationObserver((S=>{S.forEach((S=>{var k,C;if("class"===S.attributeName||"style"===S.attributeName){const S=this.element.offsetWidth,M=this.element.offsetHeight;S===(null===(k=this.offset)||void 0===k?void 0:k.width)&&M===(null===(C=this.offset)||void 0===C?void 0:C.height)||this.updateArea(),this.offset={"width":S,"height":M}}}))})),this.observer.observe(this.element,{"attributes":!0})}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"componentDidLoad"(){this.viewsChanged()}"render"(){return(0,P.h)(P.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"style"(){return"taro-movable-area-core{width:10px;height:10px;display:block;position:relative}"}},[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}]);const Ie=function taro_movable_area_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-area-core"].forEach((S=>{if("taro-movable-area-core"===S)customElements.get(S)||customElements.define(S,Oe)}))},Le=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onScale=(0,P.yM)(this,"scale",7),this.onHTouchMove=(0,P.yM)(this,"htouchmove",7),this.onVTouchMove=(0,P.yM)(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={"x":0,"y":0},this.area={"width":0,"height":0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={"x":0,"y":0},this.scaleOffset={"x":0,"y":0},this.getLimitXY=(S,k)=>{let C=!1;return S>this.maxX?(S=this.maxX,C=!0):Sthis.maxY?(k=this.maxY,C=!0):k{this.animation?(this.setTransform(S,k,C,M,P,O),null==D||D()):this.setTransform(S,k,C,M,P,O)},this.setTransform=(S,k,C,M,P,O)=>{if(S=Number(S.toFixed(1)),k=Number(k.toFixed(1)),C=Number((null!=C?C:this.currentScale).toFixed(3)),!this.outOfBounds){const C=this.getLimitXY(S,k);S=C.x,k=C.y}const subtract=(S,k)=>+((1e3*S-1e3*k)/1e3).toFixed(1),D=subtract(S,this.scaleOffset.x),re=subtract(k,this.scaleOffset.y);this.translateX===S&&this.translateY===k||!P&&this.onChange.emit({"x":D,"y":re,"source":M}),C!==this.currentScale&&O&&this.onScale.emit({"scale":C,"x":D,"y":re});const ne=`translateX(${S}px) translateY(${k}px) translateZ(0px) scale(${C})`;this.element.style.transform=ne,this.element.style.webkitTransform=ne,this.translateX=S,this.translateY=k,this.currentScale=C},this.updateOffset=()=>{const offset=(S,k)=>{if(S===k||!S.offsetParent)return{"left":0,"top":0};const C=offset(S.offsetParent,k);return{"left":S.offsetLeft+C.left,"top":S.offsetTop+C.top}};if(!this.parent)return;const S=offset(this.element,this.parent);this.offset.x=S.left,this.offset.y=S.top},this.updateScaleOffset=(S=this.currentScale)=>{const k=this.element.getBoundingClientRect();this.height=k.height/this.currentScale,this.width=k.width/this.currentScale,this.scaleOffset.x=(this.width*S-this.width)/2,this.scaleOffset.y=(this.height*S-this.height)/2},this.updateBoundary=()=>{const S=0-this.offset.x+this.scaleOffset.x,k=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(S,k),this.maxX=Math.max(S,k);const C=0-this.offset.y+this.scaleOffset.y,M=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(C,M),this.maxY=Math.max(C,M)},this.updateScale=(S,k,C)=>{if(!this.scale)return;const M=this.adjustScale(S);this.updateScaleOffset(M),this.updateBoundary();const{"x":P,"y":O}=this.getLimitXY(this.translateX,this.translateY);k?this.animationTo(P,O,M,"",!0,!0,C):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(P,O,M,"",!0,!0),this.updating=!1})))},this.setOriginScale=S=>{this.originScale=S},this.adjustScale=S=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,S)),this.handleTouchStart=S=>{const k=S.touches;if(this.disabled||k.length>1||!this.element)return;const C=k[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=C.screenX,this.origin.y=C.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=S=>{const k=S.touches;if(this.disabled||!this.element||this.scaling||!this.touching||k.length>1)return;"horizontal"!==this.direction&&S.preventDefault();const C=k[0],M=C.screenX-this.origin.x,P=C.screenY-this.origin.y;if(this.setTransform(this.xMove?M+this.baseX:0,this.yMove?P+this.baseY:0),!this.firstMoveFireEvent){this.firstMoveFireEvent=!0;(Math.abs(M)>Math.abs(P)?this.onHTouchMove:this.onVTouchMove).emit({"originalEvent":S,"bubbles":!1,"capturePhase":!1,"composed":!0,"extraFields":{"touches":S.touches||{},"changedTouches":S.changedTouches||{}}})}},this.handleTouchEnd=S=>{const k=S.changedTouches[0];if(this.disabled||!this.touching||!k)return;this.touching=!1;const C=k.screenX-this.origin.x,M=k.screenY-this.origin.y;this.setTransform(this.xMove?C+this.baseX:0,this.yMove?M+this.baseY:0)},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}"watchX"(S){this.setTransform(parseFloat(`${S||0}`),this.translateY)}"watchY"(S){this.setTransform(this.translateX,parseFloat(`${S||0}`))}"watchScaleMinOrMax"(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}"watchScaleValue"(S){return!!this.scale&&(this.updateScale(S,!0),this.setOriginScale(S),S)}async"setParent"({"element":S,"area":k}){const C=this.scale?this.scaleValue:1;this.area=k,this.parent=S,this.updateOffset(),this.updateScaleOffset(C),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,C,"",!0),this.setOriginScale(C)}async"endScale"(){this.scaling=!1,this.setOriginScale(this.currentScale)}async"setScale"(S){this.scale&&(this.scaling=!0,this.updateScale(S*this.originScale))}"connectedCallback"(){this.observer=new MutationObserver((S=>{S.forEach((S=>{const k=S.attributeName;if(k&&["class","style"].includes(k)){const C=S.oldValue,M=S.target.getAttribute(k);if(C===M)return;const filter=S=>null==S?void 0:S.split(";").filter((S=>!["transform","will-change"].find((k=>S.trim().startsWith(k))))).join(";");if("style"===k&&filter(M)===filter(C))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{"attributes":!0,"attributeOldValue":!0})}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"componentDidLoad"(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const S=parseFloat(`${this.x||0}`),k=parseFloat(`${this.y||0}`);this.setTransform(S,k)}}"render"(){return(0,P.h)(P.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"watchers"(){return{"x":["watchX"],"y":["watchY"],"scaleMin":["watchScaleMinOrMax"],"scaleMax":["watchScaleMinOrMax"],"scaleValue":["watchScaleValue"]}}static get"style"(){return"taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}"}},[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]);const je=function taro_movable_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-view-core"].forEach((S=>{if("taro-movable-view-core"===S)customElements.get(S)||customElements.define(S,Le)}))};var De=C(4536);const ze=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSuccess=(0,P.yM)(this,"cuccess",7),this.onFail=(0,P.yM)(this,"fail",7),this.onComplete=(0,P.yM)(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}"onClick"(){const{"openType":S,"onSuccess":k,"onFail":C,"onComplete":M}=this;let P=Promise.resolve();switch(S){case"navigate":P=De.ZP.navigateTo({"url":this.url});break;case"redirect":P=De.ZP.redirectTo({"url":this.url});break;case"switchTab":P=De.ZP.switchTab({"url":this.url});break;case"reLaunch":P=De.ZP.reLaunch({"url":this.url});break;case"navigateBack":P=De.ZP.navigateBack({"delta":this.delta});break;case"exit":P=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}P&&P.then((S=>{k.emit(S)})).catch((S=>{C.emit(S)})).finally((()=>{M.emit()}))}"render"(){const{"isHover":S,"hoverClass":k}=this;return(0,P.h)(P.AA,{"class":(0,O.c)({[k]:S})})}static get"style"(){return".navigator-hover{background:#efefef}"}},[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]);const Re=function taro_navigator_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-navigator-core"].forEach((S=>{if("taro-navigator-core"===S)customElements.get(S)||customElements.define(S,ze)}))},Be=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,ne.n)("PageContainer",this)}"render"(){return(0,P.h)(P.AA,null)}},[0,"taro-page-container-core"]);const Fe=function taro_page_container_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-page-container-core"].forEach((S=>{if("taro-page-container-core"===S)customElements.get(S)||customElements.define(S,Be)}))},Ne=102,He=34,Ge=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onColumnChange=(0,P.yM)(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}"getPosition"(){const S=this.touchEnd?.3:0,k=`translate3d(0, ${this.height}px, 0)`,C=`transform ${S}s`;return{"transform":k,"-webkit-transform":k,"transition":C,"-webkit-transition":C}}"formulaUnlimitedScroll"(S,k,C){const{"height":M,"updateHeight":P,"columnId":O}=this,D="up"===C?1:-1;this.touchEnd=!1,P(-S*D*He+M,O),requestAnimationFrame((()=>{this.touchEnd=!0;const C=Math.round(k/-34)+S*D;P(Ne-He*C,O,!0)}))}async"handleMoveStart"(S){this.startY=S,this.preY=S,this.hadMove=!1}async"handleMoving"(S){const k=S,C=k-this.preY;this.preY=k,this.touchEnd=!1,Math.abs(k-this.startY)>10&&(this.hadMove=!0);let M=this.height+C;"time"===this.mode&&("0"===this.columnId?(M>0&&(M=-816+C),M<-850&&(M=-34+C)):"1"===this.columnId&&(M>0&&(M=-2040+C),M<-2074&&(M=-34+C))),this.updateHeight(M,this.columnId)}async"handleMoveEnd"(S){const{"mode":k,"range":C,"height":M,"updateHeight":P,"columnId":O}=this,D=-34*(C.length-1),re=S;let ne;if(this.touchEnd=!0,this.hadMove)ne=M-Ne;else{const S=window.innerHeight;if(ne=M-Ne-(re-(S-119)),"time"===k)if("0"===O){if(ne>-85)return this.formulaUnlimitedScroll(24,ne,"up");if(ne<-969)return this.formulaUnlimitedScroll(24,ne,"down")}else if("1"===O){if(ne>-85)return this.formulaUnlimitedScroll(60,ne,"up");if(ne<-2193)return this.formulaUnlimitedScroll(60,ne,"down")}}ne>0&&(ne=0),ne{const C=k?S[k]:S;return(0,P.h)("div",{"class":"weui-picker__item"},C)}));return(0,P.h)(P.AA,{"class":"weui-picker__group"},(0,P.h)("div",{"class":"weui-picker__mask"}),(0,P.h)("div",{"class":"weui-picker__indicator"}),(0,P.h)("div",{"class":"weui-picker__content","style":this.getPosition()},C))}},[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);function getTimeRange(S,k){const C=[];for(let M=S;M<=k;M++)C.push(`${M<10?"0":""}${M}`);return C}const Ye=["20","21","22","23",...getTimeRange(0,23),"00","01","02","03"],Ve=["56","57","58","59",...getTimeRange(0,59),"00","01","02","03"];function verifyValue(S,k){return!isNaN(+S)&&S>=0&&S+S));return!(k[0]<0||k[0]>23)&&!(k[1]<0||k[1]>59)}function compareTime(S,k){const C=S.split(":").map((S=>+S)),M=k.split(":").map((S=>+S));return C[0]String(S))):S,k}function getDateRange(S,k){const C=[];for(let M=S;M<=k;M++)C.push(M);return C}function getYearRange(S,k){return getDateRange(S,k)}function getMonthRange(S,k,C){let M=1,P=12;return S.getFullYear()===C&&(M=S.getMonth()+1),k.getFullYear()===C&&(P=k.getMonth()+1),getDateRange(M,P)}function getDayRange(S,k,C,M){let P=1,O=function getMaxDay(S,k){return 4===k||6===k||9===k||11===k?30:2===k?S%4==0&&S%100!=0||S%400==0?29:28:31}(C,M);return S.getFullYear()===C&&S.getMonth()+1===M&&(P=S.getDate()),k.getFullYear()===C&&k.getMonth()+1===M&&(O=k.getDate()),getDateRange(P,O)}const We=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onColumnChange=(0,P.yM)(this,"columnchange",7),this.onCancel=(0,P.yM)(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((S=>{let k=0;return"time"===this.mode&&(k=136),Ne-He*S-k})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((S=>(Ne-S)/He));let S=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const k=[Ye.slice(),Ve.slice()],C=this.index.map(((S,C)=>k[C][S]));this.index=C.map((S=>parseInt(S))),S=C.join(":")}if("date"===this.mode){const{"_start":k,"_end":C,"_updateValue":M}=this.pickerDate,P=M[0],O=M[1],D=getYearRange(k.getFullYear(),C.getFullYear()),re=getMonthRange(k,C,P),ne=getDayRange(k,C,P,O),se=D[this.index[0]],oe=re[this.index[1]],de=ne[this.index[2]];S="year"===this.fields?[se]:"month"===this.fields?[se,oe]:[se,oe,de],S=S.map((S=>S<10?`0${S}`:S)).join("-")}this.value=S,this.pickerValue=this.value,this.onChange.emit({"value":S})},this.handleColumnChange=S=>{const{"columnId":k,"height":C}=S.detail;this.onColumnChange.emit({"column":Number(k),"value":(Ne-C)/He})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(S,k,C=!1)=>{const M=[...this.height];if(M[k]=S,this.height=M,C){let{"start":S,"end":k}=this;if(verifyTime(S)||(S="00:00"),verifyTime(k)||(k="23:59"),!compareTime(S,k))return;const C=[Ye.slice(),Ve.slice()],M=this.height.map((S=>(Ne-S)/He)).map(((S,k)=>C[k][S])).join(":");if(compareTime(S,M)){if(!compareTime(M,k)){const S=k.split(":").map((S=>Ne-He*(+S+4)));requestAnimationFrame((()=>this.height=S))}}else{const k=S.split(":").map((S=>Ne-He*(+S+4)));requestAnimationFrame((()=>this.height=k))}}},this.updateDay=(S,k)=>{const{"_start":C,"_end":M,"_updateValue":P}=this.pickerDate;P[k]=S;const O=P[0],D=P[1],re=P[2];if(0===k){const S=getMonthRange(C,M,O),k=S[S.length-1],re=S[0];D>k&&(P[1]=k),Dk&&(P[2]=k),re(0,P.h)("taro-picker-group",{"range":this.range,"rangeKey":this.rangeKey,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),this.getMultiSelector=()=>this.range.map(((S,k)=>(0,P.h)("taro-picker-group",{"range":S,"rangeKey":this.rangeKey,"height":this.height[k],"updateHeight":this.updateHeight,"onColumnChange":this.handleColumnChange,"columnId":String(k)}))),this.getTimeSelector=()=>{const S=Ye.slice(),k=Ve.slice();return[(0,P.h)("taro-picker-group",{"mode":"time","range":S,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),(0,P.h)("taro-picker-group",{"mode":"time","range":k,"height":this.height[1],"updateHeight":this.updateHeight,"columnId":"1"})]},this.getDateSelector=()=>{const{"fields":S,"height":k}=this,{"_start":C,"_end":M,"_updateValue":O}=this.pickerDate,D=O[0],re=O[1],ne=getYearRange(C.getFullYear(),M.getFullYear()).map((S=>`${S}年`)),se=getMonthRange(C,M,D).map((S=>`${S<10?`0${S}`:S}月`)),oe=getDayRange(C,M,D,re).map((S=>`${S<10?`0${S}`:S}日`)),de=[(0,P.h)("taro-picker-group",{"mode":"date","range":ne,"height":k[0],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"0"})];return"month"!==S&&"day"!==S||de.push((0,P.h)("taro-picker-group",{"mode":"date","range":se,"height":k[1],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"1"})),"day"===S&&de.push((0,P.h)("taro-picker-group",{"mode":"date","range":oe,"height":k[2],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"2"})),de},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}"componentWillLoad"(){this.isWillLoadCalled=!0,this.handleProps()}"componentDidLoad"(){this.overlay&&document.body.appendChild(this.overlay)}"disconnectedCallback"(){var S;this.overlay&&(null===(S=this.overlay.parentNode)||void 0===S||S.removeChild(this.overlay))}"onPropsChange"(){this.isWillLoadCalled&&this.handleProps()}"handleProps"(){const{"mode":S,"start":k,"end":C}=this;if("selector"===S){const S=this.value;this.index=[verifyValue(S,this.range)?Math.floor(S):0]}else if("multiSelector"===S){const S=this.value;this.index=[],this.range.forEach(((k,C)=>{const M=null==S?void 0:S[C],P=verifyValue(M,k)?Math.floor(M):0;this.index.push(P)}))}else if("time"===S){let S=this.value;verifyTime(S)||(console.warn("time picker value illegal"),S="0:0");const k=S.split(":").map((S=>+S));this.index=k}else{if("date"!==S)throw new Error(`Picker not support "${S}" mode.`);{let S=verifyDate(this.value)||new Date((new Date).setHours(0,0,0,0));const M=verifyDate(k)||new Date("1970/01/01"),P=verifyDate(C)||new Date("2999/01/01");if(!(M<=P))throw new Error("Picker start time must be less than end time.");S>=M&&S<=P||(S=M);const O=S.getFullYear(),D=S.getMonth()+1,re=S.getDate(),ne=getYearRange(M.getFullYear(),P.getFullYear()),se=getMonthRange(M,P,O),oe=getDayRange(M,P,O,D);this.index=[ne.indexOf(O),se.indexOf(D),oe.indexOf(re)],this.pickerDate&&this.pickerDate._value.getTime()===S.getTime()&&this.pickerDate._start.getTime()===M.getTime()&&this.pickerDate._end.getTime()===P.getTime()||(this.pickerDate={"_value":S,"_start":M,"_end":P,"_updateValue":[O,D,re]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===S){const S=this.pickerValue;"month"===this.fields?this.pickerValue=S.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=S.split("-")[0])}}"render"(){var S,k;const{"name":C,"mode":M,"fadeOut":D,"hidden":re}=this;let ne;switch(M){case"multiSelector":ne=this.getMultiSelector();break;case"time":ne=this.getTimeSelector();break;case"date":ne=this.getDateSelector();break;default:ne=this.getSelector()}const se=(0,O.c)("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":D}),oe=(0,O.c)("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":D}),de=re?{"display":"none"}:{};return(0,P.h)(P.AA,null,(0,P.h)("div",{"onClick":this.showPicker},(0,P.h)("slot",null),(0,P.h)("input",{"type":"hidden","name":C,"value":formatValue(this.pickerValue)})),(0,P.h)("div",{"class":"weui-picker__overlay","style":de,"ref":S=>{this.overlay=S}},(0,P.h)("div",{"class":se,"onClick":this.handleCancel}),(0,P.h)("div",{"class":oe},(0,P.h)("div",{"class":"weui-picker__hd"},(0,P.h)("div",{"class":"weui-picker__action","onClick":this.handleCancel},null!==(S=this.textProps.cancelText)&&void 0!==S?S:"取消"),(0,P.h)("div",{"class":"weui-picker__action","onClick":this.handleChange},null!==(k=this.textProps.okText)&&void 0!==k?k:"确定")),(0,P.h)("div",{"class":"weui-picker__bd"},ne),(0,P.h)("input",{"type":"hidden","name":C,"value":formatValue(this.pickerValue)}))))}get"el"(){return this}static get"watchers"(){return{"mode":["onPropsChange"],"value":["onPropsChange"],"range":["onPropsChange"],"start":["onPropsChange"],"end":["onPropsChange"]}}static get"style"(){return'.weui-mask{z-index:1000;background:rgba(0,0,0,.6);position:fixed;inset:0}.weui-mask_transparent{z-index:1000;position:fixed;inset:0}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;flex:1;display:block}.weui-picker__action:first-child{text-align:left;color:#888}.weui-picker__action:last-child{text-align:right}.weui-picker__bd{background-color:#fff;height:238px;display:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));background-position:top,bottom;background-repeat:no-repeat;background-size:100% 102px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;margin:0 auto;position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.weui-picker__indicator{z-index:3;width:100%;height:34px;position:absolute;top:102px;left:0}.weui-picker__indicator:before{content:" ";color:#e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__content{width:100%;position:absolute;top:0;left:0}.weui-picker__item{text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;height:34px;padding:0;line-height:34px;overflow:hidden}.weui-picker__item_disabled{color:#999}.weui-picker,.weui-picker__hd{font-size:12px}'}},[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}]);const $e=function taro_picker_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-core","taro-picker-group"].forEach((S=>{switch(S){case"taro-picker-core":customElements.get(S)||customElements.define(S,We);break;case"taro-picker-group":customElements.get(S)||function picker_group_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-picker-group"].forEach((S=>{"taro-picker-group"===S&&(customElements.get(S)||customElements.define(S,Ge))}))}()}}))},qe=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"onselect",7),this.onSelectStart=(0,P.yM)(this,"onselectstart",7),this.onSelectEnd=(0,P.yM)(this,"onselectend",7),this.handleSelected=(0,Pe.d)((()=>{const S=this.el.childNodes;let k=0,C="0";for(const M in S){const P=S[M].offsetHeight;if(k+P/2>this.el.scrollTop){C=M;break}k+=P}this.el.scrollTo({"top":k,"behavior":"smooth"}),this.onChange.emit({"curIndex":this.col,"selectedIndex":C}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1}"onTouchStart"(){this.onSelectStart.emit()}"onTouchEnd"(){this.handleSelected()}"componentDidLoad"(){this.handleChange()}"componentDidUpdate"(){this.handleChange()}"handleChange"(){const S=this.el.childNodes;let k=0,C=0;for(const M in S){const P=S[M];if(this.initialPosition===M||!P||"number"!=typeof P.offsetHeight)break;C+=P.offsetHeight,k++}this.el.scrollTo({"top":C}),k>=S.length&&this.onChange.emit({"curIndex":this.col,"selectedIndex":k-1})}"render"(){const{"paddingVertical":S=0}=this;return(0,P.h)(P.AA,{"class":"taro-picker-view-column-container","style":{"padding-top":`${S}px`,"padding-bottom":`${S}px`}})}get"el"(){return this}static get"style"(){return".taro-picker-view-column-container{text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;position:relative;overflow:hidden scroll}.taro-picker-view-column-container::-webkit-scrollbar{display:none}"}},[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const Xe=function taro_picker_view_column_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-column-core"].forEach((S=>{if("taro-picker-view-column-core"===S)customElements.get(S)||customElements.define(S,qe)}))};function convertStyle(S){if(S){const k=/([\w-]*)\s*:\s*([^;]*)/g,C={};let M;for(;M=k.exec(S);)C[`${M[1]}`]=M[2].trim();return C}}const Ue=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onPickStart=(0,P.yM)(this,"pickstart",7),this.onPickEnd=(0,P.yM)(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}"onPropsChange"(){this.handleValueChange()}"onSelect"(S){if(S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"!==S.target.tagName)return;let k=+S.detail.curIndex,C=+S.detail.selectedIndex;this.value[k]=C,this.onChange.emit({"value":this.value})}"onSelectStart"(S){S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===S.target.tagName&&this.onPickStart.emit()}"onPickerColEnd"(S){S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===S.target.tagName&&this.onPickEnd.emit()}"componentDidLoad"(){this.handleValueChange()}"handleValueChange"(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((S,k)=>{var C;S.setAttribute("col",`${k}`);let M=0;this.value&&this.value.length>k&&(M=this.value[k]);const P=(this.el.getBoundingClientRect().height-((null===(C=this.indicator)||void 0===C?void 0:C.offsetHeight)||0))/2;S.setAttribute("initial-position",`${M}`),S.setAttribute("padding-vertical",`${P}`)}))}"componentDidRender"(){this.el.childNodes.forEach((S=>{const k=S;"TARO-PICKER-VIEW-COLUMN-CORE"!==k.tagName&&"taro-picker-view-mask-container"!==k.className&&this.el.removeChild(S)}))}"render"(){const S=(0,O.c)("taro-picker-view-mask-indicator",this.indicatorClass),k=(0,O.c)("taro-picker-view-mask-top",this.maskClass),C=(0,O.c)("taro-picker-view-mask-bottom",this.maskClass),M=convertStyle(this.indicatorStyle),D=convertStyle(this.maskStyle),re=convertStyle(this.maskStyle);return(0,P.h)(P.AA,{"class":"taro-picker-view-container"},(0,P.h)("slot",null),(0,P.h)("div",{"class":"taro-picker-view-mask-container"},(0,P.h)("div",{"class":k,"style":D}),(0,P.h)("div",{"class":S,"style":M,"ref":S=>this.indicator=S}),(0,P.h)("div",{"class":C,"style":re})))}get"el"(){return this}static get"watchers"(){return{"value":["onPropsChange"]}}static get"style"(){return".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{pointer-events:none;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;position:absolute;inset:0}.taro-picker-view-mask-indicator{border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px;display:-ms-flexbox;display:flex}.taro-picker-view-mask-top{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6));-ms-flex:1;flex:1}.taro-picker-view-mask-bottom{background:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background:linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));-ms-flex:1;flex:1}"}},[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]);const Ze=function taro_picker_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-core"].forEach((S=>{if("taro-picker-view-core"===S)customElements.get(S)||customElements.define(S,Ue)}))},Ke=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}"render"(){const{"percent":S,"showInfo":k,"borderRadius":C,"fontSize":M,"strokeWidth":O,"activeColor":D,"backgroundColor":re,"active":ne}=this,se=S>100?100:S<0?0:S,oe={"height":O+"px","backgroundColor":re},de=ne?"width 1s ease-in-out":"none",ue={"width":`${se}%`,"transition":de,"WebkitTransition":de,"backgroundColor":D,"borderRadius":C?`${C}px`:"0px"};return(0,P.h)(P.AA,{"class":"weui-progress"},(0,P.h)("div",{"class":"weui-progress__bar","style":oe},(0,P.h)("div",{"class":"weui-progress__inner-bar","style":ue})),k&&(0,P.h)("div",{"class":"weui-progress__opr","style":{"font-size":`${M}px`}},(0,P.h)("span",null,se,"%")))}static get"style"(){return".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}"}},[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]);const Qe=function taro_progress_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-progress-core"].forEach((S=>{if("taro-progress-core"===S)customElements.get(S)||customElements.define(S,Ke)}))},Je=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"radiochange",7),this.handleClick=S=>{S.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchChecked"(S){this.isWillLoadCalled&&S&&this.onChange.emit({"value":this.value})}"watchId"(S){this.isWillLoadCalled&&S&&this.inputEl.setAttribute("id",S)}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"componentWillLoad"(){this.isWillLoadCalled=!0}"render"(){const{"checked":S,"name":k,"value":C,"disabled":M,"nativeProps":O}=this;return(0,P.h)(P.AA,{"className":"weui-cells_checkbox","onClick":this.handleClick},(0,P.h)("input",Object.assign({"ref":S=>{S&&(this.inputEl=S,this.id&&S.setAttribute("id",this.id))},"type":"radio","name":k,"value":C,"class":"weui-check","checked":S,"disabled":M,"onChange":S=>S.stopPropagation()},O)),(0,P.h)("i",{"class":"weui-icon-checked"}),(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"checked":["watchChecked"],"id":["watchId"]}}},[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const et=function taro_radio_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-core"].forEach((S=>{if("taro-radio-core"===S)customElements.get(S)||customElements.define(S,Je)}))};var tt,taro_radio_group_core_classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},taro_radio_group_core_classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const it=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),tt.set(this,void 0),this.name=void 0}"function"(S){if(S.stopPropagation(),"TARO-RADIO-CORE"!==S.target.tagName)return;const k=S.target;if(k.checked){this.el.querySelectorAll("taro-radio-core").forEach((S=>{S!==k&&(S.checked=!1)})),taro_radio_group_core_classPrivateFieldSet(this,tt,S.detail.value,"f"),this.onChange.emit({"value":taro_radio_group_core_classPrivateFieldGet(this,tt,"f")})}}"componentDidLoad"(){this.el.querySelectorAll("taro-radio-core").forEach((S=>{S.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!taro_radio_group_core_classPrivateFieldGet(this,tt,"f")){const S=this.el.querySelectorAll("taro-radio-core");taro_radio_group_core_classPrivateFieldSet(this,tt,this.getValues(S),"f")}return taro_radio_group_core_classPrivateFieldGet(this,tt,"f")},"configurable":!0})}"getValues"(S){let k="";return Array.from(S).forEach((S=>{const C=S.querySelector("input");(null==C?void 0:C.checked)&&(k=C.value||"")})),k}"render"(){return(0,P.h)(P.AA,{"class":"weui-cells_radiogroup"})}get"el"(){return this}},[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]);tt=new WeakMap;const rt=function taro_radio_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-group-core"].forEach((S=>{if("taro-radio-group-core"===S)customElements.get(S)||customElements.define(S,it)}))},at=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.renderNode=S=>{if("type"in S&&"text"===S.type){return(S.text||"").replace(/ /g," ")}if("name"in S&&S.name){const{"name":k,"attrs":C,"children":M}=S,O={};let D=[];if(C&&"object"==typeof C)for(const S in C){const k=C[S];if("style"!==S||"string"!=typeof k)O[S]=k;else{const S=k.split(";").map((S=>S.trim())).filter((S=>S)),C={};S.forEach((S=>{if(!S)return;const k=/(.+): *(.+)/g.exec(S);if(!k)return;const[,M,P]=k,O=M.replace(/-([a-z])/g,((...S)=>S[1].toUpperCase()));C[O]=P})),Object.keys(C).length&&(O.style=C)}}return M&&M.length&&(D=M.map((S=>this.renderNode(S)))),(0,P.h)(k,O,D)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}"render"(){const{"nodes":S,"renderNode":k}=this;return Array.isArray(S)?(0,P.h)(P.AA,null,S.map((S=>k(S)))):(0,P.h)(P.AA,{"innerHTML":S})}static get"style"(){return"taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}"}},[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]);const nt=function taro_rich_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-rich-text-core"].forEach((S=>{if("taro-rich-text-core"===S)customElements.get(S)||customElements.define(S,at)}))};function easeOutScroll(S,k,C=500,M){if(S===k||"number"!=typeof S)return;const P=k-S,O=Date.now(),D=k>=S;!function step(){S=function linear(S,k,C,M){return C*S/M+k}(Date.now()-O,S,P,C),D&&S>=k||!D&&k>=S?M(k):(M(S),requestAnimationFrame(step))}()}const st=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onScroll=(0,P.yM)(this,"scroll",3),this.onScrollToUpper=(0,P.yM)(this,"scrolltoupper",3),this.onScrollToLower=(0,P.yM)(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=(0,Pe.d)((()=>{const{"offsetWidth":S,"offsetHeight":k,"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O}=this.el,D=Number(this.lowerThreshold),re=Number(this.upperThreshold);!isNaN(D)&&(this.scrollY&&k+M+D>=P||this.scrollX&&S+C+D>=O)&&this.onScrollToLower.emit({"direction":this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(re)&&(this.scrollY&&M<=re||this.scrollX&&C<=re)&&this.onScrollToUpper.emit({"direction":this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}"watchScrollLeft"(S){const k=Number(S),{"animated":C}=this;this.mpScrollToMethod({"left":k,"animated":C})}"watchScrollTop"(S){const k=Number(S),{"animated":C}=this;this.mpScrollToMethod({"top":k,"animated":C})}"watchScrollIntoView"(S){this.mpScrollIntoViewMethod(S)}"handleScroll"(S){var k;if(S instanceof CustomEvent)return;S.stopPropagation(),null===(k=S.stopImmediatePropagation)||void 0===k||k.call(S);const{"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O}=this.el;this._scrollLeft=C,this._scrollTop=M,this.upperAndLower(),this.onScroll.emit({"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O})}"handleTouchMove"(S){S instanceof CustomEvent||S.stopPropagation()}async"mpScrollToMethod"(S){let{"top":k,"left":C,"duration":M,"animated":P=!1}=S;this.scrollY&&"number"==typeof k&&!isNaN(k)&&k!==this._scrollTop&&(P?easeOutScroll(this._scrollTop,k,M,(S=>this.el.scrollTop=S)):this.el.scrollTop=k,this._scrollTop=k),this.scrollX&&"number"==typeof C&&!isNaN(C)&&C!==this._scrollLeft&&(P?easeOutScroll(this._scrollLeft,C,M,(S=>this.el.scrollLeft=S)):this.el.scrollLeft=C,this._scrollLeft=C)}async"mpScrollIntoViewMethod"(S){var k;"string"==typeof S&&S&&(null===(k=document.querySelector(`#${S}`))||void 0===k||k.scrollIntoView({"behavior":this.animated?"smooth":"auto","block":this.scrollY&&this.mpScrollIntoViewAlignment||"center","inline":this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}"componentDidLoad"(){const S=Number(this.mpScrollTop),k=Number(this.mpScrollLeft),{"animated":C}=this;this.mpScrollToMethod({"top":S,"left":k,"animated":C})}"componentDidRender"(){(0,ne.h)(this.el)}"render"(){const{"scrollX":S,"scrollY":k}=this,C=(0,O.c)({"taro-scroll-view__scroll-x":S,"taro-scroll-view__scroll-y":k});return(0,P.h)(P.AA,{"class":C},(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"mpScrollLeft":["watchScrollLeft"],"mpScrollTop":["watchScrollTop"],"mpScrollIntoView":["watchScrollIntoView"]}}static get"style"(){return"taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}"}},[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]);const ot=function taro_scroll_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-scroll-view-core"].forEach((S=>{if("taro-scroll-view-core"===S)customElements.get(S)||customElements.define(S,st)}))},lt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onChanging=(0,P.yM)(this,"changing",7),this.handleTouchStart=S=>{this.touching||this.disabled||(this.touching=!0,this.touchId=S.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=S.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=S=>{const{"disabled":k,"touching":C,"touchId":M,"totalWidth":P,"max":O,"min":D,"ogX":re,"ogPercent":ne}=this;if(!C||k)return;if(S.targetTouches[0].identifier!==M)return;S.preventDefault();let se=(S.targetTouches[0].pageX-re)/P*100+ne;se=this.handleValueUpdate(se,0,100);const oe=D+.01*se*(O-D);this.updateByStep(oe),this.onChanging.emit({"detail":S.detail,"value":this.value})},this.handleTouchEnd=S=>{const{"disabled":k,"touching":C}=this;C&&!k&&(this.percent!==this.ogPercent&&this.onChange.emit({"detail":S.detail,"value":this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(S,k=this.min,C=this.max)=>(S=isNaN(S)?0:S,Math.max(k,Math.min(S,C))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}"function"(S){if(!this.isWillLoadCalled)return;const{"max":k,"min":C}=this;if(null!==S){const M=this.handleValueUpdate(S,C,k);this.updateByStep(M)}}"componentDidLoad"(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}"componentWillLoad"(){this.isWillLoadCalled=!0;const{"value":S,"max":k,"min":C}=this,M=this.handleValueUpdate(S,C,k);this.updateByStep(M)}"updateByStep"(S){const{"max":k,"min":C,"step":M}=this,P=Math.floor((k-C)/M);for(let k=0;k<=P;k++){const O=C+M*k,D=k===P?null:C+M*(k+1);if(S===O)break;if(!D&&S>O&&(S=O),D&&S>O&&S100?100:D,de={"width":`${oe}%`,"backgroundColor":C};ne<12&&(ne=12),ne>28&&(ne=28);const ue={"left":`${oe}%`,"width":`${ne}px`,"height":`${ne}px`,"backgroundColor":M,"marginTop":`-${Math.floor(ne/2)}px`,"marginLeft":`-${Math.floor(ne/2)}px`};return(0,P.h)(P.AA,{"class":"weui-slider-box"},(0,P.h)("div",{"class":"weui-slider"},(0,P.h)("div",{"class":"weui-slider__inner","style":se,"ref":S=>this.sliderInsRef=S},(0,P.h)("div",{"style":de,"class":"weui-slider__track"}),(0,P.h)("div",{"class":"weui-slider__handler","ref":S=>{S&&(this.handler=S)},"style":ue}),(0,P.h)("input",{"type":"hidden","name":O,"value":re}))),S&&(0,P.h)("div",{"class":"weui-slider-box__value"},re))}get"el"(){return this}static get"watchers"(){return{"value":["function"]}}static get"style"(){return".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}"}},[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]);const ct=function taro_slider_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-slider-core"].forEach((S=>{if("taro-slider-core"===S)customElements.get(S)||customElements.define(S,lt)}))},dt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.switchChange=S=>{S.stopPropagation();const k=S.target.checked;this.checked=k,this.onChange.emit({"value":k})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"function"(S){this.isWillLoadCalled&&this.inputRef.checked!==S&&(this.inputRef.checked=S)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){Object.defineProperty(this.el,"value",{"get":()=>this.checked,"configurable":!0})}"render"(){const{"type":S,"color":k,"checked":C,"name":M,"disabled":O,"nativeProps":D}=this,re=C?{"borderColor":k||"04BE02","backgroundColor":k||"04BE02"}:{};return(0,P.h)("input",Object.assign({"ref":S=>{this.inputRef=S},"type":"checkbox","class":`weui-${S}`,"style":re,"checked":C,"name":M,"disabled":O,"onChange":this.switchChange},D))}get"el"(){return this}static get"watchers"(){return{"checked":["function"]}}static get"style"(){return'.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}'}},[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ut=function taro_switch_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-switch-core"].forEach((S=>{if("taro-switch-core"===S)customElements.get(S)||customElements.define(S,dt)}))},pt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}"render"(){const S={};return"number"==typeof this.numberOfLines&&(S["--line-clamp"]=this.numberOfLines),(0,P.h)(P.AA,{"style":S},(0,P.h)("slot",null))}static get"style"(){return"taro-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}"}},[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]);const ht=function taro_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-text-core"].forEach((S=>{if("taro-text-core"===S)customElements.get(S)||customElements.define(S,pt)}))};function taro_textarea_core_fixControlledValue(S){return null!=S?S:""}const ft=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,P.yM)(this,"input",7),this.onFocus=(0,P.yM)(this,"focus",7),this.onBlur=(0,P.yM)(this,"blur",7),this.onConfirm=(0,P.yM)(this,"confirm",7),this.onChange=(0,P.yM)(this,"change",7),this.onLineChange=(0,P.yM)(this,"linechange",7),this.onKeyDown=(0,P.yM)(this,"keydown",7),this.handleInput=S=>{S.stopPropagation(),this.handleLineChange();const k=S.target.value||"";this.value=k,this.onInput.emit({"value":k,"cursor":k.length})},this.handleFocus=S=>{S.stopPropagation(),this.onFocus.emit({"value":S.target.value})},this.handleBlur=S=>{S.stopPropagation(),this.onBlur.emit({"value":S.target.value})},this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":S.target.value})},this.handleLineChange=()=>{const S=this.getNumberOfLines();S!==this.line&&(this.line=S,this.onLineChange.emit({"height":this.textareaRef.clientHeight,"lineCount":this.line}))},this.handleKeyDown=S=>{S.stopPropagation();const{"value":k}=S.target,C=S.keyCode||S.code;this.onKeyDown.emit({"value":k,"cursor":k.length,"keyCode":C}),13===C&&this.onConfirm.emit({"value":k})},this.calculateContentHeight=(S,k)=>{let C=S.style.height,M=S.offsetHeight,P=S.scrollHeight,O=S.style.overflow,D=S.style.minHeight||null;if(!(M>=P))return P;if(S.style.minHeight=0,S.style.height=M+k+"px",S.style.overflow="hidden",P=S.scrollHeight;)S.style.height=(M-=k)+"px";for(;S.offsetHeight{const S=this.textareaRef,k=window.getComputedStyle?window.getComputedStyle(S):S.style,C=parseInt(k.lineHeight,10),M=this.calculateContentHeight(S,C);return Math.floor(M/C)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}"watchAutoFocus"(S,k){var C;!k&&S&&(null===(C=this.textareaRef)||void 0===C||C.focus())}"watchValue"(S){const k=taro_textarea_core_fixControlledValue(S);this.textareaRef.value!==k&&(this.textareaRef.value=k)}async"focus"(){this.textareaRef.focus()}"render"(){const{"value":S,"placeholder":k,"disabled":C,"maxlength":M,"autoFocus":O,"autoHeight":D,"name":re,"nativeProps":ne,"handleInput":se,"handleFocus":oe,"handleBlur":de,"handleChange":ue}=this,pe={};return D&&(pe.rows=this.line),(0,P.h)("textarea",Object.assign({"ref":S=>{S&&(this.textareaRef=S,O&&S&&S.focus())},"class":"taro-textarea "+(D?"auto-height":""),"value":taro_textarea_core_fixControlledValue(S),"placeholder":k,"name":re,"disabled":C,"maxlength":M,"autofocus":O,"onInput":se,"onFocus":oe,"onBlur":de,"onChange":ue,"onKeyDown":this.handleKeyDown},ne,pe))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return"taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}"}},[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]);const mt=function taro_textarea_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-textarea-core"].forEach((S=>{if("taro-textarea-core"===S)customElements.get(S)||customElements.define(S,ft)}))},formatTime=S=>{if(!S)return"";const k=Math.round(S%60),C=Math.round((S-k)/60);return`${C<10?`0${C}`:C}:${k<10?`0${k}`:k}`},normalizeNumber=S=>Math.max(-1,Math.min(S,1));let gt="default";const bt=function(){let S;const k=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var C=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let M=0;const P=k.length,O={};for(;M{let k=S-this.progressDimensions.left;return k=Math.max(k,0),k=Math.min(k,this.progressDimensions.width),k/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=S=>{S.stopPropagation();const k=this.calcPercentage(S.pageX);this.seekFunc(k*this.duration),this.toggleVisibility(!0)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 0}"onDocumentTouchMove"(S){if(!this.isDraggingProgressBall)return;const k=S.touches[0].pageX;this.percentage=this.calcPercentage(k),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration)}"onDocumentTouchEnd"(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async"setProgressBall"(S){this.progressBallRef&&(this.progressBallRef.style.left=100*S+"%")}async"toggleVisibility"(S){const k=void 0===S?!this.visible:S;k?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!k}async"getIsDraggingProgressBall"(){return this.isDraggingProgressBall}async"setCurrentTime"(S){this.currentTimeRef.innerHTML=formatTime(S)}"render"(){const{"controls":S,"currentTime":k,"duration":C,"isPlaying":M,"pauseFunc":O,"playFunc":D,"showPlayBtn":re,"showProgress":ne}=this,se=formatTime(C);let oe;return oe=re?M?(0,P.h)("div",{"class":"taro-video-control-button taro-video-control-button-pause","onClick":O}):(0,P.h)("div",{"class":"taro-video-control-button taro-video-control-button-play","onClick":D}):null,(0,P.h)(P.AA,{"class":"taro-video-bar taro-video-bar-full"},S&&(0,P.h)("div",{"class":"taro-video-controls"},oe,ne&&(0,P.h)("div",{"class":"taro-video-current-time","ref":S=>this.currentTimeRef=S},formatTime(k)),ne&&(0,P.h)("div",{"class":"taro-video-progress-container","onClick":this.onClickProgress},(0,P.h)("div",{"class":"taro-video-progress","ref":S=>{if(!S)return;const k=S.getBoundingClientRect();this.progressDimensions.left=k.left,this.progressDimensions.width=k.width}},(0,P.h)("div",{"class":"taro-video-progress-buffered","style":{"width":"100%"}}),(0,P.h)("div",{"class":"taro-video-ball","ref":S=>this.progressBallRef=S,"onTouchStart":this.onDragProgressBallStart,"style":{"left":(se?this.currentTime/C*100:0)+"%"}},(0,P.h)("div",{"class":"taro-video-inner"})))),ne&&(0,P.h)("div",{"class":"taro-video-duration"},se)),(0,P.h)("slot",null))}get"el"(){return this}},[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const yt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}"ensureProperties"(S){const k=Object.assign({},S);return"time"in S||(k.time=this.currentTime),k.key=Math.random(),k.bottom=90*Math.random()+5+"%",k}async"sendDanmu"(S=[]){if(Array.isArray(S))this.list=[...this.list,...S.map((S=>this.ensureProperties(S)))];else{const k=S;this.list=[...this.list,Object.assign({},this.ensureProperties(k))]}}async"tick"(S){if(this.currentTime=S,!this.enable)return;const k=this.list.filter((({"time":k})=>S-k<4&&S>k));let C=!1;const M=this.danmuList;C=k.length!==M.length||k.some((({"key":S})=>M.every((k=>S!==k.key)))),C&&(this.danmuList=k)}"componentDidUpdate"(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((S=>{S.style.left="0",S.style.webkitTransform="translateX(-100%)",S.style.transform="translateX(-100%)"}))}))}))}"render"(){return this.enable?(0,P.h)(P.AA,{"class":"taro-video-danmu"},this.danmuList.map((({"text":S,"color":k,"bottom":C,"key":M})=>(0,P.h)("p",{"class":"taro-video-danmu-item","key":M,"style":{"color":k,"bottom":C},"ref":S=>{S&&this.danmuElList.push(S)}},S)))):""}},[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]);const wt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onPlay=(0,P.yM)(this,"play",7),this.onPause=(0,P.yM)(this,"pause",7),this.onEnded=(0,P.yM)(this,"ended",7),this.onTimeUpdate=(0,P.yM)(this,"timeupdate",7),this.onError=(0,P.yM)(this,"error",7),this.onFullScreenChange=(0,P.yM)(this,"fullscreenchange",7),this.onProgress=(0,P.yM)(this,"progress",7),this.onLoadedMetaData=(0,P.yM)(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.analyzeGesture=S=>{var k;const C={"type":"none"},M=S.touches[0].screenX,P=S.touches[0].screenY,O=M-this.lastTouchScreenX,D=P-this.lastTouchScreenY,re=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if((ne=O,se=D,Math.sqrt(Math.pow(ne,2)+Math.pow(se,2)))<10)return C;if(Math.abs(D)>=Math.abs(O)){if(!re)return C;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(D){var S,k;this.videoRef&&(this.videoRef.src=this.src,null===(k=(S=this.videoRef).load)||void 0===k||k.call(S))},this.init=()=>{const{"src":S,"videoRef":k}=this;/\.(m3u8)($|\?)/i.test(S)?C.e(3041).then(C.bind(C,3041)).then((C=>{const M=C.default;this.HLS=M,M.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new M,this.hls.loadSource(S),this.hls.attachMedia(k),this.hls.on(M.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(M.Events.ERROR,((S,k)=>{this.handleError(k)}))):k.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=(0,Pe.t)((async S=>{var k,C;this.currentTime=this.videoRef.currentTime;const M=this.duration||this._duration,P=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(P||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/M),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({"duration":null===(k=S.target)||void 0===k?void 0:k.duration,"currentTime":null===(C=S.target)||void 0===C?void 0:C.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=S=>{var k,C;if(this.hls)switch(S.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({"errMsg":S.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({"errMsg":S.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else this.onError.emit({"errMsg":null===(C=null===(k=S.target)||void 0===k?void 0:k.error)||void 0===C?void 0:C.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=S=>{const k=S.target;this.onLoadedMetaData.emit({"width":k.videoWidth,"height":k.videoHeight,"duration":k.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=S=>{this.videoRef.currentTime=S},this.onTouchStartContainer=S=>{this.lastTouchScreenX=S.touches[0].screenX,this.lastTouchScreenY=S.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const S=Date.now();S-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=S}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=S=>{S.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=S=>{const k=(new Date).getTime();!S.detail&&this.isFullScreen&&!document[bt.fullscreenElement]&&k-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1,!0)},this.toggleFullScreen=(S=!this.isFullScreen,k=!1)=>{this.isFullScreen=S,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({"fullScreen":this.isFullScreen,"direction":"vertical"}),this.isFullScreen&&!document[bt.fullscreenElement]?setTimeout((()=>{this.videoRef[bt.requestFullscreen]({"navigationUI":"auto"}),De.ZP.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(k||document[bt.exitFullscreen](),De.ZP.eventCenter.trigger("__taroExitFullScreen",{}))},this.toggleMute=S=>{S.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=S=>{S.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}"componentWillLoad"(){this._enableDanmu=this.enableDanmu,this.isMute=this.muted}"componentDidLoad"(){var S,k;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(k=(S=this.danmuRef).sendDanmu)||void 0===k||k.call(S,this.danmuList),document.addEventListener&&document.addEventListener(bt.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===gt&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}"componentDidRender"(){}"disconnectedCallback"(){document.removeEventListener&&document.removeEventListener(bt.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===gt&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}"watchEnableDanmu"(S){this._enableDanmu=S}"watchSrc"(){this.init()}async"onDocumentTouchMove"(S){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const k=this.analyzeGesture(S);if("adjustVolume"===k.type){this.toastVolumeRef.style.visibility="visible";const S=Math.max(Math.min(this.lastVolume-k.dataY,1),0);this.videoRef.volume=S,this.toastVolumeBarRef.style.width=100*S+"%"}else if("adjustProgress"===k.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+(k.dataX||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const S=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${formatTime(this.nextPercentage*S)} / ${formatTime(S)}`,this.toastProgressRef.style.visibility="visible"}}"onDocumentTouchEnd"(){var S;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(S=this.duration)&&void 0!==S?S:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async"getHlsObject"(){return this.hls}async"play"(){this._play()}async"pause"(){this._pause()}async"stop"(){this._stop()}async"seek"(S){this._seek(S)}async"requestFullScreen"(){this.toggleFullScreen(!0)}async"exitFullScreen"(){this.toggleFullScreen(!1)}"render"(){const{"controls":S,"autoplay":k,"loop":C,"muted":M,"poster":D,"objectFit":re,"isFirst":ne,"isMute":se,"isFullScreen":oe,"showCenterPlayBtn":de,"isPlaying":ue,"_enableDanmu":pe,"showMuteBtn":he,"danmuBtn":fe,"showFullscreenBtn":me,"nativeProps":ge}=this,be=this.duration||this._duration,ve=formatTime(be);return(0,P.h)(P.AA,{"class":(0,O.c)("taro-video-container",{"taro-video-type-fullscreen":oe}),"onTouchStart":this.onTouchStartContainer,"onClick":this.onClickContainer},(0,P.h)("video",Object.assign({"class":"taro-video-video","style":{"object-fit":re},"ref":S=>{S&&(this.videoRef=S)},"autoplay":k,"loop":C,"muted":M,"poster":S?D:void 0,"playsinline":!0,"webkit-playsinline":!0,"onPlay":this.handlePlay,"onPause":this.handlePause,"onEnded":this.handleEnded,"onTimeUpdate":this.handleTimeUpdate,"onError":this.handleError,"onDurationChange":this.handleDurationChange,"onProgress":this.handleProgress,"onLoadedMetaData":this.handleLoadedMetaData},ge),"暂时不支持播放该视频"),(0,P.h)("taro-video-danmu",{"ref":S=>{S&&(this.danmuRef=S)},"enable":pe}),ne&&de&&!ue&&(0,P.h)("div",{"class":"taro-video-cover"},(0,P.h)("div",{"class":"taro-video-cover-play-button","onClick":()=>this.play()}),(0,P.h)("p",{"class":"taro-video-cover-duration"},ve)),(0,P.h)("taro-video-control",{"ref":S=>{S&&(this.controlsRef=S)},"controls":S,"currentTime":this.currentTime,"duration":be,"isPlaying":this.isPlaying,"pauseFunc":this._pause,"playFunc":this._play,"seekFunc":this._seek,"showPlayBtn":this.showPlayBtn,"showProgress":this.showProgress},he&&(0,P.h)("div",{"class":(0,O.c)("taro-video-mute",{"taro-video-type-mute":se}),"onClick":this.toggleMute}),fe&&(0,P.h)("div",{"class":(0,O.c)("taro-video-danmu-button",{"taro-video-danmu-button-active":pe}),"onClick":this.toggleDanmu},"弹幕"),me&&(0,P.h)("div",{"class":(0,O.c)("taro-video-fullscreen",{"taro-video-type-fullscreen":oe}),"onClick":this.onClickFullScreenBtn})),(0,P.h)("div",{"class":"taro-video-toast taro-video-toast-volume","ref":S=>{S&&(this.toastVolumeRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-title"},"音量"),(0,P.h)("div",{"class":"taro-video-toast-icon"}),(0,P.h)("div",{"class":"taro-video-toast-value"},(0,P.h)("div",{"class":"taro-video-toast-value-content","ref":S=>{S&&(this.toastVolumeBarRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>(0,P.h)("div",{"class":"taro-video-toast-volume-grids-item"}))))))),(0,P.h)("div",{"class":"taro-video-toast taro-video-toast-progress","ref":S=>{S&&(this.toastProgressRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-title","ref":S=>{S&&(this.toastProgressTitleRef=S)}})))}get"el"(){return this}static get"watchers"(){return{"enableDanmu":["watchEnableDanmu"],"src":["watchSrc"]}}static get"style"(){return'.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}'}},[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const xt=function taro_video_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-video-core","taro-video-control","taro-video-danmu"].forEach((S=>{switch(S){case"taro-video-core":customElements.get(S)||customElements.define(S,wt);break;case"taro-video-control":customElements.get(S)||function video_control_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-control"].forEach((S=>{"taro-video-control"===S&&(customElements.get(S)||customElements.define(S,vt))}))}();break;case"taro-video-danmu":customElements.get(S)||function video_danmu_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-danmu"].forEach((S=>{"taro-video-danmu"===S&&(customElements.get(S)||customElements.define(S,yt))}))}()}}))},Et=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLongPress=(0,P.yM)(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}"onTouchStart"(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}"onTouchMove"(){clearTimeout(this.timeoutEvent)}"onTouchEnd"(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}"componentDidRender"(){(0,ne.h)(this.el)}"render"(){const S=(0,O.c)({[`${this.hoverClass}`]:this.hover});let k={};return this.animation&&(k.animation=this.animation,k["data-animation"]=this.animation),(0,P.h)(P.AA,Object.assign({"class":S},k),(0,P.h)("slot",null))}get"el"(){return this}static get"style"(){return"taro-view-core{display:block}"}},[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);const At=function taro_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-view-core"].forEach((S=>{if("taro-view-core"===S)customElements.get(S)||customElements.define(S,Et)}))},St=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,P.yM)(this,"load",7),this.onError=(0,P.yM)(this,"error",7),this.src=void 0}"render"(){const{"src":S,"onLoad":k,"onError":C}=this;return(0,P.h)("iframe",{"class":"taro-webview","onLoad":C=>{C.stopPropagation(),k.emit({"src":S})},"onError":k=>{k.stopPropagation(),C.emit({"src":S})},"src":S})}static get"style"(){return"iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}"}},[0,"taro-web-view-core",{"src":[1]}]);const kt=function taro_web_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-web-view-core"].forEach((S=>{if("taro-web-view-core"===S)customElements.get(S)||customElements.define(S,St)}))};var Ct=C(6883),Tt=C(8028);function __rest(S,k){var C={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&k.indexOf(M)<0&&(C[M]=S[M]);if(null!=S&&"function"==typeof Object.getOwnPropertySymbols){var P=0;for(M=Object.getOwnPropertySymbols(S);Pk=>{S.forEach((S=>{((S,k)=>{"function"==typeof S?S(k):null!=S&&(S.current=k)})(S,k)}))},camelToDashCase=S=>S.replace(/([A-Z])/g,(S=>`-${S[0].toLowerCase()}`));var _t=C(3935);const arrayToMap=S=>{const k=new Map;return S.forEach((S=>k.set(S,S))),k};function getComponentName(S){return S.tagName.replace(/^TARO-/,"").replace(/-CORE$/,"")}function getControlledValue(S){const k=getComponentName(S);return["INPUT","TEXTAREA","SLIDER","PICKER"].includes(k)?"value":"SWITCH"===k?"checked":null}function finishedEventHandler(S){const k=getControlledValue(S);if(!k)return;(0,_t.flushSync)((()=>{}));const C=function getPropsAfterReactUpdate(S){const k=Object.keys(S).find((S=>S.includes("__reactProps")));return k?S[k]:null}(S);(null==C?void 0:C.hasOwnProperty(k))&&C[k]!==S[k]&&(S[k]=C[k],S.setAttribute(k,C[k]))}const syncEvent=(S,k,C)=>{const M=S.__events||(S.__events={}),P=M[k];if(C){if(P){if(P.fn===C)return;S.removeEventListener(k,P)}const O=M[k]=function(k){(0,_t.unstable_batchedUpdates)((()=>C.call(this,k))),finishedEventHandler(S)};O.fn=C,S.addEventListener(k,O)}else P&&S.removeEventListener(k,P)},attachProps=(S,k,C={})=>{if(S instanceof Element){Object.keys(C).forEach((C=>{if(!["style","children","ref","class","className","forwardedRef"].includes(C)&&!k.hasOwnProperty(C))if(/^on([A-Z].*)/.test(C)){const k=C.substring(2).toLowerCase();syncEvent(S,k)}else S[C]=null,S.removeAttribute(camelToDashCase(C))})),S.className=((S,k,C)=>{const M=k.className||k.class,P=C.className||C.class,O=arrayToMap(S),D=arrayToMap(M?M.split(" "):[]),re=arrayToMap(P?P.split(" "):[]),ne=[];return O.forEach((S=>{D.has(S)?(ne.push(S),D.delete(S)):re.has(S)||ne.push(S)})),D.forEach((S=>ne.push(S))),ne.join(" ")})(S.classList,k,C),Object.keys(k).forEach((C=>{if(!("style"===C&&"string"!=typeof k[C]||["children","ref","class","className","forwardedRef"].includes(C)))if(/^on([A-Z].*)/.test(C)){const M=C.substring(2).toLowerCase();syncEvent(S,M,k[C])}else{S[C]=k[C];"string"===typeof k[C]&&S.setAttribute(camelToDashCase(C),k[C])}}));const M=getControlledValue(S);if(M&&k.hasOwnProperty(M)){const k=["INPUT","TEXTAREA"].includes(getComponentName(S))?"input":"change";S.__events||(S.__events={}),S.__events.hasOwnProperty(k)||syncEvent(S,k,(function(){}))}}};const createComponent_createReactComponent=(S,k,C,P)=>{void 0!==P&&P();const O=S.toLowerCase().split("-").map((S=>S.charAt(0).toUpperCase()+S.slice(1))).join("");const D=class extends M.Component{"constructor"(S){super(S),this.setComponentElRef=S=>{this.componentEl=S}}"componentDidMount"(){!function applyUnControlledDefaultValue(S,k){const C=getControlledValue(S);if(!C)return;const M="default"+C.charAt(0).toUpperCase()+C.slice(1);!k.hasOwnProperty(C)&&k.hasOwnProperty(M)&&(S[C]=k[M],S.setAttribute(C,k[M]))}(this.componentEl,this.props),this.componentDidUpdate(this.props)}"componentDidUpdate"(S){attachProps(this.componentEl,this.props,S)}"render"(){const k=this.props,{"children":P,"forwardedRef":O,"className":D,"ref":re,"style":ne}=k,se=__rest(k,["children","forwardedRef","className","ref","style"]);let oe=Object.keys(se).reduce(((S,k)=>{const C=se[k];if(0===k.indexOf("on")&&k[2]===k[2].toUpperCase()){k.substring(2).toLowerCase();0}else{["string","boolean","number"].includes(typeof C)&&(S[camelToDashCase(k)]=C)}return S}),{});C&&(oe=C(this.props,oe));const de=Object.assign(Object.assign({},oe),{"ref":mergeRefs(O,this.setComponentElRef)});return(0,M.createElement)(S,de,P)}static get"displayName"(){return O}};return k&&(D.contextType=k),((S,k)=>{const forwardRef=(k,C)=>M.createElement(S,Object.assign({},k,{"forwardedRef":C}));return forwardRef.displayName=k,M.forwardRef(forwardRef)})(D,O)},Mt=createComponent_createReactComponent("taro-button-core",void 0,helper_manipulatePropsFunction,re),Pt=createComponent_createReactComponent("taro-camera-core",void 0,helper_manipulatePropsFunction,oe),Ot=createComponent_createReactComponent("taro-checkbox-core",void 0,helper_manipulatePropsFunction,ue),It=createComponent_createReactComponent("taro-checkbox-group-core",void 0,helper_manipulatePropsFunction,fe),Lt=createComponent_createReactComponent("taro-form-core",void 0,helper_manipulatePropsFunction,be),jt=createComponent_createReactComponent("taro-icon-core",void 0,helper_manipulatePropsFunction,ye),Dt=createComponent_createReactComponent("taro-image-core",void 0,helper_manipulatePropsFunction,Ae),zt=createComponent_createReactComponent("taro-input-core",void 0,helper_manipulatePropsFunction,Te),Rt=createComponent_createReactComponent("taro-label-core",void 0,helper_manipulatePropsFunction,Me),Bt=createComponent_createReactComponent("taro-movable-area-core",void 0,helper_manipulatePropsFunction,Ie),Ft=createComponent_createReactComponent("taro-movable-view-core",void 0,helper_manipulatePropsFunction,je),Nt=createComponent_createReactComponent("taro-navigator-core",void 0,helper_manipulatePropsFunction,Re),Ht=createComponent_createReactComponent("taro-page-container-core",void 0,helper_manipulatePropsFunction,Fe),Gt=createComponent_createReactComponent("taro-picker-core",void 0,helper_manipulatePropsFunction,$e),Yt=createComponent_createReactComponent("taro-picker-view-column-core",void 0,helper_manipulatePropsFunction,Xe),Vt=createComponent_createReactComponent("taro-picker-view-core",void 0,helper_manipulatePropsFunction,Ze),Wt=createComponent_createReactComponent("taro-progress-core",void 0,helper_manipulatePropsFunction,Qe),$t=createComponent_createReactComponent("taro-radio-core",void 0,helper_manipulatePropsFunction,et),qt=createComponent_createReactComponent("taro-radio-group-core",void 0,helper_manipulatePropsFunction,rt),Xt=createComponent_createReactComponent("taro-rich-text-core",void 0,helper_manipulatePropsFunction,nt),Ut=createComponent_createReactComponent("taro-scroll-view-core",void 0,helper_manipulatePropsFunction,ot),Zt=createComponent_createReactComponent("taro-slider-core",void 0,helper_manipulatePropsFunction,ct),Kt=createComponent_createReactComponent("taro-swiper-core",void 0,helper_manipulatePropsFunction,Ct.M),Qt=createComponent_createReactComponent("taro-swiper-item-core",void 0,helper_manipulatePropsFunction,Tt.M),Jt=createComponent_createReactComponent("taro-switch-core",void 0,helper_manipulatePropsFunction,ut),ei=createComponent_createReactComponent("taro-text-core",void 0,helper_manipulatePropsFunction,ht),ti=createComponent_createReactComponent("taro-textarea-core",void 0,helper_manipulatePropsFunction,mt),ii=createComponent_createReactComponent("taro-video-core",void 0,helper_manipulatePropsFunction,xt),ri=createComponent_createReactComponent("taro-view-core",void 0,helper_manipulatePropsFunction,At),ai=createComponent_createReactComponent("taro-web-view-core",void 0,helper_manipulatePropsFunction,kt)},"6486":function(S,k,C){var M,P;M=function(){"use strict";function _classCallCheck(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}function _defineProperties(S,k){for(var C=0;C-1};function normalizeName(S){if("string"!=typeof S&&(S=String(S)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(S)||""===S)throw new TypeError('Invalid character in header field name: "'+S+'"');return S.toLowerCase()}function normalizeValue(S){return"string"!=typeof S&&(S=String(S)),S}function iteratorFor(S){var k={"next":function(){var k=S.shift();return{"done":void 0===k,"value":k}}};return ne&&(k[Symbol.iterator]=function(){return k}),k}function Headers(S){this.map={},S instanceof Headers?S.forEach((function(S,k){this.append(k,S)}),this):Array.isArray(S)?S.forEach((function(S){if(2!=S.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])}),this):S&&Object.getOwnPropertyNames(S).forEach((function(k){this.append(k,S[k])}),this)}function consumed(S){if(!S._noBody)return S.bodyUsed?Promise.reject(new TypeError("Already read")):void(S.bodyUsed=!0)}function fileReaderReady(S){return new Promise((function(k,C){S.onload=function(){k(S.result)},S.onerror=function(){C(S.error)}}))}function readBlobAsArrayBuffer(S){var k=new FileReader,C=fileReaderReady(k);return k.readAsArrayBuffer(S),C}function bufferClone(S){if(S.slice)return S.slice(0);var k=new Uint8Array(S.byteLength);return k.set(new Uint8Array(S)),k.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(S){this.bodyUsed=this.bodyUsed,this._bodyInit=S,S?"string"==typeof S?this._bodyText=S:se&&Blob.prototype.isPrototypeOf(S)?this._bodyBlob=S:oe&&FormData.prototype.isPrototypeOf(S)?this._bodyFormData=S:re&&URLSearchParams.prototype.isPrototypeOf(S)?this._bodyText=S.toString():de&&se&&function isDataView(S){return S&&DataView.prototype.isPrototypeOf(S)}(S)?(this._bodyArrayBuffer=bufferClone(S.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):de&&(ArrayBuffer.prototype.isPrototypeOf(S)||pe(S))?this._bodyArrayBuffer=bufferClone(S):this._bodyText=S=Object.prototype.toString.call(S):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof S?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):re&&URLSearchParams.prototype.isPrototypeOf(S)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},se&&(this.blob=function(){var S=consumed(this);if(S)return S;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var S=consumed(this);return S||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(se)return this.blob().then(readBlobAsArrayBuffer);throw new Error("could not read as ArrayBuffer")},this.text=function(){var S=consumed(this);if(S)return S;if(this._bodyBlob)return function readBlobAsText(S){var k=new FileReader,C=fileReaderReady(k),M=/charset=([A-Za-z0-9_-]+)/.exec(S.type),P=M?M[1]:"utf-8";return k.readAsText(S,P),C}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function readArrayBufferAsText(S){for(var k=new Uint8Array(S),C=new Array(k.length),M=0;M-1?k:S}(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal||function(){if("AbortController"in D)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&C)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(C),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==k.cache&&"no-cache"!==k.cache)){var M=/([?&])_=[^&]*/;if(M.test(this.url))this.url=this.url.replace(M,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function decode(S){var k=new FormData;return S.trim().split("&").forEach((function(S){if(S){var C=S.split("="),M=C.shift().replace(/\+/g," "),P=C.join("=").replace(/\+/g," ");k.append(decodeURIComponent(M),decodeURIComponent(P))}})),k}function Response(S,k){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(k||(k={}),this.type="default",this.status=void 0===k.status?200:k.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===k.statusText?"":""+k.statusText,this.headers=new Headers(k.headers),this.url=k.url||"",this._initBody(S)}Request.prototype.clone=function(){return new Request(this,{"body":this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new Headers(this.headers),"url":this.url})},Response.error=function(){var S=new Response(null,{"status":200,"statusText":""});return S.ok=!1,S.status=0,S.type="error",S};var fe=[301,302,303,307,308];Response.redirect=function(S,k){if(-1===fe.indexOf(k))throw new RangeError("Invalid status code");return new Response(null,{"status":k,"headers":{"location":S}})};var me=D.DOMException;try{new me}catch(S){(me=function(S,k){this.message=S,this.name=k;var C=Error(S);this.stack=C.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function fetch_fetch(S,k){return new Promise((function(C,M){var P=new Request(S,k);if(P.signal&&P.signal.aborted)return M(new me("Aborted","AbortError"));var O=new XMLHttpRequest;function abortXhr(){O.abort()}if(O.onload=function(){var S,k,M={"statusText":O.statusText,"headers":(S=O.getAllResponseHeaders()||"",k=new Headers,S.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(S){return 0===S.indexOf("\n")?S.substr(1,S.length):S})).forEach((function(S){var C=S.split(":"),M=C.shift().trim();if(M){var P=C.join(":").trim();try{k.append(M,P)}catch(S){console.warn("Response "+S.message)}}})),k)};0===P.url.indexOf("file://")&&(O.status<200||O.status>599)?M.status=200:M.status=O.status,M.url="responseURL"in O?O.responseURL:M.headers.get("X-Request-URL");var D="response"in O?O.response:O.responseText;setTimeout((function(){C(new Response(D,M))}),0)},O.onerror=function(){setTimeout((function(){M(new TypeError("Network request failed"))}),0)},O.ontimeout=function(){setTimeout((function(){M(new TypeError("Network request timed out"))}),0)},O.onabort=function(){setTimeout((function(){M(new me("Aborted","AbortError"))}),0)},O.open(P.method,function fixUrl(S){try{return""===S&&D.location.href?D.location.href:S}catch(k){return S}}(P.url),!0),"include"===P.credentials?O.withCredentials=!0:"omit"===P.credentials&&(O.withCredentials=!1),"responseType"in O&&(se?O.responseType="blob":de&&(O.responseType="arraybuffer")),k&&"object"==typeof k.headers&&!(k.headers instanceof Headers||D.Headers&&k.headers instanceof D.Headers)){var re=[];Object.getOwnPropertyNames(k.headers).forEach((function(S){re.push(normalizeName(S)),O.setRequestHeader(S,normalizeValue(k.headers[S]))})),P.headers.forEach((function(S,k){-1===re.indexOf(k)&&O.setRequestHeader(k,S)}))}else P.headers.forEach((function(S,k){O.setRequestHeader(k,S)}));P.signal&&(P.signal.addEventListener("abort",abortXhr),O.onreadystatechange=function(){4===O.readyState&&P.signal.removeEventListener("abort",abortXhr)}),O.send(void 0===P._bodyInit?null:P._bodyInit)}))}fetch_fetch.polyfill=!0,D.fetch||(D.fetch=fetch_fetch,D.Headers=Headers,D.Request=Request,D.Response=Response);C(6486);var ge=C(498),be=C(6626),ve=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var Ae=function shouldUseNative(){try{if(!Object.assign)return!1;var S=new String("abc");if(S[5]="de","5"===Object.getOwnPropertyNames(S)[0])return!1;for(var k={},C=0;C<10;C++)k["_"+String.fromCharCode(C)]=C;if("0123456789"!==Object.getOwnPropertyNames(k).map((function(S){return k[S]})).join(""))return!1;var M={};return"abcdefghijklmnopqrst".split("").forEach((function(S){M[S]=S})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},M)).join("")}catch(S){return!1}}()?Object.assign:function(S,k){for(var C,M,P=function toObject(S){if(null==S)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(S)}(S),O=1;O0?(k.retryTimes--,fetchData(M,k,C)):!1===fallback(M,k,C)?C(new Error("Timeout and no data return")):void 0}),oe)}function storeCheckFn(S,k,C){return!!(S&&k&&C)&&(S[k]&&S[k]===C)}function setDataToStore(S){var k=S.useStore,C=S.storeKey,M=S.data;(k=!!k&&_e.enabled)&&_e.set(C,M)}function fallback(S,k,C){var M=k.backup;if(M){if("string"==typeof M)return delete k.backup,fetchData(generateJsonpUrlWithParams(M,k.params),k,C,{"backup":M});if(Array.isArray(M)&&M.length){var P=M.shift();return fetchData(generateJsonpUrlWithParams(P,k.params),k,C,{"backup":P})}}var O=function getDataFromStoreWithoutCheck(S){var k=S.useStore,C=S.storeKey,M=S.dataCheck;if(k=!!k&&_e.enabled){var P=_e.get(C);if(!M||P&&M&&!1!==M(P))return P}return null}({"useStore":k.useStore,"storeKey":S,"dataCheck":k.dataCheck});return!!O&&(C(null,O),!0)}var Fe=function jsonp$1(S,k,C){if(isFunction(S)?(C=S,k={}):S&&"object"===(void 0===S?"undefined":Pe(S))&&(C=k,S=(k=S||{}).url),isFunction(k)&&(C=k,k={}),k||(k={}),k=Ae({},Re,k),S=S||k.url,C=C||Le,!S||"string"!=typeof S)return C(new Error("Param url is needed!")),!jsonp$1.promiseClose&&Ie?new Promise((function(S,k){return k(new Error("Param url is needed!"))})):void 0;var M=generateJsonpUrlWithParams(S,k.params),P=function getDataFromStore(S){var k=S.useStore,C=S.storeKey,M=S.storeCheck,P=S.storeCheckKey,O=S.storeSign,D=S.dataCheck;if(k=!!k&&_e.enabled){var re=_e.get(C);if((M=M||storeCheckFn)(re,P,O)&&(!D||re&&D&&!1!==D(re)))return re}return null}({"useStore":k.useStore,"storeKey":M,"storeCheck":k.storeCheck,"storeCheckKey":k.storeCheckKey,"storeSign":k.storeSign,"dataCheck":k.dataCheck});return P?(C(null,P),!jsonp$1.promiseClose&&Ie?new Promise((function(S){return S(P)})):void 0):(k.originalUrl=M,!jsonp$1.promiseClose&&Ie?new Promise((function(S,P){fetchData(M,k,(function(k,M){if(k)return C(k),P(k);C(null,M),S(M)}))})):void fetchData(M,k,C))},Ne=C(7255),He=C(5802);function _request(){var S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},k=S.success,C=S.complete,M=S.fail,D={},re={},ne=S.cache,se=void 0===ne?"default":ne,oe=S.credentials,de=S.data,ue=S.dataType,pe=S.header,he=void 0===pe?{}:pe,fe=S.jsonp,me=S.method,ge=void 0===me?"GET":me,ve=S.mode,ye=S.responseType,Ee=S.signal,Ae=S.timeout,ke=S.url,Te=void 0===ke?"":ke,_e=(0,O._T)(S,["cache","credentials","data","dataType","header","jsonp","method","mode","responseType","signal","timeout","url"]);if("number"!=typeof Ae&&(Ae=He.vl),Object.assign(D,_e),fe)return D.params=de,D.cache=_e.jsonpCache,D.timeout=Ae,"string"==typeof fe&&(D.name=fe),Fe(Te,D).then((function(S){return re.statusCode=200,re.data=S,(0,be.mf)(k)&&k(re),(0,be.mf)(C)&&C(re),re})).catch((function(S){return(0,be.mf)(M)&&M(S),(0,be.mf)(C)&&C(re),Promise.reject(S)}));D.method=ge;var Me=D.method.toUpperCase();if(D.cache=se,"GET"===Me||"HEAD"===Me)Te=function generateRequestUrlWithParams(){var S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",k=arguments.length>1?arguments[1]:void 0;return(k="string"==typeof k?k:(0,Ne.tW)(k))&&(S+=(~S.indexOf("?")?"&":"?")+k),S.replace("?&","?")}(Te,de);else if(["[object Array]","[object Object]"].indexOf(Object.prototype.toString.call(de))>=0){var Pe=Object.keys(he).find((function(S){return"content-type"===S.toLowerCase()}));Pe||(he["Content-Type"]="application/json");var Oe=he[Pe||"Content-Type"];Oe.indexOf("application/json")>=0?D.body=JSON.stringify(de):Oe.indexOf("application/x-www-form-urlencoded")>=0?D.body=(0,Ne.tW)(de):D.body=de}else D.body=de;he&&(D.headers=he),ve&&(D.mode=ve);var Ie=null,Le=null;Ee?D.signal=Ee:(Le=new window.AbortController,D.signal=Le.signal,Ie=setTimeout((function(){Le&&Le.abort()}),Ae)),D.credentials=oe;var je=fetch(Te,D).then((function(S){if(Ie&&(clearTimeout(Ie),Ie=null),Le&&(Le=null),!S){throw{"ok":!1}}re.statusCode=S.status,re.header={};var k,C=(0,P.Z)(S.headers.keys());try{for(C.s();!(k=C.n()).done;){var M=k.value;re.header[M]=S.headers.get(M)}}catch(S){C.e(S)}finally{C.f()}return"arraybuffer"===ye?S.arrayBuffer():204===re.statusCode||"json"!==ue&&void 0!==ue?"text"===ye||"text"===ue?S.text():Promise.resolve(null):S.json().catch((function(){return null}))})).then((function(S){return re.data=S,(0,be.mf)(k)&&k(re),(0,be.mf)(C)&&C(re),re})).catch((function(S){return Ie&&(clearTimeout(Ie),Ie=null),Le&&(Le=null),(0,be.mf)(M)&&M(S),(0,be.mf)(C)&&C(re),S.statusCode=re.statusCode,S.errMsg=S.message,Promise.reject(S)}));return!je.abort&&Le&&(je.abort=function(S){Le&&(S&&S(),Le.abort(),Ie&&(clearTimeout(Ie),Ie=null))}),je}var Ge=new(0,ge.Z.Link)((function taroInterceptor(S){return _request(S.requestParams)})),Ye=(Ge.addInterceptor.bind(Ge),Ge.cleanInterceptors.bind(Ge),C(4385)),Ve=C(7294),We=C(4721),$e=C(5893),qe=function Index(){var S=(0,Ve.useState)({}),k=(0,M.Z)(S,2),C=k[0],P=k[1],O=(0,Ve.useState)(""),D=(0,M.Z)(O,2),re=D[0],ne=D[1];return(0,$e.jsxs)(Ye.G7,{"className":"api-page","children":[(0,$e.jsxs)(Ye.G7,{"className":"api-page-btns","children":[(0,$e.jsx)(Ye.II,{"className":"url-input","onInput":function onInput(S){ne(S.detail.value)},"placeholder":"输入请求的 url"}),(0,$e.jsx)(Ye.zx,{"type":"primary","onClick":function _onRequest(){re&&(P({}),function request(){for(var S=arguments.length,k=new Array(S),C=0;C0?(0,D.jsx)(P(),{"src":S.data,"enableClipboard":!1,"displayObjectSize":!1,"quotesOnKeys":!1,"indentWidth":2,"displayDataTypes":!1,"name":null}):(0,D.jsx)(O.G7,{})}},"5171":function(S,k,C){var M;S.exports=(M=C(7294),function(S){var k={};function n(C){if(k[C])return k[C].exports;var M=k[C]={"i":C,"l":!1,"exports":{}};return S[C].call(M.exports,M,M.exports,n),M.l=!0,M.exports}return n.m=S,n.c=k,n.d=function(S,k,C){n.o(S,k)||Object.defineProperty(S,k,{"enumerable":!0,"get":C})},n.r=function(S){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(S,Symbol.toStringTag,{"value":"Module"}),Object.defineProperty(S,"__esModule",{"value":!0})},n.t=function(S,k){if(1&k&&(S=n(S)),8&k)return S;if(4&k&&"object"==typeof S&&S&&S.__esModule)return S;var C=Object.create(null);if(n.r(C),Object.defineProperty(C,"default",{"enumerable":!0,"value":S}),2&k&&"string"!=typeof S)for(var M in S)n.d(C,M,function(k){return S[k]}.bind(null,M));return C},n.n=function(S){var k=S&&S.__esModule?function(){return S.default}:function(){return S};return n.d(k,"a",k),k},n.o=function(S,k){return Object.prototype.hasOwnProperty.call(S,k)},n.p="",n(n.s=48)}([function(S,k){S.exports=M},function(S,k){var C=S.exports={"version":"2.6.12"};"number"==typeof __e&&(__e=C)},function(S,k,C){var M=C(26)("wks"),P=C(17),O=C(3).Symbol,D="function"==typeof O;(S.exports=function(S){return M[S]||(M[S]=D&&O[S]||(D?O:P)("Symbol."+S))}).store=M},function(S,k){var C=S.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=C)},function(S,k,C){S.exports=!C(8)((function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a}))},function(S,k){var C={}.hasOwnProperty;S.exports=function(S,k){return C.call(S,k)}},function(S,k,C){var M=C(7),P=C(16);S.exports=C(4)?function(S,k,C){return M.f(S,k,P(1,C))}:function(S,k,C){return S[k]=C,S}},function(S,k,C){var M=C(10),P=C(35),O=C(23),D=Object.defineProperty;k.f=C(4)?Object.defineProperty:function(S,k,C){if(M(S),k=O(k,!0),M(C),P)try{return D(S,k,C)}catch(S){}if("get"in C||"set"in C)throw TypeError("Accessors not supported!");return"value"in C&&(S[k]=C.value),S}},function(S,k){S.exports=function(S){try{return!!S()}catch(S){return!0}}},function(S,k,C){var M=C(40),P=C(22);S.exports=function(S){return M(P(S))}},function(S,k,C){var M=C(11);S.exports=function(S){if(!M(S))throw TypeError(S+" is not an object!");return S}},function(S,k){S.exports=function(S){return"object"==typeof S?null!==S:"function"==typeof S}},function(S,k){S.exports={}},function(S,k,C){var M=C(39),P=C(27);S.exports=Object.keys||function(S){return M(S,P)}},function(S,k){S.exports=!0},function(S,k,C){var M=C(3),P=C(1),O=C(53),D=C(6),re=C(5),c=function(S,k,C){var ne,se,oe,de=S&c.F,ue=S&c.G,pe=S&c.S,he=S&c.P,fe=S&c.B,me=S&c.W,ge=ue?P:P[k]||(P[k]={}),be=ge.prototype,ve=ue?M:pe?M[k]:(M[k]||{}).prototype;for(ne in ue&&(C=k),C)(se=!de&&ve&&void 0!==ve[ne])&&re(ge,ne)||(oe=se?ve[ne]:C[ne],ge[ne]=ue&&"function"!=typeof ve[ne]?C[ne]:fe&&se?O(oe,M):me&&ve[ne]==oe?function(S){var t=function(k,C,M){if(this instanceof S){switch(arguments.length){case 0:return new S;case 1:return new S(k);case 2:return new S(k,C)}return new S(k,C,M)}return S.apply(this,arguments)};return t.prototype=S.prototype,t}(oe):he&&"function"==typeof oe?O(Function.call,oe):oe,he&&((ge.virtual||(ge.virtual={}))[ne]=oe,S&c.R&&be&&!be[ne]&&D(be,ne,oe)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,S.exports=c},function(S,k){S.exports=function(S,k){return{"enumerable":!(1&S),"configurable":!(2&S),"writable":!(4&S),"value":k}}},function(S,k){var C=0,M=Math.random();S.exports=function(S){return"Symbol(".concat(void 0===S?"":S,")_",(++C+M).toString(36))}},function(S,k,C){var M=C(22);S.exports=function(S){return Object(M(S))}},function(S,k){k.f={}.propertyIsEnumerable},function(S,k,C){"use strict";var M=C(52)(!0);C(34)(String,"String",(function(S){this._t=String(S),this._i=0}),(function(){var S,k=this._t,C=this._i;return C>=k.length?{"value":void 0,"done":!0}:(S=M(k,C),this._i+=S.length,{"value":S,"done":!1})}))},function(S,k){var C=Math.ceil,M=Math.floor;S.exports=function(S){return isNaN(S=+S)?0:(S>0?M:C)(S)}},function(S,k){S.exports=function(S){if(null==S)throw TypeError("Can't call method on "+S);return S}},function(S,k,C){var M=C(11);S.exports=function(S,k){if(!M(S))return S;var C,P;if(k&&"function"==typeof(C=S.toString)&&!M(P=C.call(S)))return P;if("function"==typeof(C=S.valueOf)&&!M(P=C.call(S)))return P;if(!k&&"function"==typeof(C=S.toString)&&!M(P=C.call(S)))return P;throw TypeError("Can't convert object to primitive value")}},function(S,k){var C={}.toString;S.exports=function(S){return C.call(S).slice(8,-1)}},function(S,k,C){var M=C(26)("keys"),P=C(17);S.exports=function(S){return M[S]||(M[S]=P(S))}},function(S,k,C){var M=C(1),P=C(3),O=P["__core-js_shared__"]||(P["__core-js_shared__"]={});(S.exports=function(S,k){return O[S]||(O[S]=void 0!==k?k:{})})("versions",[]).push({"version":M.version,"mode":C(14)?"pure":"global","copyright":"© 2020 Denis Pushkarev (zloirock.ru)"})},function(S,k){S.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(S,k,C){var M=C(7).f,P=C(5),O=C(2)("toStringTag");S.exports=function(S,k,C){S&&!P(S=C?S:S.prototype,O)&&M(S,O,{"configurable":!0,"value":k})}},function(S,k,C){C(62);for(var M=C(3),P=C(6),O=C(12),D=C(2)("toStringTag"),re="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),ne=0;nedocument.F=Object<\/script>"),S.close(),c=S.F;M--;)delete c.prototype[O[M]];return c()};S.exports=Object.create||function(S,k){var C;return null!==S?(s.prototype=M(S),C=new s,s.prototype=null,C[D]=S):C=c(),void 0===k?C:P(C,k)}},function(S,k,C){var M=C(5),P=C(9),O=C(57)(!1),D=C(25)("IE_PROTO");S.exports=function(S,k){var C,re=P(S),ne=0,se=[];for(C in re)C!=D&&M(re,C)&&se.push(C);for(;k.length>ne;)M(re,C=k[ne++])&&(~O(se,C)||se.push(C));return se}},function(S,k,C){var M=C(24);S.exports=Object("z").propertyIsEnumerable(0)?Object:function(S){return"String"==M(S)?S.split(""):Object(S)}},function(S,k,C){var M=C(39),P=C(27).concat("length","prototype");k.f=Object.getOwnPropertyNames||function(S){return M(S,P)}},function(S,k,C){var M=C(24),P=C(2)("toStringTag"),O="Arguments"==M(function(){return arguments}());S.exports=function(S){var k,C,D;return void 0===S?"Undefined":null===S?"Null":"string"==typeof(C=function(S,k){try{return S[k]}catch(S){}}(k=Object(S),P))?C:O?M(k):"Object"==(D=M(k))&&"function"==typeof k.callee?"Arguments":D}},function(S,k){var C;C=function(){return this}();try{C=C||new Function("return this")()}catch(S){"object"==typeof window&&(C=window)}S.exports=C},function(S,k){var C=/-?\d+(\.\d+)?%?/g;S.exports=function(S){return S.match(C)}},function(S,k,C){"use strict";Object.defineProperty(k,"__esModule",{"value":!0}),k.getBase16Theme=k.createStyling=k.invertTheme=void 0;var M=d(C(49)),P=d(C(76)),O=d(C(81)),D=d(C(89)),re=d(C(93)),ne=function(S){if(S&&S.__esModule)return S;var k={};if(null!=S)for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&(k[C]=S[C]);return k.default=S,k}(C(94)),se=d(C(132)),oe=d(C(133)),de=d(C(138)),ue=C(139);function d(S){return S&&S.__esModule?S:{"default":S}}var pe=ne.default,he=(0,D.default)(pe),fe=(0,de.default)(oe.default,ue.rgb2yuv,(function(S){var k,C=(0,O.default)(S,3);return[(k=C[0],k<.25?1:k<.5?.9-k:1.1-k),C[1],C[2]]}),ue.yuv2rgb,se.default),m=function(S){return function(k){return{"className":[k.className,S.className].filter(Boolean).join(" "),"style":(0,P.default)({},k.style||{},S.style||{})}}},y=function(S,k){var C=(0,D.default)(k);for(var O in S)-1===C.indexOf(O)&&C.push(O);return C.reduce((function(C,O){return C[O]=function(S,k){if(void 0===S)return k;if(void 0===k)return S;var C=void 0===S?"undefined":(0,M.default)(S),O=void 0===k?"undefined":(0,M.default)(k);switch(C){case"string":switch(O){case"string":return[k,S].filter(Boolean).join(" ");case"object":return m({"className":S,"style":k});case"function":return function(C){for(var M=arguments.length,P=Array(M>1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O2?C-2:0),re=2;re3?k-3:0),M=3;M1&&void 0!==arguments[1]?arguments[1]:{},ne=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},se=O.defaultBase16,oe=void 0===se?pe:se,de=O.base16Themes,ue=ge(ne,void 0===de?null:de);ue&&(ne=(0,P.default)({},ue,ne));var fe=he.reduce((function(S,k){return S[k]=ne[k]||oe[k],S}),{}),me=(0,D.default)(ne).reduce((function(S,k){return-1===he.indexOf(k)?(S[k]=ne[k],S):S}),{}),be=S(fe),ve=y(me,be);return(0,re.default)(g,2).apply(void 0,[ve].concat(C))}),3),k.getBase16Theme=function(S,k){if(S&&S.extend&&(S=S.extend),"string"==typeof S){var C=S.split(":"),M=(0,O.default)(C,2),P=M[0],D=M[1];S=(k||{})[P]||ne[P],"inverted"===D&&(S=me(S))}return S&&S.hasOwnProperty("base00")?S:void 0})},function(S,k,C){"use strict";var M,P="object"==typeof Reflect?Reflect:null,O=P&&"function"==typeof P.apply?P.apply:function(S,k,C){return Function.prototype.apply.call(S,k,C)};M=P&&"function"==typeof P.ownKeys?P.ownKeys:Object.getOwnPropertySymbols?function(S){return Object.getOwnPropertyNames(S).concat(Object.getOwnPropertySymbols(S))}:function(S){return Object.getOwnPropertyNames(S)};var D=Number.isNaN||function(S){return S!=S};function s(){s.init.call(this)}S.exports=s,S.exports.once=function(S,k){return new Promise((function(C,M){function r(){void 0!==P&&S.removeListener("error",P),C([].slice.call(arguments))}var P;"error"!==k&&(P=function(C){S.removeListener(k,r),M(C)},S.once("error",P)),S.once(k,r)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var re=10;function l(S){if("function"!=typeof S)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof S)}function u(S){return void 0===S._maxListeners?s.defaultMaxListeners:S._maxListeners}function f(S,k,C,M){var P,O,D,re;if(l(C),void 0===(O=S._events)?(O=S._events=Object.create(null),S._eventsCount=0):(void 0!==O.newListener&&(S.emit("newListener",k,C.listener?C.listener:C),O=S._events),D=O[k]),void 0===D)D=O[k]=C,++S._eventsCount;else if("function"==typeof D?D=O[k]=M?[C,D]:[D,C]:M?D.unshift(C):D.push(C),(P=u(S))>0&&D.length>P&&!D.warned){D.warned=!0;var ne=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(k)+" listeners added. Use emitter.setMaxListeners() to increase limit");ne.name="MaxListenersExceededWarning",ne.emitter=S,ne.type=k,ne.count=D.length,re=ne,console&&console.warn&&console.warn(re)}return S}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(S,k,C){var M={"fired":!1,"wrapFn":void 0,"target":S,"type":k,"listener":C},P=p.bind(M);return P.listener=C,M.wrapFn=P,P}function b(S,k,C){var M=S._events;if(void 0===M)return[];var P=M[k];return void 0===P?[]:"function"==typeof P?C?[P.listener||P]:[P]:C?function(S){for(var k=new Array(S.length),C=0;C0&&(D=k[0]),D instanceof Error)throw D;var re=new Error("Unhandled error."+(D?" ("+D.message+")":""));throw re.context=D,re}var ne=P[S];if(void 0===ne)return!1;if("function"==typeof ne)O(ne,this,k);else{var se=ne.length,oe=v(ne,se);for(C=0;C=0;O--)if(C[O]===k||C[O].listener===k){D=C[O].listener,P=O;break}if(P<0)return this;0===P?C.shift():function(S,k){for(;k+1=0;M--)this.removeListener(S,k[M]);return this},s.prototype.listeners=function(S){return b(this,S,!0)},s.prototype.rawListeners=function(S){return b(this,S,!1)},s.listenerCount=function(S,k){return"function"==typeof S.listenerCount?S.listenerCount(k):h.call(S,k)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?M(this._events):[]}},function(S,k,C){S.exports.Dispatcher=C(140)},function(S,k,C){S.exports=C(142)},function(S,k,C){"use strict";k.__esModule=!0;var M=i(C(50)),P=i(C(65)),O="function"==typeof P.default&&"symbol"==typeof M.default?function(S){return typeof S}:function(S){return S&&"function"==typeof P.default&&S.constructor===P.default&&S!==P.default.prototype?"symbol":typeof S};function i(S){return S&&S.__esModule?S:{"default":S}}k.default="function"==typeof P.default&&"symbol"===O(M.default)?function(S){return void 0===S?"undefined":O(S)}:function(S){return S&&"function"==typeof P.default&&S.constructor===P.default&&S!==P.default.prototype?"symbol":void 0===S?"undefined":O(S)}},function(S,k,C){S.exports={"default":C(51),"__esModule":!0}},function(S,k,C){C(20),C(29),S.exports=C(30).f("iterator")},function(S,k,C){var M=C(21),P=C(22);S.exports=function(S){return function(k,C){var O,D,re=String(P(k)),ne=M(C),se=re.length;return ne<0||ne>=se?S?"":void 0:(O=re.charCodeAt(ne))<55296||O>56319||ne+1===se||(D=re.charCodeAt(ne+1))<56320||D>57343?S?re.charAt(ne):O:S?re.slice(ne,ne+2):D-56320+(O-55296<<10)+65536}}},function(S,k,C){var M=C(54);S.exports=function(S,k,C){if(M(S),void 0===k)return S;switch(C){case 1:return function(C){return S.call(k,C)};case 2:return function(C,M){return S.call(k,C,M)};case 3:return function(C,M,P){return S.call(k,C,M,P)}}return function(){return S.apply(k,arguments)}}},function(S,k){S.exports=function(S){if("function"!=typeof S)throw TypeError(S+" is not a function!");return S}},function(S,k,C){"use strict";var M=C(38),P=C(16),O=C(28),D={};C(6)(D,C(2)("iterator"),(function(){return this})),S.exports=function(S,k,C){S.prototype=M(D,{"next":P(1,C)}),O(S,k+" Iterator")}},function(S,k,C){var M=C(7),P=C(10),O=C(13);S.exports=C(4)?Object.defineProperties:function(S,k){P(S);for(var C,D=O(k),re=D.length,ne=0;re>ne;)M.f(S,C=D[ne++],k[C]);return S}},function(S,k,C){var M=C(9),P=C(58),O=C(59);S.exports=function(S){return function(k,C,D){var re,ne=M(k),se=P(ne.length),oe=O(D,se);if(S&&C!=C){for(;se>oe;)if((re=ne[oe++])!=re)return!0}else for(;se>oe;oe++)if((S||oe in ne)&&ne[oe]===C)return S||oe||0;return!S&&-1}}},function(S,k,C){var M=C(21),P=Math.min;S.exports=function(S){return S>0?P(M(S),9007199254740991):0}},function(S,k,C){var M=C(21),P=Math.max,O=Math.min;S.exports=function(S,k){return(S=M(S))<0?P(S+k,0):O(S,k)}},function(S,k,C){var M=C(3).document;S.exports=M&&M.documentElement},function(S,k,C){var M=C(5),P=C(18),O=C(25)("IE_PROTO"),D=Object.prototype;S.exports=Object.getPrototypeOf||function(S){return S=P(S),M(S,O)?S[O]:"function"==typeof S.constructor&&S instanceof S.constructor?S.constructor.prototype:S instanceof Object?D:null}},function(S,k,C){"use strict";var M=C(63),P=C(64),O=C(12),D=C(9);S.exports=C(34)(Array,"Array",(function(S,k){this._t=D(S),this._i=0,this._k=k}),(function(){var S=this._t,k=this._k,C=this._i++;return!S||C>=S.length?(this._t=void 0,P(1)):P(0,"keys"==k?C:"values"==k?S[C]:[C,S[C]])}),"values"),O.Arguments=O.Array,M("keys"),M("values"),M("entries")},function(S,k){S.exports=function(){}},function(S,k){S.exports=function(S,k){return{"value":k,"done":!!S}}},function(S,k,C){S.exports={"default":C(66),"__esModule":!0}},function(S,k,C){C(67),C(73),C(74),C(75),S.exports=C(1).Symbol},function(S,k,C){"use strict";var M=C(3),P=C(5),O=C(4),D=C(15),re=C(37),ne=C(68).KEY,se=C(8),oe=C(26),de=C(28),ue=C(17),pe=C(2),he=C(30),fe=C(31),me=C(69),ge=C(70),be=C(10),ve=C(11),ye=C(18),Ee=C(9),Ae=C(23),ke=C(16),Te=C(38),_e=C(71),Me=C(72),Pe=C(32),Oe=C(7),Ie=C(13),Le=Me.f,je=Oe.f,De=_e.f,ze=M.Symbol,Re=M.JSON,Be=Re&&Re.stringify,Fe=pe("_hidden"),Ne=pe("toPrimitive"),He={}.propertyIsEnumerable,Ge=oe("symbol-registry"),Ye=oe("symbols"),Ve=oe("op-symbols"),We=Object.prototype,$e="function"==typeof ze&&!!Pe.f,qe=M.QObject,Xe=!qe||!qe.prototype||!qe.prototype.findChild,Ue=O&&se((function(){return 7!=Te(je({},"a",{"get":function(){return je(this,"a",{"value":7}).a}})).a}))?function(S,k,C){var M=Le(We,k);M&&delete We[k],je(S,k,C),M&&S!==We&&je(We,k,M)}:je,G=function(S){var k=Ye[S]=Te(ze.prototype);return k._k=S,k},Ze=$e&&"symbol"==typeof ze.iterator?function(S){return"symbol"==typeof S}:function(S){return S instanceof ze},Y=function(S,k,C){return S===We&&Y(Ve,k,C),be(S),k=Ae(k,!0),be(C),P(Ye,k)?(C.enumerable?(P(S,Fe)&&S[Fe][k]&&(S[Fe][k]=!1),C=Te(C,{"enumerable":ke(0,!1)})):(P(S,Fe)||je(S,Fe,ke(1,{})),S[Fe][k]=!0),Ue(S,k,C)):je(S,k,C)},$=function(S,k){be(S);for(var C,M=me(k=Ee(k)),P=0,O=M.length;O>P;)Y(S,C=M[P++],k[C]);return S},Q=function(S){var k=He.call(this,S=Ae(S,!0));return!(this===We&&P(Ye,S)&&!P(Ve,S))&&(!(k||!P(this,S)||!P(Ye,S)||P(this,Fe)&&this[Fe][S])||k)},Z=function(S,k){if(S=Ee(S),k=Ae(k,!0),S!==We||!P(Ye,k)||P(Ve,k)){var C=Le(S,k);return!C||!P(Ye,k)||P(S,Fe)&&S[Fe][k]||(C.enumerable=!0),C}},X=function(S){for(var k,C=De(Ee(S)),M=[],O=0;C.length>O;)P(Ye,k=C[O++])||k==Fe||k==ne||M.push(k);return M},ee=function(S){for(var k,C=S===We,M=De(C?Ve:Ee(S)),O=[],D=0;M.length>D;)!P(Ye,k=M[D++])||C&&!P(We,k)||O.push(Ye[k]);return O};$e||(re((ze=function(){if(this instanceof ze)throw TypeError("Symbol is not a constructor!");var S=ue(arguments.length>0?arguments[0]:void 0),t=function(k){this===We&&t.call(Ve,k),P(this,Fe)&&P(this[Fe],S)&&(this[Fe][S]=!1),Ue(this,S,ke(1,k))};return O&&Xe&&Ue(We,S,{"configurable":!0,"set":t}),G(S)}).prototype,"toString",(function(){return this._k})),Me.f=Z,Oe.f=Y,C(41).f=_e.f=X,C(19).f=Q,Pe.f=ee,O&&!C(14)&&re(We,"propertyIsEnumerable",Q,!0),he.f=function(S){return G(pe(S))}),D(D.G+D.W+D.F*!$e,{"Symbol":ze});for(var Ke="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Qe=0;Ke.length>Qe;)pe(Ke[Qe++]);for(var Je=Ie(pe.store),et=0;Je.length>et;)fe(Je[et++]);D(D.S+D.F*!$e,"Symbol",{"for":function(S){return P(Ge,S+="")?Ge[S]:Ge[S]=ze(S)},"keyFor":function(S){if(!Ze(S))throw TypeError(S+" is not a symbol!");for(var k in Ge)if(Ge[k]===S)return k},"useSetter":function(){Xe=!0},"useSimple":function(){Xe=!1}}),D(D.S+D.F*!$e,"Object",{"create":function(S,k){return void 0===k?Te(S):$(Te(S),k)},"defineProperty":Y,"defineProperties":$,"getOwnPropertyDescriptor":Z,"getOwnPropertyNames":X,"getOwnPropertySymbols":ee});var tt=se((function(){Pe.f(1)}));D(D.S+D.F*tt,"Object",{"getOwnPropertySymbols":function(S){return Pe.f(ye(S))}}),Re&&D(D.S+D.F*(!$e||se((function(){var S=ze();return"[null]"!=Be([S])||"{}"!=Be({"a":S})||"{}"!=Be(Object(S))}))),"JSON",{"stringify":function(S){for(var k,C,M=[S],P=1;arguments.length>P;)M.push(arguments[P++]);if(C=k=M[1],(ve(k)||void 0!==S)&&!Ze(S))return ge(k)||(k=function(S,k){if("function"==typeof C&&(k=C.call(this,S,k)),!Ze(k))return k}),M[1]=k,Be.apply(Re,M)}}),ze.prototype[Ne]||C(6)(ze.prototype,Ne,ze.prototype.valueOf),de(ze,"Symbol"),de(Math,"Math",!0),de(M.JSON,"JSON",!0)},function(S,k,C){var M=C(17)("meta"),P=C(11),O=C(5),D=C(7).f,re=0,ne=Object.isExtensible||function(){return!0},se=!C(8)((function(){return ne(Object.preventExtensions({}))})),u=function(S){D(S,M,{"value":{"i":"O"+ ++re,"w":{}}})},oe=S.exports={"KEY":M,"NEED":!1,"fastKey":function(S,k){if(!P(S))return"symbol"==typeof S?S:("string"==typeof S?"S":"P")+S;if(!O(S,M)){if(!ne(S))return"F";if(!k)return"E";u(S)}return S[M].i},"getWeak":function(S,k){if(!O(S,M)){if(!ne(S))return!0;if(!k)return!1;u(S)}return S[M].w},"onFreeze":function(S){return se&&oe.NEED&&ne(S)&&!O(S,M)&&u(S),S}}},function(S,k,C){var M=C(13),P=C(32),O=C(19);S.exports=function(S){var k=M(S),C=P.f;if(C)for(var D,re=C(S),ne=O.f,se=0;re.length>se;)ne.call(S,D=re[se++])&&k.push(D);return k}},function(S,k,C){var M=C(24);S.exports=Array.isArray||function(S){return"Array"==M(S)}},function(S,k,C){var M=C(9),P=C(41).f,O={}.toString,D="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];S.exports.f=function(S){return D&&"[object Window]"==O.call(S)?function(S){try{return P(S)}catch(S){return D.slice()}}(S):P(M(S))}},function(S,k,C){var M=C(19),P=C(16),O=C(9),D=C(23),re=C(5),ne=C(35),se=Object.getOwnPropertyDescriptor;k.f=C(4)?se:function(S,k){if(S=O(S),k=D(k,!0),ne)try{return se(S,k)}catch(S){}if(re(S,k))return P(!M.f.call(S,k),S[k])}},function(S,k){},function(S,k,C){C(31)("asyncIterator")},function(S,k,C){C(31)("observable")},function(S,k,C){"use strict";k.__esModule=!0;var M,P=(M=C(77))&&M.__esModule?M:{"default":M};k.default=P.default||function(S){for(var k=1;koe;)for(var pe,he=ne(arguments[oe++]),fe=de?P(he).concat(de(he)):P(he),me=fe.length,ge=0;me>ge;)pe=fe[ge++],M&&!ue.call(he,pe)||(C[pe]=he[pe]);return C}:se},function(S,k,C){"use strict";k.__esModule=!0;var M=o(C(82)),P=o(C(85));function o(S){return S&&S.__esModule?S:{"default":S}}k.default=function(S,k){if(Array.isArray(S))return S;if((0,M.default)(Object(S)))return function(S,k){var C=[],M=!0,O=!1,D=void 0;try{for(var re,ne=(0,P.default)(S);!(M=(re=ne.next()).done)&&(C.push(re.value),!k||C.length!==k);M=!0);}catch(S){O=!0,D=S}finally{try{!M&&ne.return&&ne.return()}finally{if(O)throw D}}return C}(S,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(S,k,C){S.exports={"default":C(83),"__esModule":!0}},function(S,k,C){C(29),C(20),S.exports=C(84)},function(S,k,C){var M=C(42),P=C(2)("iterator"),O=C(12);S.exports=C(1).isIterable=function(S){var k=Object(S);return void 0!==k[P]||"@@iterator"in k||O.hasOwnProperty(M(k))}},function(S,k,C){S.exports={"default":C(86),"__esModule":!0}},function(S,k,C){C(29),C(20),S.exports=C(87)},function(S,k,C){var M=C(10),P=C(88);S.exports=C(1).getIterator=function(S){var k=P(S);if("function"!=typeof k)throw TypeError(S+" is not iterable!");return M(k.call(S))}},function(S,k,C){var M=C(42),P=C(2)("iterator"),O=C(12);S.exports=C(1).getIteratorMethod=function(S){if(null!=S)return S[P]||S["@@iterator"]||O[M(S)]}},function(S,k,C){S.exports={"default":C(90),"__esModule":!0}},function(S,k,C){C(91),S.exports=C(1).Object.keys},function(S,k,C){var M=C(18),P=C(13);C(92)("keys",(function(){return function(S){return P(M(S))}}))},function(S,k,C){var M=C(15),P=C(1),O=C(8);S.exports=function(S,k){var C=(P.Object||{})[S]||Object[S],D={};D[S]=k(C),M(M.S+M.F*O((function(){C(1)})),"Object",D)}},function(S,k,C){(function(k){var C=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],M=/^\s+|\s+$/g,P=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,O=/\{\n\/\* \[wrapped with (.+)\] \*/,D=/,? & /,re=/^[-+]0x[0-9a-f]+$/i,ne=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,de=/^(?:0|[1-9]\d*)$/,ue=parseInt,pe="object"==typeof k&&k&&k.Object===Object&&k,he="object"==typeof self&&self&&self.Object===Object&&self,fe=pe||he||Function("return this")();function v(S,k,C){switch(C.length){case 0:return S.call(k);case 1:return S.call(k,C[0]);case 2:return S.call(k,C[0],C[1]);case 3:return S.call(k,C[0],C[1],C[2])}return S.apply(k,C)}function m(S,k){return!(!S||!S.length)&&function(S,k,C){if(k!=k)return function(S,k,C,M){for(var P=S.length,O=C+(M?1:-1);M?O--:++O-1}function y(S){return S!=S}function g(S,k){for(var C=S.length,M=0;C--;)S[C]===k&&M++;return M}function E(S,k){for(var C=-1,M=S.length,P=0,O=[];++C2?ge:void 0);function L(S){return X(S)?Pe(S):{}}function B(S){return!(!X(S)||function(S){return!!Ae&&Ae in S}(S))&&(function(S){var k=X(S)?_e.call(S):"";return"[object Function]"==k||"[object GeneratorFunction]"==k}(S)||function(S){var k=!1;if(null!=S&&"function"!=typeof S.toString)try{k=!!(S+"")}catch(S){}return k}(S)?Me:se).test(function(S){if(null!=S){try{return ke.call(S)}catch(S){}try{return S+""}catch(S){}}return""}(S))}function N(S,k,C,M){for(var P=-1,O=S.length,D=C.length,re=-1,ne=k.length,se=Oe(O-D,0),oe=Array(ne+se),de=!M;++re1&&be.reverse(),oe&&ne1?"& ":"")+k[M],k=k.join(C>2?", ":" "),S.replace(P,"{\n/* [wrapped with "+k+"] */\n")}function J(S,k){return!!(k=null==k?9007199254740991:k)&&("number"==typeof S||de.test(S))&&S>-1&&S%1==0&&S1&&M--,O=6*M<1?k+6*(C-k)*M:2*M<1?C:3*M<2?k+(C-k)*(2/3-M)*6:k,P[se]=255*O;return P}},function(S,k,C){(function(k){var C="object"==typeof k&&k&&k.Object===Object&&k,M="object"==typeof self&&self&&self.Object===Object&&self,P=C||M||Function("return this")();function o(S,k,C){switch(C.length){case 0:return S.call(k);case 1:return S.call(k,C[0]);case 2:return S.call(k,C[0],C[1]);case 3:return S.call(k,C[0],C[1],C[2])}return S.apply(k,C)}function i(S,k){for(var C=-1,M=k.length,P=S.length;++C-1&&S%1==0&&S<=9007199254740991}(S.length)&&!function(S){var k=function(S){var k=typeof S;return!!S&&("object"==k||"function"==k)}(S)?re.call(S):"";return"[object Function]"==k||"[object GeneratorFunction]"==k}(S)}(S)}(S)&&D.call(S,"callee")&&(!se.call(S,"callee")||"[object Arguments]"==re.call(S))}(S)||!!(oe&&S&&S[oe])}var ue,pe,he,fe=Array.isArray,me=(pe=function(S){var k=(S=function e(S,k,C,M,P){var O=-1,D=S.length;for(C||(C=b),P||(P=[]);++O0&&C(re)?k>1?e(re,k-1,C,M,P):i(P,re):M||(P[P.length]=re)}return P}(S,1)).length,C=k;for(ue&&S.reverse();C--;)if("function"!=typeof S[C])throw new TypeError("Expected a function");return function(){for(var C=0,M=k?S[C].apply(this,arguments):arguments[0];++C2?C-2:0),P=2;P=0||(P[C]=S[C]);return P}(S,k);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(S);for(M=0;M=0||Object.prototype.propertyIsEnumerable.call(S,C)&&(P[C]=S[C])}return P}function _(S){var k=function(S){return{}.toString.call(S).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(S);return"number"===k&&(k=isNaN(S)?"nan":(0|S)!=S?"float":"integer"),k}y.__suppressDeprecationWarning=!0,g.__suppressDeprecationWarning=!0,E.__suppressDeprecationWarning=!0;var O={"scheme":"rjv-default","author":"mac gainor","base00":"rgba(0, 0, 0, 0)","base01":"rgb(245, 245, 245)","base02":"rgb(235, 235, 235)","base03":"#93a1a1","base04":"rgba(0, 0, 0, 0.3)","base05":"#586e75","base06":"#073642","base07":"#002b36","base08":"#d33682","base09":"#cb4b16","base0A":"#dc322f","base0B":"#859900","base0C":"#6c71c4","base0D":"#586e75","base0E":"#2aa198","base0F":"#268bd2"},D={"scheme":"rjv-grey","author":"mac gainor","base00":"rgba(1, 1, 1, 0)","base01":"rgba(1, 1, 1, 0.1)","base02":"rgba(0, 0, 0, 0.2)","base03":"rgba(1, 1, 1, 0.3)","base04":"rgba(0, 0, 0, 0.4)","base05":"rgba(1, 1, 1, 0.5)","base06":"rgba(1, 1, 1, 0.6)","base07":"rgba(1, 1, 1, 0.7)","base08":"rgba(1, 1, 1, 0.8)","base09":"rgba(1, 1, 1, 0.8)","base0A":"rgba(1, 1, 1, 0.8)","base0B":"rgba(1, 1, 1, 0.8)","base0C":"rgba(1, 1, 1, 0.8)","base0D":"rgba(1, 1, 1, 0.8)","base0E":"rgba(1, 1, 1, 0.8)","base0F":"rgba(1, 1, 1, 0.8)"},re={"white":"#fff","black":"#000","transparent":"rgba(1, 1, 1, 0)","globalFontFamily":"monospace","globalCursor":"default","indentBlockWidth":"5px","braceFontWeight":"bold","braceCursor":"pointer","ellipsisFontSize":"18px","ellipsisLineHeight":"10px","ellipsisCursor":"pointer","keyMargin":"0px 5px","keyLetterSpacing":"0.5px","keyFontStyle":"none","keyBorderRadius":"3px","keyColonWeight":"bold","keyVerticalAlign":"top","keyOpacity":"0.85","keyOpacityHover":"1","keyValPaddingTop":"3px","keyValPaddingBottom":"3px","keyValPaddingRight":"5px","keyValBorderLeft":"1px solid","keyValBorderHover":"2px solid","keyValPaddingHover":"3px 5px 3px 4px","pushedContentMarginLeft":"6px","variableValuePaddingRight":"6px","nullFontSize":"11px","nullFontWeight":"bold","nullPadding":"1px 2px","nullBorderRadius":"3px","nanFontSize":"11px","nanFontWeight":"bold","nanPadding":"1px 2px","nanBorderRadius":"3px","undefinedFontSize":"11px","undefinedFontWeight":"bold","undefinedPadding":"1px 2px","undefinedBorderRadius":"3px","dataTypeFontSize":"11px","dataTypeMarginRight":"4px","datatypeOpacity":"0.8","objectSizeBorderRadius":"3px","objectSizeFontStyle":"italic","objectSizeMargin":"0px 6px 0px 0px","clipboardCursor":"pointer","clipboardCheckMarginLeft":"-12px","metaDataPadding":"0px 0px 0px 10px","arrayGroupMetaPadding":"0px 0px 0px 4px","iconContainerWidth":"17px","tooltipPadding":"4px","editInputMinWidth":"130px","editInputBorderRadius":"2px","editInputPadding":"5px","editInputMarginRight":"4px","editInputFontFamily":"monospace","iconCursor":"pointer","iconFontSize":"15px","iconPaddingRight":"1px","dateValueMarginLeft":"2px","iconMarginRight":"3px","detectedRowPaddingTop":"3px","addKeyCoverBackground":"rgba(255, 255, 255, 0.3)","addKeyCoverPosition":"absolute","addKeyCoverPositionPx":"0px","addKeyModalWidth":"200px","addKeyModalMargin":"auto","addKeyModalPadding":"10px","addKeyModalRadius":"3px"},ne=C(45),w=function(S){var k=function(S){return{"backgroundColor":S.base00,"ellipsisColor":S.base09,"braceColor":S.base07,"expandedIcon":S.base0D,"collapsedIcon":S.base0E,"keyColor":S.base07,"arrayKeyColor":S.base0C,"objectSize":S.base04,"copyToClipboard":S.base0F,"copyToClipboardCheck":S.base0D,"objectBorder":S.base02,"dataTypes":{"boolean":S.base0E,"date":S.base0D,"float":S.base0B,"function":S.base0D,"integer":S.base0F,"string":S.base09,"nan":S.base08,"null":S.base0A,"undefined":S.base05,"regexp":S.base0A,"background":S.base02},"editVariable":{"editIcon":S.base0E,"cancelIcon":S.base09,"removeIcon":S.base09,"addIcon":S.base0E,"checkIcon":S.base0E,"background":S.base01,"color":S.base0A,"border":S.base07},"addKeyModal":{"background":S.base05,"border":S.base04,"color":S.base0A,"labelColor":S.base01},"validationFailure":{"background":S.base09,"iconColor":S.base01,"fontColor":S.base01}}}(S);return{"app-container":{"fontFamily":re.globalFontFamily,"cursor":re.globalCursor,"backgroundColor":k.backgroundColor,"position":"relative"},"ellipsis":{"display":"inline-block","color":k.ellipsisColor,"fontSize":re.ellipsisFontSize,"lineHeight":re.ellipsisLineHeight,"cursor":re.ellipsisCursor},"brace-row":{"display":"inline-block","cursor":"pointer"},"brace":{"display":"inline-block","cursor":re.braceCursor,"fontWeight":re.braceFontWeight,"color":k.braceColor},"expanded-icon":{"color":k.expandedIcon},"collapsed-icon":{"color":k.collapsedIcon},"colon":{"display":"inline-block","margin":re.keyMargin,"color":k.keyColor,"verticalAlign":"top"},"objectKeyVal":function(S,C){return{"style":o({"paddingTop":re.keyValPaddingTop,"paddingRight":re.keyValPaddingRight,"paddingBottom":re.keyValPaddingBottom,"borderLeft":re.keyValBorderLeft+" "+k.objectBorder,":hover":{"paddingLeft":C.paddingLeft-1+"px","borderLeft":re.keyValBorderHover+" "+k.objectBorder}},C)}},"object-key-val-no-border":{"padding":re.keyValPadding},"pushed-content":{"marginLeft":re.pushedContentMarginLeft},"variableValue":function(S,k){return{"style":o({"display":"inline-block","paddingRight":re.variableValuePaddingRight,"position":"relative"},k)}},"object-name":{"display":"inline-block","color":k.keyColor,"letterSpacing":re.keyLetterSpacing,"fontStyle":re.keyFontStyle,"verticalAlign":re.keyVerticalAlign,"opacity":re.keyOpacity,":hover":{"opacity":re.keyOpacityHover}},"array-key":{"display":"inline-block","color":k.arrayKeyColor,"letterSpacing":re.keyLetterSpacing,"fontStyle":re.keyFontStyle,"verticalAlign":re.keyVerticalAlign,"opacity":re.keyOpacity,":hover":{"opacity":re.keyOpacityHover}},"object-size":{"color":k.objectSize,"borderRadius":re.objectSizeBorderRadius,"fontStyle":re.objectSizeFontStyle,"margin":re.objectSizeMargin,"cursor":"default"},"data-type-label":{"fontSize":re.dataTypeFontSize,"marginRight":re.dataTypeMarginRight,"opacity":re.datatypeOpacity},"boolean":{"display":"inline-block","color":k.dataTypes.boolean},"date":{"display":"inline-block","color":k.dataTypes.date},"date-value":{"marginLeft":re.dateValueMarginLeft},"float":{"display":"inline-block","color":k.dataTypes.float},"function":{"display":"inline-block","color":k.dataTypes.function,"cursor":"pointer","whiteSpace":"pre-line"},"function-value":{"fontStyle":"italic"},"integer":{"display":"inline-block","color":k.dataTypes.integer},"string":{"display":"inline-block","color":k.dataTypes.string},"nan":{"display":"inline-block","color":k.dataTypes.nan,"fontSize":re.nanFontSize,"fontWeight":re.nanFontWeight,"backgroundColor":k.dataTypes.background,"padding":re.nanPadding,"borderRadius":re.nanBorderRadius},"null":{"display":"inline-block","color":k.dataTypes.null,"fontSize":re.nullFontSize,"fontWeight":re.nullFontWeight,"backgroundColor":k.dataTypes.background,"padding":re.nullPadding,"borderRadius":re.nullBorderRadius},"undefined":{"display":"inline-block","color":k.dataTypes.undefined,"fontSize":re.undefinedFontSize,"padding":re.undefinedPadding,"borderRadius":re.undefinedBorderRadius,"backgroundColor":k.dataTypes.background},"regexp":{"display":"inline-block","color":k.dataTypes.regexp},"copy-to-clipboard":{"cursor":re.clipboardCursor},"copy-icon":{"color":k.copyToClipboard,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight,"verticalAlign":"top"},"copy-icon-copied":{"color":k.copyToClipboardCheck,"marginLeft":re.clipboardCheckMarginLeft},"array-group-meta-data":{"display":"inline-block","padding":re.arrayGroupMetaPadding},"object-meta-data":{"display":"inline-block","padding":re.metaDataPadding},"icon-container":{"display":"inline-block","width":re.iconContainerWidth},"tooltip":{"padding":re.tooltipPadding},"removeVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.removeIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"addVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.addIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"editVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.editIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"edit-icon-container":{"display":"inline-block","verticalAlign":"top"},"check-icon":{"display":"inline-block","cursor":re.iconCursor,"color":k.editVariable.checkIcon,"fontSize":re.iconFontSize,"paddingRight":re.iconPaddingRight},"cancel-icon":{"display":"inline-block","cursor":re.iconCursor,"color":k.editVariable.cancelIcon,"fontSize":re.iconFontSize,"paddingRight":re.iconPaddingRight},"edit-input":{"display":"inline-block","minWidth":re.editInputMinWidth,"borderRadius":re.editInputBorderRadius,"backgroundColor":k.editVariable.background,"color":k.editVariable.color,"padding":re.editInputPadding,"marginRight":re.editInputMarginRight,"fontFamily":re.editInputFontFamily},"detected-row":{"paddingTop":re.detectedRowPaddingTop},"key-modal-request":{"position":re.addKeyCoverPosition,"top":re.addKeyCoverPositionPx,"left":re.addKeyCoverPositionPx,"right":re.addKeyCoverPositionPx,"bottom":re.addKeyCoverPositionPx,"backgroundColor":re.addKeyCoverBackground},"key-modal":{"width":re.addKeyModalWidth,"backgroundColor":k.addKeyModal.background,"marginLeft":re.addKeyModalMargin,"marginRight":re.addKeyModalMargin,"padding":re.addKeyModalPadding,"borderRadius":re.addKeyModalRadius,"marginTop":"15px","position":"relative"},"key-modal-label":{"color":k.addKeyModal.labelColor,"marginLeft":"2px","marginBottom":"5px","fontSize":"11px"},"key-modal-input-container":{"overflow":"hidden"},"key-modal-input":{"width":"100%","padding":"3px 6px","fontFamily":"monospace","color":k.addKeyModal.color,"border":"none","boxSizing":"border-box","borderRadius":"2px"},"key-modal-cancel":{"backgroundColor":k.editVariable.removeIcon,"position":"absolute","top":"0px","right":"0px","borderRadius":"0px 3px 0px 3px","cursor":"pointer"},"key-modal-cancel-icon":{"color":k.addKeyModal.labelColor,"fontSize":re.iconFontSize,"transform":"rotate(45deg)"},"key-modal-submit":{"color":k.editVariable.addIcon,"fontSize":re.iconFontSize,"position":"absolute","right":"2px","top":"3px","cursor":"pointer"},"function-ellipsis":{"display":"inline-block","color":k.ellipsisColor,"fontSize":re.ellipsisFontSize,"lineHeight":re.ellipsisLineHeight,"cursor":re.ellipsisCursor},"validation-failure":{"float":"right","padding":"3px 6px","borderRadius":"2px","cursor":"pointer","color":k.validationFailure.fontColor,"backgroundColor":k.validationFailure.background},"validation-failure-label":{"marginRight":"6px"},"validation-failure-clear":{"position":"relative","verticalAlign":"top","cursor":"pointer","color":k.validationFailure.iconColor,"fontSize":re.iconFontSize,"transform":"rotate(45deg)"}}};function A(S,k,C){return S||console.error("theme has not been set"),function(S){var k=O;return!1!==S&&"none"!==S||(k=D),Object(ne.createStyling)(w,{"defaultBase16":k})(S)}(S)(k,C)}var se=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=(S.rjvId,S.type_name),C=S.displayDataTypes,M=S.theme;return C?P.a.createElement("span",Object.assign({"className":"data-type-label"},A(M,"data-type-label")),k):null}}]),n}(P.a.PureComponent),oe=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"boolean"),P.a.createElement(se,Object.assign({"type_name":"bool"},S)),S.value?"true":"false")}}]),n}(P.a.PureComponent),de=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"date"),P.a.createElement(se,Object.assign({"type_name":"date"},S)),P.a.createElement("span",Object.assign({"className":"date-value"},A(S.theme,"date-value")),S.value.toLocaleTimeString("en-us",{"weekday":"short","year":"numeric","month":"short","day":"numeric","hour":"2-digit","minute":"2-digit"})))}}]),n}(P.a.PureComponent),ue=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"float"),P.a.createElement(se,Object.assign({"type_name":"float"},S)),this.props.value)}}]),n}(P.a.PureComponent);function I(S,k){(null==k||k>S.length)&&(k=S.length);for(var C=0,M=new Array(k);C=S.length?{"done":!0}:{"done":!1,"value":S[M++]}},"e":function(S){throw S},"f":r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var P,O=!0,D=!1;return{"s":function(){C=S[Symbol.iterator]()},"n":function(){var S=C.next();return O=S.done,S},"e":function(S){D=!0,P=S},"f":function(){try{O||null==C.return||C.return()}finally{if(D)throw P}}}}function B(S){return function(S){if(Array.isArray(S))return I(S)}(S)||function(S){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(S))return Array.from(S)}(S)||R(S)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var pe=C(46),he=new(C(47).Dispatcher),fe=new(function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),P=0;Pk&&(O.style.cursor="pointer",this.state.collapsed&&(M=P.a.createElement("span",null,M.substring(0,k),P.a.createElement("span",A(C,"ellipsis")," ...")))),P.a.createElement("div",A(C,"string"),P.a.createElement(se,Object.assign({"type_name":"string"},S)),P.a.createElement("span",Object.assign({"className":"string-value"},O,{"onClick":this.toggleCollapsed}),'"',M,'"'))}}]),n}(P.a.PureComponent),ke=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){return P.a.createElement("div",A(this.props.theme,"undefined"),"undefined")}}]),n}(P.a.PureComponent);function Y(){return(Y=Object.assign||function(S){for(var k=1;k=0||(P[C]=S[C]);return P}(S,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),ue=void 0!==de.value,pe=Object(M.useRef)(null),he=X(pe,k),fe=Object(M.useRef)(0),me=Object(M.useRef)(),m=function(){var S=pe.current,k=P&&me.current?me.current:function(S){var k=window.getComputedStyle(S);if(null===k)return null;var C,M=(C=k,Pe.reduce((function(S,k){return S[k]=C[k],S}),{})),P=M.boxSizing;return""===P?null:(Oe&&"border-box"===P&&(M.width=parseFloat(M.width)+parseFloat(M.borderRightWidth)+parseFloat(M.borderLeftWidth)+parseFloat(M.paddingRight)+parseFloat(M.paddingLeft)+"px"),{"sizingStyle":M,"paddingSize":parseFloat(M.paddingBottom)+parseFloat(M.paddingTop),"borderSize":parseFloat(M.borderBottomWidth)+parseFloat(M.borderTopWidth)})}(S);if(k){me.current=k;var C=function(S,k,C,M){void 0===C&&(C=1),void 0===M&&(M=1/0),Me||((Me=document.createElement("textarea")).setAttribute("tab-index","-1"),Me.setAttribute("aria-hidden","true"),te(Me)),null===Me.parentNode&&document.body.appendChild(Me);var P=S.paddingSize,O=S.borderSize,D=S.sizingStyle,re=D.boxSizing;Object.keys(D).forEach((function(S){var k=S;Me.style[k]=D[k]})),te(Me),Me.value=k;var ne=function(S,k){var C=S.scrollHeight;return"border-box"===k.sizingStyle.boxSizing?C+k.borderSize:C-k.paddingSize}(Me,S);Me.value="x";var se=Me.scrollHeight-P,oe=se*C;"border-box"===re&&(oe=oe+P+O),ne=Math.max(oe,ne);var de=se*M;return"border-box"===re&&(de=de+P+O),[ne=Math.min(de,ne),se]}(k,S.value||S.placeholder||"x",D,O),M=C[0],re=C[1];fe.current!==M&&(fe.current=M,S.style.setProperty("height",M+"px","important"),oe(M,{"rowHeight":re}))}};return Object(M.useLayoutEffect)(m),C=Q(m),Object(M.useLayoutEffect)((function(){var e=function(S){C.current(S)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(M.createElement)("textarea",Y({},de,{"onChange":function(S){ue||m(),ne(S)},"ref":he}))},Ie=Object(M.forwardRef)(ie);function ce(S){S=S.trim();try{if("["===(S=JSON.stringify(JSON.parse(S)))[0])return le("array",JSON.parse(S));if("{"===S[0])return le("object",JSON.parse(S));if(S.match(/\-?\d+\.\d+/)&&S.match(/\-?\d+\.\d+/)[0]===S)return le("float",parseFloat(S));if(S.match(/\-?\d+e-\d+/)&&S.match(/\-?\d+e-\d+/)[0]===S)return le("float",Number(S));if(S.match(/\-?\d+/)&&S.match(/\-?\d+/)[0]===S)return le("integer",parseInt(S));if(S.match(/\-?\d+e\+\d+/)&&S.match(/\-?\d+e\+\d+/)[0]===S)return le("integer",Number(S))}catch(S){}switch(S=S.toLowerCase()){case"undefined":return le("undefined",void 0);case"nan":return le("nan",NaN);case"null":return le("null",null);case"true":return le("boolean",!0);case"false":return le("boolean",!1);default:if(S=Date.parse(S))return le("date",new Date(S))}return le(!1,null)}function le(S,k){return{"type":S,"value":k}}var Le=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 24 24","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("path",{"d":"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(P.a.PureComponent),je=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 24 24","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("path",{"d":"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(P.a.PureComponent),De=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]),M=xe(k).style;return P.a.createElement("span",C,P.a.createElement("svg",{"fill":M.color,"width":M.height,"height":M.width,"style":M,"viewBox":"0 0 1792 1792"},P.a.createElement("path",{"d":"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(P.a.PureComponent),ze=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]),M=xe(k).style;return P.a.createElement("span",C,P.a.createElement("svg",{"fill":M.color,"width":M.height,"height":M.width,"style":M,"viewBox":"0 0 1792 1792"},P.a.createElement("path",{"d":"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(P.a.PureComponent),Re=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",{"style":o(o({},xe(k).style),{},{"paddingLeft":"2px","verticalAlign":"top"}),"viewBox":"0 0 15 15","fill":"currentColor"},P.a.createElement("path",{"d":"M0 14l6-6-6-6z"})))}}]),n}(P.a.PureComponent),Be=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",{"style":o(o({},xe(k).style),{},{"paddingLeft":"2px","verticalAlign":"top"}),"viewBox":"0 0 15 15","fill":"currentColor"},P.a.createElement("path",{"d":"M0 5l6 6 6-6z"})))}}]),n}(P.a.PureComponent),Fe=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(P.a.PureComponent),Ne=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent),He=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent),Ge=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(P.a.PureComponent),Ye=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(P.a.PureComponent),Ve=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent);function xe(S){return S||(S={}),{"style":o(o({"verticalAlign":"middle"},S),{},{"color":S.color?S.color:"#000000","height":"1em","width":"1em"})}}var We=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).copiedTimer=null,C.handleCopy=function(){var S=document.createElement("textarea"),k=C.props,M=k.clickCallback,P=k.src,O=k.namespace;S.innerHTML=JSON.stringify(C.clipboardValue(P),null," "),document.body.appendChild(S),S.select(),document.execCommand("copy"),document.body.removeChild(S),C.copiedTimer=setTimeout((function(){C.setState({"copied":!1})}),5500),C.setState({"copied":!0},(function(){"function"==typeof M&&M({"src":P,"namespace":O,"name":O[O.length-1]})}))},C.getClippyIcon=function(){var S=C.props.theme;return C.state.copied?P.a.createElement("span",null,P.a.createElement(Fe,Object.assign({"className":"copy-icon"},A(S,"copy-icon"))),P.a.createElement("span",A(S,"copy-icon-copied"),"✔")):P.a.createElement(Fe,Object.assign({"className":"copy-icon"},A(S,"copy-icon")))},C.clipboardValue=function(S){switch(_(S)){case"function":case"regexp":return S.toString();default:return S}},C.state={"copied":!1},C}return c(n,[{"key":"componentWillUnmount","value":function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{"key":"render","value":function(){var S=this.props,k=(S.src,S.theme),C=S.hidden,M=S.rowHovered,O=A(k,"copy-to-clipboard").style,D="inline";return C&&(D="none"),P.a.createElement("span",{"className":"copy-to-clipboard-container","title":"Copy to clipboard","style":{"verticalAlign":"top","display":M?"inline-block":"none"}},P.a.createElement("span",{"style":o(o({},O),{},{"display":D}),"onClick":this.handleCopy},this.getClippyIcon()))}}]),n}(P.a.PureComponent),$e=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).getEditIcon=function(){var S=C.props,k=S.variable,M=S.theme;return P.a.createElement("div",{"className":"click-to-edit","style":{"verticalAlign":"top","display":C.state.hovered?"inline-block":"none"}},P.a.createElement(Ye,Object.assign({"className":"click-to-edit-icon"},A(M,"editVarIcon"),{"onClick":function(){C.prepopInput(k)}})))},C.prepopInput=function(S){if(!1!==C.props.onEdit){var k=function(S){var k;switch(_(S)){case"undefined":k="undefined";break;case"nan":k="NaN";break;case"string":k=S;break;case"date":case"function":case"regexp":k=S.toString();break;default:try{k=JSON.stringify(S,null," ")}catch(S){k=""}}return k}(S.value),M=ce(k);C.setState({"editMode":!0,"editValue":k,"parsedInput":{"type":M.type,"value":M.value}})}},C.getRemoveIcon=function(){var S=C.props,k=S.variable,M=S.namespace,O=S.theme,D=S.rjvId;return P.a.createElement("div",{"className":"click-to-remove","style":{"verticalAlign":"top","display":C.state.hovered?"inline-block":"none"}},P.a.createElement(Ne,Object.assign({"className":"click-to-remove-icon"},A(O,"removeVarIcon"),{"onClick":function(){he.dispatch({"name":"VARIABLE_REMOVED","rjvId":D,"data":{"name":k.name,"namespace":M,"existing_value":k.value,"variable_removed":!0}})}})))},C.getValue=function(S,k){var M=!k&&S.type,O=d(C).props;switch(M){case!1:return C.getEditInput();case"string":return P.a.createElement(Ae,Object.assign({"value":S.value},O));case"integer":return P.a.createElement(ye,Object.assign({"value":S.value},O));case"float":return P.a.createElement(ue,Object.assign({"value":S.value},O));case"boolean":return P.a.createElement(oe,Object.assign({"value":S.value},O));case"function":return P.a.createElement(ge,Object.assign({"value":S.value},O));case"null":return P.a.createElement(ve,O);case"nan":return P.a.createElement(be,O);case"undefined":return P.a.createElement(ke,O);case"date":return P.a.createElement(de,Object.assign({"value":S.value},O));case"regexp":return P.a.createElement(Ee,Object.assign({"value":S.value},O));default:return P.a.createElement("div",{"className":"object-value"},JSON.stringify(S.value))}},C.getEditInput=function(){var S=C.props.theme,k=C.state.editValue;return P.a.createElement("div",null,P.a.createElement(Ie,Object.assign({"type":"text","inputRef":function(S){return S&&S.focus()},"value":k,"className":"variable-editor","onChange":function(S){var k=S.target.value,M=ce(k);C.setState({"editValue":k,"parsedInput":{"type":M.type,"value":M.value}})},"onKeyDown":function(S){switch(S.key){case"Escape":C.setState({"editMode":!1,"editValue":""});break;case"Enter":(S.ctrlKey||S.metaKey)&&C.submitEdit(!0)}S.stopPropagation()},"placeholder":"update this value","minRows":2},A(S,"edit-input"))),P.a.createElement("div",A(S,"edit-icon-container"),P.a.createElement(Ne,Object.assign({"className":"edit-cancel"},A(S,"cancel-icon"),{"onClick":function(){C.setState({"editMode":!1,"editValue":""})}})),P.a.createElement(Ve,Object.assign({"className":"edit-check string-value"},A(S,"check-icon"),{"onClick":function(){C.submitEdit()}})),P.a.createElement("div",null,C.showDetected())))},C.submitEdit=function(S){var k=C.props,M=k.variable,P=k.namespace,O=k.rjvId,D=C.state,re=D.editValue,ne=D.parsedInput,se=re;S&&ne.type&&(se=ne.value),C.setState({"editMode":!1}),he.dispatch({"name":"VARIABLE_UPDATED","rjvId":O,"data":{"name":M.name,"namespace":P,"existing_value":M.value,"new_value":se,"variable_removed":!1}})},C.showDetected=function(){var S=C.props,k=S.theme,M=(S.variable,S.namespace,S.rjvId,C.state.parsedInput),O=(M.type,M.value,C.getDetectedInput());if(O)return P.a.createElement("div",null,P.a.createElement("div",A(k,"detected-row"),O,P.a.createElement(Ve,{"className":"edit-check detected","style":o({"verticalAlign":"top","paddingLeft":"3px"},A(k,"check-icon").style),"onClick":function(){C.submitEdit(!0)}})))},C.getDetectedInput=function(){var S=C.state.parsedInput,k=S.type,M=S.value,O=d(C).props,D=O.theme;if(!1!==k)switch(k.toLowerCase()){case"object":return P.a.createElement("span",null,P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"{"),P.a.createElement("span",{"style":o(o({},A(D,"ellipsis").style),{},{"cursor":"default"})},"..."),P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"}"));case"array":return P.a.createElement("span",null,P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"["),P.a.createElement("span",{"style":o(o({},A(D,"ellipsis").style),{},{"cursor":"default"})},"..."),P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"]"));case"string":return P.a.createElement(Ae,Object.assign({"value":M},O));case"integer":return P.a.createElement(ye,Object.assign({"value":M},O));case"float":return P.a.createElement(ue,Object.assign({"value":M},O));case"boolean":return P.a.createElement(oe,Object.assign({"value":M},O));case"function":return P.a.createElement(ge,Object.assign({"value":M},O));case"null":return P.a.createElement(ve,O);case"nan":return P.a.createElement(be,O);case"undefined":return P.a.createElement(ke,O);case"date":return P.a.createElement(de,Object.assign({"value":new Date(M)},O))}},C.state={"editMode":!1,"editValue":"","hovered":!1,"renameKey":!1,"parsedInput":{"type":!1,"value":null}},C}return c(n,[{"key":"render","value":function(){var S=this,k=this.props,C=k.variable,M=k.singleIndent,O=k.type,D=k.theme,re=k.namespace,ne=k.indentWidth,se=k.enableClipboard,oe=k.onEdit,de=k.onDelete,ue=k.onSelect,pe=k.displayArrayKey,he=k.quotesOnKeys,fe=this.state.editMode;return P.a.createElement("div",Object.assign({},A(D,"objectKeyVal",{"paddingLeft":ne*M}),{"onMouseEnter":function(){return S.setState(o(o({},S.state),{},{"hovered":!0}))},"onMouseLeave":function(){return S.setState(o(o({},S.state),{},{"hovered":!1}))},"className":"variable-row","key":C.name}),"array"==O?pe?P.a.createElement("span",Object.assign({},A(D,"array-key"),{"key":C.name+"_"+re}),C.name,P.a.createElement("div",A(D,"colon"),":")):null:P.a.createElement("span",null,P.a.createElement("span",Object.assign({},A(D,"object-name"),{"className":"object-key","key":C.name+"_"+re}),!!he&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"'),P.a.createElement("span",{"style":{"display":"inline-block"}},C.name),!!he&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"')),P.a.createElement("span",A(D,"colon"),":")),P.a.createElement("div",Object.assign({"className":"variable-value","onClick":!1===ue&&!1===oe?null:function(k){var M=B(re);(k.ctrlKey||k.metaKey)&&!1!==oe?S.prepopInput(C):!1!==ue&&(M.shift(),ue(o(o({},C),{},{"namespace":M})))}},A(D,"variableValue",{"cursor":!1===ue?"default":"pointer"})),this.getValue(C,fe)),se?P.a.createElement(We,{"rowHovered":this.state.hovered,"hidden":fe,"src":C.value,"clickCallback":se,"theme":D,"namespace":[].concat(B(re),[C.name])}):null,!1!==oe&&0==fe?this.getEditIcon():null,!1!==de&&0==fe?this.getRemoveIcon():null)}}]),n}(P.a.PureComponent),qe=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),O=0;O0?D:null,"namespace":O.splice(0,O.length-1),"existing_value":re,"variable_removed":!1,"key_name":null};"object"===_(re)?he.dispatch({"name":"ADD_VARIABLE_KEY_REQUEST","rjvId":ne,"data":S}):he.dispatch({"name":"VARIABLE_ADDED","rjvId":ne,"data":o(o({},S),{},{"new_value":[].concat(B(re),[null])})})}})))},S.getRemoveObject=function(k){var C=S.props,M=C.theme,O=(C.hover,C.namespace),D=C.name,re=C.src,ne=C.rjvId;if(1!==O.length)return P.a.createElement("span",{"className":"click-to-remove","style":{"display":k?"inline-block":"none"}},P.a.createElement(Ne,Object.assign({"className":"click-to-remove-icon"},A(M,"removeVarIcon"),{"onClick":function(){he.dispatch({"name":"VARIABLE_REMOVED","rjvId":ne,"data":{"name":D,"namespace":O.splice(0,O.length-1),"existing_value":re,"variable_removed":!0}})}})))},S.render=function(){var k=S.props,C=k.theme,M=k.onDelete,O=k.onAdd,D=k.enableClipboard,re=k.src,ne=k.namespace,se=k.rowHovered;return P.a.createElement("div",Object.assign({},A(C,"object-meta-data"),{"className":"object-meta-data","onClick":function(S){S.stopPropagation()}}),S.getObjectSize(),D?P.a.createElement(We,{"rowHovered":se,"clickCallback":D,"src":re,"theme":C,"namespace":ne}):null,!1!==O?S.getAddAttribute(se):null,!1!==M?S.getRemoveObject(se):null)},S}return n}(P.a.PureComponent);function Ce(S){var k=S.parent_type,C=S.namespace,M=S.quotesOnKeys,O=S.theme,D=S.jsvRoot,re=S.name,ne=S.displayArrayKey,se=S.name?S.name:"";return!D||!1!==re&&null!==re?"array"==k?ne?P.a.createElement("span",Object.assign({},A(O,"array-key"),{"key":C}),P.a.createElement("span",{"className":"array-key"},se),P.a.createElement("span",A(O,"colon"),":")):P.a.createElement("span",null):P.a.createElement("span",Object.assign({},A(O,"object-name"),{"key":C}),P.a.createElement("span",{"className":"object-key"},M&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"'),P.a.createElement("span",null,se),M&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"')),P.a.createElement("span",A(O,"colon"),":")):P.a.createElement("span",null)}function Se(S){var k=S.theme;switch(S.iconStyle){case"triangle":return P.a.createElement(Be,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}));case"square":return P.a.createElement(De,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}));default:return P.a.createElement(Le,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}))}}function we(S){var k=S.theme;switch(S.iconStyle){case"triangle":return P.a.createElement(Re,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}));case"square":return P.a.createElement(ze,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}));default:return P.a.createElement(je,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}))}}var Xe=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).toggleCollapsed=function(S){var k=[];for(var M in C.state.expanded)k.push(C.state.expanded[M]);k[S]=!k[S],C.setState({"expanded":k})},C.state={"expanded":[]},C}return c(n,[{"key":"getExpandedIcon","value":function(S){var k=this.props,C=k.theme,M=k.iconStyle;return this.state.expanded[S]?P.a.createElement(Se,{"theme":C,"iconStyle":M}):P.a.createElement(we,{"theme":C,"iconStyle":M})}},{"key":"render","value":function(){var S=this,k=this.props,C=k.src,M=k.groupArraysAfterLength,O=(k.depth,k.name),D=k.theme,re=k.jsvRoot,ne=k.namespace,se=(k.parent_type,x(k,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),oe=0,de=5*this.props.indentWidth;re||(oe=5*this.props.indentWidth);var ue=M,pe=Math.ceil(C.length/ue);return P.a.createElement("div",Object.assign({"className":"object-key-val"},A(D,re?"jsv-root":"objectKeyVal",{"paddingLeft":oe})),P.a.createElement(Ce,this.props),P.a.createElement("span",null,P.a.createElement(qe,Object.assign({"size":C.length},this.props))),B(Array(pe)).map((function(k,M){return P.a.createElement("div",Object.assign({"key":M,"className":"object-key-val array-group"},A(D,"objectKeyVal",{"marginLeft":6,"paddingLeft":de})),P.a.createElement("span",A(D,"brace-row"),P.a.createElement("div",Object.assign({"className":"icon-container"},A(D,"icon-container"),{"onClick":function(k){S.toggleCollapsed(M)}}),S.getExpandedIcon(M)),S.state.expanded[M]?P.a.createElement(Ke,Object.assign({"key":O+M,"depth":0,"name":!1,"collapsed":!1,"groupArraysAfterLength":ue,"index_offset":M*ue,"src":C.slice(M*ue,M*ue+ue),"namespace":ne,"type":"array","parent_type":"array_group","theme":D},se)):P.a.createElement("span",Object.assign({},A(D,"brace"),{"onClick":function(k){S.toggleCollapsed(M)},"className":"array-group-brace"}),"[",P.a.createElement("div",Object.assign({},A(D,"array-group-meta-data"),{"className":"array-group-meta-data"}),P.a.createElement("span",Object.assign({"className":"object-size"},A(D,"object-size")),M*ue," - ",M*ue+ue>C.length?C.length:M*ue+ue)),"]")))})))}}]),n}(P.a.PureComponent),Ue=function(S){u(n,S);var k=h(n);function n(S){var C;i(this,n),(C=k.call(this,S)).toggleCollapsed=function(){C.setState({"expanded":!C.state.expanded},(function(){me.set(C.props.rjvId,C.props.namespace,"expanded",C.state.expanded)}))},C.getObjectContent=function(S,k,M){return P.a.createElement("div",{"className":"pushed-content object-container"},P.a.createElement("div",Object.assign({"className":"object-content"},A(C.props.theme,"pushed-content")),C.renderObjectContents(k,M)))},C.getEllipsis=function(){return 0===C.state.size?null:P.a.createElement("div",Object.assign({},A(C.props.theme,"ellipsis"),{"className":"node-ellipsis","onClick":C.toggleCollapsed}),"...")},C.getObjectMetaData=function(S){var k=C.props,M=(k.rjvId,k.theme,C.state),O=M.size,D=M.hovered;return P.a.createElement(qe,Object.assign({"rowHovered":D,"size":O},C.props))},C.renderObjectContents=function(S,k){var M,O=C.props,D=O.depth,re=O.parent_type,ne=O.index_offset,se=O.groupArraysAfterLength,oe=O.namespace,de=C.state.object_type,ue=[],pe=Object.keys(S||{});return C.props.sortKeys&&"array"!==de&&(pe=pe.sort()),pe.forEach((function(O){if(M=new Ze(O,S[O]),"array_group"===re&&ne&&(M.name=parseInt(M.name)+ne),S.hasOwnProperty(O))if("object"===M.type)ue.push(P.a.createElement(Ke,Object.assign({"key":M.name,"depth":D+1,"name":M.name,"src":M.value,"namespace":oe.concat(M.name),"parent_type":de},k)));else if("array"===M.type){var pe=Ke;se&&M.value.length>se&&(pe=Xe),ue.push(P.a.createElement(pe,Object.assign({"key":M.name,"depth":D+1,"name":M.name,"src":M.value,"namespace":oe.concat(M.name),"type":"array","parent_type":de},k)))}else ue.push(P.a.createElement($e,Object.assign({"key":M.name+"_"+oe,"variable":M,"singleIndent":5,"namespace":oe,"type":C.props.type},k)))})),ue};var M=n.getState(S);return C.state=o(o({},M),{},{"prevProps":{}}),C}return c(n,[{"key":"getBraceStart","value":function(S,k){var C=this,M=this.props,O=M.src,D=M.theme,re=M.iconStyle;if("array_group"===M.parent_type)return P.a.createElement("span",null,P.a.createElement("span",A(D,"brace"),"array"===S?"[":"{"),k?this.getObjectMetaData(O):null);var ne=k?Se:we;return P.a.createElement("span",null,P.a.createElement("span",Object.assign({"onClick":function(S){C.toggleCollapsed()}},A(D,"brace-row")),P.a.createElement("div",Object.assign({"className":"icon-container"},A(D,"icon-container")),P.a.createElement(ne,{"theme":D,"iconStyle":re})),P.a.createElement(Ce,this.props),P.a.createElement("span",A(D,"brace"),"array"===S?"[":"{")),k?this.getObjectMetaData(O):null)}},{"key":"render","value":function(){var S=this,k=this.props,C=k.depth,M=k.src,O=(k.namespace,k.name,k.type,k.parent_type),D=k.theme,re=k.jsvRoot,ne=k.iconStyle,se=x(k,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),oe=this.state,de=oe.object_type,ue=oe.expanded,pe={};return re||"array_group"===O?"array_group"===O&&(pe.borderLeft=0,pe.display="inline"):pe.paddingLeft=5*this.props.indentWidth,P.a.createElement("div",Object.assign({"className":"object-key-val","onMouseEnter":function(){return S.setState(o(o({},S.state),{},{"hovered":!0}))},"onMouseLeave":function(){return S.setState(o(o({},S.state),{},{"hovered":!1}))}},A(D,re?"jsv-root":"objectKeyVal",pe)),this.getBraceStart(de,ue),ue?this.getObjectContent(C,M,o({"theme":D,"iconStyle":ne},se)):this.getEllipsis(),P.a.createElement("span",{"className":"brace-row"},P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"paddingLeft":ue?"3px":"0px"})},"array"===de?"]":"}"),ue?null:this.getObjectMetaData(M)))}}],[{"key":"getDerivedStateFromProps","value":function(S,k){var C=k.prevProps;return S.src!==C.src||S.collapsed!==C.collapsed||S.name!==C.name||S.namespace!==C.namespace||S.rjvId!==C.rjvId?o(o({},n.getState(S)),{},{"prevProps":S}):null}}]),n}(P.a.PureComponent);Ue.getState=function(S){var k=Object.keys(S.src).length,C=(!1===S.collapsed||!0!==S.collapsed&&S.collapsed>S.depth)&&(!S.shouldCollapse||!1===S.shouldCollapse({"name":S.name,"src":S.src,"type":_(S.src),"namespace":S.namespace}))&&0!==k;return{"expanded":me.get(S.rjvId,S.namespace,"expanded",C),"object_type":"array"===S.type?"array":"object","parent_type":"array"===S.type?"array":"object","size":k,"hovered":!1}};var Ze=function e(S,k){i(this,e),this.name=S,this.value=k,this.type=_(k)};j(Ue);var Ke=Ue,Qe=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),O=0;Ok.groupArraysAfterLength&&(M=Xe),P.a.createElement("div",{"className":"pretty-json-container object-container"},P.a.createElement("div",{"className":"object-content"},P.a.createElement(M,Object.assign({"namespace":C,"depth":0,"jsvRoot":!0},k))))},S}return n}(P.a.PureComponent),Je=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).closeModal=function(){he.dispatch({"rjvId":C.props.rjvId,"name":"RESET"})},C.submit=function(){C.props.submit(C.state.input)},C.state={"input":S.input?S.input:""},C}return c(n,[{"key":"render","value":function(){var S=this,k=this.props,C=k.theme,M=k.rjvId,O=k.isValid,D=this.state.input,re=O(D);return P.a.createElement("div",Object.assign({"className":"key-modal-request"},A(C,"key-modal-request"),{"onClick":this.closeModal}),P.a.createElement("div",Object.assign({},A(C,"key-modal"),{"onClick":function(S){S.stopPropagation()}}),P.a.createElement("div",A(C,"key-modal-label"),"Key Name:"),P.a.createElement("div",{"style":{"position":"relative"}},P.a.createElement("input",Object.assign({},A(C,"key-modal-input"),{"className":"key-modal-input","ref":function(S){return S&&S.focus()},"spellCheck":!1,"value":D,"placeholder":"...","onChange":function(k){S.setState({"input":k.target.value})},"onKeyPress":function(k){re&&"Enter"===k.key?S.submit():"Escape"===k.key&&S.closeModal()}})),re?P.a.createElement(Ve,Object.assign({},A(C,"key-modal-submit"),{"className":"key-modal-submit","onClick":function(k){return S.submit()}})):null),P.a.createElement("span",A(C,"key-modal-cancel"),P.a.createElement(Ge,Object.assign({},A(C,"key-modal-cancel-icon"),{"className":"key-modal-cancel","onClick":function(){he.dispatch({"rjvId":M,"name":"RESET"})}})))))}}]),n}(P.a.PureComponent),et=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),P=0;P=S.length?{"done":!0}:{"done":!1,"value":S[P++]}},"e":function e(S){throw S},"f":O}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D,re=!0,ne=!1;return{"s":function s(){C=C.call(S)},"n":function n(){var S=C.next();return re=S.done,S},"e":function e(S){ne=!0,D=S},"f":function f(){try{re||null==C.return||C.return()}finally{if(ne)throw D}}}}}}]); \ No newline at end of file +(self.webpackJsonp=self.webpackJsonp||[]).push([[3286],{"1789":function(S,k,C){"use strict";C.d(k,{"h":function(){return handleStencilNodes},"n":function(){return notSupport}});var M=C(4536);function notSupport(S="",k={}){console.error(`H5 暂不支持 ${S} 组件!`),M.ZP.eventCenter.trigger("__taroNotSupport",{"name":S,"instance":k,"type":"component","category":"temporarily"})}function handleStencilNodes(S){var k;null===(k=null==S?void 0:S.childNodes)||void 0===k||k.forEach((S=>{S.nodeType===document.COMMENT_NODE&&S["s-cn"]&&(S["s-cn"]=!1),S.nodeType!==document.COMMENT_NODE&&S["s-sr"]&&(S["s-sr"]=!1)}))}},"6883":function(S,k,C){"use strict";C.d(k,{"M":function(){return Me}});var M=C(7210);function isObject(S){return null!==S&&"object"==typeof S&&"constructor"in S&&S.constructor===Object}function extend(S,k){void 0===S&&(S={}),void 0===k&&(k={}),Object.keys(k).forEach((C=>{void 0===S[C]?S[C]=k[C]:isObject(k[C])&&isObject(S[C])&&Object.keys(k[C]).length>0&&extend(S[C],k[C])}))}const P={"body":{},"addEventListener"(){},"removeEventListener"(){},"activeElement":{"blur"(){},"nodeName":""},"querySelector"(){return null},"querySelectorAll"(){return[]},"getElementById"(){return null},"createEvent"(){return{"initEvent"(){}}},"createElement"(){return{"children":[],"childNodes":[],"style":{},"setAttribute"(){},"getElementsByTagName"(){return[]}}},"createElementNS"(){return{}},"importNode"(){return null},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""}};function getDocument(){const S="undefined"!=typeof document?document:{};return extend(S,P),S}const O={"document":P,"navigator":{"userAgent":""},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""},"history":{"replaceState"(){},"pushState"(){},"go"(){},"back"(){}},"CustomEvent":function CustomEvent(){return this},"addEventListener"(){},"removeEventListener"(){},"getComputedStyle"(){return{"getPropertyValue"(){return""}}},"Image"(){},"Date"(){},"screen":{},"setTimeout"(){},"clearTimeout"(){},"matchMedia"(){return{}},"requestAnimationFrame"(S){return"undefined"==typeof setTimeout?(S(),null):setTimeout(S,0)},"cancelAnimationFrame"(S){"undefined"!=typeof setTimeout&&clearTimeout(S)}};function getWindow(){const S="undefined"!=typeof window?window:{};return extend(S,O),S}function classesToTokens(S){return void 0===S&&(S=""),S.trim().split(" ").filter((S=>!!S.trim()))}function nextTick(S,k){return void 0===k&&(k=0),setTimeout(S,k)}function now(){return Date.now()}function getTranslate(S,k){void 0===k&&(k="x");const C=getWindow();let M,P,O;const D=function utils_getComputedStyle(S){const k=getWindow();let C;return k.getComputedStyle&&(C=k.getComputedStyle(S,null)),!C&&S.currentStyle&&(C=S.currentStyle),C||(C=S.style),C}(S);return C.WebKitCSSMatrix?(P=D.transform||D.webkitTransform,P.split(",").length>6&&(P=P.split(", ").map((S=>S.replace(",","."))).join(", ")),O=new C.WebKitCSSMatrix("none"===P?"":P)):(O=D.MozTransform||D.OTransform||D.MsTransform||D.msTransform||D.transform||D.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),M=O.toString().split(",")),"x"===k&&(P=C.WebKitCSSMatrix?O.m41:16===M.length?parseFloat(M[12]):parseFloat(M[4])),"y"===k&&(P=C.WebKitCSSMatrix?O.m42:16===M.length?parseFloat(M[13]):parseFloat(M[5])),P||0}function utils_isObject(S){return"object"==typeof S&&null!==S&&S.constructor&&"Object"===Object.prototype.toString.call(S).slice(8,-1)}function utils_extend(){const S=Object(arguments.length<=0?void 0:arguments[0]),k=["__proto__","constructor","prototype"];for(let M=1;Mk.indexOf(S)<0));for(let k=0,M=C.length;kO?"next":"prev",isOutOfBound=(S,k)=>"next"===se&&S>=k||"prev"===se&&S<=k,animate=()=>{D=(new Date).getTime(),null===re&&(re=D);const S=Math.max(Math.min((D-re)/ne,1),0),se=.5-Math.cos(S*Math.PI)/2;let oe=O+se*(C-O);if(isOutOfBound(oe,C)&&(oe=C),k.wrapperEl.scrollTo({[M]:oe}),isOutOfBound(oe,C))return k.wrapperEl.style.overflow="hidden",k.wrapperEl.style.scrollSnapType="",setTimeout((()=>{k.wrapperEl.style.overflow="",k.wrapperEl.scrollTo({[M]:oe})})),void P.cancelAnimationFrame(k.cssModeFrameID);k.cssModeFrameID=P.requestAnimationFrame(animate)};animate()}function getSlideTransformEl(S){return S.querySelector(".swiper-slide-transform")||S.shadowRoot&&S.shadowRoot.querySelector(".swiper-slide-transform")||S}function elementChildren(S,k){return void 0===k&&(k=""),[...S.children].filter((S=>S.matches(k)))}function showWarning(S){try{return void console.warn(S)}catch(S){}}function createElement(S,k){void 0===k&&(k=[]);const C=document.createElement(S);return C.classList.add(...Array.isArray(k)?k:classesToTokens(k)),C}function elementOffset(S){const k=getWindow(),C=getDocument(),M=S.getBoundingClientRect(),P=C.body,O=S.clientTop||P.clientTop||0,D=S.clientLeft||P.clientLeft||0,re=S===k?k.scrollY:S.scrollTop,ne=S===k?k.scrollX:S.scrollLeft;return{"top":M.top+re-O,"left":M.left+ne-D}}function elementStyle(S,k){return getWindow().getComputedStyle(S,null).getPropertyValue(k)}function elementIndex(S){let k,C=S;if(C){for(k=0;null!==(C=C.previousSibling);)1===C.nodeType&&(k+=1);return k}}function elementParents(S,k){const C=[];let M=S.parentElement;for(;M;)k?M.matches(k)&&C.push(M):C.push(M),M=M.parentElement;return C}function elementTransitionEnd(S,k){k&&S.addEventListener("transitionend",(function fireCallBack(C){C.target===S&&(k.call(S,C),S.removeEventListener("transitionend",fireCallBack))}))}function elementOuterSize(S,k,C){const M=getWindow();return C?S["width"===k?"offsetWidth":"offsetHeight"]+parseFloat(M.getComputedStyle(S,null).getPropertyValue("width"===k?"margin-right":"margin-top"))+parseFloat(M.getComputedStyle(S,null).getPropertyValue("width"===k?"margin-left":"margin-bottom")):S.offsetWidth}function makeElementsArray(S){return(Array.isArray(S)?S:[S]).filter((S=>!!S))}let D,re,ne;function getSupport(){return D||(D=function calcSupport(){const S=getWindow(),k=getDocument();return{"smoothScroll":k.documentElement&&k.documentElement.style&&"scrollBehavior"in k.documentElement.style,"touch":!!("ontouchstart"in S||S.DocumentTouch&&k instanceof S.DocumentTouch)}}()),D}function getDevice(S){return void 0===S&&(S={}),re||(re=function calcDevice(S){let{"userAgent":k}=void 0===S?{}:S;const C=getSupport(),M=getWindow(),P=M.navigator.platform,O=k||M.navigator.userAgent,D={"ios":!1,"android":!1},re=M.screen.width,ne=M.screen.height,se=O.match(/(Android);?[\s\/]+([\d.]+)?/);let oe=O.match(/(iPad).*OS\s([\d_]+)/);const de=O.match(/(iPod)(.*OS\s([\d_]+))?/),ue=!oe&&O.match(/(iPhone\sOS|iOS)\s([\d_]+)/),pe="Win32"===P;let he="MacIntel"===P;return!oe&&he&&C.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${re}x${ne}`)>=0&&(oe=O.match(/(Version)\/([\d.]+)/),oe||(oe=[0,1,"13_0_0"]),he=!1),se&&!pe&&(D.os="android",D.android=!0),(oe||ue||de)&&(D.os="ios",D.ios=!0),D}(S)),re}function getBrowser(){return ne||(ne=function calcBrowser(){const S=getWindow(),k=getDevice();let C=!1;function isSafari(){const k=S.navigator.userAgent.toLowerCase();return k.indexOf("safari")>=0&&k.indexOf("chrome")<0&&k.indexOf("android")<0}if(isSafari()){const k=String(S.navigator.userAgent);if(k.includes("Version/")){const[S,M]=k.split("Version/")[1].split(" ")[0].split(".").map((S=>Number(S)));C=S<16||16===S&&M<2}}const M=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(S.navigator.userAgent),P=isSafari();return{"isSafari":C||P,"needPerspectiveFix":C,"need3dFix":P||M&&k.ios,"isWebView":M}}()),ne}var se={"on"(S,k,C){const M=this;if(!M.eventsListeners||M.destroyed)return M;if("function"!=typeof k)return M;const P=C?"unshift":"push";return S.split(" ").forEach((S=>{M.eventsListeners[S]||(M.eventsListeners[S]=[]),M.eventsListeners[S][P](k)})),M},"once"(S,k,C){const M=this;if(!M.eventsListeners||M.destroyed)return M;if("function"!=typeof k)return M;function onceHandler(){M.off(S,onceHandler),onceHandler.__emitterProxy&&delete onceHandler.__emitterProxy;for(var C=arguments.length,P=new Array(C),O=0;O=0&&k.eventsAnyListeners.splice(C,1),k},"off"(S,k){const C=this;return!C.eventsListeners||C.destroyed?C:C.eventsListeners?(S.split(" ").forEach((S=>{void 0===k?C.eventsListeners[S]=[]:C.eventsListeners[S]&&C.eventsListeners[S].forEach(((M,P)=>{(M===k||M.__emitterProxy&&M.__emitterProxy===k)&&C.eventsListeners[S].splice(P,1)}))})),C):C},"emit"(){const S=this;if(!S.eventsListeners||S.destroyed)return S;if(!S.eventsListeners)return S;let k,C,M;for(var P=arguments.length,O=new Array(P),D=0;D{S.eventsAnyListeners&&S.eventsAnyListeners.length&&S.eventsAnyListeners.forEach((S=>{S.apply(M,[k,...C])})),S.eventsListeners&&S.eventsListeners[k]&&S.eventsListeners[k].forEach((S=>{S.apply(M,C)}))})),S}};const toggleSlideClasses=(S,k,C)=>{k&&!S.classList.contains(C)?S.classList.add(C):!k&&S.classList.contains(C)&&S.classList.remove(C)};const processLazyPreloader=(S,k)=>{if(!S||S.destroyed||!S.params)return;const C=k.closest(S.isElement?"swiper-slide":`.${S.params.slideClass}`);if(C){let k=C.querySelector(`.${S.params.lazyPreloaderClass}`);!k&&S.isElement&&(C.shadowRoot?k=C.shadowRoot.querySelector(`.${S.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{C.shadowRoot&&(k=C.shadowRoot.querySelector(`.${S.params.lazyPreloaderClass}`),k&&k.remove())}))),k&&k.remove()}},unlazy=(S,k)=>{if(!S.slides[k])return;const C=S.slides[k].querySelector('[loading="lazy"]');C&&C.removeAttribute("loading")},preload=S=>{if(!S||S.destroyed||!S.params)return;let k=S.params.lazyPreloadPrevNext;const C=S.slides.length;if(!C||!k||k<0)return;k=Math.min(k,C);const M="auto"===S.params.slidesPerView?S.slidesPerViewDynamic():Math.ceil(S.params.slidesPerView),P=S.activeIndex;if(S.params.grid&&S.params.grid.rows>1){const C=P,O=[C-k];return O.push(...Array.from({"length":k}).map(((S,k)=>C+M+k))),void S.slides.forEach(((k,C)=>{O.includes(k.column)&&unlazy(S,C)}))}const O=P+M-1;if(S.params.rewind||S.params.loop)for(let M=P-k;M<=O+k;M+=1){const k=(M%C+C)%C;(kO)&&unlazy(S,k)}else for(let M=Math.max(P-k,0);M<=Math.min(O+k,C-1);M+=1)M!==P&&(M>O||M=0?be=parseFloat(be.replace("%",""))/100*P:"string"==typeof be&&(be=parseFloat(be)),S.virtualSize=-be,se.forEach((S=>{O?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""})),k.centeredSlides&&k.cssMode&&(setCSSProperty(C,"--swiper-centered-offset-before",""),setCSSProperty(C,"--swiper-centered-offset-after",""));const Ae=k.grid&&k.grid.rows>1&&S.grid;let ke;Ae?S.grid.initSlides(se):S.grid&&S.grid.unsetSlides();const Te="auto"===k.slidesPerView&&k.breakpoints&&Object.keys(k.breakpoints).filter((S=>void 0!==k.breakpoints[S].slidesPerView)).length>0;for(let C=0;C1&&de.push(S.virtualSize-P)}if(re&&k.loop){const C=pe[0]+be;if(k.slidesPerGroup>1){const M=Math.ceil((S.virtual.slidesBefore+S.virtual.slidesAfter)/k.slidesPerGroup),P=C*k.slidesPerGroup;for(let S=0;S!(k.cssMode&&!k.loop)||C!==se.length-1)).forEach((S=>{S.style[C]=`${be}px`}))}if(k.centeredSlides&&k.centeredSlidesBounds){let S=0;pe.forEach((k=>{S+=k+(be||0)})),S-=be;const k=S-P;de=de.map((S=>S<=0?-he:S>k?k+fe:S))}if(k.centerInsufficientSlides){let S=0;if(pe.forEach((k=>{S+=k+(be||0)})),S-=be,S{de[C]=S-k})),ue.forEach(((S,C)=>{ue[C]=S+k}))}}if(Object.assign(S,{"slides":se,"snapGrid":de,"slidesGrid":ue,"slidesSizesGrid":pe}),k.centeredSlides&&k.cssMode&&!k.centeredSlidesBounds){setCSSProperty(C,"--swiper-centered-offset-before",-de[0]+"px"),setCSSProperty(C,"--swiper-centered-offset-after",S.size/2-pe[pe.length-1]/2+"px");const k=-S.snapGrid[0],M=-S.slidesGrid[0];S.snapGrid=S.snapGrid.map((S=>S+k)),S.slidesGrid=S.slidesGrid.map((S=>S+M))}if(oe!==ne&&S.emit("slidesLengthChange"),de.length!==me&&(S.params.watchOverflow&&S.checkOverflow(),S.emit("snapGridLengthChange")),ue.length!==ge&&S.emit("slidesGridLengthChange"),k.watchSlidesProgress&&S.updateSlidesOffset(),S.emit("slidesUpdated"),!(re||k.cssMode||"slide"!==k.effect&&"fade"!==k.effect)){const C=`${k.containerModifierClass}backface-hidden`,M=S.el.classList.contains(C);oe<=k.maxBackfaceHiddenSlides?M||S.el.classList.add(C):M&&S.el.classList.remove(C)}},"updateAutoHeight":function updateAutoHeight(S){const k=this,C=[],M=k.virtual&&k.params.virtual.enabled;let P,O=0;"number"==typeof S?k.setTransition(S):!0===S&&k.setTransition(k.params.speed);const getSlideByIndex=S=>M?k.slides[k.getSlideIndexByData(S)]:k.slides[S];if("auto"!==k.params.slidesPerView&&k.params.slidesPerView>1)if(k.params.centeredSlides)(k.visibleSlides||[]).forEach((S=>{C.push(S)}));else for(P=0;Pk.slides.length&&!M)break;C.push(getSlideByIndex(S))}else C.push(getSlideByIndex(k.activeIndex));for(P=0;PO?S:O}(O||0===O)&&(k.wrapperEl.style.height=`${O}px`)},"updateSlidesOffset":function updateSlidesOffset(){const S=this,k=S.slides,C=S.isElement?S.isHorizontal()?S.wrapperEl.offsetLeft:S.wrapperEl.offsetTop:0;for(let M=0;M{S.classList.remove(C.slideVisibleClass,C.slideFullyVisibleClass)})),k.visibleSlidesIndexes=[],k.visibleSlides=[];let re=C.spaceBetween;"string"==typeof re&&re.indexOf("%")>=0?re=parseFloat(re.replace("%",""))/100*k.size:"string"==typeof re&&(re=parseFloat(re));for(let S=0;S=0&&ue<=k.size-k.slidesSizesGrid[S];(ue>=0&&ue1&&pe<=k.size||ue<=0&&pe>=k.size)&&(k.visibleSlides.push(ne),k.visibleSlidesIndexes.push(S),M[S].classList.add(C.slideVisibleClass)),he&&M[S].classList.add(C.slideFullyVisibleClass),ne.progress=P?-oe:oe,ne.originalProgress=P?-de:de}},"updateProgress":function updateProgress(S){const k=this;if(void 0===S){const C=k.rtlTranslate?-1:1;S=k&&k.translate&&k.translate*C||0}const C=k.params,M=k.maxTranslate()-k.minTranslate();let{"progress":P,"isBeginning":O,"isEnd":D,"progressLoop":re}=k;const ne=O,se=D;if(0===M)P=0,O=!0,D=!0;else{P=(S-k.minTranslate())/M;const C=Math.abs(S-k.minTranslate())<1,re=Math.abs(S-k.maxTranslate())<1;O=C||P<=0,D=re||P>=1,C&&(P=0),re&&(P=1)}if(C.loop){const C=k.getSlideIndexByData(0),M=k.getSlideIndexByData(k.slides.length-1),P=k.slidesGrid[C],O=k.slidesGrid[M],D=k.slidesGrid[k.slidesGrid.length-1],ne=Math.abs(S);re=ne>=P?(ne-P)/D:(ne+D-O)/D,re>1&&(re-=1)}Object.assign(k,{"progress":P,"progressLoop":re,"isBeginning":O,"isEnd":D}),(C.watchSlidesProgress||C.centeredSlides&&C.autoHeight)&&k.updateSlidesProgress(S),O&&!ne&&k.emit("reachBeginning toEdge"),D&&!se&&k.emit("reachEnd toEdge"),(ne&&!O||se&&!D)&&k.emit("fromEdge"),k.emit("progress",P)},"updateSlidesClasses":function updateSlidesClasses(){const S=this,{"slides":k,"params":C,"slidesEl":M,"activeIndex":P}=S,O=S.virtual&&C.virtual.enabled,D=S.grid&&C.grid&&C.grid.rows>1,getFilteredSlide=S=>elementChildren(M,`.${C.slideClass}${S}, swiper-slide${S}`)[0];let re,ne,se;if(O)if(C.loop){let k=P-S.virtual.slidesBefore;k<0&&(k=S.virtual.slides.length+k),k>=S.virtual.slides.length&&(k-=S.virtual.slides.length),re=getFilteredSlide(`[data-swiper-slide-index="${k}"]`)}else re=getFilteredSlide(`[data-swiper-slide-index="${P}"]`);else D?(re=k.filter((S=>S.column===P))[0],se=k.filter((S=>S.column===P+1))[0],ne=k.filter((S=>S.column===P-1))[0]):re=k[P];re&&(D||(se=function elementNextAll(S,k){const C=[];for(;S.nextElementSibling;){const M=S.nextElementSibling;k?M.matches(k)&&C.push(M):C.push(M),S=M}return C}(re,`.${C.slideClass}, swiper-slide`)[0],C.loop&&!se&&(se=k[0]),ne=function elementPrevAll(S,k){const C=[];for(;S.previousElementSibling;){const M=S.previousElementSibling;k?M.matches(k)&&C.push(M):C.push(M),S=M}return C}(re,`.${C.slideClass}, swiper-slide`)[0],C.loop&&0===!ne&&(ne=k[k.length-1]))),k.forEach((S=>{toggleSlideClasses(S,S===re,C.slideActiveClass),toggleSlideClasses(S,S===se,C.slideNextClass),toggleSlideClasses(S,S===ne,C.slidePrevClass)})),S.emitSlidesClasses()},"updateActiveIndex":function updateActiveIndex(S){const k=this,C=k.rtlTranslate?k.translate:-k.translate,{"snapGrid":M,"params":P,"activeIndex":O,"realIndex":D,"snapIndex":re}=k;let ne,se=S;const getVirtualRealIndex=S=>{let C=S-k.virtual.slidesBefore;return C<0&&(C=k.virtual.slides.length+C),C>=k.virtual.slides.length&&(C-=k.virtual.slides.length),C};if(void 0===se&&(se=function getActiveIndexByTranslate(S){const{"slidesGrid":k,"params":C}=S,M=S.rtlTranslate?S.translate:-S.translate;let P;for(let S=0;S=k[S]&&M=k[S]&&M=k[S]&&(P=S);return C.normalizeSlideIndex&&(P<0||void 0===P)&&(P=0),P}(k)),M.indexOf(C)>=0)ne=M.indexOf(C);else{const S=Math.min(P.slidesPerGroupSkip,se);ne=S+Math.floor((se-S)/P.slidesPerGroup)}if(ne>=M.length&&(ne=M.length-1),se===O&&!k.params.loop)return void(ne!==re&&(k.snapIndex=ne,k.emit("snapIndexChange")));if(se===O&&k.params.loop&&k.virtual&&k.params.virtual.enabled)return void(k.realIndex=getVirtualRealIndex(se));const oe=k.grid&&P.grid&&P.grid.rows>1;let de;if(k.virtual&&P.virtual.enabled&&P.loop)de=getVirtualRealIndex(se);else if(oe){const S=k.slides.filter((S=>S.column===se))[0];let C=parseInt(S.getAttribute("data-swiper-slide-index"),10);Number.isNaN(C)&&(C=Math.max(k.slides.indexOf(S),0)),de=Math.floor(C/P.grid.rows)}else if(k.slides[se]){const S=k.slides[se].getAttribute("data-swiper-slide-index");de=S?parseInt(S,10):se}else de=se;Object.assign(k,{"previousSnapIndex":re,"snapIndex":ne,"previousRealIndex":D,"realIndex":de,"previousIndex":O,"activeIndex":se}),k.initialized&&preload(k),k.emit("activeIndexChange"),k.emit("snapIndexChange"),(k.initialized||k.params.runCallbacksOnInit)&&(D!==de&&k.emit("realIndexChange"),k.emit("slideChange"))},"updateClickedSlide":function updateClickedSlide(S,k){const C=this,M=C.params;let P=S.closest(`.${M.slideClass}, swiper-slide`);!P&&C.isElement&&k&&k.length>1&&k.includes(S)&&[...k.slice(k.indexOf(S)+1,k.length)].forEach((S=>{!P&&S.matches&&S.matches(`.${M.slideClass}, swiper-slide`)&&(P=S)}));let O,D=!1;if(P)for(let S=0;Sne?ne:M&&SD?"next":O=ne.length&&(me=ne.length-1);const ge=-ne[me];if(re.normalizeSlideIndex)for(let S=0;S=C&&k=C&&k=C&&(D=S)}if(O.initialized&&D!==de){if(!O.allowSlideNext&&(ue?ge>O.translate&&ge>O.minTranslate():geO.translate&&ge>O.maxTranslate()&&(de||0)!==D)return!1}let be;if(D!==(oe||0)&&C&&O.emit("beforeSlideChangeStart"),O.updateProgress(ge),be=D>de?"next":D0?(O._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{pe[S?"scrollLeft":"scrollTop"]=C}))):pe[S?"scrollLeft":"scrollTop"]=C,k&&requestAnimationFrame((()=>{O.wrapperEl.style.scrollSnapType="",O._immediateVirtual=!1}))}else{if(!O.support.smoothScroll)return animateCSSModeScroll({"swiper":O,"targetPosition":C,"side":S?"left":"top"}),!0;pe.scrollTo({[S?"left":"top"]:C,"behavior":"smooth"})}return!0}return O.setTransition(k),O.setTranslate(ge),O.updateActiveIndex(D),O.updateSlidesClasses(),O.emit("beforeTransitionStart",k,M),O.transitionStart(C,be),0===k?O.transitionEnd(C,be):O.animating||(O.animating=!0,O.onSlideToWrapperTransitionEnd||(O.onSlideToWrapperTransitionEnd=function transitionEnd(S){O&&!O.destroyed&&S.target===this&&(O.wrapperEl.removeEventListener("transitionend",O.onSlideToWrapperTransitionEnd),O.onSlideToWrapperTransitionEnd=null,delete O.onSlideToWrapperTransitionEnd,O.transitionEnd(C,be))}),O.wrapperEl.addEventListener("transitionend",O.onSlideToWrapperTransitionEnd)),!0},"slideToLoop":function slideToLoop(S,k,C,M){if(void 0===S&&(S=0),void 0===C&&(C=!0),"string"==typeof S){S=parseInt(S,10)}const P=this;if(P.destroyed)return;void 0===k&&(k=P.params.speed);const O=P.grid&&P.params.grid&&P.params.grid.rows>1;let D=S;if(P.params.loop)if(P.virtual&&P.params.virtual.enabled)D+=P.virtual.slidesBefore;else{let S;if(O){const k=D*P.params.grid.rows;S=P.slides.filter((S=>1*S.getAttribute("data-swiper-slide-index")===k))[0].column}else S=P.getSlideIndexByData(D);const k=O?Math.ceil(P.slides.length/P.params.grid.rows):P.slides.length,{"centeredSlides":C}=P.params;let re=P.params.slidesPerView;"auto"===re?re=P.slidesPerViewDynamic():(re=Math.ceil(parseFloat(P.params.slidesPerView,10)),C&&re%2==0&&(re+=1));let ne=k-S1*k.getAttribute("data-swiper-slide-index")===S))[0].column}else D=P.getSlideIndexByData(D)}return requestAnimationFrame((()=>{P.slideTo(D,k,C,M)})),P},"slideNext":function slideNext(S,k,C){void 0===k&&(k=!0);const M=this,{"enabled":P,"params":O,"animating":D}=M;if(!P||M.destroyed)return M;void 0===S&&(S=M.params.speed);let re=O.slidesPerGroup;"auto"===O.slidesPerView&&1===O.slidesPerGroup&&O.slidesPerGroupAuto&&(re=Math.max(M.slidesPerViewDynamic("current",!0),1));const ne=M.activeIndex{M.slideTo(M.activeIndex+ne,S,k,C)})),!0}return O.rewind&&M.isEnd?M.slideTo(0,S,k,C):M.slideTo(M.activeIndex+ne,S,k,C)},"slidePrev":function slidePrev(S,k,C){void 0===k&&(k=!0);const M=this,{"params":P,"snapGrid":O,"slidesGrid":D,"rtlTranslate":re,"enabled":ne,"animating":se}=M;if(!ne||M.destroyed)return M;void 0===S&&(S=M.params.speed);const oe=M.virtual&&P.virtual.enabled;if(P.loop){if(se&&!oe&&P.loopPreventsSliding)return!1;M.loopFix({"direction":"prev"}),M._clientLeft=M.wrapperEl.clientLeft}function normalize(S){return S<0?-Math.floor(Math.abs(S)):Math.floor(S)}const de=normalize(re?M.translate:-M.translate),ue=O.map((S=>normalize(S)));let pe=O[ue.indexOf(de)-1];if(void 0===pe&&P.cssMode){let S;O.forEach(((k,C)=>{de>=k&&(S=C)})),void 0!==S&&(pe=O[S>0?S-1:S])}let he=0;if(void 0!==pe&&(he=D.indexOf(pe),he<0&&(he=M.activeIndex-1),"auto"===P.slidesPerView&&1===P.slidesPerGroup&&P.slidesPerGroupAuto&&(he=he-M.slidesPerViewDynamic("previous",!0)+1,he=Math.max(he,0))),P.rewind&&M.isBeginning){const P=M.params.virtual&&M.params.virtual.enabled&&M.virtual?M.virtual.slides.length-1:M.slides.length-1;return M.slideTo(P,S,k,C)}return P.loop&&0===M.activeIndex&&P.cssMode?(requestAnimationFrame((()=>{M.slideTo(he,S,k,C)})),!0):M.slideTo(he,S,k,C)},"slideReset":function slideReset(S,k,C){void 0===k&&(k=!0);const M=this;if(!M.destroyed)return void 0===S&&(S=M.params.speed),M.slideTo(M.activeIndex,S,k,C)},"slideToClosest":function slideToClosest(S,k,C,M){void 0===k&&(k=!0),void 0===M&&(M=.5);const P=this;if(P.destroyed)return;void 0===S&&(S=P.params.speed);let O=P.activeIndex;const D=Math.min(P.params.slidesPerGroupSkip,O),re=D+Math.floor((O-D)/P.params.slidesPerGroup),ne=P.rtlTranslate?P.translate:-P.translate;if(ne>=P.snapGrid[re]){const S=P.snapGrid[re];ne-S>(P.snapGrid[re+1]-S)*M&&(O+=P.params.slidesPerGroup)}else{const S=P.snapGrid[re-1];ne-S<=(P.snapGrid[re]-S)*M&&(O-=P.params.slidesPerGroup)}return O=Math.max(O,0),O=Math.min(O,P.slidesGrid.length-1),P.slideTo(O,S,k,C)},"slideToClickedSlide":function slideToClickedSlide(){const S=this;if(S.destroyed)return;const{"params":k,"slidesEl":C}=S,M="auto"===k.slidesPerView?S.slidesPerViewDynamic():k.slidesPerView;let P,O=S.clickedIndex;const D=S.isElement?"swiper-slide":`.${k.slideClass}`;if(k.loop){if(S.animating)return;P=parseInt(S.clickedSlide.getAttribute("data-swiper-slide-index"),10),k.centeredSlides?OS.slides.length-S.loopedSlides+M/2?(S.loopFix(),O=S.getSlideIndex(elementChildren(C,`${D}[data-swiper-slide-index="${P}"]`)[0]),nextTick((()=>{S.slideTo(O)}))):S.slideTo(O):O>S.slides.length-M?(S.loopFix(),O=S.getSlideIndex(elementChildren(C,`${D}[data-swiper-slide-index="${P}"]`)[0]),nextTick((()=>{S.slideTo(O)}))):S.slideTo(O)}else S.slideTo(O)}};var pe={"loopCreate":function loopCreate(S){const k=this,{"params":C,"slidesEl":M}=k;if(!C.loop||k.virtual&&k.params.virtual.enabled)return;const initSlides=()=>{elementChildren(M,`.${C.slideClass}, swiper-slide`).forEach(((S,k)=>{S.setAttribute("data-swiper-slide-index",k)}))},P=k.grid&&C.grid&&C.grid.rows>1,O=C.slidesPerGroup*(P?C.grid.rows:1),D=k.slides.length%O!=0,re=P&&k.slides.length%C.grid.rows!=0,addBlankSlides=S=>{for(let M=0;M1;se.lengthS.classList.contains(pe.slideActiveClass)))[0]):Ee=O;const Ae="next"===M||!M,ke="prev"===M||!M;let Te=0,_e=0;const Me=be?Math.ceil(se.length/pe.grid.rows):se.length,Pe=(be?se[O].column:O)+(he&&void 0===P?-fe/2+.5:0);if(Pe=0;k-=1)se[k].column===S&&ve.push(k)}else ve.push(Me-k-1)}}else if(Pe+fe>Me-ge){_e=Math.max(Pe-(Me-2*ge),me);for(let S=0;S<_e;S+=1){const k=S-Math.floor(S/Me)*Me;be?se.forEach(((S,C)=>{S.column===k&&ye.push(C)})):ye.push(k)}}if(ne.__preventObserver__=!0,requestAnimationFrame((()=>{ne.__preventObserver__=!1})),ke&&ve.forEach((S=>{se[S].swiperLoopMoveDOM=!0,ue.prepend(se[S]),se[S].swiperLoopMoveDOM=!1})),Ae&&ye.forEach((S=>{se[S].swiperLoopMoveDOM=!0,ue.append(se[S]),se[S].swiperLoopMoveDOM=!1})),ne.recalcSlides(),"auto"===pe.slidesPerView?ne.updateSlides():be&&(ve.length>0&&ke||ye.length>0&&Ae)&&ne.slides.forEach(((S,k)=>{ne.grid.updateSlide(k,S,ne.slides)})),pe.watchSlidesProgress&&ne.updateSlidesOffset(),C)if(ve.length>0&&ke){if(void 0===k){const S=ne.slidesGrid[Ee],k=ne.slidesGrid[Ee+Te]-S;re?ne.setTranslate(ne.translate-k):(ne.slideTo(Ee+Math.ceil(Te),0,!1,!0),P&&(ne.touchEventsData.startTranslate=ne.touchEventsData.startTranslate-k,ne.touchEventsData.currentTranslate=ne.touchEventsData.currentTranslate-k))}else if(P){const S=be?ve.length/pe.grid.rows:ve.length;ne.slideTo(ne.activeIndex+S,0,!1,!0),ne.touchEventsData.currentTranslate=ne.translate}}else if(ye.length>0&&Ae)if(void 0===k){const S=ne.slidesGrid[Ee],k=ne.slidesGrid[Ee-_e]-S;re?ne.setTranslate(ne.translate-k):(ne.slideTo(Ee-_e,0,!1,!0),P&&(ne.touchEventsData.startTranslate=ne.touchEventsData.startTranslate-k,ne.touchEventsData.currentTranslate=ne.touchEventsData.currentTranslate-k))}else{const S=be?ye.length/pe.grid.rows:ye.length;ne.slideTo(ne.activeIndex-S,0,!1,!0)}if(ne.allowSlidePrev=oe,ne.allowSlideNext=de,ne.controller&&ne.controller.control&&!D){const S={"slideRealIndex":k,"direction":M,"setTranslate":P,"activeSlideIndex":O,"byController":!0};Array.isArray(ne.controller.control)?ne.controller.control.forEach((k=>{!k.destroyed&&k.params.loop&&k.loopFix({...S,"slideTo":k.params.slidesPerView===pe.slidesPerView&&C})})):ne.controller.control instanceof ne.constructor&&ne.controller.control.params.loop&&ne.controller.control.loopFix({...S,"slideTo":ne.controller.control.params.slidesPerView===pe.slidesPerView&&C})}ne.emit("loopFix")},"loopDestroy":function loopDestroy(){const S=this,{"params":k,"slidesEl":C}=S;if(!k.loop||S.virtual&&S.params.virtual.enabled)return;S.recalcSlides();const M=[];S.slides.forEach((S=>{const k=void 0===S.swiperSlideIndex?1*S.getAttribute("data-swiper-slide-index"):S.swiperSlideIndex;M[k]=S})),S.slides.forEach((S=>{S.removeAttribute("data-swiper-slide-index")})),M.forEach((S=>{C.append(S)})),S.recalcSlides(),S.slideTo(S.realIndex,0)}};function preventEdgeSwipe(S,k,C){const M=getWindow(),{"params":P}=S,O=P.edgeSwipeDetection,D=P.edgeSwipeThreshold;return!O||!(C<=D||C>=M.innerWidth-D)||"prevent"===O&&(k.preventDefault(),!0)}function onTouchStart(S){const k=this,C=getDocument();let M=S;M.originalEvent&&(M=M.originalEvent);const P=k.touchEventsData;if("pointerdown"===M.type){if(null!==P.pointerId&&P.pointerId!==M.pointerId)return;P.pointerId=M.pointerId}else"touchstart"===M.type&&1===M.targetTouches.length&&(P.touchId=M.targetTouches[0].identifier);if("touchstart"===M.type)return void preventEdgeSwipe(k,M,M.targetTouches[0].pageX);const{"params":O,"touches":D,"enabled":re}=k;if(!re)return;if(!O.simulateTouch&&"mouse"===M.pointerType)return;if(k.animating&&O.preventInteractionOnTransition)return;!k.animating&&O.cssMode&&O.loop&&k.loopFix();let ne=M.target;if("wrapper"===O.touchEventsTarget&&!k.wrapperEl.contains(ne))return;if("which"in M&&3===M.which)return;if("button"in M&&M.button>0)return;if(P.isTouched&&P.isMoved)return;const se=!!O.noSwipingClass&&""!==O.noSwipingClass,oe=M.composedPath?M.composedPath():M.path;se&&M.target&&M.target.shadowRoot&&oe&&(ne=oe[0]);const de=O.noSwipingSelector?O.noSwipingSelector:`.${O.noSwipingClass}`,ue=!(!M.target||!M.target.shadowRoot);if(O.noSwiping&&(ue?function closestElement(S,k){return void 0===k&&(k=this),function __closestFrom(k){if(!k||k===getDocument()||k===getWindow())return null;k.assignedSlot&&(k=k.assignedSlot);const C=k.closest(S);return C||k.getRootNode?C||__closestFrom(k.getRootNode().host):null}(k)}(de,ne):ne.closest(de)))return void(k.allowClick=!0);if(O.swipeHandler&&!ne.closest(O.swipeHandler))return;D.currentX=M.pageX,D.currentY=M.pageY;const pe=D.currentX,he=D.currentY;if(!preventEdgeSwipe(k,M,pe))return;Object.assign(P,{"isTouched":!0,"isMoved":!1,"allowTouchCallbacks":!0,"isScrolling":void 0,"startMoving":void 0}),D.startX=pe,D.startY=he,P.touchStartTime=now(),k.allowClick=!0,k.updateSize(),k.swipeDirection=void 0,O.threshold>0&&(P.allowThresholdMove=!1);let fe=!0;ne.matches(P.focusableElements)&&(fe=!1,"SELECT"===ne.nodeName&&(P.isTouched=!1)),C.activeElement&&C.activeElement.matches(P.focusableElements)&&C.activeElement!==ne&&C.activeElement.blur();const me=fe&&k.allowTouchMove&&O.touchStartPreventDefault;!O.touchStartForcePreventDefault&&!me||ne.isContentEditable||M.preventDefault(),O.freeMode&&O.freeMode.enabled&&k.freeMode&&k.animating&&!O.cssMode&&k.freeMode.onTouchStart(),k.emit("touchStart",M)}function onTouchMove(S){const k=getDocument(),C=this,M=C.touchEventsData,{"params":P,"touches":O,"rtlTranslate":D,"enabled":re}=C;if(!re)return;if(!P.simulateTouch&&"mouse"===S.pointerType)return;let ne,se=S;if(se.originalEvent&&(se=se.originalEvent),"pointermove"===se.type){if(null!==M.touchId)return;if(se.pointerId!==M.pointerId)return}if("touchmove"===se.type){if(ne=[...se.changedTouches].filter((S=>S.identifier===M.touchId))[0],!ne||ne.identifier!==M.touchId)return}else ne=se;if(!M.isTouched)return void(M.startMoving&&M.isScrolling&&C.emit("touchMoveOpposite",se));const oe=ne.pageX,de=ne.pageY;if(se.preventedByNestedSwiper)return O.startX=oe,void(O.startY=de);if(!C.allowTouchMove)return se.target.matches(M.focusableElements)||(C.allowClick=!1),void(M.isTouched&&(Object.assign(O,{"startX":oe,"startY":de,"currentX":oe,"currentY":de}),M.touchStartTime=now()));if(P.touchReleaseOnEdges&&!P.loop)if(C.isVertical()){if(deO.startY&&C.translate>=C.minTranslate())return M.isTouched=!1,void(M.isMoved=!1)}else if(oeO.startX&&C.translate>=C.minTranslate())return;if(k.activeElement&&se.target===k.activeElement&&se.target.matches(M.focusableElements))return M.isMoved=!0,void(C.allowClick=!1);M.allowTouchCallbacks&&C.emit("touchMove",se),O.previousX=O.currentX,O.previousY=O.currentY,O.currentX=oe,O.currentY=de;const ue=O.currentX-O.startX,pe=O.currentY-O.startY;if(C.params.threshold&&Math.sqrt(ue**2+pe**2)=25&&(S=180*Math.atan2(Math.abs(pe),Math.abs(ue))/Math.PI,M.isScrolling=C.isHorizontal()?S>P.touchAngle:90-S>P.touchAngle)}if(M.isScrolling&&C.emit("touchMoveOpposite",se),void 0===M.startMoving&&(O.currentX===O.startX&&O.currentY===O.startY||(M.startMoving=!0)),M.isScrolling)return void(M.isTouched=!1);if(!M.startMoving)return;C.allowClick=!1,!P.cssMode&&se.cancelable&&se.preventDefault(),P.touchMoveStopPropagation&&!P.nested&&se.stopPropagation();let he=C.isHorizontal()?ue:pe,fe=C.isHorizontal()?O.currentX-O.previousX:O.currentY-O.previousY;P.oneWayMovement&&(he=Math.abs(he)*(D?1:-1),fe=Math.abs(fe)*(D?1:-1)),O.diff=he,he*=P.touchRatio,D&&(he=-he,fe=-fe);const me=C.touchesDirection;C.swipeDirection=he>0?"prev":"next",C.touchesDirection=fe>0?"prev":"next";const ge=C.params.loop&&!P.cssMode,be="next"===C.touchesDirection&&C.allowSlideNext||"prev"===C.touchesDirection&&C.allowSlidePrev;if(!M.isMoved){if(ge&&be&&C.loopFix({"direction":C.swipeDirection}),M.startTranslate=C.getTranslate(),C.setTransition(0),C.animating){const S=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});C.wrapperEl.dispatchEvent(S)}M.allowMomentumBounce=!1,!P.grabCursor||!0!==C.allowSlideNext&&!0!==C.allowSlidePrev||C.setGrabCursor(!0),C.emit("sliderFirstMove",se)}if((new Date).getTime(),M.isMoved&&M.allowThresholdMove&&me!==C.touchesDirection&&ge&&be&&Math.abs(he)>=1)return Object.assign(O,{"startX":oe,"startY":de,"currentX":oe,"currentY":de,"startTranslate":M.currentTranslate}),M.loopSwapReset=!0,void(M.startTranslate=M.currentTranslate);C.emit("sliderMove",se),M.isMoved=!0,M.currentTranslate=he+M.startTranslate;let ve=!0,ye=P.resistanceRatio;if(P.touchReleaseOnEdges&&(ye=0),he>0?(ge&&be&&M.allowThresholdMove&&M.currentTranslate>(P.centeredSlides?C.minTranslate()-C.slidesSizesGrid[C.activeIndex+1]:C.minTranslate())&&C.loopFix({"direction":"prev","setTranslate":!0,"activeSlideIndex":0}),M.currentTranslate>C.minTranslate()&&(ve=!1,P.resistance&&(M.currentTranslate=C.minTranslate()-1+(-C.minTranslate()+M.startTranslate+he)**ye))):he<0&&(ge&&be&&M.allowThresholdMove&&M.currentTranslate<(P.centeredSlides?C.maxTranslate()+C.slidesSizesGrid[C.slidesSizesGrid.length-1]:C.maxTranslate())&&C.loopFix({"direction":"next","setTranslate":!0,"activeSlideIndex":C.slides.length-("auto"===P.slidesPerView?C.slidesPerViewDynamic():Math.ceil(parseFloat(P.slidesPerView,10)))}),M.currentTranslateM.startTranslate&&(M.currentTranslate=M.startTranslate),C.allowSlidePrev||C.allowSlideNext||(M.currentTranslate=M.startTranslate),P.threshold>0){if(!(Math.abs(he)>P.threshold||M.allowThresholdMove))return void(M.currentTranslate=M.startTranslate);if(!M.allowThresholdMove)return M.allowThresholdMove=!0,O.startX=O.currentX,O.startY=O.currentY,M.currentTranslate=M.startTranslate,void(O.diff=C.isHorizontal()?O.currentX-O.startX:O.currentY-O.startY)}P.followFinger&&!P.cssMode&&((P.freeMode&&P.freeMode.enabled&&C.freeMode||P.watchSlidesProgress)&&(C.updateActiveIndex(),C.updateSlidesClasses()),P.freeMode&&P.freeMode.enabled&&C.freeMode&&C.freeMode.onTouchMove(),C.updateProgress(M.currentTranslate),C.setTranslate(M.currentTranslate))}function onTouchEnd(S){const k=this,C=k.touchEventsData;let M,P=S;P.originalEvent&&(P=P.originalEvent);if("touchend"===P.type||"touchcancel"===P.type){if(M=[...P.changedTouches].filter((S=>S.identifier===C.touchId))[0],!M||M.identifier!==C.touchId)return}else{if(null!==C.touchId)return;if(P.pointerId!==C.pointerId)return;M=P}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(P.type)){if(!(["pointercancel","contextmenu"].includes(P.type)&&(k.browser.isSafari||k.browser.isWebView)))return}C.pointerId=null,C.touchId=null;const{"params":O,"touches":D,"rtlTranslate":re,"slidesGrid":ne,"enabled":se}=k;if(!se)return;if(!O.simulateTouch&&"mouse"===P.pointerType)return;if(C.allowTouchCallbacks&&k.emit("touchEnd",P),C.allowTouchCallbacks=!1,!C.isTouched)return C.isMoved&&O.grabCursor&&k.setGrabCursor(!1),C.isMoved=!1,void(C.startMoving=!1);O.grabCursor&&C.isMoved&&C.isTouched&&(!0===k.allowSlideNext||!0===k.allowSlidePrev)&&k.setGrabCursor(!1);const oe=now(),de=oe-C.touchStartTime;if(k.allowClick){const S=P.path||P.composedPath&&P.composedPath();k.updateClickedSlide(S&&S[0]||P.target,S),k.emit("tap click",P),de<300&&oe-C.lastClickTime<300&&k.emit("doubleTap doubleClick",P)}if(C.lastClickTime=now(),nextTick((()=>{k.destroyed||(k.allowClick=!0)})),!C.isTouched||!C.isMoved||!k.swipeDirection||0===D.diff&&!C.loopSwapReset||C.currentTranslate===C.startTranslate&&!C.loopSwapReset)return C.isTouched=!1,C.isMoved=!1,void(C.startMoving=!1);let ue;if(C.isTouched=!1,C.isMoved=!1,C.startMoving=!1,ue=O.followFinger?re?k.translate:-k.translate:-C.currentTranslate,O.cssMode)return;if(O.freeMode&&O.freeMode.enabled)return void k.freeMode.onTouchEnd({"currentPos":ue});const pe=ue>=-k.maxTranslate()&&!k.params.loop;let he=0,fe=k.slidesSizesGrid[0];for(let S=0;S=ne[S]&&ue=ne[S])&&(he=S,fe=ne[ne.length-1]-ne[ne.length-2])}let me=null,ge=null;O.rewind&&(k.isBeginning?ge=O.virtual&&O.virtual.enabled&&k.virtual?k.virtual.slides.length-1:k.slides.length-1:k.isEnd&&(me=0));const be=(ue-ne[he])/fe,ve=heO.longSwipesMs){if(!O.longSwipes)return void k.slideTo(k.activeIndex);"next"===k.swipeDirection&&(be>=O.longSwipesRatio?k.slideTo(O.rewind&&k.isEnd?me:he+ve):k.slideTo(he)),"prev"===k.swipeDirection&&(be>1-O.longSwipesRatio?k.slideTo(he+ve):null!==ge&&be<0&&Math.abs(be)>O.longSwipesRatio?k.slideTo(ge):k.slideTo(he))}else{if(!O.shortSwipes)return void k.slideTo(k.activeIndex);k.navigation&&(P.target===k.navigation.nextEl||P.target===k.navigation.prevEl)?P.target===k.navigation.nextEl?k.slideTo(he+ve):k.slideTo(he):("next"===k.swipeDirection&&k.slideTo(null!==me?me:he+ve),"prev"===k.swipeDirection&&k.slideTo(null!==ge?ge:he))}}function onResize(){const S=this,{"params":k,"el":C}=S;if(C&&0===C.offsetWidth)return;k.breakpoints&&S.setBreakpoint();const{"allowSlideNext":M,"allowSlidePrev":P,"snapGrid":O}=S,D=S.virtual&&S.params.virtual.enabled;S.allowSlideNext=!0,S.allowSlidePrev=!0,S.updateSize(),S.updateSlides(),S.updateSlidesClasses();const re=D&&k.loop;!("auto"===k.slidesPerView||k.slidesPerView>1)||!S.isEnd||S.isBeginning||S.params.centeredSlides||re?S.params.loop&&!D?S.slideToLoop(S.realIndex,0,!1,!0):S.slideTo(S.activeIndex,0,!1,!0):S.slideTo(S.slides.length-1,0,!1,!0),S.autoplay&&S.autoplay.running&&S.autoplay.paused&&(clearTimeout(S.autoplay.resizeTimeout),S.autoplay.resizeTimeout=setTimeout((()=>{S.autoplay&&S.autoplay.running&&S.autoplay.paused&&S.autoplay.resume()}),500)),S.allowSlidePrev=P,S.allowSlideNext=M,S.params.watchOverflow&&O!==S.snapGrid&&S.checkOverflow()}function onClick(S){const k=this;k.enabled&&(k.allowClick||(k.params.preventClicks&&S.preventDefault(),k.params.preventClicksPropagation&&k.animating&&(S.stopPropagation(),S.stopImmediatePropagation())))}function onScroll(){const S=this,{"wrapperEl":k,"rtlTranslate":C,"enabled":M}=S;if(!M)return;let P;S.previousTranslate=S.translate,S.isHorizontal()?S.translate=-k.scrollLeft:S.translate=-k.scrollTop,0===S.translate&&(S.translate=0),S.updateActiveIndex(),S.updateSlidesClasses();const O=S.maxTranslate()-S.minTranslate();P=0===O?0:(S.translate-S.minTranslate())/O,P!==S.progress&&S.updateProgress(C?-S.translate:S.translate),S.emit("setTranslate",S.translate,!1)}function onLoad(S){const k=this;processLazyPreloader(k,S.target),k.params.cssMode||"auto"!==k.params.slidesPerView&&!k.params.autoHeight||k.update()}function onDocumentTouchStart(){const S=this;S.documentTouchHandlerProceeded||(S.documentTouchHandlerProceeded=!0,S.params.touchReleaseOnEdges&&(S.el.style.touchAction="auto"))}const events=(S,k)=>{const C=getDocument(),{"params":M,"el":P,"wrapperEl":O,"device":D}=S,re=!!M.nested,ne="on"===k?"addEventListener":"removeEventListener",se=k;C[ne]("touchstart",S.onDocumentTouchStart,{"passive":!1,"capture":re}),P[ne]("touchstart",S.onTouchStart,{"passive":!1}),P[ne]("pointerdown",S.onTouchStart,{"passive":!1}),C[ne]("touchmove",S.onTouchMove,{"passive":!1,"capture":re}),C[ne]("pointermove",S.onTouchMove,{"passive":!1,"capture":re}),C[ne]("touchend",S.onTouchEnd,{"passive":!0}),C[ne]("pointerup",S.onTouchEnd,{"passive":!0}),C[ne]("pointercancel",S.onTouchEnd,{"passive":!0}),C[ne]("touchcancel",S.onTouchEnd,{"passive":!0}),C[ne]("pointerout",S.onTouchEnd,{"passive":!0}),C[ne]("pointerleave",S.onTouchEnd,{"passive":!0}),C[ne]("contextmenu",S.onTouchEnd,{"passive":!0}),(M.preventClicks||M.preventClicksPropagation)&&P[ne]("click",S.onClick,!0),M.cssMode&&O[ne]("scroll",S.onScroll),M.updateOnWindowResize?S[se](D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):S[se]("observerUpdate",onResize,!0),P[ne]("load",S.onLoad,{"capture":!0})};const isGridEnabled=(S,k)=>S.grid&&k.grid&&k.grid.rows>1;var he={"init":!0,"direction":"horizontal","oneWayMovement":!1,"swiperElementNodeName":"SWIPER-CONTAINER","touchEventsTarget":"wrapper","initialSlide":0,"speed":300,"cssMode":!1,"updateOnWindowResize":!0,"resizeObserver":!0,"nested":!1,"createElements":!1,"eventsPrefix":"swiper","enabled":!0,"focusableElements":"input, select, option, textarea, button, video, label","width":null,"height":null,"preventInteractionOnTransition":!1,"userAgent":null,"url":null,"edgeSwipeDetection":!1,"edgeSwipeThreshold":20,"autoHeight":!1,"setWrapperSize":!1,"virtualTranslate":!1,"effect":"slide","breakpoints":void 0,"breakpointsBase":"window","spaceBetween":0,"slidesPerView":1,"slidesPerGroup":1,"slidesPerGroupSkip":0,"slidesPerGroupAuto":!1,"centeredSlides":!1,"centeredSlidesBounds":!1,"slidesOffsetBefore":0,"slidesOffsetAfter":0,"normalizeSlideIndex":!0,"centerInsufficientSlides":!1,"watchOverflow":!0,"roundLengths":!1,"touchRatio":1,"touchAngle":45,"simulateTouch":!0,"shortSwipes":!0,"longSwipes":!0,"longSwipesRatio":.5,"longSwipesMs":300,"followFinger":!0,"allowTouchMove":!0,"threshold":5,"touchMoveStopPropagation":!1,"touchStartPreventDefault":!0,"touchStartForcePreventDefault":!1,"touchReleaseOnEdges":!1,"uniqueNavElements":!0,"resistance":!0,"resistanceRatio":.85,"watchSlidesProgress":!1,"grabCursor":!1,"preventClicks":!0,"preventClicksPropagation":!0,"slideToClickedSlide":!1,"loop":!1,"loopAddBlankSlides":!0,"loopAdditionalSlides":0,"loopPreventsSliding":!0,"rewind":!1,"allowSlidePrev":!0,"allowSlideNext":!0,"swipeHandler":null,"noSwiping":!0,"noSwipingClass":"swiper-no-swiping","noSwipingSelector":null,"passiveListeners":!0,"maxBackfaceHiddenSlides":10,"containerModifierClass":"swiper-","slideClass":"swiper-slide","slideBlankClass":"swiper-slide-blank","slideActiveClass":"swiper-slide-active","slideVisibleClass":"swiper-slide-visible","slideFullyVisibleClass":"swiper-slide-fully-visible","slideNextClass":"swiper-slide-next","slidePrevClass":"swiper-slide-prev","wrapperClass":"swiper-wrapper","lazyPreloaderClass":"swiper-lazy-preloader","lazyPreloadPrevNext":0,"runCallbacksOnInit":!0,"_emitClasses":!1};function moduleExtendParams(S,k){return function extendParams(C){void 0===C&&(C={});const M=Object.keys(C)[0],P=C[M];"object"==typeof P&&null!==P?(!0===S[M]&&(S[M]={"enabled":!0}),"navigation"===M&&S[M]&&S[M].enabled&&!S[M].prevEl&&!S[M].nextEl&&(S[M].auto=!0),["pagination","scrollbar"].indexOf(M)>=0&&S[M]&&S[M].enabled&&!S[M].el&&(S[M].auto=!0),M in S&&"enabled"in P?("object"!=typeof S[M]||"enabled"in S[M]||(S[M].enabled=!0),S[M]||(S[M]={"enabled":!1}),utils_extend(k,C)):utils_extend(k,C)):utils_extend(k,C)}}const fe={"eventsEmitter":se,"update":oe,"translate":de,"transition":{"setTransition":function setTransition(S,k){const C=this;C.params.cssMode||(C.wrapperEl.style.transitionDuration=`${S}ms`,C.wrapperEl.style.transitionDelay=0===S?"0ms":""),C.emit("setTransition",S,k)},"transitionStart":function transitionStart(S,k){void 0===S&&(S=!0);const C=this,{"params":M}=C;M.cssMode||(M.autoHeight&&C.updateAutoHeight(),transitionEmit({"swiper":C,"runCallbacks":S,"direction":k,"step":"Start"}))},"transitionEnd":function transitionEnd(S,k){void 0===S&&(S=!0);const C=this,{"params":M}=C;C.animating=!1,M.cssMode||(C.setTransition(0),transitionEmit({"swiper":C,"runCallbacks":S,"direction":k,"step":"End"}))}},"slide":ue,"loop":pe,"grabCursor":{"setGrabCursor":function setGrabCursor(S){const k=this;if(!k.params.simulateTouch||k.params.watchOverflow&&k.isLocked||k.params.cssMode)return;const C="container"===k.params.touchEventsTarget?k.el:k.wrapperEl;k.isElement&&(k.__preventObserver__=!0),C.style.cursor="move",C.style.cursor=S?"grabbing":"grab",k.isElement&&requestAnimationFrame((()=>{k.__preventObserver__=!1}))},"unsetGrabCursor":function unsetGrabCursor(){const S=this;S.params.watchOverflow&&S.isLocked||S.params.cssMode||(S.isElement&&(S.__preventObserver__=!0),S["container"===S.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",S.isElement&&requestAnimationFrame((()=>{S.__preventObserver__=!1})))}},"events":{"attachEvents":function attachEvents(){const S=this,{"params":k}=S;S.onTouchStart=onTouchStart.bind(S),S.onTouchMove=onTouchMove.bind(S),S.onTouchEnd=onTouchEnd.bind(S),S.onDocumentTouchStart=onDocumentTouchStart.bind(S),k.cssMode&&(S.onScroll=onScroll.bind(S)),S.onClick=onClick.bind(S),S.onLoad=onLoad.bind(S),events(S,"on")},"detachEvents":function detachEvents(){events(this,"off")}},"breakpoints":{"setBreakpoint":function setBreakpoint(){const S=this,{"realIndex":k,"initialized":C,"params":M,"el":P}=S,O=M.breakpoints;if(!O||O&&0===Object.keys(O).length)return;const D=S.getBreakpoint(O,S.params.breakpointsBase,S.el);if(!D||S.currentBreakpoint===D)return;const re=(D in O?O[D]:void 0)||S.originalParams,ne=isGridEnabled(S,M),se=isGridEnabled(S,re),oe=S.params.grabCursor,de=re.grabCursor,ue=M.enabled;ne&&!se?(P.classList.remove(`${M.containerModifierClass}grid`,`${M.containerModifierClass}grid-column`),S.emitContainerClasses()):!ne&&se&&(P.classList.add(`${M.containerModifierClass}grid`),(re.grid.fill&&"column"===re.grid.fill||!re.grid.fill&&"column"===M.grid.fill)&&P.classList.add(`${M.containerModifierClass}grid-column`),S.emitContainerClasses()),oe&&!de?S.unsetGrabCursor():!oe&&de&&S.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((k=>{if(void 0===re[k])return;const C=M[k]&&M[k].enabled,P=re[k]&&re[k].enabled;C&&!P&&S[k].disable(),!C&&P&&S[k].enable()}));const pe=re.direction&&re.direction!==M.direction,he=M.loop&&(re.slidesPerView!==M.slidesPerView||pe),fe=M.loop;pe&&C&&S.changeDirection(),utils_extend(S.params,re);const me=S.params.enabled,ge=S.params.loop;Object.assign(S,{"allowTouchMove":S.params.allowTouchMove,"allowSlideNext":S.params.allowSlideNext,"allowSlidePrev":S.params.allowSlidePrev}),ue&&!me?S.disable():!ue&&me&&S.enable(),S.currentBreakpoint=D,S.emit("_beforeBreakpoint",re),C&&(he?(S.loopDestroy(),S.loopCreate(k),S.updateSlides()):!fe&&ge?(S.loopCreate(k),S.updateSlides()):fe&&!ge&&S.loopDestroy()),S.emit("breakpoint",re)},"getBreakpoint":function getBreakpoint(S,k,C){if(void 0===k&&(k="window"),!S||"container"===k&&!C)return;let M=!1;const P=getWindow(),O="window"===k?P.innerHeight:C.clientHeight,D=Object.keys(S).map((S=>{if("string"==typeof S&&0===S.indexOf("@")){const k=parseFloat(S.substr(1));return{"value":O*k,"point":S}}return{"value":S,"point":S}}));D.sort(((S,k)=>parseInt(S.value,10)-parseInt(k.value,10)));for(let S=0;SC}else S.isLocked=1===S.snapGrid.length;!0===C.allowSlideNext&&(S.allowSlideNext=!S.isLocked),!0===C.allowSlidePrev&&(S.allowSlidePrev=!S.isLocked),k&&k!==S.isLocked&&(S.isEnd=!1),k!==S.isLocked&&S.emit(S.isLocked?"lock":"unlock")}},"classes":{"addClasses":function addClasses(){const S=this,{"classNames":k,"params":C,"rtl":M,"el":P,"device":O}=S,D=function prepareClasses(S,k){const C=[];return S.forEach((S=>{"object"==typeof S?Object.keys(S).forEach((M=>{S[M]&&C.push(k+M)})):"string"==typeof S&&C.push(k+S)})),C}(["initialized",C.direction,{"free-mode":S.params.freeMode&&C.freeMode.enabled},{"autoheight":C.autoHeight},{"rtl":M},{"grid":C.grid&&C.grid.rows>1},{"grid-column":C.grid&&C.grid.rows>1&&"column"===C.grid.fill},{"android":O.android},{"ios":O.ios},{"css-mode":C.cssMode},{"centered":C.cssMode&&C.centeredSlides},{"watch-progress":C.watchSlidesProgress}],C.containerModifierClass);k.push(...D),P.classList.add(...k),S.emitContainerClasses()},"removeClasses":function removeClasses(){const{"el":S,"classNames":k}=this;S.classList.remove(...k),this.emitContainerClasses()}}},me={};class Swiper{"constructor"(){let S,k;for(var C=arguments.length,M=new Array(C),P=0;P1){const S=[];return O.querySelectorAll(k.el).forEach((C=>{const M=utils_extend({},k,{"el":C});S.push(new Swiper(M))})),S}const D=this;D.__swiper__=!0,D.support=getSupport(),D.device=getDevice({"userAgent":k.userAgent}),D.browser=getBrowser(),D.eventsListeners={},D.eventsAnyListeners=[],D.modules=[...D.__modules__],k.modules&&Array.isArray(k.modules)&&D.modules.push(...k.modules);const re={};D.modules.forEach((S=>{S({"params":k,"swiper":D,"extendParams":moduleExtendParams(k,re),"on":D.on.bind(D),"once":D.once.bind(D),"off":D.off.bind(D),"emit":D.emit.bind(D)})}));const ne=utils_extend({},he,re);return D.params=utils_extend({},ne,me,k),D.originalParams=utils_extend({},D.params),D.passedParams=utils_extend({},k),D.params&&D.params.on&&Object.keys(D.params.on).forEach((S=>{D.on(S,D.params.on[S])})),D.params&&D.params.onAny&&D.onAny(D.params.onAny),Object.assign(D,{"enabled":D.params.enabled,"el":S,"classNames":[],"slides":[],"slidesGrid":[],"snapGrid":[],"slidesSizesGrid":[],"isHorizontal"(){return"horizontal"===D.params.direction},"isVertical"(){return"vertical"===D.params.direction},"activeIndex":0,"realIndex":0,"isBeginning":!0,"isEnd":!1,"translate":0,"previousTranslate":0,"progress":0,"velocity":0,"animating":!1,"cssOverflowAdjustment"(){return Math.trunc(this.translate/2**23)*2**23},"allowSlideNext":D.params.allowSlideNext,"allowSlidePrev":D.params.allowSlidePrev,"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,"focusableElements":D.params.focusableElements,"lastClickTime":0,"clickTimeout":void 0,"velocities":[],"allowMomentumBounce":void 0,"startMoving":void 0,"pointerId":null,"touchId":null},"allowClick":!0,"allowTouchMove":D.params.allowTouchMove,"touches":{"startX":0,"startY":0,"currentX":0,"currentY":0,"diff":0},"imagesToLoad":[],"imagesLoaded":0}),D.emit("_swiper"),D.params.init&&D.init(),D}"getDirectionLabel"(S){return this.isHorizontal()?S:{"width":"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom","marginRight":"marginBottom"}[S]}"getSlideIndex"(S){const{"slidesEl":k,"params":C}=this,M=elementIndex(elementChildren(k,`.${C.slideClass}, swiper-slide`)[0]);return elementIndex(S)-M}"getSlideIndexByData"(S){return this.getSlideIndex(this.slides.filter((k=>1*k.getAttribute("data-swiper-slide-index")===S))[0])}"recalcSlides"(){const{"slidesEl":S,"params":k}=this;this.slides=elementChildren(S,`.${k.slideClass}, swiper-slide`)}"enable"(){const S=this;S.enabled||(S.enabled=!0,S.params.grabCursor&&S.setGrabCursor(),S.emit("enable"))}"disable"(){const S=this;S.enabled&&(S.enabled=!1,S.params.grabCursor&&S.unsetGrabCursor(),S.emit("disable"))}"setProgress"(S,k){const C=this;S=Math.min(Math.max(S,0),1);const M=C.minTranslate(),P=(C.maxTranslate()-M)*S+M;C.translateTo(P,void 0===k?0:k),C.updateActiveIndex(),C.updateSlidesClasses()}"emitContainerClasses"(){const S=this;if(!S.params._emitClasses||!S.el)return;const k=S.el.className.split(" ").filter((k=>0===k.indexOf("swiper")||0===k.indexOf(S.params.containerModifierClass)));S.emit("_containerClasses",k.join(" "))}"getSlideClasses"(S){const k=this;return k.destroyed?"":S.className.split(" ").filter((S=>0===S.indexOf("swiper-slide")||0===S.indexOf(k.params.slideClass))).join(" ")}"emitSlidesClasses"(){const S=this;if(!S.params._emitClasses||!S.el)return;const k=[];S.slides.forEach((C=>{const M=S.getSlideClasses(C);k.push({"slideEl":C,"classNames":M}),S.emit("_slideClass",C,M)})),S.emit("_slideClasses",k)}"slidesPerViewDynamic"(S,k){void 0===S&&(S="current"),void 0===k&&(k=!1);const{"params":C,"slides":M,"slidesGrid":P,"slidesSizesGrid":O,"size":D,"activeIndex":re}=this;let ne=1;if("number"==typeof C.slidesPerView)return C.slidesPerView;if(C.centeredSlides){let S,k=M[re]?Math.ceil(M[re].swiperSlideSize):0;for(let C=re+1;CD&&(S=!0));for(let C=re-1;C>=0;C-=1)M[C]&&!S&&(k+=M[C].swiperSlideSize,ne+=1,k>D&&(S=!0))}else if("current"===S)for(let S=re+1;S=0;S-=1){P[re]-P[S]{k.complete&&processLazyPreloader(S,k)})),S.updateSize(),S.updateSlides(),S.updateProgress(),S.updateSlidesClasses(),C.freeMode&&C.freeMode.enabled&&!C.cssMode)setTranslate(),C.autoHeight&&S.updateAutoHeight();else{if(("auto"===C.slidesPerView||C.slidesPerView>1)&&S.isEnd&&!C.centeredSlides){const k=S.virtual&&C.virtual.enabled?S.virtual.slides:S.slides;M=S.slideTo(k.length-1,0,!1,!0)}else M=S.slideTo(S.activeIndex,0,!1,!0);M||setTranslate()}C.watchOverflow&&k!==S.snapGrid&&S.checkOverflow(),S.emit("update")}"changeDirection"(S,k){void 0===k&&(k=!0);const C=this,M=C.params.direction;return S||(S="horizontal"===M?"vertical":"horizontal"),S===M||"horizontal"!==S&&"vertical"!==S||(C.el.classList.remove(`${C.params.containerModifierClass}${M}`),C.el.classList.add(`${C.params.containerModifierClass}${S}`),C.emitContainerClasses(),C.params.direction=S,C.slides.forEach((k=>{"vertical"===S?k.style.width="":k.style.height=""})),C.emit("changeDirection"),k&&C.update()),C}"changeLanguageDirection"(S){const k=this;k.rtl&&"rtl"===S||!k.rtl&&"ltr"===S||(k.rtl="rtl"===S,k.rtlTranslate="horizontal"===k.params.direction&&k.rtl,k.rtl?(k.el.classList.add(`${k.params.containerModifierClass}rtl`),k.el.dir="rtl"):(k.el.classList.remove(`${k.params.containerModifierClass}rtl`),k.el.dir="ltr"),k.update())}"mount"(S){const k=this;if(k.mounted)return!0;let C=S||k.params.el;if("string"==typeof C&&(C=document.querySelector(C)),!C)return!1;C.swiper=k,C.parentNode&&C.parentNode.host&&C.parentNode.host.nodeName===k.params.swiperElementNodeName.toUpperCase()&&(k.isElement=!0);const getWrapperSelector=()=>`.${(k.params.wrapperClass||"").trim().split(" ").join(".")}`;let M=(()=>{if(C&&C.shadowRoot&&C.shadowRoot.querySelector){return C.shadowRoot.querySelector(getWrapperSelector())}return elementChildren(C,getWrapperSelector())[0]})();return!M&&k.params.createElements&&(M=createElement("div",k.params.wrapperClass),C.append(M),elementChildren(C,`.${k.params.slideClass}`).forEach((S=>{M.append(S)}))),Object.assign(k,{"el":C,"wrapperEl":M,"slidesEl":k.isElement&&!C.parentNode.host.slideSlots?C.parentNode.host:M,"hostEl":k.isElement?C.parentNode.host:C,"mounted":!0,"rtl":"rtl"===C.dir.toLowerCase()||"rtl"===elementStyle(C,"direction"),"rtlTranslate":"horizontal"===k.params.direction&&("rtl"===C.dir.toLowerCase()||"rtl"===elementStyle(C,"direction")),"wrongRTL":"-webkit-box"===elementStyle(M,"display")}),!0}"init"(S){const k=this;if(k.initialized)return k;if(!1===k.mount(S))return k;k.emit("beforeInit"),k.params.breakpoints&&k.setBreakpoint(),k.addClasses(),k.updateSize(),k.updateSlides(),k.params.watchOverflow&&k.checkOverflow(),k.params.grabCursor&&k.enabled&&k.setGrabCursor(),k.params.loop&&k.virtual&&k.params.virtual.enabled?k.slideTo(k.params.initialSlide+k.virtual.slidesBefore,0,k.params.runCallbacksOnInit,!1,!0):k.slideTo(k.params.initialSlide,0,k.params.runCallbacksOnInit,!1,!0),k.params.loop&&k.loopCreate(),k.attachEvents();const C=[...k.el.querySelectorAll('[loading="lazy"]')];return k.isElement&&C.push(...k.hostEl.querySelectorAll('[loading="lazy"]')),C.forEach((S=>{S.complete?processLazyPreloader(k,S):S.addEventListener("load",(S=>{processLazyPreloader(k,S.target)}))})),preload(k),k.initialized=!0,preload(k),k.emit("init"),k.emit("afterInit"),k}"destroy"(S,k){void 0===S&&(S=!0),void 0===k&&(k=!0);const C=this,{"params":M,"el":P,"wrapperEl":O,"slides":D}=C;return void 0===C.params||C.destroyed||(C.emit("beforeDestroy"),C.initialized=!1,C.detachEvents(),M.loop&&C.loopDestroy(),k&&(C.removeClasses(),P.removeAttribute("style"),O.removeAttribute("style"),D&&D.length&&D.forEach((S=>{S.classList.remove(M.slideVisibleClass,M.slideFullyVisibleClass,M.slideActiveClass,M.slideNextClass,M.slidePrevClass),S.removeAttribute("style"),S.removeAttribute("data-swiper-slide-index")}))),C.emit("destroy"),Object.keys(C.eventsListeners).forEach((S=>{C.off(S)})),!1!==S&&(C.el.swiper=null,function deleteProps(S){const k=S;Object.keys(k).forEach((S=>{try{k[S]=null}catch(S){}try{delete k[S]}catch(S){}}))}(C)),C.destroyed=!0),null}static"extendDefaults"(S){utils_extend(me,S)}static get"extendedDefaults"(){return me}static get"defaults"(){return he}static"installModule"(S){Swiper.prototype.__modules__||(Swiper.prototype.__modules__=[]);const k=Swiper.prototype.__modules__;"function"==typeof S&&k.indexOf(S)<0&&k.push(S)}static"use"(S){return Array.isArray(S)?(S.forEach((S=>Swiper.installModule(S))),Swiper):(Swiper.installModule(S),Swiper)}}function createElementIfNotDefined(S,k,C,M){return S.params.createElements&&Object.keys(M).forEach((P=>{if(!C[P]&&!0===C.auto){let O=elementChildren(S.el,`.${M[P]}`)[0];O||(O=createElement("div",M[P]),O.className=M[P],S.el.append(O)),C[P]=O,k[P]=O}})),C}function classesToSelector(S){return void 0===S&&(S=""),`.${S.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function appendSlide(S){const k=this,{"params":C,"slidesEl":M}=k;C.loop&&k.loopDestroy();const appendElement=S=>{if("string"==typeof S){const k=document.createElement("div");k.innerHTML=S,M.append(k.children[0]),k.innerHTML=""}else M.append(S)};if("object"==typeof S&&"length"in S)for(let k=0;k{if("string"==typeof S){const k=document.createElement("div");k.innerHTML=S,P.prepend(k.children[0]),k.innerHTML=""}else P.prepend(S)};if("object"==typeof S&&"length"in S){for(let k=0;k=re)return void C.appendSlide(k);let ne=D>S?D+1:D;const se=[];for(let k=re-1;k>=S;k-=1){const S=C.slides[k];S.remove(),se.unshift(S)}if("object"==typeof k&&"length"in k){for(let S=0;SS?D+k.length:D}else O.append(k);for(let S=0;S{if(C.params.effect!==k)return;C.classNames.push(`${C.params.containerModifierClass}${k}`),re&&re()&&C.classNames.push(`${C.params.containerModifierClass}3d`);const S=D?D():{};Object.assign(C.params,S),Object.assign(C.originalParams,S)})),M("setTranslate",(()=>{C.params.effect===k&&P()})),M("setTransition",((S,M)=>{C.params.effect===k&&O(M)})),M("transitionEnd",(()=>{if(C.params.effect===k&&ne){if(!se||!se().slideShadows)return;C.slides.forEach((S=>{S.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((S=>S.remove()))})),ne()}})),M("virtualUpdate",(()=>{C.params.effect===k&&(C.slides.length||(oe=!0),requestAnimationFrame((()=>{oe&&C.slides&&C.slides.length&&(P(),oe=!1)})))}))}function effectTarget(S,k){const C=getSlideTransformEl(k);return C!==k&&(C.style.backfaceVisibility="hidden",C.style["-webkit-backface-visibility"]="hidden"),C}function effectVirtualTransitionEnd(S){let{"swiper":k,"duration":C,"transformElements":M,"allSlides":P}=S;const{"activeIndex":O}=k;if(k.params.virtualTranslate&&0!==C){let S,C=!1;S=P?M:M.filter((S=>{const C=S.classList.contains("swiper-slide-transform")?(S=>{if(!S.parentElement)return k.slides.filter((k=>k.shadowRoot&&k.shadowRoot===S.parentNode))[0];return S.parentElement})(S):S;return k.getSlideIndex(C)===O})),S.forEach((S=>{elementTransitionEnd(S,(()=>{if(C)return;if(!k||k.destroyed)return;C=!0,k.animating=!1;const S=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});k.wrapperEl.dispatchEvent(S)}))}))}}function createShadow(S,k,C){const M=`swiper-slide-shadow${C?`-${C}`:""}${S?` swiper-slide-shadow-${S}`:""}`,P=getSlideTransformEl(k);let O=P.querySelector(`.${M.split(" ").join(".")}`);return O||(O=createElement("div",M.split(" ")),P.append(O)),O}Object.keys(fe).forEach((S=>{Object.keys(fe[S]).forEach((k=>{Swiper.prototype[k]=fe[S][k]}))})),Swiper.use([function Resize(S){let{"swiper":k,"on":C,"emit":M}=S;const P=getWindow();let O=null,D=null;const resizeHandler=()=>{k&&!k.destroyed&&k.initialized&&(M("beforeResize"),M("resize"))},orientationChangeHandler=()=>{k&&!k.destroyed&&k.initialized&&M("orientationchange")};C("init",(()=>{k.params.resizeObserver&&void 0!==P.ResizeObserver?k&&!k.destroyed&&k.initialized&&(O=new ResizeObserver((S=>{D=P.requestAnimationFrame((()=>{const{"width":C,"height":M}=k;let P=C,O=M;S.forEach((S=>{let{"contentBoxSize":C,"contentRect":M,"target":D}=S;D&&D!==k.el||(P=M?M.width:(C[0]||C).inlineSize,O=M?M.height:(C[0]||C).blockSize)})),P===C&&O===M||resizeHandler()}))})),O.observe(k.el)):(P.addEventListener("resize",resizeHandler),P.addEventListener("orientationchange",orientationChangeHandler))})),C("destroy",(()=>{D&&P.cancelAnimationFrame(D),O&&O.unobserve&&k.el&&(O.unobserve(k.el),O=null),P.removeEventListener("resize",resizeHandler),P.removeEventListener("orientationchange",orientationChangeHandler)}))},function Observer(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=[],D=getWindow(),attach=function(S,C){void 0===C&&(C={});const M=new(D.MutationObserver||D.WebkitMutationObserver)((S=>{if(k.__preventObserver__)return;if(1===S.length)return void P("observerUpdate",S[0]);const C=function observerUpdate(){P("observerUpdate",S[0])};D.requestAnimationFrame?D.requestAnimationFrame(C):D.setTimeout(C,0)}));M.observe(S,{"attributes":void 0===C.attributes||C.attributes,"childList":void 0===C.childList||C.childList,"characterData":void 0===C.characterData||C.characterData}),O.push(M)};C({"observer":!1,"observeParents":!1,"observeSlideChildren":!1}),M("init",(()=>{if(k.params.observer){if(k.params.observeParents){const S=elementParents(k.hostEl);for(let k=0;k{O.forEach((S=>{S.disconnect()})),O.splice(0,O.length)}))}]);const ge=[function Virtual(S){let k,{"swiper":C,"extendParams":M,"on":P,"emit":O}=S;M({"virtual":{"enabled":!1,"slides":[],"cache":!0,"renderSlide":null,"renderExternal":null,"renderExternalUpdate":!0,"addSlidesBefore":0,"addSlidesAfter":0}});const D=getDocument();C.virtual={"cache":{},"from":void 0,"to":void 0,"slides":[],"offset":0,"slidesGrid":[]};const re=D.createElement("div");function renderSlide(S,k){const M=C.params.virtual;if(M.cache&&C.virtual.cache[k])return C.virtual.cache[k];let P;return M.renderSlide?(P=M.renderSlide.call(C,S,k),"string"==typeof P&&(re.innerHTML=P,P=re.children[0])):P=C.isElement?createElement("swiper-slide"):createElement("div",C.params.slideClass),P.setAttribute("data-swiper-slide-index",k),M.renderSlide||(P.innerHTML=S),M.cache&&(C.virtual.cache[k]=P),P}function update(S,k){const{"slidesPerView":M,"slidesPerGroup":P,"centeredSlides":D,"loop":re,"initialSlide":ne}=C.params;if(k&&!re&&ne>0)return;const{"addSlidesBefore":se,"addSlidesAfter":oe}=C.params.virtual,{"from":de,"to":ue,"slides":pe,"slidesGrid":he,"offset":fe}=C.virtual;C.params.cssMode||C.updateActiveIndex();const me=C.activeIndex||0;let ge,be,ve;ge=C.rtlTranslate?"right":C.isHorizontal()?"left":"top",D?(be=Math.floor(M/2)+P+oe,ve=Math.floor(M/2)+P+se):(be=M+(P-1)+oe,ve=(re?M:P)+se);let ye=me-ve,Ee=me+be;re||(ye=Math.max(ye,0),Ee=Math.min(Ee,pe.length-1));let Ae=(C.slidesGrid[ye]||0)-(C.slidesGrid[0]||0);function onRendered(){C.updateSlides(),C.updateProgress(),C.updateSlidesClasses(),O("virtualUpdate")}if(re&&me>=ve?(ye-=ve,D||(Ae+=C.slidesGrid[0])):re&&me{S.style[ge]=Ae-Math.abs(C.cssOverflowAdjustment())+"px"})),C.updateProgress(),void O("virtualUpdate");if(C.params.virtual.renderExternal)return C.params.virtual.renderExternal.call(C,{"offset":Ae,"from":ye,"to":Ee,"slides":function getSlides(){const S=[];for(let k=ye;k<=Ee;k+=1)S.push(pe[k]);return S}()}),void(C.params.virtual.renderExternalUpdate?onRendered():O("virtualUpdate"));const ke=[],Te=[],getSlideIndex=S=>{let k=S;return S<0?k=pe.length+S:k>=pe.length&&(k-=pe.length),k};if(S)C.slides.filter((S=>S.matches(`.${C.params.slideClass}, swiper-slide`))).forEach((S=>{S.remove()}));else for(let S=de;S<=ue;S+=1)if(SEe){const k=getSlideIndex(S);C.slides.filter((S=>S.matches(`.${C.params.slideClass}[data-swiper-slide-index="${k}"], swiper-slide[data-swiper-slide-index="${k}"]`))).forEach((S=>{S.remove()}))}const _e=re?-pe.length:0,Me=re?2*pe.length:pe.length;for(let k=_e;k=ye&&k<=Ee){const C=getSlideIndex(k);void 0===ue||S?Te.push(C):(k>ue&&Te.push(C),k{C.slidesEl.append(renderSlide(pe[S],S))})),re)for(let S=ke.length-1;S>=0;S-=1){const k=ke[S];C.slidesEl.prepend(renderSlide(pe[k],k))}else ke.sort(((S,k)=>k-S)),ke.forEach((S=>{C.slidesEl.prepend(renderSlide(pe[S],S))}));elementChildren(C.slidesEl,".swiper-slide, swiper-slide").forEach((S=>{S.style[ge]=Ae-Math.abs(C.cssOverflowAdjustment())+"px"})),onRendered()}P("beforeInit",(()=>{if(!C.params.virtual.enabled)return;let S;if(void 0===C.passedParams.virtual.slides){const k=[...C.slidesEl.children].filter((S=>S.matches(`.${C.params.slideClass}, swiper-slide`)));k&&k.length&&(C.virtual.slides=[...k],S=!0,k.forEach(((S,k)=>{S.setAttribute("data-swiper-slide-index",k),C.virtual.cache[k]=S,S.remove()})))}S||(C.virtual.slides=C.params.virtual.slides),C.classNames.push(`${C.params.containerModifierClass}virtual`),C.params.watchSlidesProgress=!0,C.originalParams.watchSlidesProgress=!0,update(!1,!0)})),P("setTranslate",(()=>{C.params.virtual.enabled&&(C.params.cssMode&&!C._immediateVirtual?(clearTimeout(k),k=setTimeout((()=>{update()}),100)):update())})),P("init update resize",(()=>{C.params.virtual.enabled&&C.params.cssMode&&setCSSProperty(C.wrapperEl,"--swiper-virtual-size",`${C.virtualSize}px`)})),Object.assign(C.virtual,{"appendSlide":function appendSlide(S){if("object"==typeof S&&"length"in S)for(let k=0;k{const M=S[C],O=M.getAttribute("data-swiper-slide-index");O&&M.setAttribute("data-swiper-slide-index",parseInt(O,10)+P),k[parseInt(C,10)+P]=M})),C.virtual.cache=k}update(!0),C.slideTo(M,0)},"removeSlide":function removeSlide(S){if(null==S)return;let k=C.activeIndex;if(Array.isArray(S))for(let M=S.length-1;M>=0;M-=1)C.params.virtual.cache&&(delete C.virtual.cache[S[M]],Object.keys(C.virtual.cache).forEach((k=>{k>S&&(C.virtual.cache[k-1]=C.virtual.cache[k],C.virtual.cache[k-1].setAttribute("data-swiper-slide-index",k-1),delete C.virtual.cache[k])}))),C.virtual.slides.splice(S[M],1),S[M]{k>S&&(C.virtual.cache[k-1]=C.virtual.cache[k],C.virtual.cache[k-1].setAttribute("data-swiper-slide-index",k-1),delete C.virtual.cache[k])}))),C.virtual.slides.splice(S,1),S0&&0===elementParents(k.el,`.${k.params.slideActiveClass}`).length)return;const M=k.el,P=M.clientWidth,O=M.clientHeight,re=D.innerWidth,ne=D.innerHeight,se=elementOffset(M);C&&(se.left-=M.scrollLeft);const oe=[[se.left,se.top],[se.left+P,se.top],[se.left,se.top+O],[se.left+P,se.top+O]];for(let k=0;k=0&&C[0]<=re&&C[1]>=0&&C[1]<=ne){if(0===C[0]&&0===C[1])continue;S=!0}}if(!S)return}k.isHorizontal()?((se||oe||de||ue)&&(M.preventDefault?M.preventDefault():M.returnValue=!1),((oe||ue)&&!C||(se||de)&&C)&&k.slideNext(),((se||de)&&!C||(oe||ue)&&C)&&k.slidePrev()):((se||oe||pe||he)&&(M.preventDefault?M.preventDefault():M.returnValue=!1),(oe||he)&&k.slideNext(),(se||pe)&&k.slidePrev()),P("keyPress",re)}}function enable(){k.keyboard.enabled||(O.addEventListener("keydown",handle),k.keyboard.enabled=!0)}function disable(){k.keyboard.enabled&&(O.removeEventListener("keydown",handle),k.keyboard.enabled=!1)}k.keyboard={"enabled":!1},C({"keyboard":{"enabled":!1,"onlyInViewport":!0,"pageUpDown":!0}}),M("init",(()=>{k.params.keyboard.enabled&&enable()})),M("destroy",(()=>{k.keyboard.enabled&&disable()})),Object.assign(k.keyboard,{"enable":enable,"disable":disable})},function Mousewheel(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getWindow();let D;C({"mousewheel":{"enabled":!1,"releaseOnEdges":!1,"invert":!1,"forceToAxis":!1,"sensitivity":1,"eventsTarget":"container","thresholdDelta":null,"thresholdTime":null,"noMousewheelClass":"swiper-no-mousewheel"}}),k.mousewheel={"enabled":!1};let re,ne=now();const se=[];function handleMouseEnter(){k.enabled&&(k.mouseEntered=!0)}function handleMouseLeave(){k.enabled&&(k.mouseEntered=!1)}function animateSlider(S){return!(k.params.mousewheel.thresholdDelta&&S.delta=6&&now()-ne<60||(S.direction<0?k.isEnd&&!k.params.loop||k.animating||(k.slideNext(),P("scroll",S.raw)):k.isBeginning&&!k.params.loop||k.animating||(k.slidePrev(),P("scroll",S.raw)),ne=(new O.Date).getTime(),!1)))}function handle(S){let C=S,M=!0;if(!k.enabled)return;if(S.target.closest(`.${k.params.mousewheel.noMousewheelClass}`))return;const O=k.params.mousewheel;k.params.cssMode&&C.preventDefault();let ne=k.el;"container"!==k.params.mousewheel.eventsTarget&&(ne=document.querySelector(k.params.mousewheel.eventsTarget));const oe=ne&&ne.contains(C.target);if(!k.mouseEntered&&!oe&&!O.releaseOnEdges)return!0;C.originalEvent&&(C=C.originalEvent);let de=0;const ue=k.rtlTranslate?-1:1,pe=function normalize(S){let k=0,C=0,M=0,P=0;return"detail"in S&&(C=S.detail),"wheelDelta"in S&&(C=-S.wheelDelta/120),"wheelDeltaY"in S&&(C=-S.wheelDeltaY/120),"wheelDeltaX"in S&&(k=-S.wheelDeltaX/120),"axis"in S&&S.axis===S.HORIZONTAL_AXIS&&(k=C,C=0),M=10*k,P=10*C,"deltaY"in S&&(P=S.deltaY),"deltaX"in S&&(M=S.deltaX),S.shiftKey&&!M&&(M=P,P=0),(M||P)&&S.deltaMode&&(1===S.deltaMode?(M*=40,P*=40):(M*=800,P*=800)),M&&!k&&(k=M<1?-1:1),P&&!C&&(C=P<1?-1:1),{"spinX":k,"spinY":C,"pixelX":M,"pixelY":P}}(C);if(O.forceToAxis)if(k.isHorizontal()){if(!(Math.abs(pe.pixelX)>Math.abs(pe.pixelY)))return!0;de=-pe.pixelX*ue}else{if(!(Math.abs(pe.pixelY)>Math.abs(pe.pixelX)))return!0;de=-pe.pixelY}else de=Math.abs(pe.pixelX)>Math.abs(pe.pixelY)?-pe.pixelX*ue:-pe.pixelY;if(0===de)return!0;O.invert&&(de=-de);let he=k.getTranslate()+de*O.sensitivity;if(he>=k.minTranslate()&&(he=k.minTranslate()),he<=k.maxTranslate()&&(he=k.maxTranslate()),M=!!k.params.loop||!(he===k.minTranslate()||he===k.maxTranslate()),M&&k.params.nested&&C.stopPropagation(),k.params.freeMode&&k.params.freeMode.enabled){const S={"time":now(),"delta":Math.abs(de),"direction":Math.sign(de)},M=re&&S.time=k.minTranslate()&&(ne=k.minTranslate()),ne<=k.maxTranslate()&&(ne=k.maxTranslate()),k.setTransition(0),k.setTranslate(ne),k.updateProgress(),k.updateActiveIndex(),k.updateSlidesClasses(),(!oe&&k.isBeginning||!ue&&k.isEnd)&&k.updateSlidesClasses(),k.params.loop&&k.loopFix({"direction":S.direction<0?"next":"prev","byMousewheel":!0}),k.params.freeMode.sticky){clearTimeout(D),D=void 0,se.length>=15&&se.shift();const C=se.length?se[se.length-1]:void 0,M=se[0];if(se.push(S),C&&(S.delta>C.delta||S.direction!==C.direction))se.splice(0);else if(se.length>=15&&S.time-M.time<500&&M.delta-S.delta>=1&&S.delta<=6){const C=de>0?.8:.2;re=S,se.splice(0),D=nextTick((()=>{k.slideToClosest(k.params.speed,!0,void 0,C)}),0)}D||(D=nextTick((()=>{re=S,se.splice(0),k.slideToClosest(k.params.speed,!0,void 0,.5)}),500))}if(M||P("scroll",C),k.params.autoplay&&k.params.autoplayDisableOnInteraction&&k.autoplay.stop(),O.releaseOnEdges&&(ne===k.minTranslate()||ne===k.maxTranslate()))return!0}}else{const C={"time":now(),"delta":Math.abs(de),"direction":Math.sign(de),"raw":S};se.length>=2&&se.shift();const M=se.length?se[se.length-1]:void 0;if(se.push(C),M?(C.direction!==M.direction||C.delta>M.delta||C.time>M.time+150)&&animateSlider(C):animateSlider(C),function releaseScroll(S){const C=k.params.mousewheel;if(S.direction<0){if(k.isEnd&&!k.params.loop&&C.releaseOnEdges)return!0}else if(k.isBeginning&&!k.params.loop&&C.releaseOnEdges)return!0;return!1}(C))return!0}return C.preventDefault?C.preventDefault():C.returnValue=!1,!1}function events(S){let C=k.el;"container"!==k.params.mousewheel.eventsTarget&&(C=document.querySelector(k.params.mousewheel.eventsTarget)),C[S]("mouseenter",handleMouseEnter),C[S]("mouseleave",handleMouseLeave),C[S]("wheel",handle)}function enable(){return k.params.cssMode?(k.wrapperEl.removeEventListener("wheel",handle),!0):!k.mousewheel.enabled&&(events("addEventListener"),k.mousewheel.enabled=!0,!0)}function disable(){return k.params.cssMode?(k.wrapperEl.addEventListener(event,handle),!0):!!k.mousewheel.enabled&&(events("removeEventListener"),k.mousewheel.enabled=!1,!0)}M("init",(()=>{!k.params.mousewheel.enabled&&k.params.cssMode&&disable(),k.params.mousewheel.enabled&&enable()})),M("destroy",(()=>{k.params.cssMode&&enable(),k.mousewheel.enabled&&disable()})),Object.assign(k.mousewheel,{"enable":enable,"disable":disable})},function Navigation(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;function getEl(S){let C;return S&&"string"==typeof S&&k.isElement&&(C=k.el.querySelector(S),C)?C:(S&&("string"==typeof S&&(C=[...document.querySelectorAll(S)]),k.params.uniqueNavElements&&"string"==typeof S&&C&&C.length>1&&1===k.el.querySelectorAll(S).length?C=k.el.querySelector(S):C&&1===C.length&&(C=C[0])),S&&!C?S:C)}function toggleEl(S,C){const M=k.params.navigation;(S=makeElementsArray(S)).forEach((S=>{S&&(S.classList[C?"add":"remove"](...M.disabledClass.split(" ")),"BUTTON"===S.tagName&&(S.disabled=C),k.params.watchOverflow&&k.enabled&&S.classList[k.isLocked?"add":"remove"](M.lockClass))}))}function update(){const{"nextEl":S,"prevEl":C}=k.navigation;if(k.params.loop)return toggleEl(C,!1),void toggleEl(S,!1);toggleEl(C,k.isBeginning&&!k.params.rewind),toggleEl(S,k.isEnd&&!k.params.rewind)}function onPrevClick(S){S.preventDefault(),(!k.isBeginning||k.params.loop||k.params.rewind)&&(k.slidePrev(),P("navigationPrev"))}function onNextClick(S){S.preventDefault(),(!k.isEnd||k.params.loop||k.params.rewind)&&(k.slideNext(),P("navigationNext"))}function init(){const S=k.params.navigation;if(k.params.navigation=createElementIfNotDefined(k,k.originalParams.navigation,k.params.navigation,{"nextEl":"swiper-button-next","prevEl":"swiper-button-prev"}),!S.nextEl&&!S.prevEl)return;let C=getEl(S.nextEl),M=getEl(S.prevEl);Object.assign(k.navigation,{"nextEl":C,"prevEl":M}),C=makeElementsArray(C),M=makeElementsArray(M);const initButton=(C,M)=>{C&&C.addEventListener("click","next"===M?onNextClick:onPrevClick),!k.enabled&&C&&C.classList.add(...S.lockClass.split(" "))};C.forEach((S=>initButton(S,"next"))),M.forEach((S=>initButton(S,"prev")))}function destroy(){let{"nextEl":S,"prevEl":C}=k.navigation;S=makeElementsArray(S),C=makeElementsArray(C);const destroyButton=(S,C)=>{S.removeEventListener("click","next"===C?onNextClick:onPrevClick),S.classList.remove(...k.params.navigation.disabledClass.split(" "))};S.forEach((S=>destroyButton(S,"next"))),C.forEach((S=>destroyButton(S,"prev")))}C({"navigation":{"nextEl":null,"prevEl":null,"hideOnClick":!1,"disabledClass":"swiper-button-disabled","hiddenClass":"swiper-button-hidden","lockClass":"swiper-button-lock","navigationDisabledClass":"swiper-navigation-disabled"}}),k.navigation={"nextEl":null,"prevEl":null},M("init",(()=>{!1===k.params.navigation.enabled?disable():(init(),update())})),M("toEdge fromEdge lock unlock",(()=>{update()})),M("destroy",(()=>{destroy()})),M("enable disable",(()=>{let{"nextEl":S,"prevEl":C}=k.navigation;S=makeElementsArray(S),C=makeElementsArray(C),k.enabled?update():[...S,...C].filter((S=>!!S)).forEach((S=>S.classList.add(k.params.navigation.lockClass)))})),M("click",((S,C)=>{let{"nextEl":M,"prevEl":O}=k.navigation;M=makeElementsArray(M),O=makeElementsArray(O);const D=C.target;if(k.params.navigation.hideOnClick&&!O.includes(D)&&!M.includes(D)){if(k.pagination&&k.params.pagination&&k.params.pagination.clickable&&(k.pagination.el===D||k.pagination.el.contains(D)))return;let S;M.length?S=M[0].classList.contains(k.params.navigation.hiddenClass):O.length&&(S=O[0].classList.contains(k.params.navigation.hiddenClass)),P(!0===S?"navigationShow":"navigationHide"),[...M,...O].filter((S=>!!S)).forEach((S=>S.classList.toggle(k.params.navigation.hiddenClass)))}}));const disable=()=>{k.el.classList.add(...k.params.navigation.navigationDisabledClass.split(" ")),destroy()};Object.assign(k.navigation,{"enable":()=>{k.el.classList.remove(...k.params.navigation.navigationDisabledClass.split(" ")),init(),update()},"disable":disable,"update":update,"init":init,"destroy":destroy})},function Pagination(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O="swiper-pagination";let D;C({"pagination":{"el":null,"bulletElement":"span","clickable":!1,"hideOnClick":!1,"renderBullet":null,"renderProgressbar":null,"renderFraction":null,"renderCustom":null,"progressbarOpposite":!1,"type":"bullets","dynamicBullets":!1,"dynamicMainBullets":1,"formatFractionCurrent":S=>S,"formatFractionTotal":S=>S,"bulletClass":`${O}-bullet`,"bulletActiveClass":`${O}-bullet-active`,"modifierClass":`${O}-`,"currentClass":`${O}-current`,"totalClass":`${O}-total`,"hiddenClass":`${O}-hidden`,"progressbarFillClass":`${O}-progressbar-fill`,"progressbarOppositeClass":`${O}-progressbar-opposite`,"clickableClass":`${O}-clickable`,"lockClass":`${O}-lock`,"horizontalClass":`${O}-horizontal`,"verticalClass":`${O}-vertical`,"paginationDisabledClass":`${O}-disabled`}}),k.pagination={"el":null,"bullets":[]};let re=0;function isPaginationDisabled(){return!k.params.pagination.el||!k.pagination.el||Array.isArray(k.pagination.el)&&0===k.pagination.el.length}function setSideBullets(S,C){const{"bulletActiveClass":M}=k.params.pagination;S&&(S=S[("prev"===C?"previous":"next")+"ElementSibling"])&&(S.classList.add(`${M}-${C}`),(S=S[("prev"===C?"previous":"next")+"ElementSibling"])&&S.classList.add(`${M}-${C}-${C}`))}function onBulletClick(S){const C=S.target.closest(classesToSelector(k.params.pagination.bulletClass));if(!C)return;S.preventDefault();const M=elementIndex(C)*k.params.slidesPerGroup;if(k.params.loop){if(k.realIndex===M)return;k.slideToLoop(M)}else k.slideTo(M)}function update(){const S=k.rtl,C=k.params.pagination;if(isPaginationDisabled())return;let M,O,ne=k.pagination.el;ne=makeElementsArray(ne);const se=k.virtual&&k.params.virtual.enabled?k.virtual.slides.length:k.slides.length,oe=k.params.loop?Math.ceil(se/k.params.slidesPerGroup):k.snapGrid.length;if(k.params.loop?(O=k.previousRealIndex||0,M=k.params.slidesPerGroup>1?Math.floor(k.realIndex/k.params.slidesPerGroup):k.realIndex):void 0!==k.snapIndex?(M=k.snapIndex,O=k.previousSnapIndex):(O=k.previousIndex||0,M=k.activeIndex||0),"bullets"===C.type&&k.pagination.bullets&&k.pagination.bullets.length>0){const P=k.pagination.bullets;let se,oe,de;if(C.dynamicBullets&&(D=elementOuterSize(P[0],k.isHorizontal()?"width":"height",!0),ne.forEach((S=>{S.style[k.isHorizontal()?"width":"height"]=D*(C.dynamicMainBullets+4)+"px"})),C.dynamicMainBullets>1&&void 0!==O&&(re+=M-(O||0),re>C.dynamicMainBullets-1?re=C.dynamicMainBullets-1:re<0&&(re=0)),se=Math.max(M-re,0),oe=se+(Math.min(P.length,C.dynamicMainBullets)-1),de=(oe+se)/2),P.forEach((S=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((S=>`${C.bulletActiveClass}${S}`))].map((S=>"string"==typeof S&&S.includes(" ")?S.split(" "):S)).flat();S.classList.remove(...k)})),ne.length>1)P.forEach((S=>{const P=elementIndex(S);P===M?S.classList.add(...C.bulletActiveClass.split(" ")):k.isElement&&S.setAttribute("part","bullet"),C.dynamicBullets&&(P>=se&&P<=oe&&S.classList.add(...`${C.bulletActiveClass}-main`.split(" ")),P===se&&setSideBullets(S,"prev"),P===oe&&setSideBullets(S,"next"))}));else{const S=P[M];if(S&&S.classList.add(...C.bulletActiveClass.split(" ")),k.isElement&&P.forEach(((S,k)=>{S.setAttribute("part",k===M?"bullet-active":"bullet")})),C.dynamicBullets){const S=P[se],k=P[oe];for(let S=se;S<=oe;S+=1)P[S]&&P[S].classList.add(...`${C.bulletActiveClass}-main`.split(" "));setSideBullets(S,"prev"),setSideBullets(k,"next")}}if(C.dynamicBullets){const M=Math.min(P.length,C.dynamicMainBullets+4),O=(D*M-D)/2-de*D,re=S?"right":"left";P.forEach((S=>{S.style[k.isHorizontal()?re:"top"]=`${O}px`}))}}ne.forEach(((S,O)=>{if("fraction"===C.type&&(S.querySelectorAll(classesToSelector(C.currentClass)).forEach((S=>{S.textContent=C.formatFractionCurrent(M+1)})),S.querySelectorAll(classesToSelector(C.totalClass)).forEach((S=>{S.textContent=C.formatFractionTotal(oe)}))),"progressbar"===C.type){let P;P=C.progressbarOpposite?k.isHorizontal()?"vertical":"horizontal":k.isHorizontal()?"horizontal":"vertical";const O=(M+1)/oe;let D=1,re=1;"horizontal"===P?D=O:re=O,S.querySelectorAll(classesToSelector(C.progressbarFillClass)).forEach((S=>{S.style.transform=`translate3d(0,0,0) scaleX(${D}) scaleY(${re})`,S.style.transitionDuration=`${k.params.speed}ms`}))}"custom"===C.type&&C.renderCustom?(S.innerHTML=C.renderCustom(k,M+1,oe),0===O&&P("paginationRender",S)):(0===O&&P("paginationRender",S),P("paginationUpdate",S)),k.params.watchOverflow&&k.enabled&&S.classList[k.isLocked?"add":"remove"](C.lockClass)}))}function render(){const S=k.params.pagination;if(isPaginationDisabled())return;const C=k.virtual&&k.params.virtual.enabled?k.virtual.slides.length:k.grid&&k.params.grid.rows>1?k.slides.length/Math.ceil(k.params.grid.rows):k.slides.length;let M=k.pagination.el;M=makeElementsArray(M);let O="";if("bullets"===S.type){let M=k.params.loop?Math.ceil(C/k.params.slidesPerGroup):k.snapGrid.length;k.params.freeMode&&k.params.freeMode.enabled&&M>C&&(M=C);for(let C=0;C`}"fraction"===S.type&&(O=S.renderFraction?S.renderFraction.call(k,S.currentClass,S.totalClass):` / `),"progressbar"===S.type&&(O=S.renderProgressbar?S.renderProgressbar.call(k,S.progressbarFillClass):``),k.pagination.bullets=[],M.forEach((C=>{"custom"!==S.type&&(C.innerHTML=O||""),"bullets"===S.type&&k.pagination.bullets.push(...C.querySelectorAll(classesToSelector(S.bulletClass)))})),"custom"!==S.type&&P("paginationRender",M[0])}function init(){k.params.pagination=createElementIfNotDefined(k,k.originalParams.pagination,k.params.pagination,{"el":"swiper-pagination"});const S=k.params.pagination;if(!S.el)return;let C;"string"==typeof S.el&&k.isElement&&(C=k.el.querySelector(S.el)),C||"string"!=typeof S.el||(C=[...document.querySelectorAll(S.el)]),C||(C=S.el),C&&0!==C.length&&(k.params.uniqueNavElements&&"string"==typeof S.el&&Array.isArray(C)&&C.length>1&&(C=[...k.el.querySelectorAll(S.el)],C.length>1&&(C=C.filter((S=>elementParents(S,".swiper")[0]===k.el))[0])),Array.isArray(C)&&1===C.length&&(C=C[0]),Object.assign(k.pagination,{"el":C}),C=makeElementsArray(C),C.forEach((C=>{"bullets"===S.type&&S.clickable&&C.classList.add(...(S.clickableClass||"").split(" ")),C.classList.add(S.modifierClass+S.type),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass),"bullets"===S.type&&S.dynamicBullets&&(C.classList.add(`${S.modifierClass}${S.type}-dynamic`),re=0,S.dynamicMainBullets<1&&(S.dynamicMainBullets=1)),"progressbar"===S.type&&S.progressbarOpposite&&C.classList.add(S.progressbarOppositeClass),S.clickable&&C.addEventListener("click",onBulletClick),k.enabled||C.classList.add(S.lockClass)})))}function destroy(){const S=k.params.pagination;if(isPaginationDisabled())return;let C=k.pagination.el;C&&(C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.hiddenClass),C.classList.remove(S.modifierClass+S.type),C.classList.remove(k.isHorizontal()?S.horizontalClass:S.verticalClass),S.clickable&&(C.classList.remove(...(S.clickableClass||"").split(" ")),C.removeEventListener("click",onBulletClick))}))),k.pagination.bullets&&k.pagination.bullets.forEach((k=>k.classList.remove(...S.bulletActiveClass.split(" "))))}M("changeDirection",(()=>{if(!k.pagination||!k.pagination.el)return;const S=k.params.pagination;let{"el":C}=k.pagination;C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass)}))})),M("init",(()=>{!1===k.params.pagination.enabled?disable():(init(),render(),update())})),M("activeIndexChange",(()=>{void 0===k.snapIndex&&update()})),M("snapIndexChange",(()=>{update()})),M("snapGridLengthChange",(()=>{render(),update()})),M("destroy",(()=>{destroy()})),M("enable disable",(()=>{let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList[k.enabled?"remove":"add"](k.params.pagination.lockClass))))})),M("lock unlock",(()=>{update()})),M("click",((S,C)=>{const M=C.target,O=makeElementsArray(k.pagination.el);if(k.params.pagination.el&&k.params.pagination.hideOnClick&&O&&O.length>0&&!M.classList.contains(k.params.pagination.bulletClass)){if(k.navigation&&(k.navigation.nextEl&&M===k.navigation.nextEl||k.navigation.prevEl&&M===k.navigation.prevEl))return;const S=O[0].classList.contains(k.params.pagination.hiddenClass);P(!0===S?"paginationShow":"paginationHide"),O.forEach((S=>S.classList.toggle(k.params.pagination.hiddenClass)))}}));const disable=()=>{k.el.classList.add(k.params.pagination.paginationDisabledClass);let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList.add(k.params.pagination.paginationDisabledClass)))),destroy()};Object.assign(k.pagination,{"enable":()=>{k.el.classList.remove(k.params.pagination.paginationDisabledClass);let{"el":S}=k.pagination;S&&(S=makeElementsArray(S),S.forEach((S=>S.classList.remove(k.params.pagination.paginationDisabledClass)))),init(),render(),update()},"disable":disable,"render":render,"update":update,"init":init,"destroy":destroy})},function Scrollbar(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getDocument();let D,re,ne,se,oe=!1,de=null,ue=null;function setTranslate(){if(!k.params.scrollbar.el||!k.scrollbar.el)return;const{"scrollbar":S,"rtlTranslate":C}=k,{"dragEl":M,"el":P}=S,O=k.params.scrollbar,D=k.params.loop?k.progressLoop:k.progress;let se=re,oe=(ne-re)*D;C?(oe=-oe,oe>0?(se=re-oe,oe=0):-oe+re>ne&&(se=ne+oe)):oe<0?(se=re+oe,oe=0):oe+re>ne&&(se=ne-oe),k.isHorizontal()?(M.style.transform=`translate3d(${oe}px, 0, 0)`,M.style.width=`${se}px`):(M.style.transform=`translate3d(0px, ${oe}px, 0)`,M.style.height=`${se}px`),O.hide&&(clearTimeout(de),P.style.opacity=1,de=setTimeout((()=>{P.style.opacity=0,P.style.transitionDuration="400ms"}),1e3))}function updateSize(){if(!k.params.scrollbar.el||!k.scrollbar.el)return;const{"scrollbar":S}=k,{"dragEl":C,"el":M}=S;C.style.width="",C.style.height="",ne=k.isHorizontal()?M.offsetWidth:M.offsetHeight,se=k.size/(k.virtualSize+k.params.slidesOffsetBefore-(k.params.centeredSlides?k.snapGrid[0]:0)),re="auto"===k.params.scrollbar.dragSize?ne*se:parseInt(k.params.scrollbar.dragSize,10),k.isHorizontal()?C.style.width=`${re}px`:C.style.height=`${re}px`,M.style.display=se>=1?"none":"",k.params.scrollbar.hide&&(M.style.opacity=0),k.params.watchOverflow&&k.enabled&&S.el.classList[k.isLocked?"add":"remove"](k.params.scrollbar.lockClass)}function getPointerPosition(S){return k.isHorizontal()?S.clientX:S.clientY}function setDragPosition(S){const{"scrollbar":C,"rtlTranslate":M}=k,{"el":P}=C;let O;O=(getPointerPosition(S)-elementOffset(P)[k.isHorizontal()?"left":"top"]-(null!==D?D:re/2))/(ne-re),O=Math.max(Math.min(O,1),0),M&&(O=1-O);const se=k.minTranslate()+(k.maxTranslate()-k.minTranslate())*O;k.updateProgress(se),k.setTranslate(se),k.updateActiveIndex(),k.updateSlidesClasses()}function onDragStart(S){const C=k.params.scrollbar,{"scrollbar":M,"wrapperEl":O}=k,{"el":re,"dragEl":ne}=M;oe=!0,D=S.target===ne?getPointerPosition(S)-S.target.getBoundingClientRect()[k.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),O.style.transitionDuration="100ms",ne.style.transitionDuration="100ms",setDragPosition(S),clearTimeout(ue),re.style.transitionDuration="0ms",C.hide&&(re.style.opacity=1),k.params.cssMode&&(k.wrapperEl.style["scroll-snap-type"]="none"),P("scrollbarDragStart",S)}function onDragMove(S){const{"scrollbar":C,"wrapperEl":M}=k,{"el":O,"dragEl":D}=C;oe&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,setDragPosition(S),M.style.transitionDuration="0ms",O.style.transitionDuration="0ms",D.style.transitionDuration="0ms",P("scrollbarDragMove",S))}function onDragEnd(S){const C=k.params.scrollbar,{"scrollbar":M,"wrapperEl":O}=k,{"el":D}=M;oe&&(oe=!1,k.params.cssMode&&(k.wrapperEl.style["scroll-snap-type"]="",O.style.transitionDuration=""),C.hide&&(clearTimeout(ue),ue=nextTick((()=>{D.style.opacity=0,D.style.transitionDuration="400ms"}),1e3)),P("scrollbarDragEnd",S),C.snapOnRelease&&k.slideToClosest())}function events(S){const{"scrollbar":C,"params":M}=k,P=C.el;if(!P)return;const D=P,re=!!M.passiveListeners&&{"passive":!1,"capture":!1},ne=!!M.passiveListeners&&{"passive":!0,"capture":!1};if(!D)return;const se="on"===S?"addEventListener":"removeEventListener";D[se]("pointerdown",onDragStart,re),O[se]("pointermove",onDragMove,re),O[se]("pointerup",onDragEnd,ne)}function init(){const{"scrollbar":S,"el":C}=k;k.params.scrollbar=createElementIfNotDefined(k,k.originalParams.scrollbar,k.params.scrollbar,{"el":"swiper-scrollbar"});const M=k.params.scrollbar;if(!M.el)return;let P,D;if("string"==typeof M.el&&k.isElement&&(P=k.el.querySelector(M.el)),P||"string"!=typeof M.el)P||(P=M.el);else if(P=O.querySelectorAll(M.el),!P.length)return;k.params.uniqueNavElements&&"string"==typeof M.el&&P.length>1&&1===C.querySelectorAll(M.el).length&&(P=C.querySelector(M.el)),P.length>0&&(P=P[0]),P.classList.add(k.isHorizontal()?M.horizontalClass:M.verticalClass),P&&(D=P.querySelector(classesToSelector(k.params.scrollbar.dragClass)),D||(D=createElement("div",k.params.scrollbar.dragClass),P.append(D))),Object.assign(S,{"el":P,"dragEl":D}),M.draggable&&function enableDraggable(){k.params.scrollbar.el&&k.scrollbar.el&&events("on")}(),P&&P.classList[k.enabled?"remove":"add"](...classesToTokens(k.params.scrollbar.lockClass))}function destroy(){const S=k.params.scrollbar,C=k.scrollbar.el;C&&C.classList.remove(...classesToTokens(k.isHorizontal()?S.horizontalClass:S.verticalClass)),function disableDraggable(){k.params.scrollbar.el&&k.scrollbar.el&&events("off")}()}C({"scrollbar":{"el":null,"dragSize":"auto","hide":!1,"draggable":!1,"snapOnRelease":!0,"lockClass":"swiper-scrollbar-lock","dragClass":"swiper-scrollbar-drag","scrollbarDisabledClass":"swiper-scrollbar-disabled","horizontalClass":"swiper-scrollbar-horizontal","verticalClass":"swiper-scrollbar-vertical"}}),k.scrollbar={"el":null,"dragEl":null},M("changeDirection",(()=>{if(!k.scrollbar||!k.scrollbar.el)return;const S=k.params.scrollbar;let{"el":C}=k.scrollbar;C=makeElementsArray(C),C.forEach((C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(k.isHorizontal()?S.horizontalClass:S.verticalClass)}))})),M("init",(()=>{!1===k.params.scrollbar.enabled?disable():(init(),updateSize(),setTranslate())})),M("update resize observerUpdate lock unlock changeDirection",(()=>{updateSize()})),M("setTranslate",(()=>{setTranslate()})),M("setTransition",((S,C)=>{!function setTransition(S){k.params.scrollbar.el&&k.scrollbar.el&&(k.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}(C)})),M("enable disable",(()=>{const{"el":S}=k.scrollbar;S&&S.classList[k.enabled?"remove":"add"](...classesToTokens(k.params.scrollbar.lockClass))})),M("destroy",(()=>{destroy()}));const disable=()=>{k.el.classList.add(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),k.scrollbar.el&&k.scrollbar.el.classList.add(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),destroy()};Object.assign(k.scrollbar,{"enable":()=>{k.el.classList.remove(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),k.scrollbar.el&&k.scrollbar.el.classList.remove(...classesToTokens(k.params.scrollbar.scrollbarDisabledClass)),init(),updateSize(),setTranslate()},"disable":disable,"updateSize":updateSize,"setTranslate":setTranslate,"init":init,"destroy":destroy})},function Parallax(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"parallax":{"enabled":!1}});const P="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",setTransform=(S,C)=>{const{"rtl":M}=k,P=M?-1:1,O=S.getAttribute("data-swiper-parallax")||"0";let D=S.getAttribute("data-swiper-parallax-x"),re=S.getAttribute("data-swiper-parallax-y");const ne=S.getAttribute("data-swiper-parallax-scale"),se=S.getAttribute("data-swiper-parallax-opacity"),oe=S.getAttribute("data-swiper-parallax-rotate");if(D||re?(D=D||"0",re=re||"0"):k.isHorizontal()?(D=O,re="0"):(re=O,D="0"),D=D.indexOf("%")>=0?parseInt(D,10)*C*P+"%":D*C*P+"px",re=re.indexOf("%")>=0?parseInt(re,10)*C+"%":re*C+"px",null!=se){const k=se-(se-1)*(1-Math.abs(C));S.style.opacity=k}let de=`translate3d(${D}, ${re}, 0px)`;if(null!=ne){de+=` scale(${ne-(ne-1)*(1-Math.abs(C))})`}if(oe&&null!=oe){de+=` rotate(${oe*C*-1}deg)`}S.style.transform=de},setTranslate=()=>{const{"el":S,"slides":C,"progress":M,"snapGrid":O,"isElement":D}=k,re=elementChildren(S,P);k.isElement&&re.push(...elementChildren(k.hostEl,P)),re.forEach((S=>{setTransform(S,M)})),C.forEach(((S,C)=>{let D=S.progress;k.params.slidesPerGroup>1&&"auto"!==k.params.slidesPerView&&(D+=Math.ceil(C/2)-M*(O.length-1)),D=Math.min(Math.max(D,-1),1),S.querySelectorAll(`${P}, [data-swiper-parallax-rotate]`).forEach((S=>{setTransform(S,D)}))}))};M("beforeInit",(()=>{k.params.parallax.enabled&&(k.params.watchSlidesProgress=!0,k.originalParams.watchSlidesProgress=!0)})),M("init",(()=>{k.params.parallax.enabled&&setTranslate()})),M("setTranslate",(()=>{k.params.parallax.enabled&&setTranslate()})),M("setTransition",((S,C)=>{k.params.parallax.enabled&&function(S){void 0===S&&(S=k.params.speed);const{"el":C,"hostEl":M}=k,O=[...C.querySelectorAll(P)];k.isElement&&O.push(...M.querySelectorAll(P)),O.forEach((k=>{let C=parseInt(k.getAttribute("data-swiper-parallax-duration"),10)||S;0===S&&(C=0),k.style.transitionDuration=`${C}ms`}))}(C)}))},function Zoom(S){let{"swiper":k,"extendParams":C,"on":M,"emit":P}=S;const O=getWindow();C({"zoom":{"enabled":!1,"limitToOriginalSize":!1,"maxRatio":3,"minRatio":1,"toggle":!0,"containerClass":"swiper-zoom-container","zoomedSlideClass":"swiper-slide-zoomed"}}),k.zoom={"enabled":!1};let D,re,ne=1,se=!1;const oe=[],de={"originX":0,"originY":0,"slideEl":void 0,"slideWidth":void 0,"slideHeight":void 0,"imageEl":void 0,"imageWrapEl":void 0,"maxRatio":3},ue={"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":{}},pe={"x":void 0,"y":void 0,"prevPositionX":void 0,"prevPositionY":void 0,"prevTime":void 0};let he=1;function getDistanceBetweenTouches(){if(oe.length<2)return 1;const S=oe[0].pageX,k=oe[0].pageY,C=oe[1].pageX,M=oe[1].pageY;return Math.sqrt((C-S)**2+(M-k)**2)}function getMaxRatio(){const S=k.params.zoom,C=de.imageWrapEl.getAttribute("data-swiper-zoom")||S.maxRatio;if(S.limitToOriginalSize&&de.imageEl&&de.imageEl.naturalWidth){const S=de.imageEl.naturalWidth/de.imageEl.offsetWidth;return Math.min(S,C)}return C}function eventWithinSlide(S){const C=function getSlideSelector(){return k.isElement?"swiper-slide":`.${k.params.slideClass}`}();return!!S.target.matches(C)||k.slides.filter((k=>k.contains(S.target))).length>0}function onGestureStart(S){if("mouse"===S.pointerType&&oe.splice(0,oe.length),!eventWithinSlide(S))return;const C=k.params.zoom;if(D=!1,re=!1,oe.push(S),!(oe.length<2)){if(D=!0,de.scaleStart=getDistanceBetweenTouches(),!de.slideEl){de.slideEl=S.target.closest(`.${k.params.slideClass}, swiper-slide`),de.slideEl||(de.slideEl=k.slides[k.activeIndex]);let M=de.slideEl.querySelector(`.${C.containerClass}`);if(M&&(M=M.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=M,de.imageWrapEl=M?elementParents(de.imageEl,`.${C.containerClass}`)[0]:void 0,!de.imageWrapEl)return void(de.imageEl=void 0);de.maxRatio=getMaxRatio()}if(de.imageEl){const[S,k]=function getScaleOrigin(){if(oe.length<2)return{"x":null,"y":null};const S=de.imageEl.getBoundingClientRect();return[(oe[0].pageX+(oe[1].pageX-oe[0].pageX)/2-S.x-O.scrollX)/ne,(oe[0].pageY+(oe[1].pageY-oe[0].pageY)/2-S.y-O.scrollY)/ne]}();de.originX=S,de.originY=k,de.imageEl.style.transitionDuration="0ms"}se=!0}}function onGestureChange(S){if(!eventWithinSlide(S))return;const C=k.params.zoom,M=k.zoom,P=oe.findIndex((k=>k.pointerId===S.pointerId));P>=0&&(oe[P]=S),oe.length<2||(re=!0,de.scaleMove=getDistanceBetweenTouches(),de.imageEl&&(M.scale=de.scaleMove/de.scaleStart*ne,M.scale>de.maxRatio&&(M.scale=de.maxRatio-1+(M.scale-de.maxRatio+1)**.5),M.scalek.pointerId===S.pointerId));P>=0&&oe.splice(P,1),D&&re&&(D=!1,re=!1,de.imageEl&&(M.scale=Math.max(Math.min(M.scale,de.maxRatio),C.minRatio),de.imageEl.style.transitionDuration=`${k.params.speed}ms`,de.imageEl.style.transform=`translate3d(0,0,0) scale(${M.scale})`,ne=M.scale,se=!1,M.scale>1&&de.slideEl?de.slideEl.classList.add(`${C.zoomedSlideClass}`):M.scale<=1&&de.slideEl&&de.slideEl.classList.remove(`${C.zoomedSlideClass}`),1===M.scale&&(de.originX=0,de.originY=0,de.slideEl=void 0)))}function onTouchMove(S){if(!eventWithinSlide(S)||!function eventWithinZoomContainer(S){const C=`.${k.params.zoom.containerClass}`;return!!S.target.matches(C)||[...k.hostEl.querySelectorAll(C)].filter((k=>k.contains(S.target))).length>0}(S))return;const C=k.zoom;if(!de.imageEl)return;if(!ue.isTouched||!de.slideEl)return;ue.isMoved||(ue.width=de.imageEl.offsetWidth||de.imageEl.clientWidth,ue.height=de.imageEl.offsetHeight||de.imageEl.clientHeight,ue.startX=getTranslate(de.imageWrapEl,"x")||0,ue.startY=getTranslate(de.imageWrapEl,"y")||0,de.slideWidth=de.slideEl.offsetWidth,de.slideHeight=de.slideEl.offsetHeight,de.imageWrapEl.style.transitionDuration="0ms");const M=ue.width*C.scale,P=ue.height*C.scale;if(M0?oe[0].pageX:S.pageX,ue.touchesCurrent.y=oe.length>0?oe[0].pageY:S.pageY;if(Math.max(Math.abs(ue.touchesCurrent.x-ue.touchesStart.x),Math.abs(ue.touchesCurrent.y-ue.touchesStart.y))>5&&(k.allowClick=!1),!ue.isMoved&&!se){if(k.isHorizontal()&&(Math.floor(ue.minX)===Math.floor(ue.startX)&&ue.touchesCurrent.xue.touchesStart.x))return void(ue.isTouched=!1);if(!k.isHorizontal()&&(Math.floor(ue.minY)===Math.floor(ue.startY)&&ue.touchesCurrent.yue.touchesStart.y))return void(ue.isTouched=!1)}S.cancelable&&S.preventDefault(),S.stopPropagation(),ue.isMoved=!0;const O=(C.scale-ne)/(de.maxRatio-k.params.zoom.minRatio),{"originX":D,"originY":re}=de;ue.currentX=ue.touchesCurrent.x-ue.touchesStart.x+ue.startX+O*(ue.width-2*D),ue.currentY=ue.touchesCurrent.y-ue.touchesStart.y+ue.startY+O*(ue.height-2*re),ue.currentXue.maxX&&(ue.currentX=ue.maxX-1+(ue.currentX-ue.maxX+1)**.8),ue.currentYue.maxY&&(ue.currentY=ue.maxY-1+(ue.currentY-ue.maxY+1)**.8),pe.prevPositionX||(pe.prevPositionX=ue.touchesCurrent.x),pe.prevPositionY||(pe.prevPositionY=ue.touchesCurrent.y),pe.prevTime||(pe.prevTime=Date.now()),pe.x=(ue.touchesCurrent.x-pe.prevPositionX)/(Date.now()-pe.prevTime)/2,pe.y=(ue.touchesCurrent.y-pe.prevPositionY)/(Date.now()-pe.prevTime)/2,Math.abs(ue.touchesCurrent.x-pe.prevPositionX)<2&&(pe.x=0),Math.abs(ue.touchesCurrent.y-pe.prevPositionY)<2&&(pe.y=0),pe.prevPositionX=ue.touchesCurrent.x,pe.prevPositionY=ue.touchesCurrent.y,pe.prevTime=Date.now(),de.imageWrapEl.style.transform=`translate3d(${ue.currentX}px, ${ue.currentY}px,0)`}function onTransitionEnd(){const S=k.zoom;de.slideEl&&k.activeIndex!==k.slides.indexOf(de.slideEl)&&(de.imageEl&&(de.imageEl.style.transform="translate3d(0,0,0) scale(1)"),de.imageWrapEl&&(de.imageWrapEl.style.transform="translate3d(0,0,0)"),de.slideEl.classList.remove(`${k.params.zoom.zoomedSlideClass}`),S.scale=1,ne=1,de.slideEl=void 0,de.imageEl=void 0,de.imageWrapEl=void 0,de.originX=0,de.originY=0)}function zoomIn(S){const C=k.zoom,M=k.params.zoom;if(!de.slideEl){S&&S.target&&(de.slideEl=S.target.closest(`.${k.params.slideClass}, swiper-slide`)),de.slideEl||(k.params.virtual&&k.params.virtual.enabled&&k.virtual?de.slideEl=elementChildren(k.slidesEl,`.${k.params.slideActiveClass}`)[0]:de.slideEl=k.slides[k.activeIndex]);let C=de.slideEl.querySelector(`.${M.containerClass}`);C&&(C=C.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=C,de.imageWrapEl=C?elementParents(de.imageEl,`.${M.containerClass}`)[0]:void 0}if(!de.imageEl||!de.imageWrapEl)return;let P,D,re,se,oe,pe,he,fe,me,ge,be,ve,ye,Ee,Ae,ke,Te,_e;k.params.cssMode&&(k.wrapperEl.style.overflow="hidden",k.wrapperEl.style.touchAction="none"),de.slideEl.classList.add(`${M.zoomedSlideClass}`),void 0===ue.touchesStart.x&&S?(P=S.pageX,D=S.pageY):(P=ue.touchesStart.x,D=ue.touchesStart.y);const Me="number"==typeof S?S:null;1===ne&&Me&&(P=void 0,D=void 0);const Pe=getMaxRatio();C.scale=Me||Pe,ne=Me||Pe,!S||1===ne&&Me?(he=0,fe=0):(Te=de.slideEl.offsetWidth,_e=de.slideEl.offsetHeight,re=elementOffset(de.slideEl).left+O.scrollX,se=elementOffset(de.slideEl).top+O.scrollY,oe=re+Te/2-P,pe=se+_e/2-D,me=de.imageEl.offsetWidth||de.imageEl.clientWidth,ge=de.imageEl.offsetHeight||de.imageEl.clientHeight,be=me*C.scale,ve=ge*C.scale,ye=Math.min(Te/2-be/2,0),Ee=Math.min(_e/2-ve/2,0),Ae=-ye,ke=-Ee,he=oe*C.scale,fe=pe*C.scale,heAe&&(he=Ae),feke&&(fe=ke)),Me&&1===C.scale&&(de.originX=0,de.originY=0),de.imageWrapEl.style.transitionDuration="300ms",de.imageWrapEl.style.transform=`translate3d(${he}px, ${fe}px,0)`,de.imageEl.style.transitionDuration="300ms",de.imageEl.style.transform=`translate3d(0,0,0) scale(${C.scale})`}function zoomOut(){const S=k.zoom,C=k.params.zoom;if(!de.slideEl){k.params.virtual&&k.params.virtual.enabled&&k.virtual?de.slideEl=elementChildren(k.slidesEl,`.${k.params.slideActiveClass}`)[0]:de.slideEl=k.slides[k.activeIndex];let S=de.slideEl.querySelector(`.${C.containerClass}`);S&&(S=S.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),de.imageEl=S,de.imageWrapEl=S?elementParents(de.imageEl,`.${C.containerClass}`)[0]:void 0}de.imageEl&&de.imageWrapEl&&(k.params.cssMode&&(k.wrapperEl.style.overflow="",k.wrapperEl.style.touchAction=""),S.scale=1,ne=1,de.imageWrapEl.style.transitionDuration="300ms",de.imageWrapEl.style.transform="translate3d(0,0,0)",de.imageEl.style.transitionDuration="300ms",de.imageEl.style.transform="translate3d(0,0,0) scale(1)",de.slideEl.classList.remove(`${C.zoomedSlideClass}`),de.slideEl=void 0,de.originX=0,de.originY=0)}function zoomToggle(S){const C=k.zoom;C.scale&&1!==C.scale?zoomOut():zoomIn(S)}function getListeners(){return{"passiveListener":!!k.params.passiveListeners&&{"passive":!0,"capture":!1},"activeListenerWithCapture":!k.params.passiveListeners||{"passive":!1,"capture":!0}}}function enable(){const S=k.zoom;if(S.enabled)return;S.enabled=!0;const{"passiveListener":C,"activeListenerWithCapture":M}=getListeners();k.wrapperEl.addEventListener("pointerdown",onGestureStart,C),k.wrapperEl.addEventListener("pointermove",onGestureChange,M),["pointerup","pointercancel","pointerout"].forEach((S=>{k.wrapperEl.addEventListener(S,onGestureEnd,C)})),k.wrapperEl.addEventListener("pointermove",onTouchMove,M)}function disable(){const S=k.zoom;if(!S.enabled)return;S.enabled=!1;const{"passiveListener":C,"activeListenerWithCapture":M}=getListeners();k.wrapperEl.removeEventListener("pointerdown",onGestureStart,C),k.wrapperEl.removeEventListener("pointermove",onGestureChange,M),["pointerup","pointercancel","pointerout"].forEach((S=>{k.wrapperEl.removeEventListener(S,onGestureEnd,C)})),k.wrapperEl.removeEventListener("pointermove",onTouchMove,M)}Object.defineProperty(k.zoom,"scale",{"get"(){return he},"set"(S){if(he!==S){const k=de.imageEl,C=de.slideEl;P("zoomChange",S,k,C)}he=S}}),M("init",(()=>{k.params.zoom.enabled&&enable()})),M("destroy",(()=>{disable()})),M("touchStart",((S,C)=>{k.zoom.enabled&&function onTouchStart(S){const C=k.device;if(!de.imageEl)return;if(ue.isTouched)return;C.android&&S.cancelable&&S.preventDefault(),ue.isTouched=!0;const M=oe.length>0?oe[0]:S;ue.touchesStart.x=M.pageX,ue.touchesStart.y=M.pageY}(C)})),M("touchEnd",((S,C)=>{k.zoom.enabled&&function onTouchEnd(){const S=k.zoom;if(!de.imageEl)return;if(!ue.isTouched||!ue.isMoved)return ue.isTouched=!1,void(ue.isMoved=!1);ue.isTouched=!1,ue.isMoved=!1;let C=300,M=300;const P=pe.x*C,O=ue.currentX+P,D=pe.y*M,re=ue.currentY+D;0!==pe.x&&(C=Math.abs((O-ue.currentX)/pe.x)),0!==pe.y&&(M=Math.abs((re-ue.currentY)/pe.y));const ne=Math.max(C,M);ue.currentX=O,ue.currentY=re;const se=ue.width*S.scale,oe=ue.height*S.scale;ue.minX=Math.min(de.slideWidth/2-se/2,0),ue.maxX=-ue.minX,ue.minY=Math.min(de.slideHeight/2-oe/2,0),ue.maxY=-ue.minY,ue.currentX=Math.max(Math.min(ue.currentX,ue.maxX),ue.minX),ue.currentY=Math.max(Math.min(ue.currentY,ue.maxY),ue.minY),de.imageWrapEl.style.transitionDuration=`${ne}ms`,de.imageWrapEl.style.transform=`translate3d(${ue.currentX}px, ${ue.currentY}px,0)`}()})),M("doubleTap",((S,C)=>{!k.animating&&k.params.zoom.enabled&&k.zoom.enabled&&k.params.zoom.toggle&&zoomToggle(C)})),M("transitionEnd",(()=>{k.zoom.enabled&&k.params.zoom.enabled&&onTransitionEnd()})),M("slideChange",(()=>{k.zoom.enabled&&k.params.zoom.enabled&&k.params.cssMode&&onTransitionEnd()})),Object.assign(k.zoom,{"enable":enable,"disable":disable,"in":zoomIn,"out":zoomOut,"toggle":zoomToggle})},function Controller(S){let{"swiper":k,"extendParams":C,"on":M}=S;function LinearSpline(S,k){const C=function search(){let S,k,C;return(M,P)=>{for(k=-1,S=M.length;S-k>1;)C=S+k>>1,M[C]<=P?k=C:S=C;return S}}();let M,P;return this.x=S,this.y=k,this.lastIndex=S.length-1,this.interpolate=function interpolate(S){return S?(P=C(this.x,S),M=P-1,(S-this.x[M])*(this.y[P]-this.y[M])/(this.x[P]-this.x[M])+this.y[M]):0},this}function removeSpline(){k.controller.control&&k.controller.spline&&(k.controller.spline=void 0,delete k.controller.spline)}C({"controller":{"control":void 0,"inverse":!1,"by":"slide"}}),k.controller={"control":void 0},M("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof k.params.controller.control||k.params.controller.control instanceof HTMLElement)){const S=document.querySelector(k.params.controller.control);if(S&&S.swiper)k.controller.control=S.swiper;else if(S){const onControllerSwiper=C=>{k.controller.control=C.detail[0],k.update(),S.removeEventListener("init",onControllerSwiper)};S.addEventListener("init",onControllerSwiper)}}else k.controller.control=k.params.controller.control})),M("update",(()=>{removeSpline()})),M("resize",(()=>{removeSpline()})),M("observerUpdate",(()=>{removeSpline()})),M("setTranslate",((S,C,M)=>{k.controller.control&&!k.controller.control.destroyed&&k.controller.setTranslate(C,M)})),M("setTransition",((S,C,M)=>{k.controller.control&&!k.controller.control.destroyed&&k.controller.setTransition(C,M)})),Object.assign(k.controller,{"setTranslate":function setTranslate(S,C){const M=k.controller.control;let P,O;const D=k.constructor;function setControlledTranslate(S){if(S.destroyed)return;const C=k.rtlTranslate?-k.translate:k.translate;"slide"===k.params.controller.by&&(!function getInterpolateFunction(S){k.controller.spline=k.params.loop?new LinearSpline(k.slidesGrid,S.slidesGrid):new LinearSpline(k.snapGrid,S.snapGrid)}(S),O=-k.controller.spline.interpolate(-C)),O&&"container"!==k.params.controller.by||(P=(S.maxTranslate()-S.minTranslate())/(k.maxTranslate()-k.minTranslate()),!Number.isNaN(P)&&Number.isFinite(P)||(P=1),O=(C-k.minTranslate())*P+S.minTranslate()),k.params.controller.inverse&&(O=S.maxTranslate()-O),S.updateProgress(O),S.setTranslate(O,k),S.updateActiveIndex(),S.updateSlidesClasses()}if(Array.isArray(M))for(let S=0;S{C.updateAutoHeight()})),elementTransitionEnd(C.wrapperEl,(()=>{P&&C.transitionEnd()}))))}if(Array.isArray(P))for(O=0;O{S.setAttribute("tabIndex","0")}))}function makeElNotFocusable(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("tabIndex","-1")}))}function addElRole(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("role",k)}))}function addElRoleDescription(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-roledescription",k)}))}function addElLabel(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-label",k)}))}function disableEl(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-disabled",!0)}))}function enableEl(S){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-disabled",!1)}))}function onEnterOrSpaceKey(S){if(13!==S.keyCode&&32!==S.keyCode)return;const C=k.params.a11y,M=S.target;if(!k.pagination||!k.pagination.el||M!==k.pagination.el&&!k.pagination.el.contains(S.target)||S.target.matches(classesToSelector(k.params.pagination.bulletClass))){if(k.navigation&&k.navigation.prevEl&&k.navigation.nextEl){const S=makeElementsArray(k.navigation.prevEl);makeElementsArray(k.navigation.nextEl).includes(M)&&(k.isEnd&&!k.params.loop||k.slideNext(),k.isEnd?notify(C.lastSlideMessage):notify(C.nextSlideMessage)),S.includes(M)&&(k.isBeginning&&!k.params.loop||k.slidePrev(),k.isBeginning?notify(C.firstSlideMessage):notify(C.prevSlideMessage))}k.pagination&&M.matches(classesToSelector(k.params.pagination.bulletClass))&&M.click()}}function hasPagination(){return k.pagination&&k.pagination.bullets&&k.pagination.bullets.length}function hasClickablePagination(){return hasPagination()&&k.params.pagination.clickable}const initNavEl=(S,k,C)=>{makeElFocusable(S),"BUTTON"!==S.tagName&&(addElRole(S,"button"),S.addEventListener("keydown",onEnterOrSpaceKey)),addElLabel(S,C),function addElControls(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-controls",k)}))}(S,k)},handlePointerDown=S=>{O&&O!==S.target&&!O.contains(S.target)&&(P=!0),k.a11y.clicked=!0},handlePointerUp=()=>{P=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{k.destroyed||(k.a11y.clicked=!1)}))}))},onVisibilityChange=S=>{re=(new Date).getTime()},handleFocus=S=>{if(k.a11y.clicked)return;if((new Date).getTime()-re<100)return;const C=S.target.closest(`.${k.params.slideClass}, swiper-slide`);if(!C||!k.slides.includes(C))return;O=C;const M=k.slides.indexOf(C)===k.activeIndex,D=k.params.watchSlidesProgress&&k.visibleSlides&&k.visibleSlides.includes(C);M||D||S.sourceCapabilities&&S.sourceCapabilities.firesTouchEvents||(k.isHorizontal()?k.el.scrollLeft=0:k.el.scrollTop=0,requestAnimationFrame((()=>{P||(k.slideTo(k.slides.indexOf(C),0),P=!1)})))},initSlides=()=>{const S=k.params.a11y;S.itemRoleDescriptionMessage&&addElRoleDescription(k.slides,S.itemRoleDescriptionMessage),S.slideRole&&addElRole(k.slides,S.slideRole);const C=k.slides.length;S.slideLabelMessage&&k.slides.forEach(((M,P)=>{const O=k.params.loop?parseInt(M.getAttribute("data-swiper-slide-index"),10):P;addElLabel(M,S.slideLabelMessage.replace(/\{\{index\}\}/,O+1).replace(/\{\{slidesLength\}\}/,C))}))},init=()=>{const S=k.params.a11y;k.el.append(D);const C=k.el;S.containerRoleDescriptionMessage&&addElRoleDescription(C,S.containerRoleDescriptionMessage),S.containerMessage&&addElLabel(C,S.containerMessage);const M=k.wrapperEl,P=S.id||M.getAttribute("id")||`swiper-wrapper-${function getRandomNumber(S){return void 0===S&&(S=16),"x".repeat(S).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,O=k.params.autoplay&&k.params.autoplay.enabled?"off":"polite";!function addElId(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("id",k)}))}(M,P),function addElLive(S,k){(S=makeElementsArray(S)).forEach((S=>{S.setAttribute("aria-live",k)}))}(M,O),initSlides();let{"nextEl":re,"prevEl":ne}=k.navigation?k.navigation:{};if(re=makeElementsArray(re),ne=makeElementsArray(ne),re&&re.forEach((k=>initNavEl(k,P,S.nextSlideMessage))),ne&&ne.forEach((k=>initNavEl(k,P,S.prevSlideMessage))),hasClickablePagination()){makeElementsArray(k.pagination.el).forEach((S=>{S.addEventListener("keydown",onEnterOrSpaceKey)}))}getDocument().addEventListener("visibilitychange",onVisibilityChange),k.el.addEventListener("focus",handleFocus,!0),k.el.addEventListener("focus",handleFocus,!0),k.el.addEventListener("pointerdown",handlePointerDown,!0),k.el.addEventListener("pointerup",handlePointerUp,!0)};M("beforeInit",(()=>{D=createElement("span",k.params.a11y.notificationClass),D.setAttribute("aria-live","assertive"),D.setAttribute("aria-atomic","true")})),M("afterInit",(()=>{k.params.a11y.enabled&&init()})),M("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{k.params.a11y.enabled&&initSlides()})),M("fromEdge toEdge afterInit lock unlock",(()=>{k.params.a11y.enabled&&function updateNavigation(){if(k.params.loop||k.params.rewind||!k.navigation)return;const{"nextEl":S,"prevEl":C}=k.navigation;C&&(k.isBeginning?(disableEl(C),makeElNotFocusable(C)):(enableEl(C),makeElFocusable(C))),S&&(k.isEnd?(disableEl(S),makeElNotFocusable(S)):(enableEl(S),makeElFocusable(S)))}()})),M("paginationUpdate",(()=>{k.params.a11y.enabled&&function updatePagination(){const S=k.params.a11y;hasPagination()&&k.pagination.bullets.forEach((C=>{k.params.pagination.clickable&&(makeElFocusable(C),k.params.pagination.renderBullet||(addElRole(C,"button"),addElLabel(C,S.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(C)+1)))),C.matches(classesToSelector(k.params.pagination.bulletActiveClass))?C.setAttribute("aria-current","true"):C.removeAttribute("aria-current")}))}()})),M("destroy",(()=>{k.params.a11y.enabled&&function destroy(){D&&D.remove();let{"nextEl":S,"prevEl":C}=k.navigation?k.navigation:{};S=makeElementsArray(S),C=makeElementsArray(C),S&&S.forEach((S=>S.removeEventListener("keydown",onEnterOrSpaceKey))),C&&C.forEach((S=>S.removeEventListener("keydown",onEnterOrSpaceKey))),hasClickablePagination()&&makeElementsArray(k.pagination.el).forEach((S=>{S.removeEventListener("keydown",onEnterOrSpaceKey)}));getDocument().removeEventListener("visibilitychange",onVisibilityChange),k.el.removeEventListener("focus",handleFocus,!0),k.el.removeEventListener("pointerdown",handlePointerDown,!0),k.el.removeEventListener("pointerup",handlePointerUp,!0)}()}))},function History(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"history":{"enabled":!1,"root":"","replaceState":!1,"key":"slides","keepQuery":!1}});let P=!1,O={};const slugify=S=>S.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),getPathValues=S=>{const k=getWindow();let C;C=S?new URL(S):k.location;const M=C.pathname.slice(1).split("/").filter((S=>""!==S)),P=M.length;return{"key":M[P-2],"value":M[P-1]}},setHistory=(S,C)=>{const M=getWindow();if(!P||!k.params.history.enabled)return;let O;O=k.params.url?new URL(k.params.url):M.location;const D=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${C}"]`):k.slides[C];let re=slugify(D.getAttribute("data-history"));if(k.params.history.root.length>0){let C=k.params.history.root;"/"===C[C.length-1]&&(C=C.slice(0,C.length-1)),re=`${C}/${S?`${S}/`:""}${re}`}else O.pathname.includes(S)||(re=`${S?`${S}/`:""}${re}`);k.params.history.keepQuery&&(re+=O.search);const ne=M.history.state;ne&&ne.value===re||(k.params.history.replaceState?M.history.replaceState({"value":re},null,re):M.history.pushState({"value":re},null,re))},scrollToSlide=(S,C,M)=>{if(C)for(let P=0,O=k.slides.length;P{O=getPathValues(k.params.url),scrollToSlide(k.params.speed,O.value,!1)};M("init",(()=>{k.params.history.enabled&&(()=>{const S=getWindow();if(k.params.history){if(!S.history||!S.history.pushState)return k.params.history.enabled=!1,void(k.params.hashNavigation.enabled=!0);P=!0,O=getPathValues(k.params.url),O.key||O.value?(scrollToSlide(0,O.value,k.params.runCallbacksOnInit),k.params.history.replaceState||S.addEventListener("popstate",setHistoryPopState)):k.params.history.replaceState||S.addEventListener("popstate",setHistoryPopState)}})()})),M("destroy",(()=>{k.params.history.enabled&&(()=>{const S=getWindow();k.params.history.replaceState||S.removeEventListener("popstate",setHistoryPopState)})()})),M("transitionEnd _freeModeNoMomentumRelease",(()=>{P&&setHistory(k.params.history.key,k.activeIndex)})),M("slideChange",(()=>{P&&k.params.cssMode&&setHistory(k.params.history.key,k.activeIndex)}))},function HashNavigation(S){let{"swiper":k,"extendParams":C,"emit":M,"on":P}=S,O=!1;const D=getDocument(),re=getWindow();C({"hashNavigation":{"enabled":!1,"replaceState":!1,"watchState":!1,"getSlideIndex"(S,C){if(k.virtual&&k.params.virtual.enabled){const S=k.slides.filter((S=>S.getAttribute("data-hash")===C))[0];if(!S)return 0;return parseInt(S.getAttribute("data-swiper-slide-index"),10)}return k.getSlideIndex(elementChildren(k.slidesEl,`.${k.params.slideClass}[data-hash="${C}"], swiper-slide[data-hash="${C}"]`)[0])}}});const onHashChange=()=>{M("hashChange");const S=D.location.hash.replace("#",""),C=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${k.activeIndex}"]`):k.slides[k.activeIndex];if(S!==(C?C.getAttribute("data-hash"):"")){const C=k.params.hashNavigation.getSlideIndex(k,S);if(void 0===C||Number.isNaN(C))return;k.slideTo(C)}},setHash=()=>{if(!O||!k.params.hashNavigation.enabled)return;const S=k.virtual&&k.params.virtual.enabled?k.slidesEl.querySelector(`[data-swiper-slide-index="${k.activeIndex}"]`):k.slides[k.activeIndex],C=S?S.getAttribute("data-hash")||S.getAttribute("data-history"):"";k.params.hashNavigation.replaceState&&re.history&&re.history.replaceState?(re.history.replaceState(null,null,`#${C}`||""),M("hashSet")):(D.location.hash=C||"",M("hashSet"))};P("init",(()=>{k.params.hashNavigation.enabled&&(()=>{if(!k.params.hashNavigation.enabled||k.params.history&&k.params.history.enabled)return;O=!0;const S=D.location.hash.replace("#","");if(S){const C=0,M=k.params.hashNavigation.getSlideIndex(k,S);k.slideTo(M||0,C,k.params.runCallbacksOnInit,!0)}k.params.hashNavigation.watchState&&re.addEventListener("hashchange",onHashChange)})()})),P("destroy",(()=>{k.params.hashNavigation.enabled&&k.params.hashNavigation.watchState&&re.removeEventListener("hashchange",onHashChange)})),P("transitionEnd _freeModeNoMomentumRelease",(()=>{O&&setHash()})),P("slideChange",(()=>{O&&k.params.cssMode&&setHash()}))},function Autoplay(S){let k,C,{"swiper":M,"extendParams":P,"on":O,"emit":D,"params":re}=S;M.autoplay={"running":!1,"paused":!1,"timeLeft":0},P({"autoplay":{"enabled":!1,"delay":3e3,"waitForTransition":!0,"disableOnInteraction":!1,"stopOnLastSlide":!1,"reverseDirection":!1,"pauseOnMouseEnter":!1}});let ne,se,oe,de,ue,pe,he,fe,me=re&&re.autoplay?re.autoplay.delay:3e3,ge=re&&re.autoplay?re.autoplay.delay:3e3,be=(new Date).getTime();function onTransitionEnd(S){M&&!M.destroyed&&M.wrapperEl&&S.target===M.wrapperEl&&(M.wrapperEl.removeEventListener("transitionend",onTransitionEnd),fe||resume())}const calcTimeLeft=()=>{if(M.destroyed||!M.autoplay.running)return;M.autoplay.paused?se=!0:se&&(ge=ne,se=!1);const S=M.autoplay.paused?ne:be+ge-(new Date).getTime();M.autoplay.timeLeft=S,D("autoplayTimeLeft",S,S/me),C=requestAnimationFrame((()=>{calcTimeLeft()}))},run=S=>{if(M.destroyed||!M.autoplay.running)return;cancelAnimationFrame(C),calcTimeLeft();let P=void 0===S?M.params.autoplay.delay:S;me=M.params.autoplay.delay,ge=M.params.autoplay.delay;const O=(()=>{let S;if(S=M.virtual&&M.params.virtual.enabled?M.slides.filter((S=>S.classList.contains("swiper-slide-active")))[0]:M.slides[M.activeIndex],!S)return;return parseInt(S.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(O)&&O>0&&void 0===S&&(P=O,me=O,ge=O),ne=P;const re=M.params.speed,proceed=()=>{M&&!M.destroyed&&(M.params.autoplay.reverseDirection?!M.isBeginning||M.params.loop||M.params.rewind?(M.slidePrev(re,!0,!0),D("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(M.slides.length-1,re,!0,!0),D("autoplay")):!M.isEnd||M.params.loop||M.params.rewind?(M.slideNext(re,!0,!0),D("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(0,re,!0,!0),D("autoplay")),M.params.cssMode&&(be=(new Date).getTime(),requestAnimationFrame((()=>{run()}))))};return P>0?(clearTimeout(k),k=setTimeout((()=>{proceed()}),P)):requestAnimationFrame((()=>{proceed()})),P},start=()=>{be=(new Date).getTime(),M.autoplay.running=!0,run(),D("autoplayStart")},stop=()=>{M.autoplay.running=!1,clearTimeout(k),cancelAnimationFrame(C),D("autoplayStop")},pause=(S,C)=>{if(M.destroyed||!M.autoplay.running)return;clearTimeout(k),S||(he=!0);const proceed=()=>{D("autoplayPause"),M.params.autoplay.waitForTransition?M.wrapperEl.addEventListener("transitionend",onTransitionEnd):resume()};if(M.autoplay.paused=!0,C)return pe&&(ne=M.params.autoplay.delay),pe=!1,void proceed();const P=ne||M.params.autoplay.delay;ne=P-((new Date).getTime()-be),M.isEnd&&ne<0&&!M.params.loop||(ne<0&&(ne=0),proceed())},resume=()=>{M.isEnd&&ne<0&&!M.params.loop||M.destroyed||!M.autoplay.running||(be=(new Date).getTime(),he?(he=!1,run(ne)):run(),M.autoplay.paused=!1,D("autoplayResume"))},onVisibilityChange=()=>{if(M.destroyed||!M.autoplay.running)return;const S=getDocument();"hidden"===S.visibilityState&&(he=!0,pause(!0)),"visible"===S.visibilityState&&resume()},onPointerEnter=S=>{"mouse"===S.pointerType&&(he=!0,fe=!0,M.animating||M.autoplay.paused||pause(!0))},onPointerLeave=S=>{"mouse"===S.pointerType&&(fe=!1,M.autoplay.paused&&resume())};O("init",(()=>{M.params.autoplay.enabled&&(M.params.autoplay.pauseOnMouseEnter&&(M.el.addEventListener("pointerenter",onPointerEnter),M.el.addEventListener("pointerleave",onPointerLeave)),getDocument().addEventListener("visibilitychange",onVisibilityChange),start())})),O("destroy",(()=>{M.el.removeEventListener("pointerenter",onPointerEnter),M.el.removeEventListener("pointerleave",onPointerLeave),getDocument().removeEventListener("visibilitychange",onVisibilityChange),M.autoplay.running&&stop()})),O("_freeModeStaticRelease",(()=>{(de||he)&&resume()})),O("_freeModeNoMomentumRelease",(()=>{M.params.autoplay.disableOnInteraction?stop():pause(!0,!0)})),O("beforeTransitionStart",((S,k,C)=>{!M.destroyed&&M.autoplay.running&&(C||!M.params.autoplay.disableOnInteraction?pause(!0,!0):stop())})),O("sliderFirstMove",(()=>{!M.destroyed&&M.autoplay.running&&(M.params.autoplay.disableOnInteraction?stop():(oe=!0,de=!1,he=!1,ue=setTimeout((()=>{he=!0,de=!0,pause(!0)}),200)))})),O("touchEnd",(()=>{if(!M.destroyed&&M.autoplay.running&&oe){if(clearTimeout(ue),clearTimeout(k),M.params.autoplay.disableOnInteraction)return de=!1,void(oe=!1);de&&M.params.cssMode&&resume(),de=!1,oe=!1}})),O("slideChange",(()=>{!M.destroyed&&M.autoplay.running&&(pe=!0)})),Object.assign(M.autoplay,{"start":start,"stop":stop,"pause":pause,"resume":resume})},function Thumb(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"thumbs":{"swiper":null,"multipleActiveThumbs":!0,"autoScrollOffset":0,"slideThumbActiveClass":"swiper-slide-thumb-active","thumbsContainerClass":"swiper-thumbs"}});let P=!1,O=!1;function onThumbClick(){const S=k.thumbs.swiper;if(!S||S.destroyed)return;const C=S.clickedIndex,M=S.clickedSlide;if(M&&M.classList.contains(k.params.thumbs.slideThumbActiveClass))return;if(null==C)return;let P;P=S.params.loop?parseInt(S.clickedSlide.getAttribute("data-swiper-slide-index"),10):C,k.params.loop?k.slideToLoop(P):k.slideTo(P)}function init(){const{"thumbs":S}=k.params;if(P)return!1;P=!0;const C=k.constructor;if(S.swiper instanceof C)k.thumbs.swiper=S.swiper,Object.assign(k.thumbs.swiper.originalParams,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),Object.assign(k.thumbs.swiper.params,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),k.thumbs.swiper.update();else if(utils_isObject(S.swiper)){const M=Object.assign({},S.swiper);Object.assign(M,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),k.thumbs.swiper=new C(M),O=!0}return k.thumbs.swiper.el.classList.add(k.params.thumbs.thumbsContainerClass),k.thumbs.swiper.on("tap",onThumbClick),!0}function update(S){const C=k.thumbs.swiper;if(!C||C.destroyed)return;const M="auto"===C.params.slidesPerView?C.slidesPerViewDynamic():C.params.slidesPerView;let P=1;const O=k.params.thumbs.slideThumbActiveClass;if(k.params.slidesPerView>1&&!k.params.centeredSlides&&(P=k.params.slidesPerView),k.params.thumbs.multipleActiveThumbs||(P=1),P=Math.floor(P),C.slides.forEach((S=>S.classList.remove(O))),C.params.loop||C.params.virtual&&C.params.virtual.enabled)for(let S=0;S{S.classList.add(O)}));else for(let S=0;SS.getAttribute("data-swiper-slide-index")===`${k.realIndex}`))[0];O=C.slides.indexOf(S),ne=k.activeIndex>k.previousIndex?"next":"prev"}else O=k.realIndex,ne=O>k.previousIndex?"next":"prev";re&&(O+="next"===ne?D:-1*D),C.visibleSlidesIndexes&&C.visibleSlidesIndexes.indexOf(O)<0&&(C.params.centeredSlides?O=O>P?O-Math.floor(M/2)+1:O+Math.floor(M/2)-1:O>P&&C.params.slidesPerGroup,C.slideTo(O,S?0:void 0))}}k.thumbs={"swiper":null},M("beforeInit",(()=>{const{"thumbs":S}=k.params;if(S&&S.swiper)if("string"==typeof S.swiper||S.swiper instanceof HTMLElement){const C=getDocument(),getThumbsElementAndInit=()=>{const M="string"==typeof S.swiper?C.querySelector(S.swiper):S.swiper;if(M&&M.swiper)S.swiper=M.swiper,init(),update(!0);else if(M){const onThumbsSwiper=C=>{S.swiper=C.detail[0],M.removeEventListener("init",onThumbsSwiper),init(),update(!0),S.swiper.update(),k.update()};M.addEventListener("init",onThumbsSwiper)}return M},watchForThumbsToAppear=()=>{if(k.destroyed)return;getThumbsElementAndInit()||requestAnimationFrame(watchForThumbsToAppear)};requestAnimationFrame(watchForThumbsToAppear)}else init(),update(!0)})),M("slideChange update resize observerUpdate",(()=>{update()})),M("setTransition",((S,C)=>{const M=k.thumbs.swiper;M&&!M.destroyed&&M.setTransition(C)})),M("beforeDestroy",(()=>{const S=k.thumbs.swiper;S&&!S.destroyed&&O&&S.destroy()})),Object.assign(k.thumbs,{"init":init,"update":update})},function freeMode(S){let{"swiper":k,"extendParams":C,"emit":M,"once":P}=S;C({"freeMode":{"enabled":!1,"momentum":!0,"momentumRatio":1,"momentumBounce":!0,"momentumBounceRatio":1,"momentumVelocityRatio":1,"sticky":!1,"minimumVelocity":.02}}),Object.assign(k,{"freeMode":{"onTouchStart":function onTouchStart(){if(k.params.cssMode)return;const S=k.getTranslate();k.setTranslate(S),k.setTransition(0),k.touchEventsData.velocities.length=0,k.freeMode.onTouchEnd({"currentPos":k.rtl?k.translate:-k.translate})},"onTouchMove":function onTouchMove(){if(k.params.cssMode)return;const{"touchEventsData":S,"touches":C}=k;0===S.velocities.length&&S.velocities.push({"position":C[k.isHorizontal()?"startX":"startY"],"time":S.touchStartTime}),S.velocities.push({"position":C[k.isHorizontal()?"currentX":"currentY"],"time":now()})},"onTouchEnd":function onTouchEnd(S){let{"currentPos":C}=S;if(k.params.cssMode)return;const{"params":O,"wrapperEl":D,"rtlTranslate":re,"snapGrid":ne,"touchEventsData":se}=k,oe=now()-se.touchStartTime;if(C<-k.minTranslate())k.slideTo(k.activeIndex);else if(C>-k.maxTranslate())k.slides.length1){const S=se.velocities.pop(),C=se.velocities.pop(),M=S.position-C.position,P=S.time-C.time;k.velocity=M/P,k.velocity/=2,Math.abs(k.velocity)150||now()-S.time>300)&&(k.velocity=0)}else k.velocity=0;k.velocity*=O.freeMode.momentumVelocityRatio,se.velocities.length=0;let S=1e3*O.freeMode.momentumRatio;const C=k.velocity*S;let oe=k.translate+C;re&&(oe=-oe);let de,ue=!1;const pe=20*Math.abs(k.velocity)*O.freeMode.momentumBounceRatio;let he;if(oek.minTranslate())O.freeMode.momentumBounce?(oe-k.minTranslate()>pe&&(oe=k.minTranslate()+pe),de=k.minTranslate(),ue=!0,se.allowMomentumBounce=!0):oe=k.minTranslate(),O.loop&&O.centeredSlides&&(he=!0);else if(O.freeMode.sticky){let S;for(let k=0;k-oe){S=k;break}oe=Math.abs(ne[S]-oe){k.loopFix()})),0!==k.velocity){if(S=re?Math.abs((-oe-k.translate)/k.velocity):Math.abs((oe-k.translate)/k.velocity),O.freeMode.sticky){const C=Math.abs((re?-oe:oe)-k.translate),M=k.slidesSizesGrid[k.activeIndex];S=C{k&&!k.destroyed&&se.allowMomentumBounce&&(M("momentumBounce"),k.setTransition(O.speed),setTimeout((()=>{k.setTranslate(de),elementTransitionEnd(D,(()=>{k&&!k.destroyed&&k.transitionEnd()}))}),0))}))):k.velocity?(M("_freeModeNoMomentumRelease"),k.updateProgress(oe),k.setTransition(S),k.setTranslate(oe),k.transitionStart(!0,k.swipeDirection),k.animating||(k.animating=!0,elementTransitionEnd(D,(()=>{k&&!k.destroyed&&k.transitionEnd()})))):k.updateProgress(oe),k.updateActiveIndex(),k.updateSlidesClasses()}else{if(O.freeMode.sticky)return void k.slideToClosest();O.freeMode&&M("_freeModeNoMomentumRelease")}(!O.freeMode.momentum||oe>=O.longSwipesMs)&&(M("_freeModeStaticRelease"),k.updateProgress(),k.updateActiveIndex(),k.updateSlidesClasses())}}}})},function Grid(S){let k,C,M,P,{"swiper":O,"extendParams":D,"on":re}=S;D({"grid":{"rows":1,"fill":"column"}});const getSpaceBetween=()=>{let S=O.params.spaceBetween;return"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*O.size:"string"==typeof S&&(S=parseFloat(S)),S};re("init",(()=>{P=O.params.grid&&O.params.grid.rows>1})),re("update",(()=>{const{"params":S,"el":k}=O,C=S.grid&&S.grid.rows>1;P&&!C?(k.classList.remove(`${S.containerModifierClass}grid`,`${S.containerModifierClass}grid-column`),M=1,O.emitContainerClasses()):!P&&C&&(k.classList.add(`${S.containerModifierClass}grid`),"column"===S.grid.fill&&k.classList.add(`${S.containerModifierClass}grid-column`),O.emitContainerClasses()),P=C})),O.grid={"initSlides":S=>{const{"slidesPerView":P}=O.params,{"rows":D,"fill":re}=O.params.grid,ne=O.virtual&&O.params.virtual.enabled?O.virtual.slides.length:S.length;M=Math.floor(ne/D),k=Math.floor(ne/D)===ne/D?ne:Math.ceil(ne/D)*D,"auto"!==P&&"row"===re&&(k=Math.max(k,P*D)),C=k/D},"unsetSlides":()=>{O.slides&&O.slides.forEach((S=>{S.swiperSlideGridSet&&(S.style.height="",S.style[O.getDirectionLabel("margin-top")]="")}))},"updateSlide":(S,P,D)=>{const{"slidesPerGroup":re}=O.params,ne=getSpaceBetween(),{"rows":se,"fill":oe}=O.params.grid,de=O.virtual&&O.params.virtual.enabled?O.virtual.slides.length:D.length;let ue,pe,he;if("row"===oe&&re>1){const C=Math.floor(S/(re*se)),M=S-se*re*C,O=0===C?re:Math.min(Math.ceil((de-C*se*re)/se),re);he=Math.floor(M/O),pe=M-he*O+C*re,ue=pe+he*k/se,P.style.order=ue}else"column"===oe?(pe=Math.floor(S/se),he=S-pe*se,(pe>M||pe===M&&he===se-1)&&(he+=1,he>=se&&(he=0,pe+=1))):(he=Math.floor(S/C),pe=S-he*C);P.row=he,P.column=pe,P.style.height=`calc((100% - ${(se-1)*ne}px) / ${se})`,P.style[O.getDirectionLabel("margin-top")]=0!==he?ne&&`${ne}px`:"",P.swiperSlideGridSet=!0},"updateWrapperSize":(S,C)=>{const{"centeredSlides":M,"roundLengths":P}=O.params,D=getSpaceBetween(),{"rows":re}=O.params.grid;if(O.virtualSize=(S+D)*k,O.virtualSize=Math.ceil(O.virtualSize/re)-D,O.params.cssMode||(O.wrapperEl.style[O.getDirectionLabel("width")]=`${O.virtualSize+D}px`),M){const S=[];for(let k=0;k{const{"slides":S}=k;k.params.fadeEffect;for(let C=0;C{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C,"allSlides":!0})},"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!k.params.cssMode})})},function EffectCube(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"cubeEffect":{"slideShadows":!0,"shadow":!0,"shadowOffset":20,"shadowScale":.94}});const createSlideShadows=(S,k,C)=>{let M=C?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),P=C?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");M||(M=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(C?"left":"top")).split(" ")),S.append(M)),P||(P=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(C?"right":"bottom")).split(" ")),S.append(P)),M&&(M.style.opacity=Math.max(-k,0)),P&&(P.style.opacity=Math.max(k,0))};effectInit({"effect":"cube","swiper":k,"on":M,"setTranslate":()=>{const{"el":S,"wrapperEl":C,"slides":M,"width":P,"height":O,"rtlTranslate":D,"size":re,"browser":ne}=k,se=k.params.cubeEffect,oe=k.isHorizontal(),de=k.virtual&&k.params.virtual.enabled;let ue,pe=0;se.shadow&&(oe?(ue=k.wrapperEl.querySelector(".swiper-cube-shadow"),ue||(ue=createElement("div","swiper-cube-shadow"),k.wrapperEl.append(ue)),ue.style.height=`${P}px`):(ue=S.querySelector(".swiper-cube-shadow"),ue||(ue=createElement("div","swiper-cube-shadow"),S.append(ue))));for(let S=0;S-1&&(pe=90*P+90*ue,D&&(pe=90*-P-90*ue),k.browser&&k.browser.need3dFix&&Math.abs(pe)/90%2==1&&(pe+=.001)),C.style.transform=ge,se.slideShadows&&createSlideShadows(C,ue,oe)}if(C.style.transformOrigin=`50% 50% -${re/2}px`,C.style["-webkit-transform-origin"]=`50% 50% -${re/2}px`,se.shadow)if(oe)ue.style.transform=`translate3d(0px, ${P/2+se.shadowOffset}px, ${-P/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${se.shadowScale})`;else{const S=Math.abs(pe)-90*Math.floor(Math.abs(pe)/90),k=1.5-(Math.sin(2*S*Math.PI/360)/2+Math.cos(2*S*Math.PI/360)/2),C=se.shadowScale,M=se.shadowScale/k,P=se.shadowOffset;ue.style.transform=`scale3d(${C}, 1, ${M}) translate3d(0px, ${O/2+P}px, ${-O/2/M}px) rotateX(-89.99deg)`}const he=(ne.isSafari||ne.isWebView)&&ne.needPerspectiveFix?-re/2:0;C.style.transform=`translate3d(0px,0,${he}px) rotateX(${k.isHorizontal()?0:pe}deg) rotateY(${k.isHorizontal()?-pe:0}deg)`,C.style.setProperty("--swiper-cube-translate-z",`${he}px`)},"setTransition":S=>{const{"el":C,"slides":M}=k;if(M.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),k.params.cubeEffect.shadow&&!k.isHorizontal()){const k=C.querySelector(".swiper-cube-shadow");k&&(k.style.transitionDuration=`${S}ms`)}},"recreateShadows":()=>{const S=k.isHorizontal();k.slides.forEach((k=>{const C=Math.max(Math.min(k.progress,1),-1);createSlideShadows(k,C,S)}))},"getEffectParams":()=>k.params.cubeEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"resistanceRatio":0,"spaceBetween":0,"centeredSlides":!1,"virtualTranslate":!0})})},function EffectFlip(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"flipEffect":{"slideShadows":!0,"limitRotation":!0}});const createSlideShadows=(S,C)=>{let M=k.isHorizontal()?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),P=k.isHorizontal()?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");M||(M=createShadow("flip",S,k.isHorizontal()?"left":"top")),P||(P=createShadow("flip",S,k.isHorizontal()?"right":"bottom")),M&&(M.style.opacity=Math.max(-C,0)),P&&(P.style.opacity=Math.max(C,0))};effectInit({"effect":"flip","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"rtlTranslate":C}=k,M=k.params.flipEffect;for(let P=0;P{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C})},"recreateShadows":()=>{k.params.flipEffect,k.slides.forEach((S=>{let C=S.progress;k.params.flipEffect.limitRotation&&(C=Math.max(Math.min(S.progress,1),-1)),createSlideShadows(S,C)}))},"getEffectParams":()=>k.params.flipEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!k.params.cssMode})})},function EffectCoverflow(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"coverflowEffect":{"rotate":50,"stretch":0,"depth":100,"scale":1,"modifier":1,"slideShadows":!0}}),effectInit({"effect":"coverflow","swiper":k,"on":M,"setTranslate":()=>{const{"width":S,"height":C,"slides":M,"slidesSizesGrid":P}=k,O=k.params.coverflowEffect,D=k.isHorizontal(),re=k.translate,ne=D?S/2-re:C/2-re,se=D?O.rotate:-O.rotate,oe=O.depth;for(let S=0,C=M.length;S0?ue:0),k&&(k.style.opacity=-ue>0?-ue:0)}}},"setTransition":S=>{k.slides.map((S=>getSlideTransformEl(S))).forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((k=>{k.style.transitionDuration=`${S}ms`}))}))},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0})})},function EffectCreative(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"creativeEffect":{"limitProgress":1,"shadowPerProgress":!1,"progressMultiplier":1,"perspective":!0,"prev":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1},"next":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1}}});const getTranslateValue=S=>"string"==typeof S?S:`${S}px`;effectInit({"effect":"creative","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"wrapperEl":C,"slidesSizesGrid":M}=k,P=k.params.creativeEffect,{"progressMultiplier":O}=P,D=k.params.centeredSlides;if(D){const S=M[0]/2-k.params.slidesOffsetBefore||0;C.style.transform=`translateX(calc(50% - ${S}px))`}for(let C=0;C0&&(he=P.prev,pe=!0),de.forEach(((S,k)=>{de[k]=`calc(${S}px + (${getTranslateValue(he.translate[k])} * ${Math.abs(ne*O)}))`})),ue.forEach(((S,C)=>{let M=he.rotate[C]*Math.abs(ne*O);k.browser&&k.browser.need3dFix&&Math.abs(M)/90%2==1&&(M+=.001),ue[C]=M})),M.style.zIndex=-Math.abs(Math.round(re))+S.length;const fe=de.join(", "),me=`rotateX(${ue[0]}deg) rotateY(${ue[1]}deg) rotateZ(${ue[2]}deg)`,ge=se<0?`scale(${1+(1-he.scale)*se*O})`:`scale(${1-(1-he.scale)*se*O})`,be=se<0?1+(1-he.opacity)*se*O:1-(1-he.opacity)*se*O,ve=`translate3d(${fe}) ${me} ${ge}`;if(pe&&he.shadow||!pe){let S=M.querySelector(".swiper-slide-shadow");if(!S&&he.shadow&&(S=createShadow("creative",M)),S){const k=P.shadowPerProgress?ne*(1/P.limitProgress):ne;S.style.opacity=Math.min(Math.max(Math.abs(k),0),1)}}const ye=effectTarget(0,M);ye.style.transform=ve,ye.style.opacity=be,he.origin&&(ye.style.transformOrigin=he.origin)}},"setTransition":S=>{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C,"allSlides":!0})},"perspective":()=>k.params.creativeEffect.perspective,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!k.params.cssMode})})},function EffectCards(S){let{"swiper":k,"extendParams":C,"on":M}=S;C({"cardsEffect":{"slideShadows":!0,"rotate":!0,"perSlideRotate":2,"perSlideOffset":8}}),effectInit({"effect":"cards","swiper":k,"on":M,"setTranslate":()=>{const{"slides":S,"activeIndex":C,"rtlTranslate":M}=k,P=k.params.cardsEffect,{"startTranslate":O,"isTouched":D}=k.touchEventsData,re=M?-k.translate:k.translate;for(let ne=0;ne0&&de<1&&(D||k.params.cssMode)&&re-1&&(D||k.params.cssMode)&&re>O;if(ye||Ee){const S=(1-Math.abs((Math.abs(de)-.5)/.5))**.5;ge+=-28*de*S,me+=-.5*S,be+=96*S,he=-25*S*Math.abs(de)+"%"}if(pe=de<0?`calc(${pe}px ${M?"-":"+"} (${be*Math.abs(de)}%))`:de>0?`calc(${pe}px ${M?"-":"+"} (-${be*Math.abs(de)}%))`:`${pe}px`,!k.isHorizontal()){const S=he;he=pe,pe=S}const Ae=de<0?""+(1+(1-me)*de):""+(1-(1-me)*de),ke=`\n translate3d(${pe}, ${he}, ${fe}px)\n rotateZ(${P.rotate?M?-ge:ge:0}deg)\n scale(${Ae})\n `;if(P.slideShadows){let S=se.querySelector(".swiper-slide-shadow");S||(S=createShadow("cards",se)),S&&(S.style.opacity=Math.min(Math.max((Math.abs(de)-.5)/.5,0),1))}se.style.zIndex=-Math.abs(Math.round(oe))+S.length;effectTarget(0,se).style.transform=ke}},"setTransition":S=>{const C=k.slides.map((S=>getSlideTransformEl(S)));C.forEach((k=>{k.style.transitionDuration=`${S}ms`,k.querySelectorAll(".swiper-slide-shadow").forEach((k=>{k.style.transitionDuration=`${S}ms`}))})),effectVirtualTransitionEnd({"swiper":k,"duration":S,"transformElements":C})},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!k.params.cssMode})})}];Swiper.use(ge);var be=C(6585);var ve,ye,Ee,Ae,ke,__classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)},__classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C};let Te=0;const _e=(0,M.GH)(class extends M.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,M.yM)(this,"change",7),this.onAnimationFinish=(0,M.yM)(this,"animationfinish",7),ve.set(this,Te++),ye.set(this,"autoplay"),Ee.set(this,!1),Ae.set(this,!1),ke.set(this,0),this.handleSwiperSizeDebounce=(0,be.d)((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?__classPrivateFieldGet(this,Ae,"f")&&(this.reset(),__classPrivateFieldSet(this,Ae,!1,"f"),__classPrivateFieldSet(this,Ee,!1,"f")):(this.swiper.update(),__classPrivateFieldSet(this,Ee,!1,"f")))}),50),this.reset=()=>{__classPrivateFieldSet(this,Ee,!0,"f"),__classPrivateFieldSet(this,ke,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),__classPrivateFieldSet(this,Ee,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const S=this.parseMargin().filter(Boolean).length>0;return this.circular&&S},this.parseMargin=()=>{const[,S]=/^(\d+)px/.exec(this.previousMargin)||[],[,k]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(S)||0,parseInt(k)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}"watchCurrent"(S){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const k=parseInt(S,10);isNaN(k)||k===this.swiper.realIndex||(__classPrivateFieldSet(this,ye,"","f"),this.circular?(this.swiper.slideToLoop(k),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(k))}"watchCurrentItemId"(S){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let k=0;this.getSlidersList().forEach(((C,M)=>{C.getAttribute("item-id")===S&&(k=this.circular?Number(C.getAttribute("data-swiper-slide-index")):M)})),k!==this.swiper.realIndex&&(__classPrivateFieldSet(this,ye,"","f"),this.circular?(this.swiper.slideToLoop(k),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(k))}"watchAutoplay"(S){if(!this.isWillLoadCalled||!this.swiper)return;const k=this.swiper.autoplay;if(k){if(k.running===S)return;S?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),k.start()):k.stop()}}"watchDuration"(S){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=S)}"watchInterval"(S){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=S)}"watchSwiperWrapper"(S){if(!this.isWillLoadCalled||!this.swiper)return;if(!S)return;const beforeDomOperation=()=>{__classPrivateFieldSet(this,Ae,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=k=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.appendChild(k)),this.el.insertBefore=(k,C)=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.insertBefore(k,C)),this.el.replaceChild=(k,C)=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.replaceChild(k,C)),this.el.removeChild=k=>(__classPrivateFieldSet(this,Ee,!0,"f"),!__classPrivateFieldGet(this,Ae,"f")&&this.circular&&beforeDomOperation(),S.removeChild(k))}"watchCircular"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"watchDisplayMultipleItems"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{"childList":!0}))}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"handleInit"(S=!1){const{"autoplay":k,"circular":C,"current":M,"currentItemId":P,"displayMultipleItems":O,"duration":D,"interval":re,"effectsProps":ne,"vertical":se}=this;let oe=M;if(S)oe=__classPrivateFieldGet(this,ke,"f");else if(P){let S=0;this.getSlidersList().forEach(((k,C)=>{k.itemId&&k.itemId===P&&(S=C)})),oe=S}const de=this.getLoopAdditionalSlides(),ue=1===O&&this.getNeedFixLoop(),pe=1===O?"auto":O,he=this,fe=Object.assign(Object.assign({"pagination":{"el":`.taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination`},"direction":se?"vertical":"horizontal","loop":C,"slidesPerView":pe,"initialSlide":oe,"loopAdditionalSlides":de,"speed":D,"observeParents":!0,"observer":!0,"centeredSlides":ue,"zoom":this.zoom,"nested":!0},ne),{"on":{"transitionEnd"(S){if(__classPrivateFieldGet(he,Ee,"f")||__classPrivateFieldGet(he,ke,"f")===this.realIndex)return;__classPrivateFieldSet(he,ke,this.realIndex,"f"),he.getNeedFixLoop()&&S.loopFix(),he.autoplay&&S.autoplay.start();const k=he.getCurrentItemId(S);he.onAnimationFinish.emit({"current":this.realIndex,"source":__classPrivateFieldGet(he,ye,"f"),"currentItemId":k}),__classPrivateFieldSet(he,ye,"autoplay","f")},"touchMove"(){__classPrivateFieldSet(he,ye,"touch","f")},"slideChange"(S){if(__classPrivateFieldGet(he,Ee,"f")||__classPrivateFieldGet(he,ke,"f")===this.realIndex)return;const k=he.getCurrentItemId(S);he.onChange.emit({"current":this.realIndex,"source":__classPrivateFieldGet(he,ye,"f"),"currentItemId":k})},"init":S=>{he.getNeedFixLoop()&&S.loopFix(),he.autoplay&&S.autoplay.start()},"touchEnd":S=>{__classPrivateFieldSet(he,ye,"touch","f"),he.autoplay&&S.autoplay.start()},"touchStart":S=>{__classPrivateFieldSet(he,ye,"touch","f"),he.autoplay&&S.autoplay.pause()},"autoplay"(S){S.animating=!1,__classPrivateFieldSet(he,ye,"autoplay","f")}}});if(k&&(fe.autoplay={"delay":re,"disableOnInteraction":!1}),this.swiper=new Swiper(`.taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container`,fe),this.getNeedFixLoop()){const S=this.swiper.minTranslate.bind(this.swiper),k=this.swiper.maxTranslate.bind(this.swiper);ue&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>S()+this.parseMargin()[1],this.swiper.maxTranslate=()=>k()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>S()-this.parseMargin()[0],this.swiper.maxTranslate=()=>k()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}"getLoopAdditionalSlides"(){const S=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||S<5?0:S<=7?1:2}"getCurrentItemId"(S){return S.slides[S.activeIndex].getAttribute("item-id")}"render"(){const{"vertical":S,"indicatorDots":k,"indicatorColor":C,"indicatorActiveColor":P}=this,[O,D]=this.parseMargin(),re=["overflow: visible;",S?`margin-top: ${O}px; margin-bottom: ${D}px;`:`margin-right: ${D}px; margin-left: ${O}px;`,this.full?"height: 100%;":""],ne=[k?"opacity: 1;":"display: none;","font-size: 0;"],se={"overflow":"hidden"};return this.full&&(se.height="100%"),(0,M.h)(M.AA,{"class":`taro-swiper-${__classPrivateFieldGet(this,ve,"f")}`,"style":se},(0,M.h)("div",{"class":"swiper-container"},(0,M.h)("style",{"type":"text/css"},`\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${C} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${P} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container { ${re.join("")} }\n .taro-swiper-${__classPrivateFieldGet(this,ve,"f")} > .swiper-container > .swiper-pagination { ${ne.join("")} }\n `),(0,M.h)("div",{"class":"swiper-wrapper"},(0,M.h)("slot",null)),(0,M.h)("div",{"class":"swiper-pagination"})))}get"el"(){return this}static get"watchers"(){return{"current":["watchCurrent"],"currentItemId":["watchCurrentItemId"],"autoplay":["watchAutoplay"],"duration":["watchDuration"],"interval":["watchInterval"],"swiperWrapper":["watchSwiperWrapper"],"circular":["watchCircular"],"displayMultipleItems":["watchDisplayMultipleItems"]}}static get"style"(){return"@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-webkit-transform-origin:center;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;-ms-touch-action:none;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;-webkit-transition-property:opacity,height,-webkit-transform;transition-property:opacity,height,-webkit-transform;transition-property:transform,opacity,height;transition-property:transform,opacity,height,-webkit-transform}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}"}},[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}]);ve=new WeakMap,ye=new WeakMap,Ee=new WeakMap,Ae=new WeakMap,ke=new WeakMap;const Me=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-core"].forEach((S=>{if("taro-swiper-core"===S)customElements.get(S)||customElements.define(S,_e)}))}},"8028":function(S,k,C){"use strict";C.d(k,{"M":function(){return re}});var M=C(7210),P=C(7109),O=C(1789);const D=(0,M.GH)(class extends M.mv{"constructor"(){super(),this.__registerHost(),this.itemId=void 0}"connectedCallback"(){this.el.className=(0,P.c)(this.el.className,"swiper-slide")}"componentDidRender"(){(0,O.h)(this.el)}"render"(){return(0,M.h)(M.AA,{"item-id":this.itemId},(0,M.h)("slot",null))}get"el"(){return this}},[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]);const re=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-item-core"].forEach((S=>{if("taro-swiper-item-core"===S)customElements.get(S)||customElements.define(S,D)}))}},"4385":function(S,k,C){"use strict";C.d(k,{"zx":function(){return Mt},"V1":function(){return Pt},"XZ":function(){return Ot},"cO":function(){return It},"l0":function(){return Lt},"JO":function(){return jt},"Ee":function(){return Dt},"II":function(){return zt},"__":function(){return Rt},"ub":function(){return Bt},"Gt":function(){return Ft},"C3":function(){return Nt},"_z":function(){return Ht},"cW":function(){return Gt},"Nf":function(){return Vt},"$o":function(){return Yt},"Ex":function(){return Wt},"Y8":function(){return $t},"FX":function(){return qt},"Ho":function(){return Xt},"pf":function(){return Ut},"iR":function(){return Zt},"tq":function(){return Kt},"t3":function(){return Qt},"rs":function(){return Jt},"xv":function(){return er},"gx":function(){return tr},"nk":function(){return rr},"G7":function(){return ir},"kh":function(){return ar}});var M=C(7294);const helper_manipulatePropsFunction=(S,k={})=>{const{"dangerouslySetInnerHTML":C,"style":M}=S;return"string"!=typeof M&&(k.style=M),Object.assign(Object.assign({},k),{"dangerouslySetInnerHTML":C})};var P=C(7210),O=C(7109);const D=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,P.yM)(this,"tarobuttonsubmit",7),this.onReset=(0,P.yM)(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}"onClick"(S){this.disabled&&S.stopPropagation()}"onTouchStart"(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}"onTouchEnd"(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}"render"(){const{"disabled":S,"hoverClass":k,"type":C,"size":M,"plain":D,"loading":re,"hover":ne}=this,se=(0,O.c)({[`${k}`]:ne&&!S});return(0,P.h)(P.AA,{"class":se,"type":C,"plain":D,"loading":re,"size":M,"disabled":S},re&&(0,P.h)("i",{"class":"weui-loading"}),(0,P.h)("slot",null))}get"el"(){return this}static get"style"(){return".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}"}},[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const re=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-button-core"].forEach((S=>{if("taro-button-core"===S)customElements.get(S)||customElements.define(S,D)}))};var ne=C(1789);const se=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,ne.n)("Camera",this)}"render"(){return(0,P.h)(P.AA,null)}},[0,"taro-camera-core"]);const oe=function taro_camera_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-camera-core"].forEach((S=>{if("taro-camera-core"===S)customElements.get(S)||customElements.define(S,se)}))},de=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"checkboxchange",7),this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchId"(S){this.isWillLoadCalled&&S&&this.inputEl.setAttribute("id",S)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"render"(){const{"checked":S,"name":k,"color":C,"value":M,"disabled":O,"nativeProps":D}=this;return(0,P.h)(P.AA,{"className":"weui-cells_checkbox"},(0,P.h)("input",Object.assign({"ref":S=>{S&&(this.inputEl=S,this.id&&S.setAttribute("id",this.id))},"type":"checkbox","value":M,"name":k,"class":"taro-checkbox_checked","style":{"color":C},"checked":S,"disabled":O,"onChange":this.handleChange},D)),(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"id":["watchId"]}}static get"style"(){return'page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}'}},[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ue=function taro_checkbox_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-core"].forEach((S=>{if("taro-checkbox-core"===S)customElements.get(S)||customElements.define(S,de)}))};var pe,__classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},__classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const he=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),pe.set(this,void 0),this.name=void 0}"function"(S){if(S.stopPropagation(),"TARO-CHECKBOX-CORE"!==S.target.tagName)return;const k=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,pe,this.getValues(k),"f"),this.onChange.emit({"value":__classPrivateFieldGet(this,pe,"f")})}"componentDidLoad"(){this.el.querySelectorAll("taro-checkbox-core").forEach((S=>{S.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!__classPrivateFieldGet(this,pe,"f")){const S=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,pe,this.getValues(S),"f")}return __classPrivateFieldGet(this,pe,"f")},"configurable":!0})}"getValues"(S){return Array.from(S).filter((S=>{const k=S.querySelector("input");return null==k?void 0:k.checked})).map((S=>S.value))}"render"(){return(0,P.h)(P.AA,null)}get"el"(){return this}},[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]);pe=new WeakMap;const fe=function taro_checkbox_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-group-core"].forEach((S=>{if("taro-checkbox-group-core"===S)customElements.get(S)||customElements.define(S,he)}))};var me,taro_form_core_classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},taro_form_core_classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const ge=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,P.yM)(this,"submit",7),me.set(this,{})}"onButtonSubmit"(S){S.stopPropagation(),taro_form_core_classPrivateFieldSet(this,me,this.getFormValue(),"f"),this.onSubmit.emit({"value":taro_form_core_classPrivateFieldGet(this,me,"f")})}"onButtonReset"(S){S.stopPropagation(),this.form.reset()}"componentDidLoad"(){taro_form_core_classPrivateFieldSet(this,me,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{"get":()=>taro_form_core_classPrivateFieldGet(this,me,"f"),"configurable":!0})}"componentDidRender"(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=S=>this.form.appendChild(S),this.el.insertBefore=(S,k)=>this.form.insertBefore(S,k),this.el.replaceChild=(S,k)=>this.form.replaceChild(S,k),this.el.removeChild=S=>this.form.removeChild(S)}"getFormValue"(){const S=this.el,k=[],C=S.getElementsByTagName("input");for(let S=0;S{"string"==typeof S.name&&(-1===S.className.indexOf("weui-switch")?"radio"!==S.type?"checkbox"!==S.type?M[S.name]=S.value:S.checked?P[S.name]?M[S.name].push(S.value):(P[S.name]=!0,M[S.name]=[S.value]):P[S.name]||(M[S.name]=[]):S.checked?(P[S.name]=!0,M[S.name]=S.value):P[S.name]||(M[S.name]=""):M[S.name]=S.checked)}));const O=S.getElementsByTagName("textarea"),D=[];for(let S=0;S{"string"==typeof S.name&&(M[S.name]=S.value)})),M}"render"(){return(0,P.h)("form",{"ref":S=>{this.form=S}},(0,P.h)("slot",null))}get"el"(){return this}},[4,"taro-form-core",void 0,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]);me=new WeakMap;const be=function taro_form_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-form-core"].forEach((S=>{if("taro-form-core"===S)customElements.get(S)||customElements.define(S,ge)}))},ve=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.type=void 0,this.size="23",this.color=void 0}"render"(){const{"type":S,"size":k,"color":C}=this,M=null==S?void 0:S.replace(/_/g,"-"),D=(0,O.c)({[`weui-icon-${M}`]:!0}),re={"font-size":`${k}px`,"color":C};return(0,P.h)(P.AA,{"class":D,"style":re})}static get"style"(){return'.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}'}},[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]);const ye=function taro_icon_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-icon-core"].forEach((S=>{if("taro-icon-core"===S)customElements.get(S)||customElements.define(S,ve)}))},Ee=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,P.yM)(this,"load",7),this.onError=(0,P.yM)(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}"componentDidLoad"(){if(!this.lazyLoad)return;const S=new IntersectionObserver((k=>{k[k.length-1].isIntersecting&&(S.unobserve(this.imgRef),this.didLoad=!0)}),{"rootMargin":"300px 0px"});S.observe(this.imgRef)}"imageOnLoad"(){const{"width":S,"height":k,"naturalWidth":C,"naturalHeight":M}=this.imgRef;this.onLoad.emit({"width":S,"height":k}),this.aspectFillMode=C>M?"width":"height"}"imageOnError"(S){this.onError.emit(S)}"render"(){const{"src":S,"lazyLoad":k=!1,"aspectFillMode":C="width","imageOnLoad":M,"imageOnError":D,"nativeProps":re,"didLoad":ne}=this,se=this.mode||"scaleToFill",oe=(0,O.c)({"taro-img__widthfix":"widthFix"===se}),de=(0,O.c)(`taro-img__mode-${se.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${C}`]:"aspectFill"===se});return(0,P.h)(P.AA,{"class":oe},S?(0,P.h)("img",Object.assign({"ref":S=>this.imgRef=S,"class":de,"src":k&&!ne?void 0:S,"onLoad":M.bind(this),"onError":D.bind(this)},re)):"")}static get"style"(){return'img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}'}},[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]);const Ae=function taro_image_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-image-core"].forEach((S=>{if("taro-image-core"===S)customElements.get(S)||customElements.define(S,Ee)}))};function getTrueType(S,k,C){if("search"===k&&(S="search"),C&&(S="password"),void 0===S)return"text";if(!S)throw new Error("unexpected type");return"digit"===S&&(S="number"),S}function fixControlledValue(S){return null!=S?S:""}const ke=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,P.yM)(this,"input",7),this.onPaste=(0,P.yM)(this,"paste",7),this.onFocus=(0,P.yM)(this,"focus",7),this.onBlur=(0,P.yM)(this,"blur",7),this.onConfirm=(0,P.yM)(this,"confirm",7),this.onChange=(0,P.yM)(this,"change",7),this.onKeyDown=(0,P.yM)(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.handleInput=S=>{S.stopPropagation();const{"type":k,"maxlength":C,"confirmType":M,"password":P}=this;if(!this.isOnComposition&&!this.onInputExcuted){let O=S.target.value;const D=getTrueType(k,M,P);this.onInputExcuted=!0,"number"===D&&O&&C>-1&&C<=O.length&&(O=O.substring(0,C),S.target.value=O),this.value=O,this.onInput.emit({"value":O,"cursor":O.length}),this.onInputExcuted=!1}},this.handlePaste=S=>{S.stopPropagation(),this.isOnPaste=!0,this.onPaste.emit({"value":S.target.value})},this.handleFocus=S=>{S.stopPropagation(),this.onInputExcuted=!1,this.onFocus.emit({"value":S.target.value})},this.handleBlur=S=>{S.stopPropagation(),this.onBlur.emit({"value":S.target.value})},this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":S.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=S.target.value,this.onInput.emit({"value":S.target.value,"cursor":S.target.value.length}))},this.handleKeyDown=S=>{S.stopPropagation();const{"value":k}=S.target,C=S.keyCode||S.code;this.onInputExcuted=!1,this.onKeyDown.emit({"value":k,"cursor":k.length,"keyCode":C}),13===C&&this.onConfirm.emit({"value":k})},this.handleComposition=S=>{S.stopPropagation(),S.target instanceof HTMLInputElement&&("compositionend"===S.type?(this.isOnComposition=!1,this.value=S.target.value,this.onInput.emit({"value":S.target.value,"cursor":S.target.value.length})):this.isOnComposition=!0)},this.handleBeforeInput=S=>{if(!S.data)return;const k=S.data&&/[0-9]/.test(S.data);"number"!==this.type||k||S.preventDefault(),"digit"!==this.type||k||("."!==S.data||"."===S.data&&S.target.value.indexOf(".")>-1)&&S.preventDefault()},this.value="",this.type=void 0,this.password=!1,this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.name=void 0,this.nativeProps={}}async"focus"(){this.inputRef.focus()}"watchAutoFocus"(S,k){var C;!k&&S&&(null===(C=this.inputRef)||void 0===C||C.focus())}"watchValue"(S){const k=fixControlledValue(S);this.inputRef.value!==k&&(this.inputRef.value=k)}"componentDidLoad"(){var S,k,C,M,P;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(S=this.inputRef)||void 0===S||S.addEventListener("change",this.fileListener)):(null===(k=this.inputRef)||void 0===k||k.addEventListener("compositionstart",this.handleComposition),null===(C=this.inputRef)||void 0===C||C.addEventListener("compositionend",this.handleComposition),null===(M=this.inputRef)||void 0===M||M.addEventListener("beforeinput",this.handleBeforeInput),null===(P=this.inputRef)||void 0===P||P.addEventListener("textInput",this.handleBeforeInput))}"disconnectedCallback"(){var S,k,C,M,P;"file"===this.type?null===(S=this.inputRef)||void 0===S||S.removeEventListener("change",this.fileListener):(null===(k=this.inputRef)||void 0===k||k.removeEventListener("compositionstart",this.handleComposition),null===(C=this.inputRef)||void 0===C||C.removeEventListener("compositionend",this.handleComposition),null===(M=this.inputRef)||void 0===M||M.removeEventListener("beforeinput",this.handleBeforeInput),null===(P=this.inputRef)||void 0===P||P.removeEventListener("textInput",this.handleBeforeInput))}"render"(){const{"value":S,"type":k,"password":C,"placeholder":M,"autoFocus":O,"disabled":D,"maxlength":re,"confirmType":ne,"name":se,"nativeProps":oe}=this;return(0,P.h)("input",Object.assign({"ref":S=>{this.inputRef=S,O&&S&&S.focus()},"class":"weui-input","type":getTrueType(k,ne,C),"placeholder":M,"autoFocus":O,"disabled":D,"maxlength":re,"name":se,"onInput":this.handleInput,"onFocus":this.handleFocus,"onBlur":this.handleBlur,"onChange":this.handleChange,"onKeyDown":this.handleKeyDown,"onPaste":this.handlePaste,"onCompositionStart":this.handleComposition,"onCompositionEnd":this.handleComposition},oe,{"value":fixControlledValue(S)}))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}"}},[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]);const Te=function taro_input_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-input-core"].forEach((S=>{if("taro-input-core"===S)customElements.get(S)||customElements.define(S,ke)}))},_e=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.for=void 0}"render"(){return(0,P.h)("label",{"htmlFor":this.for},(0,P.h)("slot",null))}},[4,"taro-label-core",{"for":[1]}]);const Me=function taro_label_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-label-core"].forEach((S=>{if("taro-label-core"===S)customElements.get(S)||customElements.define(S,_e)}))};var Pe=C(6585);const Oe=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const S=this.element.querySelectorAll("taro-movable-view-core");Array.from(S).forEach((S=>{this.views.push(S)})),this.updateArea()},this.handleTouchStart=S=>{const k=S.touches;if(!k||k.length<=1)return;const C=k[1].pageX-k[0].pageX,M=k[1].pageY-k[0].pageY;if(this.scaleLength=Math.sqrt(C*C+M*M),this.scaleArea)return;const find=(S,k)=>{const loop=(S,k)=>!!(S=S.parentNode)&&((!(0,Pe.i)(S)||S!==document.body)&&(S===k||S===k.element||S.element===k||loop(S,k)));for(let C=0;C{const k=S.touches;if(!k||k.length<=1)return;S.preventDefault();const C=k[1].pageX-k[0].pageX,M=k[1].pageY-k[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(C*C+M*M)/this.scaleLength)},this.handleTouchEnd=S=>{var k,C;S.touches&&S.touches.length||!S.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((S=>{var k;null===(k=S.endScale)||void 0===k||k.call(S)})):null===(C=null===(k=this.scaleTarget)||void 0===k?void 0:k.endScale)||void 0===C||C.call(k),this.scaleTarget=void 0)},this.updateScale=S=>{var k,C;S&&1!==S&&(this.scaleArea?this.views.forEach((k=>{var C;null===(C=k.setScale)||void 0===C||C.call(k,S)})):null===(C=null===(k=this.scaleTarget)||void 0===k?void 0:k.setScale)||void 0===C||C.call(k,S))},this.updateArea=()=>{const S=window.getComputedStyle(this.element),k=this.element.getBoundingClientRect(),C=["Left","Right"].map((k=>parseFloat(S["border"+k+"Width"])+parseFloat(S["padding"+k]))),M=["Top","Bottom"].map((k=>parseFloat(S["border"+k+"Width"])+parseFloat(S["padding"+k])));this.views.forEach((S=>{var P;null===(P=S.setParent)||void 0===P||P.call(S,{"element":this.element,"area":{"height":k.height-M[0]-M[1],"width":k.width-C[0]-C[1]}})}))},this.scaleArea=void 0}"connectedCallback"(){this.observer=new MutationObserver((S=>{S.forEach((S=>{var k,C;if("class"===S.attributeName||"style"===S.attributeName){const S=this.element.offsetWidth,M=this.element.offsetHeight;S===(null===(k=this.offset)||void 0===k?void 0:k.width)&&M===(null===(C=this.offset)||void 0===C?void 0:C.height)||this.updateArea(),this.offset={"width":S,"height":M}}}))})),this.observer.observe(this.element,{"attributes":!0})}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"componentDidLoad"(){this.viewsChanged()}"render"(){return(0,P.h)(P.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"style"(){return"taro-movable-area-core{width:10px;height:10px;display:block;position:relative}"}},[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}]);const Ie=function taro_movable_area_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-area-core"].forEach((S=>{if("taro-movable-area-core"===S)customElements.get(S)||customElements.define(S,Oe)}))},Le=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onScale=(0,P.yM)(this,"scale",7),this.onHTouchMove=(0,P.yM)(this,"htouchmove",7),this.onVTouchMove=(0,P.yM)(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={"x":0,"y":0},this.area={"width":0,"height":0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={"x":0,"y":0},this.scaleOffset={"x":0,"y":0},this.getLimitXY=(S,k)=>{let C=!1;return S>this.maxX?(S=this.maxX,C=!0):Sthis.maxY?(k=this.maxY,C=!0):k{this.animation?(this.setTransform(S,k,C,M,P,O),null==D||D()):this.setTransform(S,k,C,M,P,O)},this.setTransform=(S,k,C,M,P,O)=>{if(S=Number(S.toFixed(1)),k=Number(k.toFixed(1)),C=Number((null!=C?C:this.currentScale).toFixed(3)),!this.outOfBounds){const C=this.getLimitXY(S,k);S=C.x,k=C.y}const subtract=(S,k)=>+((1e3*S-1e3*k)/1e3).toFixed(1),D=subtract(S,this.scaleOffset.x),re=subtract(k,this.scaleOffset.y);this.translateX===S&&this.translateY===k||!P&&this.onChange.emit({"x":D,"y":re,"source":M}),C!==this.currentScale&&O&&this.onScale.emit({"scale":C,"x":D,"y":re});const ne=`translateX(${S}px) translateY(${k}px) translateZ(0px) scale(${C})`;this.element.style.transform=ne,this.element.style.webkitTransform=ne,this.translateX=S,this.translateY=k,this.currentScale=C},this.updateOffset=()=>{const offset=(S,k)=>{if(S===k||!S.offsetParent)return{"left":0,"top":0};const C=offset(S.offsetParent,k);return{"left":S.offsetLeft+C.left,"top":S.offsetTop+C.top}};if(!this.parent)return;const S=offset(this.element,this.parent);this.offset.x=S.left,this.offset.y=S.top},this.updateScaleOffset=(S=this.currentScale)=>{const k=this.element.getBoundingClientRect();this.height=k.height/this.currentScale,this.width=k.width/this.currentScale,this.scaleOffset.x=(this.width*S-this.width)/2,this.scaleOffset.y=(this.height*S-this.height)/2},this.updateBoundary=()=>{const S=0-this.offset.x+this.scaleOffset.x,k=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(S,k),this.maxX=Math.max(S,k);const C=0-this.offset.y+this.scaleOffset.y,M=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(C,M),this.maxY=Math.max(C,M)},this.updateScale=(S,k,C)=>{if(!this.scale)return;const M=this.adjustScale(S);this.updateScaleOffset(M),this.updateBoundary();const{"x":P,"y":O}=this.getLimitXY(this.translateX,this.translateY);k?this.animationTo(P,O,M,"",!0,!0,C):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(P,O,M,"",!0,!0),this.updating=!1})))},this.setOriginScale=S=>{this.originScale=S},this.adjustScale=S=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,S)),this.handleTouchStart=S=>{const k=S.touches;if(this.disabled||k.length>1||!this.element)return;const C=k[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=C.screenX,this.origin.y=C.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=S=>{const k=S.touches;if(this.disabled||!this.element||this.scaling||!this.touching||k.length>1)return;"horizontal"!==this.direction&&S.preventDefault();const C=k[0],M=C.screenX-this.origin.x,P=C.screenY-this.origin.y;if(this.setTransform(this.xMove?M+this.baseX:0,this.yMove?P+this.baseY:0),!this.firstMoveFireEvent){this.firstMoveFireEvent=!0;(Math.abs(M)>Math.abs(P)?this.onHTouchMove:this.onVTouchMove).emit({"originalEvent":S,"bubbles":!1,"capturePhase":!1,"composed":!0,"extraFields":{"touches":S.touches||{},"changedTouches":S.changedTouches||{}}})}},this.handleTouchEnd=S=>{const k=S.changedTouches[0];if(this.disabled||!this.touching||!k)return;this.touching=!1;const C=k.screenX-this.origin.x,M=k.screenY-this.origin.y;this.setTransform(this.xMove?C+this.baseX:0,this.yMove?M+this.baseY:0)},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}"watchX"(S){this.setTransform(parseFloat(`${S||0}`),this.translateY)}"watchY"(S){this.setTransform(this.translateX,parseFloat(`${S||0}`))}"watchScaleMinOrMax"(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}"watchScaleValue"(S){return!!this.scale&&(this.updateScale(S,!0),this.setOriginScale(S),S)}async"setParent"({"element":S,"area":k}){const C=this.scale?this.scaleValue:1;this.area=k,this.parent=S,this.updateOffset(),this.updateScaleOffset(C),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,C,"",!0),this.setOriginScale(C)}async"endScale"(){this.scaling=!1,this.setOriginScale(this.currentScale)}async"setScale"(S){this.scale&&(this.scaling=!0,this.updateScale(S*this.originScale))}"connectedCallback"(){this.observer=new MutationObserver((S=>{S.forEach((S=>{const k=S.attributeName;if(k&&["class","style"].includes(k)){const C=S.oldValue,M=S.target.getAttribute(k);if(C===M)return;const filter=S=>null==S?void 0:S.split(";").filter((S=>!["transform","will-change"].find((k=>S.trim().startsWith(k))))).join(";");if("style"===k&&filter(M)===filter(C))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{"attributes":!0,"attributeOldValue":!0})}"disconnectedCallback"(){var S;null===(S=this.observer)||void 0===S||S.disconnect()}"componentDidLoad"(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const S=parseFloat(`${this.x||0}`),k=parseFloat(`${this.y||0}`);this.setTransform(S,k)}}"render"(){return(0,P.h)(P.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"watchers"(){return{"x":["watchX"],"y":["watchY"],"scaleMin":["watchScaleMinOrMax"],"scaleMax":["watchScaleMinOrMax"],"scaleValue":["watchScaleValue"]}}static get"style"(){return"taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}"}},[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]);const je=function taro_movable_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-view-core"].forEach((S=>{if("taro-movable-view-core"===S)customElements.get(S)||customElements.define(S,Le)}))};var De=C(4536);const ze=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onSuccess=(0,P.yM)(this,"cuccess",7),this.onFail=(0,P.yM)(this,"fail",7),this.onComplete=(0,P.yM)(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}"onClick"(){const{"openType":S,"onSuccess":k,"onFail":C,"onComplete":M}=this;let P=Promise.resolve();switch(S){case"navigate":P=De.ZP.navigateTo({"url":this.url});break;case"redirect":P=De.ZP.redirectTo({"url":this.url});break;case"switchTab":P=De.ZP.switchTab({"url":this.url});break;case"reLaunch":P=De.ZP.reLaunch({"url":this.url});break;case"navigateBack":P=De.ZP.navigateBack({"delta":this.delta});break;case"exit":P=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}P&&P.then((S=>{k.emit(S)})).catch((S=>{C.emit(S)})).finally((()=>{M.emit()}))}"render"(){const{"isHover":S,"hoverClass":k}=this;return(0,P.h)(P.AA,{"class":(0,O.c)({[k]:S})})}static get"style"(){return".navigator-hover{background:#efefef}"}},[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]);const Re=function taro_navigator_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-navigator-core"].forEach((S=>{if("taro-navigator-core"===S)customElements.get(S)||customElements.define(S,ze)}))},Be=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,ne.n)("PageContainer",this)}"render"(){return(0,P.h)(P.AA,null)}},[0,"taro-page-container-core"]);const Fe=function taro_page_container_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-page-container-core"].forEach((S=>{if("taro-page-container-core"===S)customElements.get(S)||customElements.define(S,Be)}))},Ne=102,He=34,Ge=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onColumnChange=(0,P.yM)(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}"getPosition"(){const S=this.touchEnd?.3:0,k=`translate3d(0, ${this.height}px, 0)`,C=`transform ${S}s`;return{"transform":k,"-webkit-transform":k,"transition":C,"-webkit-transition":C}}"formulaUnlimitedScroll"(S,k,C){const{"height":M,"updateHeight":P,"columnId":O}=this,D="up"===C?1:-1;this.touchEnd=!1,P(-S*D*He+M,O),requestAnimationFrame((()=>{this.touchEnd=!0;const C=Math.round(k/-34)+S*D;P(Ne-He*C,O,!0)}))}async"handleMoveStart"(S){this.startY=S,this.preY=S,this.hadMove=!1}async"handleMoving"(S){const k=S,C=k-this.preY;this.preY=k,this.touchEnd=!1,Math.abs(k-this.startY)>10&&(this.hadMove=!0);let M=this.height+C;"time"===this.mode&&("0"===this.columnId?(M>0&&(M=-816+C),M<-850&&(M=-34+C)):"1"===this.columnId&&(M>0&&(M=-2040+C),M<-2074&&(M=-34+C))),this.updateHeight(M,this.columnId)}async"handleMoveEnd"(S){const{"mode":k,"range":C,"height":M,"updateHeight":P,"columnId":O}=this,D=-34*(C.length-1),re=S;let ne;if(this.touchEnd=!0,this.hadMove)ne=M-Ne;else{const S=window.innerHeight;if(ne=M-Ne-(re-(S-119)),"time"===k)if("0"===O){if(ne>-85)return this.formulaUnlimitedScroll(24,ne,"up");if(ne<-969)return this.formulaUnlimitedScroll(24,ne,"down")}else if("1"===O){if(ne>-85)return this.formulaUnlimitedScroll(60,ne,"up");if(ne<-2193)return this.formulaUnlimitedScroll(60,ne,"down")}}ne>0&&(ne=0),ne{const C=k?S[k]:S;return(0,P.h)("div",{"class":"weui-picker__item"},C)}));return(0,P.h)(P.AA,{"class":"weui-picker__group"},(0,P.h)("div",{"class":"weui-picker__mask"}),(0,P.h)("div",{"class":"weui-picker__indicator"}),(0,P.h)("div",{"class":"weui-picker__content","style":this.getPosition()},C))}},[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);function getTimeRange(S,k){const C=[];for(let M=S;M<=k;M++)C.push(`${M<10?"0":""}${M}`);return C}const Ye=["20","21","22","23",...getTimeRange(0,23),"00","01","02","03"],Ve=["56","57","58","59",...getTimeRange(0,59),"00","01","02","03"];function verifyValue(S,k){return!isNaN(+S)&&S>=0&&S+S));return!(k[0]<0||k[0]>23)&&!(k[1]<0||k[1]>59)}function compareTime(S,k){const C=S.split(":").map((S=>+S)),M=k.split(":").map((S=>+S));return C[0]String(S))):S,k}function getDateRange(S,k){const C=[];for(let M=S;M<=k;M++)C.push(M);return C}function getYearRange(S,k){return getDateRange(S,k)}function getMonthRange(S,k,C){let M=1,P=12;return S.getFullYear()===C&&(M=S.getMonth()+1),k.getFullYear()===C&&(P=k.getMonth()+1),getDateRange(M,P)}function getDayRange(S,k,C,M){let P=1,O=function getMaxDay(S,k){return 4===k||6===k||9===k||11===k?30:2===k?S%4==0&&S%100!=0||S%400==0?29:28:31}(C,M);return S.getFullYear()===C&&S.getMonth()+1===M&&(P=S.getDate()),k.getFullYear()===C&&k.getMonth()+1===M&&(O=k.getDate()),getDateRange(P,O)}const We=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onColumnChange=(0,P.yM)(this,"columnchange",7),this.onCancel=(0,P.yM)(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((S=>{let k=0;return"time"===this.mode&&(k=136),Ne-He*S-k})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((S=>(Ne-S)/He));let S=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const k=[Ye.slice(),Ve.slice()],C=this.index.map(((S,C)=>k[C][S]));this.index=C.map((S=>parseInt(S))),S=C.join(":")}if("date"===this.mode){const{"_start":k,"_end":C,"_updateValue":M}=this.pickerDate,P=M[0],O=M[1],D=getYearRange(k.getFullYear(),C.getFullYear()),re=getMonthRange(k,C,P),ne=getDayRange(k,C,P,O),se=D[this.index[0]],oe=re[this.index[1]],de=ne[this.index[2]];S="year"===this.fields?[se]:"month"===this.fields?[se,oe]:[se,oe,de],S=S.map((S=>S<10?`0${S}`:S)).join("-")}this.value=S,this.pickerValue=this.value,this.onChange.emit({"value":S})},this.handleColumnChange=S=>{const{"columnId":k,"height":C}=S.detail;this.onColumnChange.emit({"column":Number(k),"value":(Ne-C)/He})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(S,k,C=!1)=>{const M=[...this.height];if(M[k]=S,this.height=M,C){let{"start":S,"end":k}=this;if(verifyTime(S)||(S="00:00"),verifyTime(k)||(k="23:59"),!compareTime(S,k))return;const C=[Ye.slice(),Ve.slice()],M=this.height.map((S=>(Ne-S)/He)).map(((S,k)=>C[k][S])).join(":");if(compareTime(S,M)){if(!compareTime(M,k)){const S=k.split(":").map((S=>Ne-He*(+S+4)));requestAnimationFrame((()=>this.height=S))}}else{const k=S.split(":").map((S=>Ne-He*(+S+4)));requestAnimationFrame((()=>this.height=k))}}},this.updateDay=(S,k)=>{const{"_start":C,"_end":M,"_updateValue":P}=this.pickerDate;P[k]=S;const O=P[0],D=P[1],re=P[2];if(0===k){const S=getMonthRange(C,M,O),k=S[S.length-1],re=S[0];D>k&&(P[1]=k),Dk&&(P[2]=k),re(0,P.h)("taro-picker-group",{"range":this.range,"rangeKey":this.rangeKey,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),this.getMultiSelector=()=>this.range.map(((S,k)=>(0,P.h)("taro-picker-group",{"range":S,"rangeKey":this.rangeKey,"height":this.height[k],"updateHeight":this.updateHeight,"onColumnChange":this.handleColumnChange,"columnId":String(k)}))),this.getTimeSelector=()=>{const S=Ye.slice(),k=Ve.slice();return[(0,P.h)("taro-picker-group",{"mode":"time","range":S,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),(0,P.h)("taro-picker-group",{"mode":"time","range":k,"height":this.height[1],"updateHeight":this.updateHeight,"columnId":"1"})]},this.getDateSelector=()=>{const{"fields":S,"height":k}=this,{"_start":C,"_end":M,"_updateValue":O}=this.pickerDate,D=O[0],re=O[1],ne=getYearRange(C.getFullYear(),M.getFullYear()).map((S=>`${S}年`)),se=getMonthRange(C,M,D).map((S=>`${S<10?`0${S}`:S}月`)),oe=getDayRange(C,M,D,re).map((S=>`${S<10?`0${S}`:S}日`)),de=[(0,P.h)("taro-picker-group",{"mode":"date","range":ne,"height":k[0],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"0"})];return"month"!==S&&"day"!==S||de.push((0,P.h)("taro-picker-group",{"mode":"date","range":se,"height":k[1],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"1"})),"day"===S&&de.push((0,P.h)("taro-picker-group",{"mode":"date","range":oe,"height":k[2],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"2"})),de},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}"componentWillLoad"(){this.isWillLoadCalled=!0,this.handleProps()}"componentDidLoad"(){this.overlay&&document.body.appendChild(this.overlay)}"disconnectedCallback"(){var S;this.overlay&&(null===(S=this.overlay.parentNode)||void 0===S||S.removeChild(this.overlay))}"onPropsChange"(){this.isWillLoadCalled&&this.handleProps()}"handleProps"(){const{"mode":S,"start":k,"end":C}=this;if("selector"===S){const S=this.value;this.index=[verifyValue(S,this.range)?Math.floor(S):0]}else if("multiSelector"===S){const S=this.value;this.index=[],this.range.forEach(((k,C)=>{const M=null==S?void 0:S[C],P=verifyValue(M,k)?Math.floor(M):0;this.index.push(P)}))}else if("time"===S){let S=this.value;verifyTime(S)||(console.warn("time picker value illegal"),S="0:0");const k=S.split(":").map((S=>+S));this.index=k}else{if("date"!==S)throw new Error(`Picker not support "${S}" mode.`);{let S=verifyDate(this.value)||new Date((new Date).setHours(0,0,0,0));const M=verifyDate(k)||new Date("1970/01/01"),P=verifyDate(C)||new Date("2999/01/01");if(!(M<=P))throw new Error("Picker start time must be less than end time.");S>=M&&S<=P||(S=M);const O=S.getFullYear(),D=S.getMonth()+1,re=S.getDate(),ne=getYearRange(M.getFullYear(),P.getFullYear()),se=getMonthRange(M,P,O),oe=getDayRange(M,P,O,D);this.index=[ne.indexOf(O),se.indexOf(D),oe.indexOf(re)],this.pickerDate&&this.pickerDate._value.getTime()===S.getTime()&&this.pickerDate._start.getTime()===M.getTime()&&this.pickerDate._end.getTime()===P.getTime()||(this.pickerDate={"_value":S,"_start":M,"_end":P,"_updateValue":[O,D,re]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===S){const S=this.pickerValue;"month"===this.fields?this.pickerValue=S.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=S.split("-")[0])}}"render"(){var S,k;const{"name":C,"mode":M,"fadeOut":D,"hidden":re}=this;let ne;switch(M){case"multiSelector":ne=this.getMultiSelector();break;case"time":ne=this.getTimeSelector();break;case"date":ne=this.getDateSelector();break;default:ne=this.getSelector()}const se=(0,O.c)("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":D}),oe=(0,O.c)("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":D}),de=re?{"display":"none"}:{};return(0,P.h)(P.AA,null,(0,P.h)("div",{"onClick":this.showPicker},(0,P.h)("slot",null),(0,P.h)("input",{"type":"hidden","name":C,"value":formatValue(this.pickerValue)})),(0,P.h)("div",{"class":"weui-picker__overlay","style":de,"ref":S=>{this.overlay=S}},(0,P.h)("div",{"class":se,"onClick":this.handleCancel}),(0,P.h)("div",{"class":oe},(0,P.h)("div",{"class":"weui-picker__hd"},(0,P.h)("div",{"class":"weui-picker__action","onClick":this.handleCancel},null!==(S=this.textProps.cancelText)&&void 0!==S?S:"取消"),(0,P.h)("div",{"class":"weui-picker__action","onClick":this.handleChange},null!==(k=this.textProps.okText)&&void 0!==k?k:"确定")),(0,P.h)("div",{"class":"weui-picker__bd"},ne),(0,P.h)("input",{"type":"hidden","name":C,"value":formatValue(this.pickerValue)}))))}get"el"(){return this}static get"watchers"(){return{"mode":["onPropsChange"],"value":["onPropsChange"],"range":["onPropsChange"],"start":["onPropsChange"],"end":["onPropsChange"]}}static get"style"(){return'.weui-mask{z-index:1000;background:rgba(0,0,0,.6);position:fixed;inset:0}.weui-mask_transparent{z-index:1000;position:fixed;inset:0}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;flex:1;display:block}.weui-picker__action:first-child{text-align:left;color:#888}.weui-picker__action:last-child{text-align:right}.weui-picker__bd{background-color:#fff;height:238px;display:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));background-position:top,bottom;background-repeat:no-repeat;background-size:100% 102px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;margin:0 auto;position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.weui-picker__indicator{z-index:3;width:100%;height:34px;position:absolute;top:102px;left:0}.weui-picker__indicator:before{content:" ";color:#e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__content{width:100%;position:absolute;top:0;left:0}.weui-picker__item{text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;height:34px;padding:0;line-height:34px;overflow:hidden}.weui-picker__item_disabled{color:#999}.weui-picker,.weui-picker__hd{font-size:12px}'}},[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}]);const $e=function taro_picker_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-core","taro-picker-group"].forEach((S=>{switch(S){case"taro-picker-core":customElements.get(S)||customElements.define(S,We);break;case"taro-picker-group":customElements.get(S)||function picker_group_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-picker-group"].forEach((S=>{"taro-picker-group"===S&&(customElements.get(S)||customElements.define(S,Ge))}))}()}}))},qe=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"onselect",7),this.onSelectStart=(0,P.yM)(this,"onselectstart",7),this.onSelectEnd=(0,P.yM)(this,"onselectend",7),this.handleSelected=(0,Pe.d)((()=>{const S=this.el.childNodes;let k=0,C="0";for(const M in S){const P=S[M].offsetHeight;if(k+P/2>this.el.scrollTop){C=M;break}k+=P}this.el.scrollTo({"top":k,"behavior":"smooth"}),this.onChange.emit({"curIndex":this.col,"selectedIndex":C}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1}"onTouchStart"(){this.onSelectStart.emit()}"onTouchEnd"(){this.handleSelected()}"componentDidLoad"(){this.handleChange()}"componentDidUpdate"(){this.handleChange()}"handleChange"(){const S=this.el.childNodes;let k=0,C=0;for(const M in S){const P=S[M];if(this.initialPosition===M||!P||"number"!=typeof P.offsetHeight)break;C+=P.offsetHeight,k++}this.el.scrollTo({"top":C}),k>=S.length&&this.onChange.emit({"curIndex":this.col,"selectedIndex":k-1})}"render"(){const{"paddingVertical":S=0}=this;return(0,P.h)(P.AA,{"class":"taro-picker-view-column-container","style":{"padding-top":`${S}px`,"padding-bottom":`${S}px`}})}get"el"(){return this}static get"style"(){return".taro-picker-view-column-container{text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;position:relative;overflow:hidden scroll}.taro-picker-view-column-container::-webkit-scrollbar{display:none}"}},[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const Xe=function taro_picker_view_column_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-column-core"].forEach((S=>{if("taro-picker-view-column-core"===S)customElements.get(S)||customElements.define(S,qe)}))};function convertStyle(S){if(S){const k=/([\w-]*)\s*:\s*([^;]*)/g,C={};let M;for(;M=k.exec(S);)C[`${M[1]}`]=M[2].trim();return C}}const Ue=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onPickStart=(0,P.yM)(this,"pickstart",7),this.onPickEnd=(0,P.yM)(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}"onPropsChange"(){this.handleValueChange()}"onSelect"(S){if(S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"!==S.target.tagName)return;let k=+S.detail.curIndex,C=+S.detail.selectedIndex;this.value[k]=C,this.onChange.emit({"value":this.value})}"onSelectStart"(S){S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===S.target.tagName&&this.onPickStart.emit()}"onPickerColEnd"(S){S.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===S.target.tagName&&this.onPickEnd.emit()}"componentDidLoad"(){this.handleValueChange()}"handleValueChange"(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((S,k)=>{var C;S.setAttribute("col",`${k}`);let M=0;this.value&&this.value.length>k&&(M=this.value[k]);const P=(this.el.getBoundingClientRect().height-((null===(C=this.indicator)||void 0===C?void 0:C.offsetHeight)||0))/2;S.setAttribute("initial-position",`${M}`),S.setAttribute("padding-vertical",`${P}`)}))}"componentDidRender"(){this.el.childNodes.forEach((S=>{const k=S;"TARO-PICKER-VIEW-COLUMN-CORE"!==k.tagName&&"taro-picker-view-mask-container"!==k.className&&this.el.removeChild(S)}))}"render"(){const S=(0,O.c)("taro-picker-view-mask-indicator",this.indicatorClass),k=(0,O.c)("taro-picker-view-mask-top",this.maskClass),C=(0,O.c)("taro-picker-view-mask-bottom",this.maskClass),M=convertStyle(this.indicatorStyle),D=convertStyle(this.maskStyle),re=convertStyle(this.maskStyle);return(0,P.h)(P.AA,{"class":"taro-picker-view-container"},(0,P.h)("slot",null),(0,P.h)("div",{"class":"taro-picker-view-mask-container"},(0,P.h)("div",{"class":k,"style":D}),(0,P.h)("div",{"class":S,"style":M,"ref":S=>this.indicator=S}),(0,P.h)("div",{"class":C,"style":re})))}get"el"(){return this}static get"watchers"(){return{"value":["onPropsChange"]}}static get"style"(){return".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{pointer-events:none;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;position:absolute;inset:0}.taro-picker-view-mask-indicator{border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px;display:-ms-flexbox;display:flex}.taro-picker-view-mask-top{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6));-ms-flex:1;flex:1}.taro-picker-view-mask-bottom{background:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background:linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));-ms-flex:1;flex:1}"}},[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]);const Ze=function taro_picker_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-core"].forEach((S=>{if("taro-picker-view-core"===S)customElements.get(S)||customElements.define(S,Ue)}))},Ke=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}"render"(){const{"percent":S,"showInfo":k,"borderRadius":C,"fontSize":M,"strokeWidth":O,"activeColor":D,"backgroundColor":re,"active":ne}=this,se=S>100?100:S<0?0:S,oe={"height":O+"px","backgroundColor":re},de=ne?"width 1s ease-in-out":"none",ue={"width":`${se}%`,"transition":de,"WebkitTransition":de,"backgroundColor":D,"borderRadius":C?`${C}px`:"0px"};return(0,P.h)(P.AA,{"class":"weui-progress"},(0,P.h)("div",{"class":"weui-progress__bar","style":oe},(0,P.h)("div",{"class":"weui-progress__inner-bar","style":ue})),k&&(0,P.h)("div",{"class":"weui-progress__opr","style":{"font-size":`${M}px`}},(0,P.h)("span",null,se,"%")))}static get"style"(){return".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}"}},[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]);const Qe=function taro_progress_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-progress-core"].forEach((S=>{if("taro-progress-core"===S)customElements.get(S)||customElements.define(S,Ke)}))},Je=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"radiochange",7),this.handleClick=S=>{S.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchChecked"(S){this.isWillLoadCalled&&S&&this.onChange.emit({"value":this.value})}"watchId"(S){this.isWillLoadCalled&&S&&this.inputEl.setAttribute("id",S)}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"componentWillLoad"(){this.isWillLoadCalled=!0}"render"(){const{"checked":S,"name":k,"value":C,"disabled":M,"nativeProps":O}=this;return(0,P.h)(P.AA,{"className":"weui-cells_checkbox","onClick":this.handleClick},(0,P.h)("input",Object.assign({"ref":S=>{S&&(this.inputEl=S,this.id&&S.setAttribute("id",this.id))},"type":"radio","name":k,"value":C,"class":"weui-check","checked":S,"disabled":M,"onChange":S=>S.stopPropagation()},O)),(0,P.h)("i",{"class":"weui-icon-checked"}),(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"checked":["watchChecked"],"id":["watchId"]}}},[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const et=function taro_radio_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-core"].forEach((S=>{if("taro-radio-core"===S)customElements.get(S)||customElements.define(S,Je)}))};var tt,taro_radio_group_core_classPrivateFieldSet=function(S,k,C,M,P){if("m"===M)throw new TypeError("Private method is not writable");if("a"===M&&!P)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof k?S!==k||!P:!k.has(S))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===M?P.call(S,C):P?P.value=C:k.set(S,C),C},taro_radio_group_core_classPrivateFieldGet=function(S,k,C,M){if("a"===C&&!M)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof k?S!==k||!M:!k.has(S))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===C?M:"a"===C?M.call(S):M?M.value:k.get(S)};const rt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),tt.set(this,void 0),this.name=void 0}"function"(S){if(S.stopPropagation(),"TARO-RADIO-CORE"!==S.target.tagName)return;const k=S.target;if(k.checked){this.el.querySelectorAll("taro-radio-core").forEach((S=>{S!==k&&(S.checked=!1)})),taro_radio_group_core_classPrivateFieldSet(this,tt,S.detail.value,"f"),this.onChange.emit({"value":taro_radio_group_core_classPrivateFieldGet(this,tt,"f")})}}"componentDidLoad"(){this.el.querySelectorAll("taro-radio-core").forEach((S=>{S.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!taro_radio_group_core_classPrivateFieldGet(this,tt,"f")){const S=this.el.querySelectorAll("taro-radio-core");taro_radio_group_core_classPrivateFieldSet(this,tt,this.getValues(S),"f")}return taro_radio_group_core_classPrivateFieldGet(this,tt,"f")},"configurable":!0})}"getValues"(S){let k="";return Array.from(S).forEach((S=>{const C=S.querySelector("input");(null==C?void 0:C.checked)&&(k=C.value||"")})),k}"render"(){return(0,P.h)(P.AA,{"class":"weui-cells_radiogroup"})}get"el"(){return this}},[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]);tt=new WeakMap;const it=function taro_radio_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-group-core"].forEach((S=>{if("taro-radio-group-core"===S)customElements.get(S)||customElements.define(S,rt)}))},at=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.renderNode=S=>{if("type"in S&&"text"===S.type){return(S.text||"").replace(/ /g," ")}if("name"in S&&S.name){const{"name":k,"attrs":C,"children":M}=S,O={};let D=[];if(C&&"object"==typeof C)for(const S in C){const k=C[S];if("style"!==S||"string"!=typeof k)O[S]=k;else{const S=k.split(";").map((S=>S.trim())).filter((S=>S)),C={};S.forEach((S=>{if(!S)return;const k=/(.+): *(.+)/g.exec(S);if(!k)return;const[,M,P]=k,O=M.replace(/-([a-z])/g,((...S)=>S[1].toUpperCase()));C[O]=P})),Object.keys(C).length&&(O.style=C)}}return M&&M.length&&(D=M.map((S=>this.renderNode(S)))),(0,P.h)(k,O,D)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}"render"(){const{"nodes":S,"renderNode":k}=this;return Array.isArray(S)?(0,P.h)(P.AA,null,S.map((S=>k(S)))):(0,P.h)(P.AA,{"innerHTML":S})}static get"style"(){return"taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}"}},[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]);const nt=function taro_rich_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-rich-text-core"].forEach((S=>{if("taro-rich-text-core"===S)customElements.get(S)||customElements.define(S,at)}))};function easeOutScroll(S,k,C=500,M){if(S===k||"number"!=typeof S)return;const P=k-S,O=Date.now(),D=k>=S;!function step(){S=function linear(S,k,C,M){return C*S/M+k}(Date.now()-O,S,P,C),D&&S>=k||!D&&k>=S?M(k):(M(S),requestAnimationFrame(step))}()}const st=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onScroll=(0,P.yM)(this,"scroll",3),this.onScrollToUpper=(0,P.yM)(this,"scrolltoupper",3),this.onScrollToLower=(0,P.yM)(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=(0,Pe.d)((()=>{const{"offsetWidth":S,"offsetHeight":k,"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O}=this.el,D=Number(this.lowerThreshold),re=Number(this.upperThreshold);!isNaN(D)&&(this.scrollY&&k+M+D>=P||this.scrollX&&S+C+D>=O)&&this.onScrollToLower.emit({"direction":this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(re)&&(this.scrollY&&M<=re||this.scrollX&&C<=re)&&this.onScrollToUpper.emit({"direction":this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}"watchScrollLeft"(S){const k=Number(S),{"animated":C}=this;this.mpScrollToMethod({"left":k,"animated":C})}"watchScrollTop"(S){const k=Number(S),{"animated":C}=this;this.mpScrollToMethod({"top":k,"animated":C})}"watchScrollIntoView"(S){this.mpScrollIntoViewMethod(S)}"handleScroll"(S){var k;if(S instanceof CustomEvent)return;S.stopPropagation(),null===(k=S.stopImmediatePropagation)||void 0===k||k.call(S);const{"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O}=this.el;this._scrollLeft=C,this._scrollTop=M,this.upperAndLower(),this.onScroll.emit({"scrollLeft":C,"scrollTop":M,"scrollHeight":P,"scrollWidth":O})}"handleTouchMove"(S){S instanceof CustomEvent||S.stopPropagation()}async"mpScrollToMethod"(S){let{"top":k,"left":C,"duration":M,"animated":P=!1}=S;this.scrollY&&"number"==typeof k&&!isNaN(k)&&k!==this._scrollTop&&(P?easeOutScroll(this._scrollTop,k,M,(S=>this.el.scrollTop=S)):this.el.scrollTop=k,this._scrollTop=k),this.scrollX&&"number"==typeof C&&!isNaN(C)&&C!==this._scrollLeft&&(P?easeOutScroll(this._scrollLeft,C,M,(S=>this.el.scrollLeft=S)):this.el.scrollLeft=C,this._scrollLeft=C)}async"mpScrollIntoViewMethod"(S){var k;"string"==typeof S&&S&&(null===(k=document.querySelector(`#${S}`))||void 0===k||k.scrollIntoView({"behavior":this.animated?"smooth":"auto","block":this.scrollY&&this.mpScrollIntoViewAlignment||"center","inline":this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}"componentDidLoad"(){const S=Number(this.mpScrollTop),k=Number(this.mpScrollLeft),{"animated":C}=this;this.mpScrollToMethod({"top":S,"left":k,"animated":C})}"componentDidRender"(){(0,ne.h)(this.el)}"render"(){const{"scrollX":S,"scrollY":k}=this,C=(0,O.c)({"taro-scroll-view__scroll-x":S,"taro-scroll-view__scroll-y":k});return(0,P.h)(P.AA,{"class":C},(0,P.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"mpScrollLeft":["watchScrollLeft"],"mpScrollTop":["watchScrollTop"],"mpScrollIntoView":["watchScrollIntoView"]}}static get"style"(){return"taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}"}},[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]);const ot=function taro_scroll_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-scroll-view-core"].forEach((S=>{if("taro-scroll-view-core"===S)customElements.get(S)||customElements.define(S,st)}))},lt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.onChanging=(0,P.yM)(this,"changing",7),this.handleTouchStart=S=>{this.touching||this.disabled||(this.touching=!0,this.touchId=S.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=S.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=S=>{const{"disabled":k,"touching":C,"touchId":M,"totalWidth":P,"max":O,"min":D,"ogX":re,"ogPercent":ne}=this;if(!C||k)return;if(S.targetTouches[0].identifier!==M)return;S.preventDefault();let se=(S.targetTouches[0].pageX-re)/P*100+ne;se=this.handleValueUpdate(se,0,100);const oe=D+.01*se*(O-D);this.updateByStep(oe),this.onChanging.emit({"detail":S.detail,"value":this.value})},this.handleTouchEnd=S=>{const{"disabled":k,"touching":C}=this;C&&!k&&(this.percent!==this.ogPercent&&this.onChange.emit({"detail":S.detail,"value":this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(S,k=this.min,C=this.max)=>(S=isNaN(S)?0:S,Math.max(k,Math.min(S,C))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}"function"(S){if(!this.isWillLoadCalled)return;const{"max":k,"min":C}=this;if(null!==S){const M=this.handleValueUpdate(S,C,k);this.updateByStep(M)}}"componentDidLoad"(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}"componentWillLoad"(){this.isWillLoadCalled=!0;const{"value":S,"max":k,"min":C}=this,M=this.handleValueUpdate(S,C,k);this.updateByStep(M)}"updateByStep"(S){const{"max":k,"min":C,"step":M}=this,P=Math.floor((k-C)/M);for(let k=0;k<=P;k++){const O=C+M*k,D=k===P?null:C+M*(k+1);if(S===O)break;if(!D&&S>O&&(S=O),D&&S>O&&S100?100:D,de={"width":`${oe}%`,"backgroundColor":C};ne<12&&(ne=12),ne>28&&(ne=28);const ue={"left":`${oe}%`,"width":`${ne}px`,"height":`${ne}px`,"backgroundColor":M,"marginTop":`-${Math.floor(ne/2)}px`,"marginLeft":`-${Math.floor(ne/2)}px`};return(0,P.h)(P.AA,{"class":"weui-slider-box"},(0,P.h)("div",{"class":"weui-slider"},(0,P.h)("div",{"class":"weui-slider__inner","style":se,"ref":S=>this.sliderInsRef=S},(0,P.h)("div",{"style":de,"class":"weui-slider__track"}),(0,P.h)("div",{"class":"weui-slider__handler","ref":S=>{S&&(this.handler=S)},"style":ue}),(0,P.h)("input",{"type":"hidden","name":O,"value":re}))),S&&(0,P.h)("div",{"class":"weui-slider-box__value"},re))}get"el"(){return this}static get"watchers"(){return{"value":["function"]}}static get"style"(){return".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}"}},[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]);const ct=function taro_slider_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-slider-core"].forEach((S=>{if("taro-slider-core"===S)customElements.get(S)||customElements.define(S,lt)}))},dt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,P.yM)(this,"change",7),this.switchChange=S=>{S.stopPropagation();const k=S.target.checked;this.checked=k,this.onChange.emit({"value":k})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"function"(S){this.isWillLoadCalled&&this.inputRef.checked!==S&&(this.inputRef.checked=S)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){Object.defineProperty(this.el,"value",{"get":()=>this.checked,"configurable":!0})}"render"(){const{"type":S,"color":k,"checked":C,"name":M,"disabled":O,"nativeProps":D}=this,re=C?{"borderColor":k||"04BE02","backgroundColor":k||"04BE02"}:{};return(0,P.h)("input",Object.assign({"ref":S=>{this.inputRef=S},"type":"checkbox","class":`weui-${S}`,"style":re,"checked":C,"name":M,"disabled":O,"onChange":this.switchChange},D))}get"el"(){return this}static get"watchers"(){return{"checked":["function"]}}static get"style"(){return'.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}'}},[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ut=function taro_switch_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-switch-core"].forEach((S=>{if("taro-switch-core"===S)customElements.get(S)||customElements.define(S,dt)}))},pt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}"render"(){const S={};return"number"==typeof this.numberOfLines&&(S["--line-clamp"]=this.numberOfLines),(0,P.h)(P.AA,{"style":S},(0,P.h)("slot",null))}static get"style"(){return"taro-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}"}},[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]);const ht=function taro_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-text-core"].forEach((S=>{if("taro-text-core"===S)customElements.get(S)||customElements.define(S,pt)}))};function taro_textarea_core_fixControlledValue(S){return null!=S?S:""}const ft=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,P.yM)(this,"input",7),this.onFocus=(0,P.yM)(this,"focus",7),this.onBlur=(0,P.yM)(this,"blur",7),this.onConfirm=(0,P.yM)(this,"confirm",7),this.onChange=(0,P.yM)(this,"change",7),this.onLineChange=(0,P.yM)(this,"linechange",7),this.onKeyDown=(0,P.yM)(this,"keydown",7),this.handleInput=S=>{S.stopPropagation(),this.handleLineChange();const k=S.target.value||"";this.value=k,this.onInput.emit({"value":k,"cursor":k.length})},this.handleFocus=S=>{S.stopPropagation(),this.onFocus.emit({"value":S.target.value})},this.handleBlur=S=>{S.stopPropagation(),this.onBlur.emit({"value":S.target.value})},this.handleChange=S=>{S.stopPropagation(),this.onChange.emit({"value":S.target.value})},this.handleLineChange=()=>{const S=this.getNumberOfLines();S!==this.line&&(this.line=S,this.onLineChange.emit({"height":this.textareaRef.clientHeight,"lineCount":this.line}))},this.handleKeyDown=S=>{S.stopPropagation();const{"value":k}=S.target,C=S.keyCode||S.code;this.onKeyDown.emit({"value":k,"cursor":k.length,"keyCode":C}),13===C&&this.onConfirm.emit({"value":k})},this.calculateContentHeight=(S,k)=>{let C=S.style.height,M=S.offsetHeight,P=S.scrollHeight,O=S.style.overflow,D=S.style.minHeight||null;if(!(M>=P))return P;if(S.style.minHeight=0,S.style.height=M+k+"px",S.style.overflow="hidden",P=S.scrollHeight;)S.style.height=(M-=k)+"px";for(;S.offsetHeight{const S=this.textareaRef,k=window.getComputedStyle?window.getComputedStyle(S):S.style,C=parseInt(k.lineHeight,10),M=this.calculateContentHeight(S,C);return Math.floor(M/C)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}"watchAutoFocus"(S,k){var C;!k&&S&&(null===(C=this.textareaRef)||void 0===C||C.focus())}"watchValue"(S){const k=taro_textarea_core_fixControlledValue(S);this.textareaRef.value!==k&&(this.textareaRef.value=k)}async"focus"(){this.textareaRef.focus()}"render"(){const{"value":S,"placeholder":k,"disabled":C,"maxlength":M,"autoFocus":O,"autoHeight":D,"name":re,"nativeProps":ne,"handleInput":se,"handleFocus":oe,"handleBlur":de,"handleChange":ue}=this,pe={};return D&&(pe.rows=this.line),(0,P.h)("textarea",Object.assign({"ref":S=>{S&&(this.textareaRef=S,O&&S&&S.focus())},"class":"taro-textarea "+(D?"auto-height":""),"value":taro_textarea_core_fixControlledValue(S),"placeholder":k,"name":re,"disabled":C,"maxlength":M,"autofocus":O,"onInput":se,"onFocus":oe,"onBlur":de,"onChange":ue,"onKeyDown":this.handleKeyDown},ne,pe))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return"taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}"}},[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]);const mt=function taro_textarea_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-textarea-core"].forEach((S=>{if("taro-textarea-core"===S)customElements.get(S)||customElements.define(S,ft)}))},formatTime=S=>{if(!S)return"";const k=Math.round(S%60),C=Math.round((S-k)/60);return`${C<10?`0${C}`:C}:${k<10?`0${k}`:k}`},normalizeNumber=S=>Math.max(-1,Math.min(S,1));let gt="default";const bt=function(){let S;const k=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var C=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let M=0;const P=k.length,O={};for(;M{let k=S-this.progressDimensions.left;return k=Math.max(k,0),k=Math.min(k,this.progressDimensions.width),k/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=S=>{S.stopPropagation();const k=this.calcPercentage(S.pageX);this.seekFunc(k*this.duration),this.toggleVisibility(!0)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 0}"onDocumentTouchMove"(S){if(!this.isDraggingProgressBall)return;const k=S.touches[0].pageX;this.percentage=this.calcPercentage(k),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration)}"onDocumentTouchEnd"(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async"setProgressBall"(S){this.progressBallRef&&(this.progressBallRef.style.left=100*S+"%")}async"toggleVisibility"(S){const k=void 0===S?!this.visible:S;k?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!k}async"getIsDraggingProgressBall"(){return this.isDraggingProgressBall}async"setCurrentTime"(S){this.currentTimeRef.innerHTML=formatTime(S)}"render"(){const{"controls":S,"currentTime":k,"duration":C,"isPlaying":M,"pauseFunc":O,"playFunc":D,"showPlayBtn":re,"showProgress":ne}=this,se=formatTime(C);let oe;return oe=re?M?(0,P.h)("div",{"class":"taro-video-control-button taro-video-control-button-pause","onClick":O}):(0,P.h)("div",{"class":"taro-video-control-button taro-video-control-button-play","onClick":D}):null,(0,P.h)(P.AA,{"class":"taro-video-bar taro-video-bar-full"},S&&(0,P.h)("div",{"class":"taro-video-controls"},oe,ne&&(0,P.h)("div",{"class":"taro-video-current-time","ref":S=>this.currentTimeRef=S},formatTime(k)),ne&&(0,P.h)("div",{"class":"taro-video-progress-container","onClick":this.onClickProgress},(0,P.h)("div",{"class":"taro-video-progress","ref":S=>{if(!S)return;const k=S.getBoundingClientRect();this.progressDimensions.left=k.left,this.progressDimensions.width=k.width}},(0,P.h)("div",{"class":"taro-video-progress-buffered","style":{"width":"100%"}}),(0,P.h)("div",{"class":"taro-video-ball","ref":S=>this.progressBallRef=S,"onTouchStart":this.onDragProgressBallStart,"style":{"left":(se?this.currentTime/C*100:0)+"%"}},(0,P.h)("div",{"class":"taro-video-inner"})))),ne&&(0,P.h)("div",{"class":"taro-video-duration"},se)),(0,P.h)("slot",null))}get"el"(){return this}},[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const yt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}"ensureProperties"(S){const k=Object.assign({},S);return"time"in S||(k.time=this.currentTime),k.key=Math.random(),k.bottom=90*Math.random()+5+"%",k}async"sendDanmu"(S=[]){if(Array.isArray(S))this.list=[...this.list,...S.map((S=>this.ensureProperties(S)))];else{const k=S;this.list=[...this.list,Object.assign({},this.ensureProperties(k))]}}async"tick"(S){if(this.currentTime=S,!this.enable)return;const k=this.list.filter((({"time":k})=>S-k<4&&S>k));let C=!1;const M=this.danmuList;C=k.length!==M.length||k.some((({"key":S})=>M.every((k=>S!==k.key)))),C&&(this.danmuList=k)}"componentDidUpdate"(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((S=>{S.style.left="0",S.style.webkitTransform="translateX(-100%)",S.style.transform="translateX(-100%)"}))}))}))}"render"(){return this.enable?(0,P.h)(P.AA,{"class":"taro-video-danmu"},this.danmuList.map((({"text":S,"color":k,"bottom":C,"key":M})=>(0,P.h)("p",{"class":"taro-video-danmu-item","key":M,"style":{"color":k,"bottom":C},"ref":S=>{S&&this.danmuElList.push(S)}},S)))):""}},[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]);const wt=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onPlay=(0,P.yM)(this,"play",7),this.onPause=(0,P.yM)(this,"pause",7),this.onEnded=(0,P.yM)(this,"ended",7),this.onTimeUpdate=(0,P.yM)(this,"timeupdate",7),this.onError=(0,P.yM)(this,"error",7),this.onFullScreenChange=(0,P.yM)(this,"fullscreenchange",7),this.onProgress=(0,P.yM)(this,"progress",7),this.onLoadedMetaData=(0,P.yM)(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.analyzeGesture=S=>{var k;const C={"type":"none"},M=S.touches[0].screenX,P=S.touches[0].screenY,O=M-this.lastTouchScreenX,D=P-this.lastTouchScreenY,re=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if((ne=O,se=D,Math.sqrt(Math.pow(ne,2)+Math.pow(se,2)))<10)return C;if(Math.abs(D)>=Math.abs(O)){if(!re)return C;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(D){var S,k;this.videoRef&&(this.videoRef.src=this.src,null===(k=(S=this.videoRef).load)||void 0===k||k.call(S))},this.init=()=>{const{"src":S,"videoRef":k}=this;/\.(m3u8)($|\?)/i.test(S)?C.e(3041).then(C.bind(C,3041)).then((C=>{const M=C.default;this.HLS=M,M.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new M,this.hls.loadSource(S),this.hls.attachMedia(k),this.hls.on(M.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(M.Events.ERROR,((S,k)=>{this.handleError(k)}))):k.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=(0,Pe.t)((async S=>{var k,C;this.currentTime=this.videoRef.currentTime;const M=this.duration||this._duration,P=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(P||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/M),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({"duration":null===(k=S.target)||void 0===k?void 0:k.duration,"currentTime":null===(C=S.target)||void 0===C?void 0:C.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=S=>{var k,C;if(this.hls)switch(S.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({"errMsg":S.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({"errMsg":S.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else this.onError.emit({"errMsg":null===(C=null===(k=S.target)||void 0===k?void 0:k.error)||void 0===C?void 0:C.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=S=>{const k=S.target;this.onLoadedMetaData.emit({"width":k.videoWidth,"height":k.videoHeight,"duration":k.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=S=>{this.videoRef.currentTime=S},this.onTouchStartContainer=S=>{this.lastTouchScreenX=S.touches[0].screenX,this.lastTouchScreenY=S.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const S=Date.now();S-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=S}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=S=>{S.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=S=>{const k=(new Date).getTime();!S.detail&&this.isFullScreen&&!document[bt.fullscreenElement]&&k-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1,!0)},this.toggleFullScreen=(S=!this.isFullScreen,k=!1)=>{this.isFullScreen=S,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({"fullScreen":this.isFullScreen,"direction":"vertical"}),this.isFullScreen&&!document[bt.fullscreenElement]?setTimeout((()=>{this.videoRef[bt.requestFullscreen]({"navigationUI":"auto"}),De.ZP.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(k||document[bt.exitFullscreen](),De.ZP.eventCenter.trigger("__taroExitFullScreen",{}))},this.toggleMute=S=>{S.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=S=>{S.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}"componentWillLoad"(){this._enableDanmu=this.enableDanmu,this.isMute=this.muted}"componentDidLoad"(){var S,k;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(k=(S=this.danmuRef).sendDanmu)||void 0===k||k.call(S,this.danmuList),document.addEventListener&&document.addEventListener(bt.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===gt&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}"componentDidRender"(){}"disconnectedCallback"(){document.removeEventListener&&document.removeEventListener(bt.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===gt&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}"watchEnableDanmu"(S){this._enableDanmu=S}"watchSrc"(){this.init()}async"onDocumentTouchMove"(S){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const k=this.analyzeGesture(S);if("adjustVolume"===k.type){this.toastVolumeRef.style.visibility="visible";const S=Math.max(Math.min(this.lastVolume-k.dataY,1),0);this.videoRef.volume=S,this.toastVolumeBarRef.style.width=100*S+"%"}else if("adjustProgress"===k.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+(k.dataX||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const S=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${formatTime(this.nextPercentage*S)} / ${formatTime(S)}`,this.toastProgressRef.style.visibility="visible"}}"onDocumentTouchEnd"(){var S;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(S=this.duration)&&void 0!==S?S:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async"getHlsObject"(){return this.hls}async"play"(){this._play()}async"pause"(){this._pause()}async"stop"(){this._stop()}async"seek"(S){this._seek(S)}async"requestFullScreen"(){this.toggleFullScreen(!0)}async"exitFullScreen"(){this.toggleFullScreen(!1)}"render"(){const{"controls":S,"autoplay":k,"loop":C,"muted":M,"poster":D,"objectFit":re,"isFirst":ne,"isMute":se,"isFullScreen":oe,"showCenterPlayBtn":de,"isPlaying":ue,"_enableDanmu":pe,"showMuteBtn":he,"danmuBtn":fe,"showFullscreenBtn":me,"nativeProps":ge}=this,be=this.duration||this._duration,ve=formatTime(be);return(0,P.h)(P.AA,{"class":(0,O.c)("taro-video-container",{"taro-video-type-fullscreen":oe}),"onTouchStart":this.onTouchStartContainer,"onClick":this.onClickContainer},(0,P.h)("video",Object.assign({"class":"taro-video-video","style":{"object-fit":re},"ref":S=>{S&&(this.videoRef=S)},"autoplay":k,"loop":C,"muted":M,"poster":S?D:void 0,"playsinline":!0,"webkit-playsinline":!0,"onPlay":this.handlePlay,"onPause":this.handlePause,"onEnded":this.handleEnded,"onTimeUpdate":this.handleTimeUpdate,"onError":this.handleError,"onDurationChange":this.handleDurationChange,"onProgress":this.handleProgress,"onLoadedMetaData":this.handleLoadedMetaData},ge),"暂时不支持播放该视频"),(0,P.h)("taro-video-danmu",{"ref":S=>{S&&(this.danmuRef=S)},"enable":pe}),ne&&de&&!ue&&(0,P.h)("div",{"class":"taro-video-cover"},(0,P.h)("div",{"class":"taro-video-cover-play-button","onClick":()=>this.play()}),(0,P.h)("p",{"class":"taro-video-cover-duration"},ve)),(0,P.h)("taro-video-control",{"ref":S=>{S&&(this.controlsRef=S)},"controls":S,"currentTime":this.currentTime,"duration":be,"isPlaying":this.isPlaying,"pauseFunc":this._pause,"playFunc":this._play,"seekFunc":this._seek,"showPlayBtn":this.showPlayBtn,"showProgress":this.showProgress},he&&(0,P.h)("div",{"class":(0,O.c)("taro-video-mute",{"taro-video-type-mute":se}),"onClick":this.toggleMute}),fe&&(0,P.h)("div",{"class":(0,O.c)("taro-video-danmu-button",{"taro-video-danmu-button-active":pe}),"onClick":this.toggleDanmu},"弹幕"),me&&(0,P.h)("div",{"class":(0,O.c)("taro-video-fullscreen",{"taro-video-type-fullscreen":oe}),"onClick":this.onClickFullScreenBtn})),(0,P.h)("div",{"class":"taro-video-toast taro-video-toast-volume","ref":S=>{S&&(this.toastVolumeRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-title"},"音量"),(0,P.h)("div",{"class":"taro-video-toast-icon"}),(0,P.h)("div",{"class":"taro-video-toast-value"},(0,P.h)("div",{"class":"taro-video-toast-value-content","ref":S=>{S&&(this.toastVolumeBarRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>(0,P.h)("div",{"class":"taro-video-toast-volume-grids-item"}))))))),(0,P.h)("div",{"class":"taro-video-toast taro-video-toast-progress","ref":S=>{S&&(this.toastProgressRef=S)}},(0,P.h)("div",{"class":"taro-video-toast-title","ref":S=>{S&&(this.toastProgressTitleRef=S)}})))}get"el"(){return this}static get"watchers"(){return{"enableDanmu":["watchEnableDanmu"],"src":["watchSrc"]}}static get"style"(){return'.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}'}},[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const xt=function taro_video_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-video-core","taro-video-control","taro-video-danmu"].forEach((S=>{switch(S){case"taro-video-core":customElements.get(S)||customElements.define(S,wt);break;case"taro-video-control":customElements.get(S)||function video_control_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-control"].forEach((S=>{"taro-video-control"===S&&(customElements.get(S)||customElements.define(S,vt))}))}();break;case"taro-video-danmu":customElements.get(S)||function video_danmu_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-danmu"].forEach((S=>{"taro-video-danmu"===S&&(customElements.get(S)||customElements.define(S,yt))}))}()}}))},Et=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLongPress=(0,P.yM)(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}"onTouchStart"(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}"onTouchMove"(){clearTimeout(this.timeoutEvent)}"onTouchEnd"(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}"componentDidRender"(){(0,ne.h)(this.el)}"render"(){const S=(0,O.c)({[`${this.hoverClass}`]:this.hover});let k={};return this.animation&&(k.animation=this.animation,k["data-animation"]=this.animation),(0,P.h)(P.AA,Object.assign({"class":S},k),(0,P.h)("slot",null))}get"el"(){return this}static get"style"(){return"taro-view-core{display:block}"}},[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);const At=function taro_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-view-core"].forEach((S=>{if("taro-view-core"===S)customElements.get(S)||customElements.define(S,Et)}))},St=(0,P.GH)(class extends P.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,P.yM)(this,"load",7),this.onError=(0,P.yM)(this,"error",7),this.src=void 0}"render"(){const{"src":S,"onLoad":k,"onError":C}=this;return(0,P.h)("iframe",{"class":"taro-webview","onLoad":C=>{C.stopPropagation(),k.emit({"src":S})},"onError":k=>{k.stopPropagation(),C.emit({"src":S})},"src":S})}static get"style"(){return"iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}"}},[0,"taro-web-view-core",{"src":[1]}]);const kt=function taro_web_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-web-view-core"].forEach((S=>{if("taro-web-view-core"===S)customElements.get(S)||customElements.define(S,St)}))};var Ct=C(6883),Tt=C(8028);function __rest(S,k){var C={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&k.indexOf(M)<0&&(C[M]=S[M]);if(null!=S&&"function"==typeof Object.getOwnPropertySymbols){var P=0;for(M=Object.getOwnPropertySymbols(S);Pk=>{S.forEach((S=>{((S,k)=>{"function"==typeof S?S(k):null!=S&&(S.current=k)})(S,k)}))},camelToDashCase=S=>S.replace(/([A-Z])/g,(S=>`-${S[0].toLowerCase()}`));var _t=C(3935);const arrayToMap=S=>{const k=new Map;return S.forEach((S=>k.set(S,S))),k};function getComponentName(S){return S.tagName.replace(/^TARO-/,"").replace(/-CORE$/,"")}function getControlledValue(S){const k=getComponentName(S);return["INPUT","TEXTAREA","SLIDER","PICKER"].includes(k)?"value":"SWITCH"===k?"checked":null}function finishedEventHandler(S){const k=getControlledValue(S);if(!k)return;(0,_t.flushSync)((()=>{}));const C=function getPropsAfterReactUpdate(S){const k=Object.keys(S).find((S=>S.includes("__reactProps")));return k?S[k]:null}(S);(null==C?void 0:C.hasOwnProperty(k))&&C[k]!==S[k]&&(S[k]=C[k],S.setAttribute(k,C[k]))}const syncEvent=(S,k,C)=>{const M=S.__events||(S.__events={}),P=M[k];if(C){if(P){if(P.fn===C)return;S.removeEventListener(k,P)}const O=M[k]=function(k){(0,_t.unstable_batchedUpdates)((()=>C.call(this,k))),finishedEventHandler(S)};O.fn=C,S.addEventListener(k,O)}else P&&S.removeEventListener(k,P)},attachProps=(S,k,C={})=>{if(S instanceof Element){Object.keys(C).forEach((C=>{if(!["style","children","ref","class","className","forwardedRef"].includes(C)&&!k.hasOwnProperty(C))if(/^on([A-Z].*)/.test(C)){const k=C.substring(2).toLowerCase();syncEvent(S,k)}else S[C]=null,S.removeAttribute(camelToDashCase(C))})),S.className=((S,k,C)=>{const M=k.className||k.class,P=C.className||C.class,O=arrayToMap(S),D=arrayToMap(M?M.split(" "):[]),re=arrayToMap(P?P.split(" "):[]),ne=[];return O.forEach((S=>{D.has(S)?(ne.push(S),D.delete(S)):re.has(S)||ne.push(S)})),D.forEach((S=>ne.push(S))),ne.join(" ")})(S.classList,k,C),Object.keys(k).forEach((C=>{if(!("style"===C&&"string"!=typeof k[C]||["children","ref","class","className","forwardedRef"].includes(C)))if(/^on([A-Z].*)/.test(C)){const M=C.substring(2).toLowerCase();syncEvent(S,M,k[C])}else{S[C]=k[C];"string"===typeof k[C]&&S.setAttribute(camelToDashCase(C),k[C])}}));const M=getControlledValue(S);if(M&&k.hasOwnProperty(M)){const k=["INPUT","TEXTAREA"].includes(getComponentName(S))?"input":"change";S.__events||(S.__events={}),S.__events.hasOwnProperty(k)||syncEvent(S,k,(function(){}))}}};const createComponent_createReactComponent=(S,k,C,P)=>{void 0!==P&&P();const O=S.toLowerCase().split("-").map((S=>S.charAt(0).toUpperCase()+S.slice(1))).join("");const D=class extends M.Component{"constructor"(S){super(S),this.setComponentElRef=S=>{this.componentEl=S}}"componentDidMount"(){!function applyUnControlledDefaultValue(S,k){const C=getControlledValue(S);if(!C)return;const M="default"+C.charAt(0).toUpperCase()+C.slice(1);!k.hasOwnProperty(C)&&k.hasOwnProperty(M)&&(S[C]=k[M],S.setAttribute(C,k[M]))}(this.componentEl,this.props),this.componentDidUpdate(this.props)}"componentDidUpdate"(S){attachProps(this.componentEl,this.props,S)}"render"(){const k=this.props,{"children":P,"forwardedRef":O,"className":D,"ref":re,"style":ne}=k,se=__rest(k,["children","forwardedRef","className","ref","style"]);let oe=Object.keys(se).reduce(((S,k)=>{const C=se[k];if(0===k.indexOf("on")&&k[2]===k[2].toUpperCase()){k.substring(2).toLowerCase();0}else{["string","boolean","number"].includes(typeof C)&&(S[camelToDashCase(k)]=C)}return S}),{});C&&(oe=C(this.props,oe));const de=Object.assign(Object.assign({},oe),{"ref":mergeRefs(O,this.setComponentElRef)});return(0,M.createElement)(S,de,P)}static get"displayName"(){return O}};return k&&(D.contextType=k),((S,k)=>{const forwardRef=(k,C)=>M.createElement(S,Object.assign({},k,{"forwardedRef":C}));return forwardRef.displayName=k,M.forwardRef(forwardRef)})(D,O)},Mt=createComponent_createReactComponent("taro-button-core",void 0,helper_manipulatePropsFunction,re),Pt=createComponent_createReactComponent("taro-camera-core",void 0,helper_manipulatePropsFunction,oe),Ot=createComponent_createReactComponent("taro-checkbox-core",void 0,helper_manipulatePropsFunction,ue),It=createComponent_createReactComponent("taro-checkbox-group-core",void 0,helper_manipulatePropsFunction,fe),Lt=createComponent_createReactComponent("taro-form-core",void 0,helper_manipulatePropsFunction,be),jt=createComponent_createReactComponent("taro-icon-core",void 0,helper_manipulatePropsFunction,ye),Dt=createComponent_createReactComponent("taro-image-core",void 0,helper_manipulatePropsFunction,Ae),zt=createComponent_createReactComponent("taro-input-core",void 0,helper_manipulatePropsFunction,Te),Rt=createComponent_createReactComponent("taro-label-core",void 0,helper_manipulatePropsFunction,Me),Bt=createComponent_createReactComponent("taro-movable-area-core",void 0,helper_manipulatePropsFunction,Ie),Ft=createComponent_createReactComponent("taro-movable-view-core",void 0,helper_manipulatePropsFunction,je),Nt=createComponent_createReactComponent("taro-navigator-core",void 0,helper_manipulatePropsFunction,Re),Ht=createComponent_createReactComponent("taro-page-container-core",void 0,helper_manipulatePropsFunction,Fe),Gt=createComponent_createReactComponent("taro-picker-core",void 0,helper_manipulatePropsFunction,$e),Yt=createComponent_createReactComponent("taro-picker-view-column-core",void 0,helper_manipulatePropsFunction,Xe),Vt=createComponent_createReactComponent("taro-picker-view-core",void 0,helper_manipulatePropsFunction,Ze),Wt=createComponent_createReactComponent("taro-progress-core",void 0,helper_manipulatePropsFunction,Qe),$t=createComponent_createReactComponent("taro-radio-core",void 0,helper_manipulatePropsFunction,et),qt=createComponent_createReactComponent("taro-radio-group-core",void 0,helper_manipulatePropsFunction,it),Xt=createComponent_createReactComponent("taro-rich-text-core",void 0,helper_manipulatePropsFunction,nt),Ut=createComponent_createReactComponent("taro-scroll-view-core",void 0,helper_manipulatePropsFunction,ot),Zt=createComponent_createReactComponent("taro-slider-core",void 0,helper_manipulatePropsFunction,ct),Kt=createComponent_createReactComponent("taro-swiper-core",void 0,helper_manipulatePropsFunction,Ct.M),Qt=createComponent_createReactComponent("taro-swiper-item-core",void 0,helper_manipulatePropsFunction,Tt.M),Jt=createComponent_createReactComponent("taro-switch-core",void 0,helper_manipulatePropsFunction,ut),er=createComponent_createReactComponent("taro-text-core",void 0,helper_manipulatePropsFunction,ht),tr=createComponent_createReactComponent("taro-textarea-core",void 0,helper_manipulatePropsFunction,mt),rr=createComponent_createReactComponent("taro-video-core",void 0,helper_manipulatePropsFunction,xt),ir=createComponent_createReactComponent("taro-view-core",void 0,helper_manipulatePropsFunction,At),ar=createComponent_createReactComponent("taro-web-view-core",void 0,helper_manipulatePropsFunction,kt)},"6486":function(S,k,C){var M,P;M=function(){"use strict";function _classCallCheck(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}function _defineProperties(S,k){for(var C=0;CS.length)&&(k=S.length);for(var C=0,M=new Array(k);C=S.length?{"done":!0}:{"done":!1,"value":S[M++]}},"e":function(S){throw S},"f":F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var P,O=!0,D=!1;return{"s":function(){C=C.call(S)},"n":function(){var S=C.next();return O=S.done,S},"e":function(S){D=!0,P=S},"f":function(){try{O||null==C.return||C.return()}finally{if(D)throw P}}}}var S=function(){function Emitter(){_classCallCheck(this,Emitter),Object.defineProperty(this,"listeners",{"value":{},"writable":!0,"configurable":!0})}return _createClass(Emitter,[{"key":"addEventListener","value":function addEventListener(S,k,C){S in this.listeners||(this.listeners[S]=[]),this.listeners[S].push({"callback":k,"options":C})}},{"key":"removeEventListener","value":function removeEventListener(S,k){if(S in this.listeners)for(var C=this.listeners[S],M=0,P=C.length;M-1};function normalizeName(S){if("string"!=typeof S&&(S=String(S)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(S)||""===S)throw new TypeError('Invalid character in header field name: "'+S+'"');return S.toLowerCase()}function normalizeValue(S){return"string"!=typeof S&&(S=String(S)),S}function iteratorFor(S){var k={"next":function(){var k=S.shift();return{"done":void 0===k,"value":k}}};return ne&&(k[Symbol.iterator]=function(){return k}),k}function Headers(S){this.map={},S instanceof Headers?S.forEach((function(S,k){this.append(k,S)}),this):Array.isArray(S)?S.forEach((function(S){if(2!=S.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])}),this):S&&Object.getOwnPropertyNames(S).forEach((function(k){this.append(k,S[k])}),this)}function consumed(S){if(!S._noBody)return S.bodyUsed?Promise.reject(new TypeError("Already read")):void(S.bodyUsed=!0)}function fileReaderReady(S){return new Promise((function(k,C){S.onload=function(){k(S.result)},S.onerror=function(){C(S.error)}}))}function readBlobAsArrayBuffer(S){var k=new FileReader,C=fileReaderReady(k);return k.readAsArrayBuffer(S),C}function bufferClone(S){if(S.slice)return S.slice(0);var k=new Uint8Array(S.byteLength);return k.set(new Uint8Array(S)),k.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(S){this.bodyUsed=this.bodyUsed,this._bodyInit=S,S?"string"==typeof S?this._bodyText=S:se&&Blob.prototype.isPrototypeOf(S)?this._bodyBlob=S:oe&&FormData.prototype.isPrototypeOf(S)?this._bodyFormData=S:re&&URLSearchParams.prototype.isPrototypeOf(S)?this._bodyText=S.toString():de&&se&&function isDataView(S){return S&&DataView.prototype.isPrototypeOf(S)}(S)?(this._bodyArrayBuffer=bufferClone(S.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):de&&(ArrayBuffer.prototype.isPrototypeOf(S)||pe(S))?this._bodyArrayBuffer=bufferClone(S):this._bodyText=S=Object.prototype.toString.call(S):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof S?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):re&&URLSearchParams.prototype.isPrototypeOf(S)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},se&&(this.blob=function(){var S=consumed(this);if(S)return S;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var S=consumed(this);return S||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(se)return this.blob().then(readBlobAsArrayBuffer);throw new Error("could not read as ArrayBuffer")},this.text=function(){var S=consumed(this);if(S)return S;if(this._bodyBlob)return function readBlobAsText(S){var k=new FileReader,C=fileReaderReady(k),M=/charset=([A-Za-z0-9_-]+)/.exec(S.type),P=M?M[1]:"utf-8";return k.readAsText(S,P),C}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function readArrayBufferAsText(S){for(var k=new Uint8Array(S),C=new Array(k.length),M=0;M-1?k:S}(k.method||this.method||"GET"),this.mode=k.mode||this.mode||null,this.signal=k.signal||this.signal||function(){if("AbortController"in D)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&C)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(C),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==k.cache&&"no-cache"!==k.cache)){var M=/([?&])_=[^&]*/;if(M.test(this.url))this.url=this.url.replace(M,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function decode(S){var k=new FormData;return S.trim().split("&").forEach((function(S){if(S){var C=S.split("="),M=C.shift().replace(/\+/g," "),P=C.join("=").replace(/\+/g," ");k.append(decodeURIComponent(M),decodeURIComponent(P))}})),k}function Response(S,k){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(k||(k={}),this.type="default",this.status=void 0===k.status?200:k.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===k.statusText?"":""+k.statusText,this.headers=new Headers(k.headers),this.url=k.url||"",this._initBody(S)}Request.prototype.clone=function(){return new Request(this,{"body":this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new Headers(this.headers),"url":this.url})},Response.error=function(){var S=new Response(null,{"status":200,"statusText":""});return S.ok=!1,S.status=0,S.type="error",S};var fe=[301,302,303,307,308];Response.redirect=function(S,k){if(-1===fe.indexOf(k))throw new RangeError("Invalid status code");return new Response(null,{"status":k,"headers":{"location":S}})};var me=D.DOMException;try{new me}catch(S){(me=function(S,k){this.message=S,this.name=k;var C=Error(S);this.stack=C.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function fetch_fetch(S,k){return new Promise((function(C,M){var P=new Request(S,k);if(P.signal&&P.signal.aborted)return M(new me("Aborted","AbortError"));var O=new XMLHttpRequest;function abortXhr(){O.abort()}if(O.onload=function(){var S,k,M={"statusText":O.statusText,"headers":(S=O.getAllResponseHeaders()||"",k=new Headers,S.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(S){return 0===S.indexOf("\n")?S.substr(1,S.length):S})).forEach((function(S){var C=S.split(":"),M=C.shift().trim();if(M){var P=C.join(":").trim();try{k.append(M,P)}catch(S){console.warn("Response "+S.message)}}})),k)};0===P.url.indexOf("file://")&&(O.status<200||O.status>599)?M.status=200:M.status=O.status,M.url="responseURL"in O?O.responseURL:M.headers.get("X-Request-URL");var D="response"in O?O.response:O.responseText;setTimeout((function(){C(new Response(D,M))}),0)},O.onerror=function(){setTimeout((function(){M(new TypeError("Network request failed"))}),0)},O.ontimeout=function(){setTimeout((function(){M(new TypeError("Network request timed out"))}),0)},O.onabort=function(){setTimeout((function(){M(new me("Aborted","AbortError"))}),0)},O.open(P.method,function fixUrl(S){try{return""===S&&D.location.href?D.location.href:S}catch(k){return S}}(P.url),!0),"include"===P.credentials?O.withCredentials=!0:"omit"===P.credentials&&(O.withCredentials=!1),"responseType"in O&&(se?O.responseType="blob":de&&(O.responseType="arraybuffer")),k&&"object"==typeof k.headers&&!(k.headers instanceof Headers||D.Headers&&k.headers instanceof D.Headers)){var re=[];Object.getOwnPropertyNames(k.headers).forEach((function(S){re.push(normalizeName(S)),O.setRequestHeader(S,normalizeValue(k.headers[S]))})),P.headers.forEach((function(S,k){-1===re.indexOf(k)&&O.setRequestHeader(k,S)}))}else P.headers.forEach((function(S,k){O.setRequestHeader(k,S)}));P.signal&&(P.signal.addEventListener("abort",abortXhr),O.onreadystatechange=function(){4===O.readyState&&P.signal.removeEventListener("abort",abortXhr)}),O.send(void 0===P._bodyInit?null:P._bodyInit)}))}fetch_fetch.polyfill=!0,D.fetch||(D.fetch=fetch_fetch,D.Headers=Headers,D.Request=Request,D.Response=Response);C(6486);var ge=C(498),be=C(6626),ve=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var Ae=function shouldUseNative(){try{if(!Object.assign)return!1;var S=new String("abc");if(S[5]="de","5"===Object.getOwnPropertyNames(S)[0])return!1;for(var k={},C=0;C<10;C++)k["_"+String.fromCharCode(C)]=C;if("0123456789"!==Object.getOwnPropertyNames(k).map((function(S){return k[S]})).join(""))return!1;var M={};return"abcdefghijklmnopqrst".split("").forEach((function(S){M[S]=S})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},M)).join("")}catch(S){return!1}}()?Object.assign:function(S,k){for(var C,M,P=function toObject(S){if(null==S)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(S)}(S),O=1;O0?(k.retryTimes--,fetchData(M,k,C)):!1===fallback(M,k,C)?C(new Error("Timeout and no data return")):void 0}),oe)}function storeCheckFn(S,k,C){return!!(S&&k&&C)&&(S[k]&&S[k]===C)}function setDataToStore(S){var k=S.useStore,C=S.storeKey,M=S.data;(k=!!k&&_e.enabled)&&_e.set(C,M)}function fallback(S,k,C){var M=k.backup;if(M){if("string"==typeof M)return delete k.backup,fetchData(generateJsonpUrlWithParams(M,k.params),k,C,{"backup":M});if(Array.isArray(M)&&M.length){var P=M.shift();return fetchData(generateJsonpUrlWithParams(P,k.params),k,C,{"backup":P})}}var O=function getDataFromStoreWithoutCheck(S){var k=S.useStore,C=S.storeKey,M=S.dataCheck;if(k=!!k&&_e.enabled){var P=_e.get(C);if(!M||P&&M&&!1!==M(P))return P}return null}({"useStore":k.useStore,"storeKey":S,"dataCheck":k.dataCheck});return!!O&&(C(null,O),!0)}var Fe=function jsonp$1(S,k,C){if(isFunction(S)?(C=S,k={}):S&&"object"===(void 0===S?"undefined":Pe(S))&&(C=k,S=(k=S||{}).url),isFunction(k)&&(C=k,k={}),k||(k={}),k=Ae({},Re,k),S=S||k.url,C=C||Le,!S||"string"!=typeof S)return C(new Error("Param url is needed!")),!jsonp$1.promiseClose&&Ie?new Promise((function(S,k){return k(new Error("Param url is needed!"))})):void 0;var M=generateJsonpUrlWithParams(S,k.params),P=function getDataFromStore(S){var k=S.useStore,C=S.storeKey,M=S.storeCheck,P=S.storeCheckKey,O=S.storeSign,D=S.dataCheck;if(k=!!k&&_e.enabled){var re=_e.get(C);if((M=M||storeCheckFn)(re,P,O)&&(!D||re&&D&&!1!==D(re)))return re}return null}({"useStore":k.useStore,"storeKey":M,"storeCheck":k.storeCheck,"storeCheckKey":k.storeCheckKey,"storeSign":k.storeSign,"dataCheck":k.dataCheck});return P?(C(null,P),!jsonp$1.promiseClose&&Ie?new Promise((function(S){return S(P)})):void 0):(k.originalUrl=M,!jsonp$1.promiseClose&&Ie?new Promise((function(S,P){fetchData(M,k,(function(k,M){if(k)return C(k),P(k);C(null,M),S(M)}))})):void fetchData(M,k,C))},Ne=C(7255),He=C(5802);function _request(){var S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},k=S.success,C=S.complete,M=S.fail,D={},re={},ne=S.cache,se=void 0===ne?"default":ne,oe=S.credentials,de=S.data,ue=S.dataType,pe=S.header,he=void 0===pe?{}:pe,fe=S.jsonp,me=S.method,ge=void 0===me?"GET":me,ve=S.mode,ye=S.responseType,Ee=S.signal,Ae=S.timeout,ke=S.url,Te=void 0===ke?"":ke,_e=(0,O._T)(S,["cache","credentials","data","dataType","header","jsonp","method","mode","responseType","signal","timeout","url"]);if("number"!=typeof Ae&&(Ae=He.vl),Object.assign(D,_e),fe)return D.params=de,D.cache=_e.jsonpCache,D.timeout=Ae,"string"==typeof fe&&(D.name=fe),Fe(Te,D).then((function(S){return re.statusCode=200,re.data=S,(0,be.mf)(k)&&k(re),(0,be.mf)(C)&&C(re),re})).catch((function(S){return(0,be.mf)(M)&&M(S),(0,be.mf)(C)&&C(re),Promise.reject(S)}));D.method=ge;var Me=D.method.toUpperCase();if(D.cache=se,"GET"===Me||"HEAD"===Me)Te=function generateRequestUrlWithParams(){var S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",k=arguments.length>1?arguments[1]:void 0;return(k="string"==typeof k?k:(0,Ne.tW)(k))&&(S+=(~S.indexOf("?")?"&":"?")+k),S.replace("?&","?")}(Te,de);else if(["[object Array]","[object Object]"].indexOf(Object.prototype.toString.call(de))>=0){var Pe=Object.keys(he).find((function(S){return"content-type"===S.toLowerCase()}));Pe||(he["Content-Type"]="application/json");var Oe=he[Pe||"Content-Type"];Oe.indexOf("application/json")>=0?D.body=JSON.stringify(de):Oe.indexOf("application/x-www-form-urlencoded")>=0?D.body=(0,Ne.tW)(de):D.body=de}else D.body=de;he&&(D.headers=he),ve&&(D.mode=ve);var Ie=null,Le=null;Ee?D.signal=Ee:(Le=new window.AbortController,D.signal=Le.signal,Ie=setTimeout((function(){Le&&Le.abort()}),Ae)),D.credentials=oe;var je=fetch(Te,D).then((function(S){if(Ie&&(clearTimeout(Ie),Ie=null),Le&&(Le=null),!S){throw{"ok":!1}}re.statusCode=S.status,re.header={};var k,C=(0,P.Z)(S.headers.keys());try{for(C.s();!(k=C.n()).done;){var M=k.value;re.header[M]=S.headers.get(M)}}catch(S){C.e(S)}finally{C.f()}return"arraybuffer"===ye?S.arrayBuffer():204===re.statusCode||"json"!==ue&&void 0!==ue?"text"===ye||"text"===ue?S.text():Promise.resolve(null):S.json().catch((function(){return null}))})).then((function(S){return re.data=S,(0,be.mf)(k)&&k(re),(0,be.mf)(C)&&C(re),re})).catch((function(S){return Ie&&(clearTimeout(Ie),Ie=null),Le&&(Le=null),(0,be.mf)(M)&&M(S),(0,be.mf)(C)&&C(re),S.statusCode=re.statusCode,S.errMsg=S.message,Promise.reject(S)}));return!je.abort&&Le&&(je.abort=function(S){Le&&(S&&S(),Le.abort(),Ie&&(clearTimeout(Ie),Ie=null))}),je}var Ge=new(0,ge.Z.Link)((function taroInterceptor(S){return _request(S.requestParams)})),Ye=(Ge.addInterceptor.bind(Ge),Ge.cleanInterceptors.bind(Ge),C(4385)),Ve=C(7294),We=C(4721),$e=C(5893),qe=function Index(){var S=(0,Ve.useState)({}),k=(0,M.Z)(S,2),C=k[0],P=k[1],O=(0,Ve.useState)(""),D=(0,M.Z)(O,2),re=D[0],ne=D[1];return(0,$e.jsxs)(Ye.G7,{"className":"api-page","children":[(0,$e.jsxs)(Ye.G7,{"className":"api-page-btns","children":[(0,$e.jsx)(Ye.II,{"className":"url-input","onInput":function onInput(S){ne(S.detail.value)},"placeholder":"输入请求的 url"}),(0,$e.jsx)(Ye.zx,{"type":"primary","onClick":function _onRequest(){re&&(P({}),function request(){for(var S=arguments.length,k=new Array(S),C=0;C0?(0,D.jsx)(P(),{"src":S.data,"enableClipboard":!1,"displayObjectSize":!1,"quotesOnKeys":!1,"indentWidth":2,"displayDataTypes":!1,"name":null}):(0,D.jsx)(O.G7,{})}},"5171":function(S,k,C){var M;S.exports=(M=C(7294),function(S){var k={};function n(C){if(k[C])return k[C].exports;var M=k[C]={"i":C,"l":!1,"exports":{}};return S[C].call(M.exports,M,M.exports,n),M.l=!0,M.exports}return n.m=S,n.c=k,n.d=function(S,k,C){n.o(S,k)||Object.defineProperty(S,k,{"enumerable":!0,"get":C})},n.r=function(S){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(S,Symbol.toStringTag,{"value":"Module"}),Object.defineProperty(S,"__esModule",{"value":!0})},n.t=function(S,k){if(1&k&&(S=n(S)),8&k)return S;if(4&k&&"object"==typeof S&&S&&S.__esModule)return S;var C=Object.create(null);if(n.r(C),Object.defineProperty(C,"default",{"enumerable":!0,"value":S}),2&k&&"string"!=typeof S)for(var M in S)n.d(C,M,function(k){return S[k]}.bind(null,M));return C},n.n=function(S){var k=S&&S.__esModule?function(){return S.default}:function(){return S};return n.d(k,"a",k),k},n.o=function(S,k){return Object.prototype.hasOwnProperty.call(S,k)},n.p="",n(n.s=48)}([function(S,k){S.exports=M},function(S,k){var C=S.exports={"version":"2.6.12"};"number"==typeof __e&&(__e=C)},function(S,k,C){var M=C(26)("wks"),P=C(17),O=C(3).Symbol,D="function"==typeof O;(S.exports=function(S){return M[S]||(M[S]=D&&O[S]||(D?O:P)("Symbol."+S))}).store=M},function(S,k){var C=S.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=C)},function(S,k,C){S.exports=!C(8)((function(){return 7!=Object.defineProperty({},"a",{"get":function(){return 7}}).a}))},function(S,k){var C={}.hasOwnProperty;S.exports=function(S,k){return C.call(S,k)}},function(S,k,C){var M=C(7),P=C(16);S.exports=C(4)?function(S,k,C){return M.f(S,k,P(1,C))}:function(S,k,C){return S[k]=C,S}},function(S,k,C){var M=C(10),P=C(35),O=C(23),D=Object.defineProperty;k.f=C(4)?Object.defineProperty:function(S,k,C){if(M(S),k=O(k,!0),M(C),P)try{return D(S,k,C)}catch(S){}if("get"in C||"set"in C)throw TypeError("Accessors not supported!");return"value"in C&&(S[k]=C.value),S}},function(S,k){S.exports=function(S){try{return!!S()}catch(S){return!0}}},function(S,k,C){var M=C(40),P=C(22);S.exports=function(S){return M(P(S))}},function(S,k,C){var M=C(11);S.exports=function(S){if(!M(S))throw TypeError(S+" is not an object!");return S}},function(S,k){S.exports=function(S){return"object"==typeof S?null!==S:"function"==typeof S}},function(S,k){S.exports={}},function(S,k,C){var M=C(39),P=C(27);S.exports=Object.keys||function(S){return M(S,P)}},function(S,k){S.exports=!0},function(S,k,C){var M=C(3),P=C(1),O=C(53),D=C(6),re=C(5),c=function(S,k,C){var ne,se,oe,de=S&c.F,ue=S&c.G,pe=S&c.S,he=S&c.P,fe=S&c.B,me=S&c.W,ge=ue?P:P[k]||(P[k]={}),be=ge.prototype,ve=ue?M:pe?M[k]:(M[k]||{}).prototype;for(ne in ue&&(C=k),C)(se=!de&&ve&&void 0!==ve[ne])&&re(ge,ne)||(oe=se?ve[ne]:C[ne],ge[ne]=ue&&"function"!=typeof ve[ne]?C[ne]:fe&&se?O(oe,M):me&&ve[ne]==oe?function(S){var t=function(k,C,M){if(this instanceof S){switch(arguments.length){case 0:return new S;case 1:return new S(k);case 2:return new S(k,C)}return new S(k,C,M)}return S.apply(this,arguments)};return t.prototype=S.prototype,t}(oe):he&&"function"==typeof oe?O(Function.call,oe):oe,he&&((ge.virtual||(ge.virtual={}))[ne]=oe,S&c.R&&be&&!be[ne]&&D(be,ne,oe)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,S.exports=c},function(S,k){S.exports=function(S,k){return{"enumerable":!(1&S),"configurable":!(2&S),"writable":!(4&S),"value":k}}},function(S,k){var C=0,M=Math.random();S.exports=function(S){return"Symbol(".concat(void 0===S?"":S,")_",(++C+M).toString(36))}},function(S,k,C){var M=C(22);S.exports=function(S){return Object(M(S))}},function(S,k){k.f={}.propertyIsEnumerable},function(S,k,C){"use strict";var M=C(52)(!0);C(34)(String,"String",(function(S){this._t=String(S),this._i=0}),(function(){var S,k=this._t,C=this._i;return C>=k.length?{"value":void 0,"done":!0}:(S=M(k,C),this._i+=S.length,{"value":S,"done":!1})}))},function(S,k){var C=Math.ceil,M=Math.floor;S.exports=function(S){return isNaN(S=+S)?0:(S>0?M:C)(S)}},function(S,k){S.exports=function(S){if(null==S)throw TypeError("Can't call method on "+S);return S}},function(S,k,C){var M=C(11);S.exports=function(S,k){if(!M(S))return S;var C,P;if(k&&"function"==typeof(C=S.toString)&&!M(P=C.call(S)))return P;if("function"==typeof(C=S.valueOf)&&!M(P=C.call(S)))return P;if(!k&&"function"==typeof(C=S.toString)&&!M(P=C.call(S)))return P;throw TypeError("Can't convert object to primitive value")}},function(S,k){var C={}.toString;S.exports=function(S){return C.call(S).slice(8,-1)}},function(S,k,C){var M=C(26)("keys"),P=C(17);S.exports=function(S){return M[S]||(M[S]=P(S))}},function(S,k,C){var M=C(1),P=C(3),O=P["__core-js_shared__"]||(P["__core-js_shared__"]={});(S.exports=function(S,k){return O[S]||(O[S]=void 0!==k?k:{})})("versions",[]).push({"version":M.version,"mode":C(14)?"pure":"global","copyright":"© 2020 Denis Pushkarev (zloirock.ru)"})},function(S,k){S.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(S,k,C){var M=C(7).f,P=C(5),O=C(2)("toStringTag");S.exports=function(S,k,C){S&&!P(S=C?S:S.prototype,O)&&M(S,O,{"configurable":!0,"value":k})}},function(S,k,C){C(62);for(var M=C(3),P=C(6),O=C(12),D=C(2)("toStringTag"),re="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),ne=0;nedocument.F=Object<\/script>"),S.close(),c=S.F;M--;)delete c.prototype[O[M]];return c()};S.exports=Object.create||function(S,k){var C;return null!==S?(s.prototype=M(S),C=new s,s.prototype=null,C[D]=S):C=c(),void 0===k?C:P(C,k)}},function(S,k,C){var M=C(5),P=C(9),O=C(57)(!1),D=C(25)("IE_PROTO");S.exports=function(S,k){var C,re=P(S),ne=0,se=[];for(C in re)C!=D&&M(re,C)&&se.push(C);for(;k.length>ne;)M(re,C=k[ne++])&&(~O(se,C)||se.push(C));return se}},function(S,k,C){var M=C(24);S.exports=Object("z").propertyIsEnumerable(0)?Object:function(S){return"String"==M(S)?S.split(""):Object(S)}},function(S,k,C){var M=C(39),P=C(27).concat("length","prototype");k.f=Object.getOwnPropertyNames||function(S){return M(S,P)}},function(S,k,C){var M=C(24),P=C(2)("toStringTag"),O="Arguments"==M(function(){return arguments}());S.exports=function(S){var k,C,D;return void 0===S?"Undefined":null===S?"Null":"string"==typeof(C=function(S,k){try{return S[k]}catch(S){}}(k=Object(S),P))?C:O?M(k):"Object"==(D=M(k))&&"function"==typeof k.callee?"Arguments":D}},function(S,k){var C;C=function(){return this}();try{C=C||new Function("return this")()}catch(S){"object"==typeof window&&(C=window)}S.exports=C},function(S,k){var C=/-?\d+(\.\d+)?%?/g;S.exports=function(S){return S.match(C)}},function(S,k,C){"use strict";Object.defineProperty(k,"__esModule",{"value":!0}),k.getBase16Theme=k.createStyling=k.invertTheme=void 0;var M=d(C(49)),P=d(C(76)),O=d(C(81)),D=d(C(89)),re=d(C(93)),ne=function(S){if(S&&S.__esModule)return S;var k={};if(null!=S)for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&(k[C]=S[C]);return k.default=S,k}(C(94)),se=d(C(132)),oe=d(C(133)),de=d(C(138)),ue=C(139);function d(S){return S&&S.__esModule?S:{"default":S}}var pe=ne.default,he=(0,D.default)(pe),fe=(0,de.default)(oe.default,ue.rgb2yuv,(function(S){var k,C=(0,O.default)(S,3);return[(k=C[0],k<.25?1:k<.5?.9-k:1.1-k),C[1],C[2]]}),ue.yuv2rgb,se.default),m=function(S){return function(k){return{"className":[k.className,S.className].filter(Boolean).join(" "),"style":(0,P.default)({},k.style||{},S.style||{})}}},y=function(S,k){var C=(0,D.default)(k);for(var O in S)-1===C.indexOf(O)&&C.push(O);return C.reduce((function(C,O){return C[O]=function(S,k){if(void 0===S)return k;if(void 0===k)return S;var C=void 0===S?"undefined":(0,M.default)(S),O=void 0===k?"undefined":(0,M.default)(k);switch(C){case"string":switch(O){case"string":return[k,S].filter(Boolean).join(" ");case"object":return m({"className":S,"style":k});case"function":return function(C){for(var M=arguments.length,P=Array(M>1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O1?M-1:0),O=1;O2?C-2:0),re=2;re3?k-3:0),M=3;M1&&void 0!==arguments[1]?arguments[1]:{},ne=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},se=O.defaultBase16,oe=void 0===se?pe:se,de=O.base16Themes,ue=ge(ne,void 0===de?null:de);ue&&(ne=(0,P.default)({},ue,ne));var fe=he.reduce((function(S,k){return S[k]=ne[k]||oe[k],S}),{}),me=(0,D.default)(ne).reduce((function(S,k){return-1===he.indexOf(k)?(S[k]=ne[k],S):S}),{}),be=S(fe),ve=y(me,be);return(0,re.default)(g,2).apply(void 0,[ve].concat(C))}),3),k.getBase16Theme=function(S,k){if(S&&S.extend&&(S=S.extend),"string"==typeof S){var C=S.split(":"),M=(0,O.default)(C,2),P=M[0],D=M[1];S=(k||{})[P]||ne[P],"inverted"===D&&(S=me(S))}return S&&S.hasOwnProperty("base00")?S:void 0})},function(S,k,C){"use strict";var M,P="object"==typeof Reflect?Reflect:null,O=P&&"function"==typeof P.apply?P.apply:function(S,k,C){return Function.prototype.apply.call(S,k,C)};M=P&&"function"==typeof P.ownKeys?P.ownKeys:Object.getOwnPropertySymbols?function(S){return Object.getOwnPropertyNames(S).concat(Object.getOwnPropertySymbols(S))}:function(S){return Object.getOwnPropertyNames(S)};var D=Number.isNaN||function(S){return S!=S};function s(){s.init.call(this)}S.exports=s,S.exports.once=function(S,k){return new Promise((function(C,M){function r(){void 0!==P&&S.removeListener("error",P),C([].slice.call(arguments))}var P;"error"!==k&&(P=function(C){S.removeListener(k,r),M(C)},S.once("error",P)),S.once(k,r)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var re=10;function l(S){if("function"!=typeof S)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof S)}function u(S){return void 0===S._maxListeners?s.defaultMaxListeners:S._maxListeners}function f(S,k,C,M){var P,O,D,re;if(l(C),void 0===(O=S._events)?(O=S._events=Object.create(null),S._eventsCount=0):(void 0!==O.newListener&&(S.emit("newListener",k,C.listener?C.listener:C),O=S._events),D=O[k]),void 0===D)D=O[k]=C,++S._eventsCount;else if("function"==typeof D?D=O[k]=M?[C,D]:[D,C]:M?D.unshift(C):D.push(C),(P=u(S))>0&&D.length>P&&!D.warned){D.warned=!0;var ne=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(k)+" listeners added. Use emitter.setMaxListeners() to increase limit");ne.name="MaxListenersExceededWarning",ne.emitter=S,ne.type=k,ne.count=D.length,re=ne,console&&console.warn&&console.warn(re)}return S}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(S,k,C){var M={"fired":!1,"wrapFn":void 0,"target":S,"type":k,"listener":C},P=p.bind(M);return P.listener=C,M.wrapFn=P,P}function b(S,k,C){var M=S._events;if(void 0===M)return[];var P=M[k];return void 0===P?[]:"function"==typeof P?C?[P.listener||P]:[P]:C?function(S){for(var k=new Array(S.length),C=0;C0&&(D=k[0]),D instanceof Error)throw D;var re=new Error("Unhandled error."+(D?" ("+D.message+")":""));throw re.context=D,re}var ne=P[S];if(void 0===ne)return!1;if("function"==typeof ne)O(ne,this,k);else{var se=ne.length,oe=v(ne,se);for(C=0;C=0;O--)if(C[O]===k||C[O].listener===k){D=C[O].listener,P=O;break}if(P<0)return this;0===P?C.shift():function(S,k){for(;k+1=0;M--)this.removeListener(S,k[M]);return this},s.prototype.listeners=function(S){return b(this,S,!0)},s.prototype.rawListeners=function(S){return b(this,S,!1)},s.listenerCount=function(S,k){return"function"==typeof S.listenerCount?S.listenerCount(k):h.call(S,k)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?M(this._events):[]}},function(S,k,C){S.exports.Dispatcher=C(140)},function(S,k,C){S.exports=C(142)},function(S,k,C){"use strict";k.__esModule=!0;var M=i(C(50)),P=i(C(65)),O="function"==typeof P.default&&"symbol"==typeof M.default?function(S){return typeof S}:function(S){return S&&"function"==typeof P.default&&S.constructor===P.default&&S!==P.default.prototype?"symbol":typeof S};function i(S){return S&&S.__esModule?S:{"default":S}}k.default="function"==typeof P.default&&"symbol"===O(M.default)?function(S){return void 0===S?"undefined":O(S)}:function(S){return S&&"function"==typeof P.default&&S.constructor===P.default&&S!==P.default.prototype?"symbol":void 0===S?"undefined":O(S)}},function(S,k,C){S.exports={"default":C(51),"__esModule":!0}},function(S,k,C){C(20),C(29),S.exports=C(30).f("iterator")},function(S,k,C){var M=C(21),P=C(22);S.exports=function(S){return function(k,C){var O,D,re=String(P(k)),ne=M(C),se=re.length;return ne<0||ne>=se?S?"":void 0:(O=re.charCodeAt(ne))<55296||O>56319||ne+1===se||(D=re.charCodeAt(ne+1))<56320||D>57343?S?re.charAt(ne):O:S?re.slice(ne,ne+2):D-56320+(O-55296<<10)+65536}}},function(S,k,C){var M=C(54);S.exports=function(S,k,C){if(M(S),void 0===k)return S;switch(C){case 1:return function(C){return S.call(k,C)};case 2:return function(C,M){return S.call(k,C,M)};case 3:return function(C,M,P){return S.call(k,C,M,P)}}return function(){return S.apply(k,arguments)}}},function(S,k){S.exports=function(S){if("function"!=typeof S)throw TypeError(S+" is not a function!");return S}},function(S,k,C){"use strict";var M=C(38),P=C(16),O=C(28),D={};C(6)(D,C(2)("iterator"),(function(){return this})),S.exports=function(S,k,C){S.prototype=M(D,{"next":P(1,C)}),O(S,k+" Iterator")}},function(S,k,C){var M=C(7),P=C(10),O=C(13);S.exports=C(4)?Object.defineProperties:function(S,k){P(S);for(var C,D=O(k),re=D.length,ne=0;re>ne;)M.f(S,C=D[ne++],k[C]);return S}},function(S,k,C){var M=C(9),P=C(58),O=C(59);S.exports=function(S){return function(k,C,D){var re,ne=M(k),se=P(ne.length),oe=O(D,se);if(S&&C!=C){for(;se>oe;)if((re=ne[oe++])!=re)return!0}else for(;se>oe;oe++)if((S||oe in ne)&&ne[oe]===C)return S||oe||0;return!S&&-1}}},function(S,k,C){var M=C(21),P=Math.min;S.exports=function(S){return S>0?P(M(S),9007199254740991):0}},function(S,k,C){var M=C(21),P=Math.max,O=Math.min;S.exports=function(S,k){return(S=M(S))<0?P(S+k,0):O(S,k)}},function(S,k,C){var M=C(3).document;S.exports=M&&M.documentElement},function(S,k,C){var M=C(5),P=C(18),O=C(25)("IE_PROTO"),D=Object.prototype;S.exports=Object.getPrototypeOf||function(S){return S=P(S),M(S,O)?S[O]:"function"==typeof S.constructor&&S instanceof S.constructor?S.constructor.prototype:S instanceof Object?D:null}},function(S,k,C){"use strict";var M=C(63),P=C(64),O=C(12),D=C(9);S.exports=C(34)(Array,"Array",(function(S,k){this._t=D(S),this._i=0,this._k=k}),(function(){var S=this._t,k=this._k,C=this._i++;return!S||C>=S.length?(this._t=void 0,P(1)):P(0,"keys"==k?C:"values"==k?S[C]:[C,S[C]])}),"values"),O.Arguments=O.Array,M("keys"),M("values"),M("entries")},function(S,k){S.exports=function(){}},function(S,k){S.exports=function(S,k){return{"value":k,"done":!!S}}},function(S,k,C){S.exports={"default":C(66),"__esModule":!0}},function(S,k,C){C(67),C(73),C(74),C(75),S.exports=C(1).Symbol},function(S,k,C){"use strict";var M=C(3),P=C(5),O=C(4),D=C(15),re=C(37),ne=C(68).KEY,se=C(8),oe=C(26),de=C(28),ue=C(17),pe=C(2),he=C(30),fe=C(31),me=C(69),ge=C(70),be=C(10),ve=C(11),ye=C(18),Ee=C(9),Ae=C(23),ke=C(16),Te=C(38),_e=C(71),Me=C(72),Pe=C(32),Oe=C(7),Ie=C(13),Le=Me.f,je=Oe.f,De=_e.f,ze=M.Symbol,Re=M.JSON,Be=Re&&Re.stringify,Fe=pe("_hidden"),Ne=pe("toPrimitive"),He={}.propertyIsEnumerable,Ge=oe("symbol-registry"),Ye=oe("symbols"),Ve=oe("op-symbols"),We=Object.prototype,$e="function"==typeof ze&&!!Pe.f,qe=M.QObject,Xe=!qe||!qe.prototype||!qe.prototype.findChild,Ue=O&&se((function(){return 7!=Te(je({},"a",{"get":function(){return je(this,"a",{"value":7}).a}})).a}))?function(S,k,C){var M=Le(We,k);M&&delete We[k],je(S,k,C),M&&S!==We&&je(We,k,M)}:je,G=function(S){var k=Ye[S]=Te(ze.prototype);return k._k=S,k},Ze=$e&&"symbol"==typeof ze.iterator?function(S){return"symbol"==typeof S}:function(S){return S instanceof ze},Y=function(S,k,C){return S===We&&Y(Ve,k,C),be(S),k=Ae(k,!0),be(C),P(Ye,k)?(C.enumerable?(P(S,Fe)&&S[Fe][k]&&(S[Fe][k]=!1),C=Te(C,{"enumerable":ke(0,!1)})):(P(S,Fe)||je(S,Fe,ke(1,{})),S[Fe][k]=!0),Ue(S,k,C)):je(S,k,C)},$=function(S,k){be(S);for(var C,M=me(k=Ee(k)),P=0,O=M.length;O>P;)Y(S,C=M[P++],k[C]);return S},Q=function(S){var k=He.call(this,S=Ae(S,!0));return!(this===We&&P(Ye,S)&&!P(Ve,S))&&(!(k||!P(this,S)||!P(Ye,S)||P(this,Fe)&&this[Fe][S])||k)},Z=function(S,k){if(S=Ee(S),k=Ae(k,!0),S!==We||!P(Ye,k)||P(Ve,k)){var C=Le(S,k);return!C||!P(Ye,k)||P(S,Fe)&&S[Fe][k]||(C.enumerable=!0),C}},X=function(S){for(var k,C=De(Ee(S)),M=[],O=0;C.length>O;)P(Ye,k=C[O++])||k==Fe||k==ne||M.push(k);return M},ee=function(S){for(var k,C=S===We,M=De(C?Ve:Ee(S)),O=[],D=0;M.length>D;)!P(Ye,k=M[D++])||C&&!P(We,k)||O.push(Ye[k]);return O};$e||(re((ze=function(){if(this instanceof ze)throw TypeError("Symbol is not a constructor!");var S=ue(arguments.length>0?arguments[0]:void 0),t=function(k){this===We&&t.call(Ve,k),P(this,Fe)&&P(this[Fe],S)&&(this[Fe][S]=!1),Ue(this,S,ke(1,k))};return O&&Xe&&Ue(We,S,{"configurable":!0,"set":t}),G(S)}).prototype,"toString",(function(){return this._k})),Me.f=Z,Oe.f=Y,C(41).f=_e.f=X,C(19).f=Q,Pe.f=ee,O&&!C(14)&&re(We,"propertyIsEnumerable",Q,!0),he.f=function(S){return G(pe(S))}),D(D.G+D.W+D.F*!$e,{"Symbol":ze});for(var Ke="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Qe=0;Ke.length>Qe;)pe(Ke[Qe++]);for(var Je=Ie(pe.store),et=0;Je.length>et;)fe(Je[et++]);D(D.S+D.F*!$e,"Symbol",{"for":function(S){return P(Ge,S+="")?Ge[S]:Ge[S]=ze(S)},"keyFor":function(S){if(!Ze(S))throw TypeError(S+" is not a symbol!");for(var k in Ge)if(Ge[k]===S)return k},"useSetter":function(){Xe=!0},"useSimple":function(){Xe=!1}}),D(D.S+D.F*!$e,"Object",{"create":function(S,k){return void 0===k?Te(S):$(Te(S),k)},"defineProperty":Y,"defineProperties":$,"getOwnPropertyDescriptor":Z,"getOwnPropertyNames":X,"getOwnPropertySymbols":ee});var tt=se((function(){Pe.f(1)}));D(D.S+D.F*tt,"Object",{"getOwnPropertySymbols":function(S){return Pe.f(ye(S))}}),Re&&D(D.S+D.F*(!$e||se((function(){var S=ze();return"[null]"!=Be([S])||"{}"!=Be({"a":S})||"{}"!=Be(Object(S))}))),"JSON",{"stringify":function(S){for(var k,C,M=[S],P=1;arguments.length>P;)M.push(arguments[P++]);if(C=k=M[1],(ve(k)||void 0!==S)&&!Ze(S))return ge(k)||(k=function(S,k){if("function"==typeof C&&(k=C.call(this,S,k)),!Ze(k))return k}),M[1]=k,Be.apply(Re,M)}}),ze.prototype[Ne]||C(6)(ze.prototype,Ne,ze.prototype.valueOf),de(ze,"Symbol"),de(Math,"Math",!0),de(M.JSON,"JSON",!0)},function(S,k,C){var M=C(17)("meta"),P=C(11),O=C(5),D=C(7).f,re=0,ne=Object.isExtensible||function(){return!0},se=!C(8)((function(){return ne(Object.preventExtensions({}))})),u=function(S){D(S,M,{"value":{"i":"O"+ ++re,"w":{}}})},oe=S.exports={"KEY":M,"NEED":!1,"fastKey":function(S,k){if(!P(S))return"symbol"==typeof S?S:("string"==typeof S?"S":"P")+S;if(!O(S,M)){if(!ne(S))return"F";if(!k)return"E";u(S)}return S[M].i},"getWeak":function(S,k){if(!O(S,M)){if(!ne(S))return!0;if(!k)return!1;u(S)}return S[M].w},"onFreeze":function(S){return se&&oe.NEED&&ne(S)&&!O(S,M)&&u(S),S}}},function(S,k,C){var M=C(13),P=C(32),O=C(19);S.exports=function(S){var k=M(S),C=P.f;if(C)for(var D,re=C(S),ne=O.f,se=0;re.length>se;)ne.call(S,D=re[se++])&&k.push(D);return k}},function(S,k,C){var M=C(24);S.exports=Array.isArray||function(S){return"Array"==M(S)}},function(S,k,C){var M=C(9),P=C(41).f,O={}.toString,D="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];S.exports.f=function(S){return D&&"[object Window]"==O.call(S)?function(S){try{return P(S)}catch(S){return D.slice()}}(S):P(M(S))}},function(S,k,C){var M=C(19),P=C(16),O=C(9),D=C(23),re=C(5),ne=C(35),se=Object.getOwnPropertyDescriptor;k.f=C(4)?se:function(S,k){if(S=O(S),k=D(k,!0),ne)try{return se(S,k)}catch(S){}if(re(S,k))return P(!M.f.call(S,k),S[k])}},function(S,k){},function(S,k,C){C(31)("asyncIterator")},function(S,k,C){C(31)("observable")},function(S,k,C){"use strict";k.__esModule=!0;var M,P=(M=C(77))&&M.__esModule?M:{"default":M};k.default=P.default||function(S){for(var k=1;koe;)for(var pe,he=ne(arguments[oe++]),fe=de?P(he).concat(de(he)):P(he),me=fe.length,ge=0;me>ge;)pe=fe[ge++],M&&!ue.call(he,pe)||(C[pe]=he[pe]);return C}:se},function(S,k,C){"use strict";k.__esModule=!0;var M=o(C(82)),P=o(C(85));function o(S){return S&&S.__esModule?S:{"default":S}}k.default=function(S,k){if(Array.isArray(S))return S;if((0,M.default)(Object(S)))return function(S,k){var C=[],M=!0,O=!1,D=void 0;try{for(var re,ne=(0,P.default)(S);!(M=(re=ne.next()).done)&&(C.push(re.value),!k||C.length!==k);M=!0);}catch(S){O=!0,D=S}finally{try{!M&&ne.return&&ne.return()}finally{if(O)throw D}}return C}(S,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(S,k,C){S.exports={"default":C(83),"__esModule":!0}},function(S,k,C){C(29),C(20),S.exports=C(84)},function(S,k,C){var M=C(42),P=C(2)("iterator"),O=C(12);S.exports=C(1).isIterable=function(S){var k=Object(S);return void 0!==k[P]||"@@iterator"in k||O.hasOwnProperty(M(k))}},function(S,k,C){S.exports={"default":C(86),"__esModule":!0}},function(S,k,C){C(29),C(20),S.exports=C(87)},function(S,k,C){var M=C(10),P=C(88);S.exports=C(1).getIterator=function(S){var k=P(S);if("function"!=typeof k)throw TypeError(S+" is not iterable!");return M(k.call(S))}},function(S,k,C){var M=C(42),P=C(2)("iterator"),O=C(12);S.exports=C(1).getIteratorMethod=function(S){if(null!=S)return S[P]||S["@@iterator"]||O[M(S)]}},function(S,k,C){S.exports={"default":C(90),"__esModule":!0}},function(S,k,C){C(91),S.exports=C(1).Object.keys},function(S,k,C){var M=C(18),P=C(13);C(92)("keys",(function(){return function(S){return P(M(S))}}))},function(S,k,C){var M=C(15),P=C(1),O=C(8);S.exports=function(S,k){var C=(P.Object||{})[S]||Object[S],D={};D[S]=k(C),M(M.S+M.F*O((function(){C(1)})),"Object",D)}},function(S,k,C){(function(k){var C=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],M=/^\s+|\s+$/g,P=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,O=/\{\n\/\* \[wrapped with (.+)\] \*/,D=/,? & /,re=/^[-+]0x[0-9a-f]+$/i,ne=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,de=/^(?:0|[1-9]\d*)$/,ue=parseInt,pe="object"==typeof k&&k&&k.Object===Object&&k,he="object"==typeof self&&self&&self.Object===Object&&self,fe=pe||he||Function("return this")();function v(S,k,C){switch(C.length){case 0:return S.call(k);case 1:return S.call(k,C[0]);case 2:return S.call(k,C[0],C[1]);case 3:return S.call(k,C[0],C[1],C[2])}return S.apply(k,C)}function m(S,k){return!(!S||!S.length)&&function(S,k,C){if(k!=k)return function(S,k,C,M){for(var P=S.length,O=C+(M?1:-1);M?O--:++O-1}function y(S){return S!=S}function g(S,k){for(var C=S.length,M=0;C--;)S[C]===k&&M++;return M}function E(S,k){for(var C=-1,M=S.length,P=0,O=[];++C2?ge:void 0);function L(S){return X(S)?Pe(S):{}}function B(S){return!(!X(S)||function(S){return!!Ae&&Ae in S}(S))&&(function(S){var k=X(S)?_e.call(S):"";return"[object Function]"==k||"[object GeneratorFunction]"==k}(S)||function(S){var k=!1;if(null!=S&&"function"!=typeof S.toString)try{k=!!(S+"")}catch(S){}return k}(S)?Me:se).test(function(S){if(null!=S){try{return ke.call(S)}catch(S){}try{return S+""}catch(S){}}return""}(S))}function N(S,k,C,M){for(var P=-1,O=S.length,D=C.length,re=-1,ne=k.length,se=Oe(O-D,0),oe=Array(ne+se),de=!M;++re1&&be.reverse(),oe&&ne1?"& ":"")+k[M],k=k.join(C>2?", ":" "),S.replace(P,"{\n/* [wrapped with "+k+"] */\n")}function J(S,k){return!!(k=null==k?9007199254740991:k)&&("number"==typeof S||de.test(S))&&S>-1&&S%1==0&&S1&&M--,O=6*M<1?k+6*(C-k)*M:2*M<1?C:3*M<2?k+(C-k)*(2/3-M)*6:k,P[se]=255*O;return P}},function(S,k,C){(function(k){var C="object"==typeof k&&k&&k.Object===Object&&k,M="object"==typeof self&&self&&self.Object===Object&&self,P=C||M||Function("return this")();function o(S,k,C){switch(C.length){case 0:return S.call(k);case 1:return S.call(k,C[0]);case 2:return S.call(k,C[0],C[1]);case 3:return S.call(k,C[0],C[1],C[2])}return S.apply(k,C)}function i(S,k){for(var C=-1,M=k.length,P=S.length;++C-1&&S%1==0&&S<=9007199254740991}(S.length)&&!function(S){var k=function(S){var k=typeof S;return!!S&&("object"==k||"function"==k)}(S)?re.call(S):"";return"[object Function]"==k||"[object GeneratorFunction]"==k}(S)}(S)}(S)&&D.call(S,"callee")&&(!se.call(S,"callee")||"[object Arguments]"==re.call(S))}(S)||!!(oe&&S&&S[oe])}var ue,pe,he,fe=Array.isArray,me=(pe=function(S){var k=(S=function e(S,k,C,M,P){var O=-1,D=S.length;for(C||(C=b),P||(P=[]);++O0&&C(re)?k>1?e(re,k-1,C,M,P):i(P,re):M||(P[P.length]=re)}return P}(S,1)).length,C=k;for(ue&&S.reverse();C--;)if("function"!=typeof S[C])throw new TypeError("Expected a function");return function(){for(var C=0,M=k?S[C].apply(this,arguments):arguments[0];++C2?C-2:0),P=2;P=0||(P[C]=S[C]);return P}(S,k);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(S);for(M=0;M=0||Object.prototype.propertyIsEnumerable.call(S,C)&&(P[C]=S[C])}return P}function _(S){var k=function(S){return{}.toString.call(S).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(S);return"number"===k&&(k=isNaN(S)?"nan":(0|S)!=S?"float":"integer"),k}y.__suppressDeprecationWarning=!0,g.__suppressDeprecationWarning=!0,E.__suppressDeprecationWarning=!0;var O={"scheme":"rjv-default","author":"mac gainor","base00":"rgba(0, 0, 0, 0)","base01":"rgb(245, 245, 245)","base02":"rgb(235, 235, 235)","base03":"#93a1a1","base04":"rgba(0, 0, 0, 0.3)","base05":"#586e75","base06":"#073642","base07":"#002b36","base08":"#d33682","base09":"#cb4b16","base0A":"#dc322f","base0B":"#859900","base0C":"#6c71c4","base0D":"#586e75","base0E":"#2aa198","base0F":"#268bd2"},D={"scheme":"rjv-grey","author":"mac gainor","base00":"rgba(1, 1, 1, 0)","base01":"rgba(1, 1, 1, 0.1)","base02":"rgba(0, 0, 0, 0.2)","base03":"rgba(1, 1, 1, 0.3)","base04":"rgba(0, 0, 0, 0.4)","base05":"rgba(1, 1, 1, 0.5)","base06":"rgba(1, 1, 1, 0.6)","base07":"rgba(1, 1, 1, 0.7)","base08":"rgba(1, 1, 1, 0.8)","base09":"rgba(1, 1, 1, 0.8)","base0A":"rgba(1, 1, 1, 0.8)","base0B":"rgba(1, 1, 1, 0.8)","base0C":"rgba(1, 1, 1, 0.8)","base0D":"rgba(1, 1, 1, 0.8)","base0E":"rgba(1, 1, 1, 0.8)","base0F":"rgba(1, 1, 1, 0.8)"},re={"white":"#fff","black":"#000","transparent":"rgba(1, 1, 1, 0)","globalFontFamily":"monospace","globalCursor":"default","indentBlockWidth":"5px","braceFontWeight":"bold","braceCursor":"pointer","ellipsisFontSize":"18px","ellipsisLineHeight":"10px","ellipsisCursor":"pointer","keyMargin":"0px 5px","keyLetterSpacing":"0.5px","keyFontStyle":"none","keyBorderRadius":"3px","keyColonWeight":"bold","keyVerticalAlign":"top","keyOpacity":"0.85","keyOpacityHover":"1","keyValPaddingTop":"3px","keyValPaddingBottom":"3px","keyValPaddingRight":"5px","keyValBorderLeft":"1px solid","keyValBorderHover":"2px solid","keyValPaddingHover":"3px 5px 3px 4px","pushedContentMarginLeft":"6px","variableValuePaddingRight":"6px","nullFontSize":"11px","nullFontWeight":"bold","nullPadding":"1px 2px","nullBorderRadius":"3px","nanFontSize":"11px","nanFontWeight":"bold","nanPadding":"1px 2px","nanBorderRadius":"3px","undefinedFontSize":"11px","undefinedFontWeight":"bold","undefinedPadding":"1px 2px","undefinedBorderRadius":"3px","dataTypeFontSize":"11px","dataTypeMarginRight":"4px","datatypeOpacity":"0.8","objectSizeBorderRadius":"3px","objectSizeFontStyle":"italic","objectSizeMargin":"0px 6px 0px 0px","clipboardCursor":"pointer","clipboardCheckMarginLeft":"-12px","metaDataPadding":"0px 0px 0px 10px","arrayGroupMetaPadding":"0px 0px 0px 4px","iconContainerWidth":"17px","tooltipPadding":"4px","editInputMinWidth":"130px","editInputBorderRadius":"2px","editInputPadding":"5px","editInputMarginRight":"4px","editInputFontFamily":"monospace","iconCursor":"pointer","iconFontSize":"15px","iconPaddingRight":"1px","dateValueMarginLeft":"2px","iconMarginRight":"3px","detectedRowPaddingTop":"3px","addKeyCoverBackground":"rgba(255, 255, 255, 0.3)","addKeyCoverPosition":"absolute","addKeyCoverPositionPx":"0px","addKeyModalWidth":"200px","addKeyModalMargin":"auto","addKeyModalPadding":"10px","addKeyModalRadius":"3px"},ne=C(45),w=function(S){var k=function(S){return{"backgroundColor":S.base00,"ellipsisColor":S.base09,"braceColor":S.base07,"expandedIcon":S.base0D,"collapsedIcon":S.base0E,"keyColor":S.base07,"arrayKeyColor":S.base0C,"objectSize":S.base04,"copyToClipboard":S.base0F,"copyToClipboardCheck":S.base0D,"objectBorder":S.base02,"dataTypes":{"boolean":S.base0E,"date":S.base0D,"float":S.base0B,"function":S.base0D,"integer":S.base0F,"string":S.base09,"nan":S.base08,"null":S.base0A,"undefined":S.base05,"regexp":S.base0A,"background":S.base02},"editVariable":{"editIcon":S.base0E,"cancelIcon":S.base09,"removeIcon":S.base09,"addIcon":S.base0E,"checkIcon":S.base0E,"background":S.base01,"color":S.base0A,"border":S.base07},"addKeyModal":{"background":S.base05,"border":S.base04,"color":S.base0A,"labelColor":S.base01},"validationFailure":{"background":S.base09,"iconColor":S.base01,"fontColor":S.base01}}}(S);return{"app-container":{"fontFamily":re.globalFontFamily,"cursor":re.globalCursor,"backgroundColor":k.backgroundColor,"position":"relative"},"ellipsis":{"display":"inline-block","color":k.ellipsisColor,"fontSize":re.ellipsisFontSize,"lineHeight":re.ellipsisLineHeight,"cursor":re.ellipsisCursor},"brace-row":{"display":"inline-block","cursor":"pointer"},"brace":{"display":"inline-block","cursor":re.braceCursor,"fontWeight":re.braceFontWeight,"color":k.braceColor},"expanded-icon":{"color":k.expandedIcon},"collapsed-icon":{"color":k.collapsedIcon},"colon":{"display":"inline-block","margin":re.keyMargin,"color":k.keyColor,"verticalAlign":"top"},"objectKeyVal":function(S,C){return{"style":o({"paddingTop":re.keyValPaddingTop,"paddingRight":re.keyValPaddingRight,"paddingBottom":re.keyValPaddingBottom,"borderLeft":re.keyValBorderLeft+" "+k.objectBorder,":hover":{"paddingLeft":C.paddingLeft-1+"px","borderLeft":re.keyValBorderHover+" "+k.objectBorder}},C)}},"object-key-val-no-border":{"padding":re.keyValPadding},"pushed-content":{"marginLeft":re.pushedContentMarginLeft},"variableValue":function(S,k){return{"style":o({"display":"inline-block","paddingRight":re.variableValuePaddingRight,"position":"relative"},k)}},"object-name":{"display":"inline-block","color":k.keyColor,"letterSpacing":re.keyLetterSpacing,"fontStyle":re.keyFontStyle,"verticalAlign":re.keyVerticalAlign,"opacity":re.keyOpacity,":hover":{"opacity":re.keyOpacityHover}},"array-key":{"display":"inline-block","color":k.arrayKeyColor,"letterSpacing":re.keyLetterSpacing,"fontStyle":re.keyFontStyle,"verticalAlign":re.keyVerticalAlign,"opacity":re.keyOpacity,":hover":{"opacity":re.keyOpacityHover}},"object-size":{"color":k.objectSize,"borderRadius":re.objectSizeBorderRadius,"fontStyle":re.objectSizeFontStyle,"margin":re.objectSizeMargin,"cursor":"default"},"data-type-label":{"fontSize":re.dataTypeFontSize,"marginRight":re.dataTypeMarginRight,"opacity":re.datatypeOpacity},"boolean":{"display":"inline-block","color":k.dataTypes.boolean},"date":{"display":"inline-block","color":k.dataTypes.date},"date-value":{"marginLeft":re.dateValueMarginLeft},"float":{"display":"inline-block","color":k.dataTypes.float},"function":{"display":"inline-block","color":k.dataTypes.function,"cursor":"pointer","whiteSpace":"pre-line"},"function-value":{"fontStyle":"italic"},"integer":{"display":"inline-block","color":k.dataTypes.integer},"string":{"display":"inline-block","color":k.dataTypes.string},"nan":{"display":"inline-block","color":k.dataTypes.nan,"fontSize":re.nanFontSize,"fontWeight":re.nanFontWeight,"backgroundColor":k.dataTypes.background,"padding":re.nanPadding,"borderRadius":re.nanBorderRadius},"null":{"display":"inline-block","color":k.dataTypes.null,"fontSize":re.nullFontSize,"fontWeight":re.nullFontWeight,"backgroundColor":k.dataTypes.background,"padding":re.nullPadding,"borderRadius":re.nullBorderRadius},"undefined":{"display":"inline-block","color":k.dataTypes.undefined,"fontSize":re.undefinedFontSize,"padding":re.undefinedPadding,"borderRadius":re.undefinedBorderRadius,"backgroundColor":k.dataTypes.background},"regexp":{"display":"inline-block","color":k.dataTypes.regexp},"copy-to-clipboard":{"cursor":re.clipboardCursor},"copy-icon":{"color":k.copyToClipboard,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight,"verticalAlign":"top"},"copy-icon-copied":{"color":k.copyToClipboardCheck,"marginLeft":re.clipboardCheckMarginLeft},"array-group-meta-data":{"display":"inline-block","padding":re.arrayGroupMetaPadding},"object-meta-data":{"display":"inline-block","padding":re.metaDataPadding},"icon-container":{"display":"inline-block","width":re.iconContainerWidth},"tooltip":{"padding":re.tooltipPadding},"removeVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.removeIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"addVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.addIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"editVarIcon":{"verticalAlign":"top","display":"inline-block","color":k.editVariable.editIcon,"cursor":re.iconCursor,"fontSize":re.iconFontSize,"marginRight":re.iconMarginRight},"edit-icon-container":{"display":"inline-block","verticalAlign":"top"},"check-icon":{"display":"inline-block","cursor":re.iconCursor,"color":k.editVariable.checkIcon,"fontSize":re.iconFontSize,"paddingRight":re.iconPaddingRight},"cancel-icon":{"display":"inline-block","cursor":re.iconCursor,"color":k.editVariable.cancelIcon,"fontSize":re.iconFontSize,"paddingRight":re.iconPaddingRight},"edit-input":{"display":"inline-block","minWidth":re.editInputMinWidth,"borderRadius":re.editInputBorderRadius,"backgroundColor":k.editVariable.background,"color":k.editVariable.color,"padding":re.editInputPadding,"marginRight":re.editInputMarginRight,"fontFamily":re.editInputFontFamily},"detected-row":{"paddingTop":re.detectedRowPaddingTop},"key-modal-request":{"position":re.addKeyCoverPosition,"top":re.addKeyCoverPositionPx,"left":re.addKeyCoverPositionPx,"right":re.addKeyCoverPositionPx,"bottom":re.addKeyCoverPositionPx,"backgroundColor":re.addKeyCoverBackground},"key-modal":{"width":re.addKeyModalWidth,"backgroundColor":k.addKeyModal.background,"marginLeft":re.addKeyModalMargin,"marginRight":re.addKeyModalMargin,"padding":re.addKeyModalPadding,"borderRadius":re.addKeyModalRadius,"marginTop":"15px","position":"relative"},"key-modal-label":{"color":k.addKeyModal.labelColor,"marginLeft":"2px","marginBottom":"5px","fontSize":"11px"},"key-modal-input-container":{"overflow":"hidden"},"key-modal-input":{"width":"100%","padding":"3px 6px","fontFamily":"monospace","color":k.addKeyModal.color,"border":"none","boxSizing":"border-box","borderRadius":"2px"},"key-modal-cancel":{"backgroundColor":k.editVariable.removeIcon,"position":"absolute","top":"0px","right":"0px","borderRadius":"0px 3px 0px 3px","cursor":"pointer"},"key-modal-cancel-icon":{"color":k.addKeyModal.labelColor,"fontSize":re.iconFontSize,"transform":"rotate(45deg)"},"key-modal-submit":{"color":k.editVariable.addIcon,"fontSize":re.iconFontSize,"position":"absolute","right":"2px","top":"3px","cursor":"pointer"},"function-ellipsis":{"display":"inline-block","color":k.ellipsisColor,"fontSize":re.ellipsisFontSize,"lineHeight":re.ellipsisLineHeight,"cursor":re.ellipsisCursor},"validation-failure":{"float":"right","padding":"3px 6px","borderRadius":"2px","cursor":"pointer","color":k.validationFailure.fontColor,"backgroundColor":k.validationFailure.background},"validation-failure-label":{"marginRight":"6px"},"validation-failure-clear":{"position":"relative","verticalAlign":"top","cursor":"pointer","color":k.validationFailure.iconColor,"fontSize":re.iconFontSize,"transform":"rotate(45deg)"}}};function A(S,k,C){return S||console.error("theme has not been set"),function(S){var k=O;return!1!==S&&"none"!==S||(k=D),Object(ne.createStyling)(w,{"defaultBase16":k})(S)}(S)(k,C)}var se=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=(S.rjvId,S.type_name),C=S.displayDataTypes,M=S.theme;return C?P.a.createElement("span",Object.assign({"className":"data-type-label"},A(M,"data-type-label")),k):null}}]),n}(P.a.PureComponent),oe=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"boolean"),P.a.createElement(se,Object.assign({"type_name":"bool"},S)),S.value?"true":"false")}}]),n}(P.a.PureComponent),de=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"date"),P.a.createElement(se,Object.assign({"type_name":"date"},S)),P.a.createElement("span",Object.assign({"className":"date-value"},A(S.theme,"date-value")),S.value.toLocaleTimeString("en-us",{"weekday":"short","year":"numeric","month":"short","day":"numeric","hour":"2-digit","minute":"2-digit"})))}}]),n}(P.a.PureComponent),ue=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props;return P.a.createElement("div",A(S.theme,"float"),P.a.createElement(se,Object.assign({"type_name":"float"},S)),this.props.value)}}]),n}(P.a.PureComponent);function I(S,k){(null==k||k>S.length)&&(k=S.length);for(var C=0,M=new Array(k);C=S.length?{"done":!0}:{"done":!1,"value":S[M++]}},"e":function(S){throw S},"f":r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var P,O=!0,D=!1;return{"s":function(){C=S[Symbol.iterator]()},"n":function(){var S=C.next();return O=S.done,S},"e":function(S){D=!0,P=S},"f":function(){try{O||null==C.return||C.return()}finally{if(D)throw P}}}}function B(S){return function(S){if(Array.isArray(S))return I(S)}(S)||function(S){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(S))return Array.from(S)}(S)||R(S)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var pe=C(46),he=new(C(47).Dispatcher),fe=new(function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),P=0;Pk&&(O.style.cursor="pointer",this.state.collapsed&&(M=P.a.createElement("span",null,M.substring(0,k),P.a.createElement("span",A(C,"ellipsis")," ...")))),P.a.createElement("div",A(C,"string"),P.a.createElement(se,Object.assign({"type_name":"string"},S)),P.a.createElement("span",Object.assign({"className":"string-value"},O,{"onClick":this.toggleCollapsed}),'"',M,'"'))}}]),n}(P.a.PureComponent),ke=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){return P.a.createElement("div",A(this.props.theme,"undefined"),"undefined")}}]),n}(P.a.PureComponent);function Y(){return(Y=Object.assign||function(S){for(var k=1;k=0||(P[C]=S[C]);return P}(S,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),ue=void 0!==de.value,pe=Object(M.useRef)(null),he=X(pe,k),fe=Object(M.useRef)(0),me=Object(M.useRef)(),m=function(){var S=pe.current,k=P&&me.current?me.current:function(S){var k=window.getComputedStyle(S);if(null===k)return null;var C,M=(C=k,Pe.reduce((function(S,k){return S[k]=C[k],S}),{})),P=M.boxSizing;return""===P?null:(Oe&&"border-box"===P&&(M.width=parseFloat(M.width)+parseFloat(M.borderRightWidth)+parseFloat(M.borderLeftWidth)+parseFloat(M.paddingRight)+parseFloat(M.paddingLeft)+"px"),{"sizingStyle":M,"paddingSize":parseFloat(M.paddingBottom)+parseFloat(M.paddingTop),"borderSize":parseFloat(M.borderBottomWidth)+parseFloat(M.borderTopWidth)})}(S);if(k){me.current=k;var C=function(S,k,C,M){void 0===C&&(C=1),void 0===M&&(M=1/0),Me||((Me=document.createElement("textarea")).setAttribute("tab-index","-1"),Me.setAttribute("aria-hidden","true"),te(Me)),null===Me.parentNode&&document.body.appendChild(Me);var P=S.paddingSize,O=S.borderSize,D=S.sizingStyle,re=D.boxSizing;Object.keys(D).forEach((function(S){var k=S;Me.style[k]=D[k]})),te(Me),Me.value=k;var ne=function(S,k){var C=S.scrollHeight;return"border-box"===k.sizingStyle.boxSizing?C+k.borderSize:C-k.paddingSize}(Me,S);Me.value="x";var se=Me.scrollHeight-P,oe=se*C;"border-box"===re&&(oe=oe+P+O),ne=Math.max(oe,ne);var de=se*M;return"border-box"===re&&(de=de+P+O),[ne=Math.min(de,ne),se]}(k,S.value||S.placeholder||"x",D,O),M=C[0],re=C[1];fe.current!==M&&(fe.current=M,S.style.setProperty("height",M+"px","important"),oe(M,{"rowHeight":re}))}};return Object(M.useLayoutEffect)(m),C=Q(m),Object(M.useLayoutEffect)((function(){var e=function(S){C.current(S)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(M.createElement)("textarea",Y({},de,{"onChange":function(S){ue||m(),ne(S)},"ref":he}))},Ie=Object(M.forwardRef)(ie);function ce(S){S=S.trim();try{if("["===(S=JSON.stringify(JSON.parse(S)))[0])return le("array",JSON.parse(S));if("{"===S[0])return le("object",JSON.parse(S));if(S.match(/\-?\d+\.\d+/)&&S.match(/\-?\d+\.\d+/)[0]===S)return le("float",parseFloat(S));if(S.match(/\-?\d+e-\d+/)&&S.match(/\-?\d+e-\d+/)[0]===S)return le("float",Number(S));if(S.match(/\-?\d+/)&&S.match(/\-?\d+/)[0]===S)return le("integer",parseInt(S));if(S.match(/\-?\d+e\+\d+/)&&S.match(/\-?\d+e\+\d+/)[0]===S)return le("integer",Number(S))}catch(S){}switch(S=S.toLowerCase()){case"undefined":return le("undefined",void 0);case"nan":return le("nan",NaN);case"null":return le("null",null);case"true":return le("boolean",!0);case"false":return le("boolean",!1);default:if(S=Date.parse(S))return le("date",new Date(S))}return le(!1,null)}function le(S,k){return{"type":S,"value":k}}var Le=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 24 24","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("path",{"d":"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(P.a.PureComponent),je=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 24 24","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("path",{"d":"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(P.a.PureComponent),De=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]),M=xe(k).style;return P.a.createElement("span",C,P.a.createElement("svg",{"fill":M.color,"width":M.height,"height":M.width,"style":M,"viewBox":"0 0 1792 1792"},P.a.createElement("path",{"d":"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(P.a.PureComponent),ze=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]),M=xe(k).style;return P.a.createElement("span",C,P.a.createElement("svg",{"fill":M.color,"width":M.height,"height":M.width,"style":M,"viewBox":"0 0 1792 1792"},P.a.createElement("path",{"d":"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(P.a.PureComponent),Re=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",{"style":o(o({},xe(k).style),{},{"paddingLeft":"2px","verticalAlign":"top"}),"viewBox":"0 0 15 15","fill":"currentColor"},P.a.createElement("path",{"d":"M0 14l6-6-6-6z"})))}}]),n}(P.a.PureComponent),Be=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",{"style":o(o({},xe(k).style),{},{"paddingLeft":"2px","verticalAlign":"top"}),"viewBox":"0 0 15 15","fill":"currentColor"},P.a.createElement("path",{"d":"M0 5l6 6 6-6z"})))}}]),n}(P.a.PureComponent),Fe=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(P.a.PureComponent),Ne=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent),He=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent),Ge=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(P.a.PureComponent),Ye=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(P.a.PureComponent),Ve=function(S){u(n,S);var k=h(n);function n(){return i(this,n),k.apply(this,arguments)}return c(n,[{"key":"render","value":function(){var S=this.props,k=S.style,C=x(S,["style"]);return P.a.createElement("span",C,P.a.createElement("svg",Object.assign({},xe(k),{"viewBox":"0 0 40 40","fill":"currentColor","preserveAspectRatio":"xMidYMid meet"}),P.a.createElement("g",null,P.a.createElement("path",{"d":"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(P.a.PureComponent);function xe(S){return S||(S={}),{"style":o(o({"verticalAlign":"middle"},S),{},{"color":S.color?S.color:"#000000","height":"1em","width":"1em"})}}var We=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).copiedTimer=null,C.handleCopy=function(){var S=document.createElement("textarea"),k=C.props,M=k.clickCallback,P=k.src,O=k.namespace;S.innerHTML=JSON.stringify(C.clipboardValue(P),null," "),document.body.appendChild(S),S.select(),document.execCommand("copy"),document.body.removeChild(S),C.copiedTimer=setTimeout((function(){C.setState({"copied":!1})}),5500),C.setState({"copied":!0},(function(){"function"==typeof M&&M({"src":P,"namespace":O,"name":O[O.length-1]})}))},C.getClippyIcon=function(){var S=C.props.theme;return C.state.copied?P.a.createElement("span",null,P.a.createElement(Fe,Object.assign({"className":"copy-icon"},A(S,"copy-icon"))),P.a.createElement("span",A(S,"copy-icon-copied"),"✔")):P.a.createElement(Fe,Object.assign({"className":"copy-icon"},A(S,"copy-icon")))},C.clipboardValue=function(S){switch(_(S)){case"function":case"regexp":return S.toString();default:return S}},C.state={"copied":!1},C}return c(n,[{"key":"componentWillUnmount","value":function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{"key":"render","value":function(){var S=this.props,k=(S.src,S.theme),C=S.hidden,M=S.rowHovered,O=A(k,"copy-to-clipboard").style,D="inline";return C&&(D="none"),P.a.createElement("span",{"className":"copy-to-clipboard-container","title":"Copy to clipboard","style":{"verticalAlign":"top","display":M?"inline-block":"none"}},P.a.createElement("span",{"style":o(o({},O),{},{"display":D}),"onClick":this.handleCopy},this.getClippyIcon()))}}]),n}(P.a.PureComponent),$e=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).getEditIcon=function(){var S=C.props,k=S.variable,M=S.theme;return P.a.createElement("div",{"className":"click-to-edit","style":{"verticalAlign":"top","display":C.state.hovered?"inline-block":"none"}},P.a.createElement(Ye,Object.assign({"className":"click-to-edit-icon"},A(M,"editVarIcon"),{"onClick":function(){C.prepopInput(k)}})))},C.prepopInput=function(S){if(!1!==C.props.onEdit){var k=function(S){var k;switch(_(S)){case"undefined":k="undefined";break;case"nan":k="NaN";break;case"string":k=S;break;case"date":case"function":case"regexp":k=S.toString();break;default:try{k=JSON.stringify(S,null," ")}catch(S){k=""}}return k}(S.value),M=ce(k);C.setState({"editMode":!0,"editValue":k,"parsedInput":{"type":M.type,"value":M.value}})}},C.getRemoveIcon=function(){var S=C.props,k=S.variable,M=S.namespace,O=S.theme,D=S.rjvId;return P.a.createElement("div",{"className":"click-to-remove","style":{"verticalAlign":"top","display":C.state.hovered?"inline-block":"none"}},P.a.createElement(Ne,Object.assign({"className":"click-to-remove-icon"},A(O,"removeVarIcon"),{"onClick":function(){he.dispatch({"name":"VARIABLE_REMOVED","rjvId":D,"data":{"name":k.name,"namespace":M,"existing_value":k.value,"variable_removed":!0}})}})))},C.getValue=function(S,k){var M=!k&&S.type,O=d(C).props;switch(M){case!1:return C.getEditInput();case"string":return P.a.createElement(Ae,Object.assign({"value":S.value},O));case"integer":return P.a.createElement(ye,Object.assign({"value":S.value},O));case"float":return P.a.createElement(ue,Object.assign({"value":S.value},O));case"boolean":return P.a.createElement(oe,Object.assign({"value":S.value},O));case"function":return P.a.createElement(ge,Object.assign({"value":S.value},O));case"null":return P.a.createElement(ve,O);case"nan":return P.a.createElement(be,O);case"undefined":return P.a.createElement(ke,O);case"date":return P.a.createElement(de,Object.assign({"value":S.value},O));case"regexp":return P.a.createElement(Ee,Object.assign({"value":S.value},O));default:return P.a.createElement("div",{"className":"object-value"},JSON.stringify(S.value))}},C.getEditInput=function(){var S=C.props.theme,k=C.state.editValue;return P.a.createElement("div",null,P.a.createElement(Ie,Object.assign({"type":"text","inputRef":function(S){return S&&S.focus()},"value":k,"className":"variable-editor","onChange":function(S){var k=S.target.value,M=ce(k);C.setState({"editValue":k,"parsedInput":{"type":M.type,"value":M.value}})},"onKeyDown":function(S){switch(S.key){case"Escape":C.setState({"editMode":!1,"editValue":""});break;case"Enter":(S.ctrlKey||S.metaKey)&&C.submitEdit(!0)}S.stopPropagation()},"placeholder":"update this value","minRows":2},A(S,"edit-input"))),P.a.createElement("div",A(S,"edit-icon-container"),P.a.createElement(Ne,Object.assign({"className":"edit-cancel"},A(S,"cancel-icon"),{"onClick":function(){C.setState({"editMode":!1,"editValue":""})}})),P.a.createElement(Ve,Object.assign({"className":"edit-check string-value"},A(S,"check-icon"),{"onClick":function(){C.submitEdit()}})),P.a.createElement("div",null,C.showDetected())))},C.submitEdit=function(S){var k=C.props,M=k.variable,P=k.namespace,O=k.rjvId,D=C.state,re=D.editValue,ne=D.parsedInput,se=re;S&&ne.type&&(se=ne.value),C.setState({"editMode":!1}),he.dispatch({"name":"VARIABLE_UPDATED","rjvId":O,"data":{"name":M.name,"namespace":P,"existing_value":M.value,"new_value":se,"variable_removed":!1}})},C.showDetected=function(){var S=C.props,k=S.theme,M=(S.variable,S.namespace,S.rjvId,C.state.parsedInput),O=(M.type,M.value,C.getDetectedInput());if(O)return P.a.createElement("div",null,P.a.createElement("div",A(k,"detected-row"),O,P.a.createElement(Ve,{"className":"edit-check detected","style":o({"verticalAlign":"top","paddingLeft":"3px"},A(k,"check-icon").style),"onClick":function(){C.submitEdit(!0)}})))},C.getDetectedInput=function(){var S=C.state.parsedInput,k=S.type,M=S.value,O=d(C).props,D=O.theme;if(!1!==k)switch(k.toLowerCase()){case"object":return P.a.createElement("span",null,P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"{"),P.a.createElement("span",{"style":o(o({},A(D,"ellipsis").style),{},{"cursor":"default"})},"..."),P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"}"));case"array":return P.a.createElement("span",null,P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"["),P.a.createElement("span",{"style":o(o({},A(D,"ellipsis").style),{},{"cursor":"default"})},"..."),P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"cursor":"default"})},"]"));case"string":return P.a.createElement(Ae,Object.assign({"value":M},O));case"integer":return P.a.createElement(ye,Object.assign({"value":M},O));case"float":return P.a.createElement(ue,Object.assign({"value":M},O));case"boolean":return P.a.createElement(oe,Object.assign({"value":M},O));case"function":return P.a.createElement(ge,Object.assign({"value":M},O));case"null":return P.a.createElement(ve,O);case"nan":return P.a.createElement(be,O);case"undefined":return P.a.createElement(ke,O);case"date":return P.a.createElement(de,Object.assign({"value":new Date(M)},O))}},C.state={"editMode":!1,"editValue":"","hovered":!1,"renameKey":!1,"parsedInput":{"type":!1,"value":null}},C}return c(n,[{"key":"render","value":function(){var S=this,k=this.props,C=k.variable,M=k.singleIndent,O=k.type,D=k.theme,re=k.namespace,ne=k.indentWidth,se=k.enableClipboard,oe=k.onEdit,de=k.onDelete,ue=k.onSelect,pe=k.displayArrayKey,he=k.quotesOnKeys,fe=this.state.editMode;return P.a.createElement("div",Object.assign({},A(D,"objectKeyVal",{"paddingLeft":ne*M}),{"onMouseEnter":function(){return S.setState(o(o({},S.state),{},{"hovered":!0}))},"onMouseLeave":function(){return S.setState(o(o({},S.state),{},{"hovered":!1}))},"className":"variable-row","key":C.name}),"array"==O?pe?P.a.createElement("span",Object.assign({},A(D,"array-key"),{"key":C.name+"_"+re}),C.name,P.a.createElement("div",A(D,"colon"),":")):null:P.a.createElement("span",null,P.a.createElement("span",Object.assign({},A(D,"object-name"),{"className":"object-key","key":C.name+"_"+re}),!!he&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"'),P.a.createElement("span",{"style":{"display":"inline-block"}},C.name),!!he&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"')),P.a.createElement("span",A(D,"colon"),":")),P.a.createElement("div",Object.assign({"className":"variable-value","onClick":!1===ue&&!1===oe?null:function(k){var M=B(re);(k.ctrlKey||k.metaKey)&&!1!==oe?S.prepopInput(C):!1!==ue&&(M.shift(),ue(o(o({},C),{},{"namespace":M})))}},A(D,"variableValue",{"cursor":!1===ue?"default":"pointer"})),this.getValue(C,fe)),se?P.a.createElement(We,{"rowHovered":this.state.hovered,"hidden":fe,"src":C.value,"clickCallback":se,"theme":D,"namespace":[].concat(B(re),[C.name])}):null,!1!==oe&&0==fe?this.getEditIcon():null,!1!==de&&0==fe?this.getRemoveIcon():null)}}]),n}(P.a.PureComponent),qe=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),O=0;O0?D:null,"namespace":O.splice(0,O.length-1),"existing_value":re,"variable_removed":!1,"key_name":null};"object"===_(re)?he.dispatch({"name":"ADD_VARIABLE_KEY_REQUEST","rjvId":ne,"data":S}):he.dispatch({"name":"VARIABLE_ADDED","rjvId":ne,"data":o(o({},S),{},{"new_value":[].concat(B(re),[null])})})}})))},S.getRemoveObject=function(k){var C=S.props,M=C.theme,O=(C.hover,C.namespace),D=C.name,re=C.src,ne=C.rjvId;if(1!==O.length)return P.a.createElement("span",{"className":"click-to-remove","style":{"display":k?"inline-block":"none"}},P.a.createElement(Ne,Object.assign({"className":"click-to-remove-icon"},A(M,"removeVarIcon"),{"onClick":function(){he.dispatch({"name":"VARIABLE_REMOVED","rjvId":ne,"data":{"name":D,"namespace":O.splice(0,O.length-1),"existing_value":re,"variable_removed":!0}})}})))},S.render=function(){var k=S.props,C=k.theme,M=k.onDelete,O=k.onAdd,D=k.enableClipboard,re=k.src,ne=k.namespace,se=k.rowHovered;return P.a.createElement("div",Object.assign({},A(C,"object-meta-data"),{"className":"object-meta-data","onClick":function(S){S.stopPropagation()}}),S.getObjectSize(),D?P.a.createElement(We,{"rowHovered":se,"clickCallback":D,"src":re,"theme":C,"namespace":ne}):null,!1!==O?S.getAddAttribute(se):null,!1!==M?S.getRemoveObject(se):null)},S}return n}(P.a.PureComponent);function Ce(S){var k=S.parent_type,C=S.namespace,M=S.quotesOnKeys,O=S.theme,D=S.jsvRoot,re=S.name,ne=S.displayArrayKey,se=S.name?S.name:"";return!D||!1!==re&&null!==re?"array"==k?ne?P.a.createElement("span",Object.assign({},A(O,"array-key"),{"key":C}),P.a.createElement("span",{"className":"array-key"},se),P.a.createElement("span",A(O,"colon"),":")):P.a.createElement("span",null):P.a.createElement("span",Object.assign({},A(O,"object-name"),{"key":C}),P.a.createElement("span",{"className":"object-key"},M&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"'),P.a.createElement("span",null,se),M&&P.a.createElement("span",{"style":{"verticalAlign":"top"}},'"')),P.a.createElement("span",A(O,"colon"),":")):P.a.createElement("span",null)}function Se(S){var k=S.theme;switch(S.iconStyle){case"triangle":return P.a.createElement(Be,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}));case"square":return P.a.createElement(De,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}));default:return P.a.createElement(Le,Object.assign({},A(k,"expanded-icon"),{"className":"expanded-icon"}))}}function we(S){var k=S.theme;switch(S.iconStyle){case"triangle":return P.a.createElement(Re,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}));case"square":return P.a.createElement(ze,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}));default:return P.a.createElement(je,Object.assign({},A(k,"collapsed-icon"),{"className":"collapsed-icon"}))}}var Xe=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).toggleCollapsed=function(S){var k=[];for(var M in C.state.expanded)k.push(C.state.expanded[M]);k[S]=!k[S],C.setState({"expanded":k})},C.state={"expanded":[]},C}return c(n,[{"key":"getExpandedIcon","value":function(S){var k=this.props,C=k.theme,M=k.iconStyle;return this.state.expanded[S]?P.a.createElement(Se,{"theme":C,"iconStyle":M}):P.a.createElement(we,{"theme":C,"iconStyle":M})}},{"key":"render","value":function(){var S=this,k=this.props,C=k.src,M=k.groupArraysAfterLength,O=(k.depth,k.name),D=k.theme,re=k.jsvRoot,ne=k.namespace,se=(k.parent_type,x(k,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),oe=0,de=5*this.props.indentWidth;re||(oe=5*this.props.indentWidth);var ue=M,pe=Math.ceil(C.length/ue);return P.a.createElement("div",Object.assign({"className":"object-key-val"},A(D,re?"jsv-root":"objectKeyVal",{"paddingLeft":oe})),P.a.createElement(Ce,this.props),P.a.createElement("span",null,P.a.createElement(qe,Object.assign({"size":C.length},this.props))),B(Array(pe)).map((function(k,M){return P.a.createElement("div",Object.assign({"key":M,"className":"object-key-val array-group"},A(D,"objectKeyVal",{"marginLeft":6,"paddingLeft":de})),P.a.createElement("span",A(D,"brace-row"),P.a.createElement("div",Object.assign({"className":"icon-container"},A(D,"icon-container"),{"onClick":function(k){S.toggleCollapsed(M)}}),S.getExpandedIcon(M)),S.state.expanded[M]?P.a.createElement(Ke,Object.assign({"key":O+M,"depth":0,"name":!1,"collapsed":!1,"groupArraysAfterLength":ue,"index_offset":M*ue,"src":C.slice(M*ue,M*ue+ue),"namespace":ne,"type":"array","parent_type":"array_group","theme":D},se)):P.a.createElement("span",Object.assign({},A(D,"brace"),{"onClick":function(k){S.toggleCollapsed(M)},"className":"array-group-brace"}),"[",P.a.createElement("div",Object.assign({},A(D,"array-group-meta-data"),{"className":"array-group-meta-data"}),P.a.createElement("span",Object.assign({"className":"object-size"},A(D,"object-size")),M*ue," - ",M*ue+ue>C.length?C.length:M*ue+ue)),"]")))})))}}]),n}(P.a.PureComponent),Ue=function(S){u(n,S);var k=h(n);function n(S){var C;i(this,n),(C=k.call(this,S)).toggleCollapsed=function(){C.setState({"expanded":!C.state.expanded},(function(){me.set(C.props.rjvId,C.props.namespace,"expanded",C.state.expanded)}))},C.getObjectContent=function(S,k,M){return P.a.createElement("div",{"className":"pushed-content object-container"},P.a.createElement("div",Object.assign({"className":"object-content"},A(C.props.theme,"pushed-content")),C.renderObjectContents(k,M)))},C.getEllipsis=function(){return 0===C.state.size?null:P.a.createElement("div",Object.assign({},A(C.props.theme,"ellipsis"),{"className":"node-ellipsis","onClick":C.toggleCollapsed}),"...")},C.getObjectMetaData=function(S){var k=C.props,M=(k.rjvId,k.theme,C.state),O=M.size,D=M.hovered;return P.a.createElement(qe,Object.assign({"rowHovered":D,"size":O},C.props))},C.renderObjectContents=function(S,k){var M,O=C.props,D=O.depth,re=O.parent_type,ne=O.index_offset,se=O.groupArraysAfterLength,oe=O.namespace,de=C.state.object_type,ue=[],pe=Object.keys(S||{});return C.props.sortKeys&&"array"!==de&&(pe=pe.sort()),pe.forEach((function(O){if(M=new Ze(O,S[O]),"array_group"===re&&ne&&(M.name=parseInt(M.name)+ne),S.hasOwnProperty(O))if("object"===M.type)ue.push(P.a.createElement(Ke,Object.assign({"key":M.name,"depth":D+1,"name":M.name,"src":M.value,"namespace":oe.concat(M.name),"parent_type":de},k)));else if("array"===M.type){var pe=Ke;se&&M.value.length>se&&(pe=Xe),ue.push(P.a.createElement(pe,Object.assign({"key":M.name,"depth":D+1,"name":M.name,"src":M.value,"namespace":oe.concat(M.name),"type":"array","parent_type":de},k)))}else ue.push(P.a.createElement($e,Object.assign({"key":M.name+"_"+oe,"variable":M,"singleIndent":5,"namespace":oe,"type":C.props.type},k)))})),ue};var M=n.getState(S);return C.state=o(o({},M),{},{"prevProps":{}}),C}return c(n,[{"key":"getBraceStart","value":function(S,k){var C=this,M=this.props,O=M.src,D=M.theme,re=M.iconStyle;if("array_group"===M.parent_type)return P.a.createElement("span",null,P.a.createElement("span",A(D,"brace"),"array"===S?"[":"{"),k?this.getObjectMetaData(O):null);var ne=k?Se:we;return P.a.createElement("span",null,P.a.createElement("span",Object.assign({"onClick":function(S){C.toggleCollapsed()}},A(D,"brace-row")),P.a.createElement("div",Object.assign({"className":"icon-container"},A(D,"icon-container")),P.a.createElement(ne,{"theme":D,"iconStyle":re})),P.a.createElement(Ce,this.props),P.a.createElement("span",A(D,"brace"),"array"===S?"[":"{")),k?this.getObjectMetaData(O):null)}},{"key":"render","value":function(){var S=this,k=this.props,C=k.depth,M=k.src,O=(k.namespace,k.name,k.type,k.parent_type),D=k.theme,re=k.jsvRoot,ne=k.iconStyle,se=x(k,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),oe=this.state,de=oe.object_type,ue=oe.expanded,pe={};return re||"array_group"===O?"array_group"===O&&(pe.borderLeft=0,pe.display="inline"):pe.paddingLeft=5*this.props.indentWidth,P.a.createElement("div",Object.assign({"className":"object-key-val","onMouseEnter":function(){return S.setState(o(o({},S.state),{},{"hovered":!0}))},"onMouseLeave":function(){return S.setState(o(o({},S.state),{},{"hovered":!1}))}},A(D,re?"jsv-root":"objectKeyVal",pe)),this.getBraceStart(de,ue),ue?this.getObjectContent(C,M,o({"theme":D,"iconStyle":ne},se)):this.getEllipsis(),P.a.createElement("span",{"className":"brace-row"},P.a.createElement("span",{"style":o(o({},A(D,"brace").style),{},{"paddingLeft":ue?"3px":"0px"})},"array"===de?"]":"}"),ue?null:this.getObjectMetaData(M)))}}],[{"key":"getDerivedStateFromProps","value":function(S,k){var C=k.prevProps;return S.src!==C.src||S.collapsed!==C.collapsed||S.name!==C.name||S.namespace!==C.namespace||S.rjvId!==C.rjvId?o(o({},n.getState(S)),{},{"prevProps":S}):null}}]),n}(P.a.PureComponent);Ue.getState=function(S){var k=Object.keys(S.src).length,C=(!1===S.collapsed||!0!==S.collapsed&&S.collapsed>S.depth)&&(!S.shouldCollapse||!1===S.shouldCollapse({"name":S.name,"src":S.src,"type":_(S.src),"namespace":S.namespace}))&&0!==k;return{"expanded":me.get(S.rjvId,S.namespace,"expanded",C),"object_type":"array"===S.type?"array":"object","parent_type":"array"===S.type?"array":"object","size":k,"hovered":!1}};var Ze=function e(S,k){i(this,e),this.name=S,this.value=k,this.type=_(k)};j(Ue);var Ke=Ue,Qe=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),O=0;Ok.groupArraysAfterLength&&(M=Xe),P.a.createElement("div",{"className":"pretty-json-container object-container"},P.a.createElement("div",{"className":"object-content"},P.a.createElement(M,Object.assign({"namespace":C,"depth":0,"jsvRoot":!0},k))))},S}return n}(P.a.PureComponent),Je=function(S){u(n,S);var k=h(n);function n(S){var C;return i(this,n),(C=k.call(this,S)).closeModal=function(){he.dispatch({"rjvId":C.props.rjvId,"name":"RESET"})},C.submit=function(){C.props.submit(C.state.input)},C.state={"input":S.input?S.input:""},C}return c(n,[{"key":"render","value":function(){var S=this,k=this.props,C=k.theme,M=k.rjvId,O=k.isValid,D=this.state.input,re=O(D);return P.a.createElement("div",Object.assign({"className":"key-modal-request"},A(C,"key-modal-request"),{"onClick":this.closeModal}),P.a.createElement("div",Object.assign({},A(C,"key-modal"),{"onClick":function(S){S.stopPropagation()}}),P.a.createElement("div",A(C,"key-modal-label"),"Key Name:"),P.a.createElement("div",{"style":{"position":"relative"}},P.a.createElement("input",Object.assign({},A(C,"key-modal-input"),{"className":"key-modal-input","ref":function(S){return S&&S.focus()},"spellCheck":!1,"value":D,"placeholder":"...","onChange":function(k){S.setState({"input":k.target.value})},"onKeyPress":function(k){re&&"Enter"===k.key?S.submit():"Escape"===k.key&&S.closeModal()}})),re?P.a.createElement(Ve,Object.assign({},A(C,"key-modal-submit"),{"className":"key-modal-submit","onClick":function(k){return S.submit()}})):null),P.a.createElement("span",A(C,"key-modal-cancel"),P.a.createElement(Ge,Object.assign({},A(C,"key-modal-cancel-icon"),{"className":"key-modal-cancel","onClick":function(){he.dispatch({"rjvId":M,"name":"RESET"})}})))))}}]),n}(P.a.PureComponent),et=function(S){u(n,S);var k=h(n);function n(){var S;i(this,n);for(var C=arguments.length,M=new Array(C),P=0;P=S.length?{"done":!0}:{"done":!1,"value":S[P++]}},"e":function e(S){throw S},"f":O}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D,re=!0,ne=!1;return{"s":function s(){C=C.call(S)},"n":function n(){var S=C.next();return re=S.done,S},"e":function e(S){ne=!0,D=S},"f":function f(){try{re||null==C.return||C.return()}finally{if(ne)throw D}}}}}}]); \ No newline at end of file diff --git a/chunk/8931.js b/chunk/8931.js index f99dfbf..27c4605 100644 --- a/chunk/8931.js +++ b/chunk/8931.js @@ -1,2 +1,2 @@ /*! For license information please see 8931.js.LICENSE.txt */ -(self.webpackJsonp=self.webpackJsonp||[]).push([[8931],{"1789":function(e,t,i){"use strict";i.d(t,{"h":function(){return handleStencilNodes},"n":function(){return notSupport}});var s=i(4536);function notSupport(e="",t={}){console.error(`H5 暂不支持 ${e} 组件!`),s.ZP.eventCenter.trigger("__taroNotSupport",{"name":e,"instance":t,"type":"component","category":"temporarily"})}function handleStencilNodes(e){var t;null===(t=null==e?void 0:e.childNodes)||void 0===t||t.forEach((e=>{e.nodeType===document.COMMENT_NODE&&e["s-cn"]&&(e["s-cn"]=!1),e.nodeType!==document.COMMENT_NODE&&e["s-sr"]&&(e["s-sr"]=!1)}))}},"6883":function(e,t,i){"use strict";i.d(t,{"M":function(){return k}});var s=i(7210);function isObject(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function extend(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:isObject(t[i])&&isObject(e[i])&&Object.keys(t[i]).length>0&&extend(e[i],t[i])}))}const r={"body":{},"addEventListener"(){},"removeEventListener"(){},"activeElement":{"blur"(){},"nodeName":""},"querySelector"(){return null},"querySelectorAll"(){return[]},"getElementById"(){return null},"createEvent"(){return{"initEvent"(){}}},"createElement"(){return{"children":[],"childNodes":[],"style":{},"setAttribute"(){},"getElementsByTagName"(){return[]}}},"createElementNS"(){return{}},"importNode"(){return null},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""}};function getDocument(){const e="undefined"!=typeof document?document:{};return extend(e,r),e}const a={"document":r,"navigator":{"userAgent":""},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""},"history":{"replaceState"(){},"pushState"(){},"go"(){},"back"(){}},"CustomEvent":function CustomEvent(){return this},"addEventListener"(){},"removeEventListener"(){},"getComputedStyle"(){return{"getPropertyValue"(){return""}}},"Image"(){},"Date"(){},"screen":{},"setTimeout"(){},"clearTimeout"(){},"matchMedia"(){return{}},"requestAnimationFrame"(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},"cancelAnimationFrame"(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function getWindow(){const e="undefined"!=typeof window?window:{};return extend(e,a),e}function classesToTokens(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function nextTick(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function now(){return Date.now()}function getTranslate(e,t){void 0===t&&(t="x");const i=getWindow();let s,r,a;const o=function utils_getComputedStyle(e){const t=getWindow();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new i.WebKitCSSMatrix("none"===r?"":r)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=a.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?a.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(r=i.WebKitCSSMatrix?a.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),r||0}function utils_isObject(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function utils_extend(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;st.indexOf(e)<0));for(let t=0,s=i.length;ta?"next":"prev",isOutOfBound=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,animate=()=>{o=(new Date).getTime(),null===n&&(n=o);const e=Math.max(Math.min((o-n)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let d=a+c*(i-a);if(isOutOfBound(d,i)&&(d=i),t.wrapperEl.scrollTo({[s]:d}),isOutOfBound(d,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:d})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(animate)};animate()}function getSlideTransformEl(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function elementChildren(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function showWarning(e){try{return void console.warn(e)}catch(e){}}function createElement(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:classesToTokens(t)),i}function elementOffset(e){const t=getWindow(),i=getDocument(),s=e.getBoundingClientRect(),r=i.body,a=e.clientTop||r.clientTop||0,o=e.clientLeft||r.clientLeft||0,n=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{"top":s.top+n-a,"left":s.left+l-o}}function elementStyle(e,t){return getWindow().getComputedStyle(e,null).getPropertyValue(t)}function elementIndex(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function elementParents(e,t){const i=[];let s=e.parentElement;for(;s;)t?s.matches(t)&&i.push(s):i.push(s),s=s.parentElement;return i}function elementTransitionEnd(e,t){t&&e.addEventListener("transitionend",(function fireCallBack(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",fireCallBack))}))}function elementOuterSize(e,t,i){const s=getWindow();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function makeElementsArray(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let o,n,l;function getSupport(){return o||(o=function calcSupport(){const e=getWindow(),t=getDocument();return{"smoothScroll":t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,"touch":!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),o}function getDevice(e){return void 0===e&&(e={}),n||(n=function calcDevice(e){let{"userAgent":t}=void 0===e?{}:e;const i=getSupport(),s=getWindow(),r=s.navigator.platform,a=t||s.navigator.userAgent,o={"ios":!1,"android":!1},n=s.screen.width,l=s.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const p=a.match(/(iPod)(.*OS\s([\d_]+))?/),u=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!d&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${n}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),c&&!h&&(o.os="android",o.android=!0),(d||u||p)&&(o.os="ios",o.ios=!0),o}(e)),n}function getBrowser(){return l||(l=function calcBrowser(){const e=getWindow(),t=getDevice();let i=!1;function isSafari(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(isSafari()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,s]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));i=e<16||16===e&&s<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=isSafari();return{"isSafari":i||r,"needPerspectiveFix":i,"need3dFix":r||s&&t.ios,"isWebView":s}}()),l}var c={"on"(e,t,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][r](t)})),s},"once"(e,t,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function onceHandler(){s.off(e,onceHandler),onceHandler.__emitterProxy&&delete onceHandler.__emitterProxy;for(var i=arguments.length,r=new Array(i),a=0;a=0&&t.eventsAnyListeners.splice(i,1),t},"off"(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((s,r)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},"emit"(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,s;for(var r=arguments.length,a=new Array(r),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(s,[t,...i])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(s,i)}))})),e}};const toggleSlideClasses=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const processLazyPreloader=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},unlazy=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},preload=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const s="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=r,a=[i-t];return a.push(...Array.from({"length":t}).map(((e,t)=>i+s+t))),void e.slides.forEach(((t,i)=>{a.includes(t.column)&&unlazy(e,i)}))}const a=r+s-1;if(e.params.rewind||e.params.loop)for(let s=r-t;s<=a+t;s+=1){const t=(s%i+i)%i;(ta)&&unlazy(e,t)}else for(let s=Math.max(r-t,0);s<=Math.min(a+t,i-1);s+=1)s!==r&&(s>a||s=0?w=parseFloat(w.replace("%",""))/100*r:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,c.forEach((e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),t.centeredSlides&&t.cssMode&&(setCSSProperty(i,"--swiper-centered-offset-before",""),setCSSProperty(i,"--swiper-centered-offset-after",""));const x=t.grid&&t.grid.rows>1&&e.grid;let E;x?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const S="auto"===t.slidesPerView&&t.breakpoints&&Object.keys(t.breakpoints).filter((e=>void 0!==t.breakpoints[e].slidesPerView)).length>0;for(let i=0;i1&&p.push(e.virtualSize-r)}if(n&&t.loop){const i=h[0]+w;if(t.slidesPerGroup>1){const s=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),r=i*t.slidesPerGroup;for(let e=0;e!(t.cssMode&&!t.loop)||i!==c.length-1)).forEach((e=>{e.style[i]=`${w}px`}))}if(t.centeredSlides&&t.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-r;p=p.map((e=>e<=0?-m:e>t?t+g:e))}if(t.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(w||0)})),e-=w,e{p[i]=e-t})),u.forEach(((e,i)=>{u[i]=e+t}))}}if(Object.assign(e,{"slides":c,"snapGrid":p,"slidesGrid":u,"slidesSizesGrid":h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){setCSSProperty(i,"--swiper-centered-offset-before",-p[0]+"px"),setCSSProperty(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(d!==l&&e.emit("slidesLengthChange"),p.length!==f&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==b&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(n||t.cssMode||"slide"!==t.effect&&"fade"!==t.effect)){const i=`${t.containerModifierClass}backface-hidden`,s=e.el.classList.contains(i);d<=t.maxBackfaceHiddenSlides?s||e.el.classList.add(i):s&&e.el.classList.remove(i)}},"updateAutoHeight":function updateAutoHeight(e){const t=this,i=[],s=t.virtual&&t.params.virtual.enabled;let r,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const getSlideByIndex=e=>s?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{i.push(e)}));else for(r=0;rt.slides.length&&!s)break;i.push(getSlideByIndex(e))}else i.push(getSlideByIndex(t.activeIndex));for(r=0;ra?e:a}(a||0===a)&&(t.wrapperEl.style.height=`${a}px`)},"updateSlidesOffset":function updateSlidesOffset(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let s=0;s{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let n=i.spaceBetween;"string"==typeof n&&n.indexOf("%")>=0?n=parseFloat(n.replace("%",""))/100*t.size:"string"==typeof n&&(n=parseFloat(n));for(let e=0;e=0&&u<=t.size-t.slidesSizesGrid[e];(u>=0&&u1&&h<=t.size||u<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),s[e].classList.add(i.slideVisibleClass)),m&&s[e].classList.add(i.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-p:p}},"updateProgress":function updateProgress(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,s=t.maxTranslate()-t.minTranslate();let{"progress":r,"isBeginning":a,"isEnd":o,"progressLoop":n}=t;const l=a,c=o;if(0===s)r=0,a=!0,o=!0;else{r=(e-t.minTranslate())/s;const i=Math.abs(e-t.minTranslate())<1,n=Math.abs(e-t.maxTranslate())<1;a=i||r<=0,o=n||r>=1,i&&(r=0),n&&(r=1)}if(i.loop){const i=t.getSlideIndexByData(0),s=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[i],a=t.slidesGrid[s],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);n=l>=r?(l-r)/o:(l+o-a)/o,n>1&&(n-=1)}Object.assign(t,{"progress":r,"progressLoop":n,"isBeginning":a,"isEnd":o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},"updateSlidesClasses":function updateSlidesClasses(){const e=this,{"slides":t,"params":i,"slidesEl":s,"activeIndex":r}=e,a=e.virtual&&i.virtual.enabled,o=e.grid&&i.grid&&i.grid.rows>1,getFilteredSlide=e=>elementChildren(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let n,l,c;if(a)if(i.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),n=getFilteredSlide(`[data-swiper-slide-index="${t}"]`)}else n=getFilteredSlide(`[data-swiper-slide-index="${r}"]`);else o?(n=t.filter((e=>e.column===r))[0],c=t.filter((e=>e.column===r+1))[0],l=t.filter((e=>e.column===r-1))[0]):n=t[r];n&&(o||(c=function elementNextAll(e,t){const i=[];for(;e.nextElementSibling;){const s=e.nextElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(n,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=t[0]),l=function elementPrevAll(e,t){const i=[];for(;e.previousElementSibling;){const s=e.previousElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(n,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!l&&(l=t[t.length-1]))),t.forEach((e=>{toggleSlideClasses(e,e===n,i.slideActiveClass),toggleSlideClasses(e,e===c,i.slideNextClass),toggleSlideClasses(e,e===l,i.slidePrevClass)})),e.emitSlidesClasses()},"updateActiveIndex":function updateActiveIndex(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{"snapGrid":s,"params":r,"activeIndex":a,"realIndex":o,"snapIndex":n}=t;let l,c=e;const getVirtualRealIndex=e=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i};if(void 0===c&&(c=function getActiveIndexByTranslate(e){const{"slidesGrid":t,"params":i}=e,s=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e=t[e]&&s=t[e]&&s=t[e]&&(r=e);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),s.indexOf(i)>=0)l=s.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=s.length&&(l=s.length-1),c===a&&!t.params.loop)return void(l!==n&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===a&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=getVirtualRealIndex(c));const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=getVirtualRealIndex(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{"previousSnapIndex":n,"snapIndex":l,"previousRealIndex":o,"realIndex":p,"previousIndex":a,"activeIndex":c}),t.initialized&&preload(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},"updateClickedSlide":function updateClickedSlide(e,t){const i=this,s=i.params;let r=e.closest(`.${s.slideClass}, swiper-slide`);!r&&i.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${s.slideClass}, swiper-slide`)&&(r=e)}));let a,o=!1;if(r)for(let e=0;el?l:s&&eo?"next":a=l.length&&(f=l.length-1);const b=-l[f];if(n.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(o=e)}if(a.initialized&&o!==p){if(!a.allowSlideNext&&(u?b>a.translate&&b>a.minTranslate():ba.translate&&b>a.maxTranslate()&&(p||0)!==o)return!1}let w;if(o!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),w=o>p?"next":o0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=i}))):h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return animateCSSModeScroll({"swiper":a,"targetPosition":i,"side":e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,"behavior":"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,w),0===t?a.transitionEnd(i,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function transitionEnd(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,w))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},"slideToLoop":function slideToLoop(e,t,i,s){if(void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const a=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(a){const t=o*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(o);const t=a?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{"centeredSlides":i}=r.params;let n=r.params.slidesPerView;"auto"===n?n=r.slidesPerViewDynamic():(n=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&n%2==0&&(n+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame((()=>{r.slideTo(o,t,i,s)})),r},"slideNext":function slideNext(e,t,i){void 0===t&&(t=!0);const s=this,{"enabled":r,"params":a,"animating":o}=s;if(!r||s.destroyed)return s;void 0===e&&(e=s.params.speed);let n=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(n=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndex{s.slideTo(s.activeIndex+l,e,t,i)})),!0}return a.rewind&&s.isEnd?s.slideTo(0,e,t,i):s.slideTo(s.activeIndex+l,e,t,i)},"slidePrev":function slidePrev(e,t,i){void 0===t&&(t=!0);const s=this,{"params":r,"snapGrid":a,"slidesGrid":o,"rtlTranslate":n,"enabled":l,"animating":c}=s;if(!l||s.destroyed)return s;void 0===e&&(e=s.params.speed);const d=s.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;s.loopFix({"direction":"prev"}),s._clientLeft=s.wrapperEl.clientLeft}function normalize(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=normalize(n?s.translate:-s.translate),u=a.map((e=>normalize(e)));let h=a[u.indexOf(p)-1];if(void 0===h&&r.cssMode){let e;a.forEach(((t,i)=>{p>=t&&(e=i)})),void 0!==e&&(h=a[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=o.indexOf(h),m<0&&(m=s.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&s.isBeginning){const r=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(r,e,t,i)}return r.loop&&0===s.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{s.slideTo(m,e,t,i)})),!0):s.slideTo(m,e,t,i)},"slideReset":function slideReset(e,t,i){void 0===t&&(t=!0);const s=this;if(!s.destroyed)return void 0===e&&(e=s.params.speed),s.slideTo(s.activeIndex,e,t,i)},"slideToClosest":function slideToClosest(e,t,i,s){void 0===t&&(t=!0),void 0===s&&(s=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let a=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,a),n=o+Math.floor((a-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[n]){const e=r.snapGrid[n];l-e>(r.snapGrid[n+1]-e)*s&&(a+=r.params.slidesPerGroup)}else{const e=r.snapGrid[n-1];l-e<=(r.snapGrid[n]-e)*s&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,e,t,i)},"slideToClickedSlide":function slideToClickedSlide(){const e=this;if(e.destroyed)return;const{"params":t,"slidesEl":i}=e,s="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,a=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+s/2?(e.loopFix(),a=e.getSlideIndex(elementChildren(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),nextTick((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-s?(e.loopFix(),a=e.getSlideIndex(elementChildren(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),nextTick((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var h={"loopCreate":function loopCreate(e){const t=this,{"params":i,"slidesEl":s}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const initSlides=()=>{elementChildren(s,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=t.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(r?i.grid.rows:1),o=t.slides.length%a!=0,n=r&&t.slides.length%i.grid.rows!=0,addBlankSlides=e=>{for(let s=0;s1;c.lengthe.classList.contains(h.slideActiveClass)))[0]):y=a;const x="next"===s||!s,E="prev"===s||!s;let S=0,T=0;const k=w?Math.ceil(c.length/h.grid.rows):c.length,C=(w?c[a].column:a)+(m&&void 0===r?-g/2+.5:0);if(C=0;t-=1)c[t].column===e&&v.push(t)}else v.push(k-t-1)}}else if(C+g>k-b){T=Math.max(C-(k-2*b),f);for(let e=0;e{e.column===t&&A.push(i)})):A.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),E&&v.forEach((e=>{c[e].swiperLoopMoveDOM=!0,u.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&A.forEach((e=>{c[e].swiperLoopMoveDOM=!0,u.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():w&&(v.length>0&&E||A.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),i)if(v.length>0&&E){if(void 0===t){const e=l.slidesGrid[y],t=l.slidesGrid[y+S]-e;n?l.setTranslate(l.translate-t):(l.slideTo(y+Math.ceil(S),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=w?v.length/h.grid.rows:v.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(A.length>0&&x)if(void 0===t){const e=l.slidesGrid[y],t=l.slidesGrid[y-T]-e;n?l.setTranslate(l.translate-t):(l.slideTo(y-T,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=w?A.length/h.grid.rows:A.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=p,l.controller&&l.controller.control&&!o){const e={"slideRealIndex":t,"direction":s,"setTranslate":r,"activeSlideIndex":a,"byController":!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,"slideTo":t.params.slidesPerView===h.slidesPerView&&i})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,"slideTo":l.controller.control.params.slidesPerView===h.slidesPerView&&i})}l.emit("loopFix")},"loopDestroy":function loopDestroy(){const e=this,{"params":t,"slidesEl":i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const s=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;s[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),s.forEach((e=>{i.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function preventEdgeSwipe(e,t,i){const s=getWindow(),{"params":r}=e,a=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!a||!(i<=o||i>=s.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function onTouchStart(e){const t=this,i=getDocument();let s=e;s.originalEvent&&(s=s.originalEvent);const r=t.touchEventsData;if("pointerdown"===s.type){if(null!==r.pointerId&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else"touchstart"===s.type&&1===s.targetTouches.length&&(r.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type)return void preventEdgeSwipe(t,s,s.targetTouches[0].pageX);const{"params":a,"touches":o,"enabled":n}=t;if(!n)return;if(!a.simulateTouch&&"mouse"===s.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let l=s.target;if("wrapper"===a.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which"in s&&3===s.which)return;if("button"in s&&s.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!a.noSwipingClass&&""!==a.noSwipingClass,d=s.composedPath?s.composedPath():s.path;c&&s.target&&s.target.shadowRoot&&d&&(l=d[0]);const p=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,u=!(!s.target||!s.target.shadowRoot);if(a.noSwiping&&(u?function closestElement(e,t){return void 0===t&&(t=this),function __closestFrom(t){if(!t||t===getDocument()||t===getWindow())return null;t.assignedSlot&&(t=t.assignedSlot);const i=t.closest(e);return i||t.getRootNode?i||__closestFrom(t.getRootNode().host):null}(t)}(p,l):l.closest(p)))return void(t.allowClick=!0);if(a.swipeHandler&&!l.closest(a.swipeHandler))return;o.currentX=s.pageX,o.currentY=s.pageY;const h=o.currentX,m=o.currentY;if(!preventEdgeSwipe(t,s,h))return;Object.assign(r,{"isTouched":!0,"isMoved":!1,"allowTouchCallbacks":!0,"isScrolling":void 0,"startMoving":void 0}),o.startX=h,o.startY=m,r.touchStartTime=now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let g=!0;l.matches(r.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==l&&i.activeElement.blur();const f=g&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!f||l.isContentEditable||s.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}function onTouchMove(e){const t=getDocument(),i=this,s=i.touchEventsData,{"params":r,"touches":a,"rtlTranslate":o,"enabled":n}=i;if(!n)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==s.touchId)return;if(c.pointerId!==s.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===s.touchId))[0],!l||l.identifier!==s.touchId)return}else l=c;if(!s.isTouched)return void(s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",c));const d=l.pageX,p=l.pageY;if(c.preventedByNestedSwiper)return a.startX=d,void(a.startY=p);if(!i.allowTouchMove)return c.target.matches(s.focusableElements)||(i.allowClick=!1),void(s.isTouched&&(Object.assign(a,{"startX":d,"startY":p,"currentX":d,"currentY":p}),s.touchStartTime=now()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(pa.startY&&i.translate>=i.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(da.startX&&i.translate>=i.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(s.focusableElements))return s.isMoved=!0,void(i.allowClick=!1);s.allowTouchCallbacks&&i.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=p;const u=a.currentX-a.startX,h=a.currentY-a.startY;if(i.params.threshold&&Math.sqrt(u**2+h**2)=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(u))/Math.PI,s.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",c),void 0===s.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(s.startMoving=!0)),s.isScrolling)return void(s.isTouched=!1);if(!s.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let m=i.isHorizontal()?u:h,g=i.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),a.diff=m,m*=r.touchRatio,o&&(m=-m,g=-g);const f=i.touchesDirection;i.swipeDirection=m>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const b=i.params.loop&&!r.cssMode,w="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!s.isMoved){if(b&&w&&i.loopFix({"direction":i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});i.wrapperEl.dispatchEvent(e)}s.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)}if((new Date).getTime(),s.isMoved&&s.allowThresholdMove&&f!==i.touchesDirection&&b&&w&&Math.abs(m)>=1)return Object.assign(a,{"startX":d,"startY":p,"currentX":d,"currentY":p,"startTranslate":s.currentTranslate}),s.loopSwapReset=!0,void(s.startTranslate=s.currentTranslate);i.emit("sliderMove",c),s.isMoved=!0,s.currentTranslate=m+s.startTranslate;let v=!0,A=r.resistanceRatio;if(r.touchReleaseOnEdges&&(A=0),m>0?(b&&w&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({"direction":"prev","setTranslate":!0,"activeSlideIndex":0}),s.currentTranslate>i.minTranslate()&&(v=!1,r.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+m)**A))):m<0&&(b&&w&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({"direction":"next","setTranslate":!0,"activeSlideIndex":i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),i.allowSlidePrev||i.allowSlideNext||(s.currentTranslate=s.startTranslate),r.threshold>0){if(!(Math.abs(m)>r.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,s.currentTranslate=s.startTranslate,void(a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function onTouchEnd(e){const t=this,i=t.touchEventsData;let s,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(s=[...r.changedTouches].filter((e=>e.identifier===i.touchId))[0],!s||s.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return;s=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{"params":a,"touches":o,"rtlTranslate":n,"slidesGrid":l,"enabled":c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=now(),p=d-i.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),p<300&&d-i.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(i.lastClickTime=now(),nextTick((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?n?t.translate:-t.translate:-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({"currentPos":u});const h=u>=-t.maxTranslate()&&!t.params.loop;let m=0,g=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e])&&(m=e,g=l[l.length-1]-l[l.length-2])}let f=null,b=null;a.rewind&&(t.isBeginning?b=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const w=(u-l[m])/g,v=ma.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?f:m+v):t.slideTo(m)),"prev"===t.swipeDirection&&(w>1-a.longSwipesRatio?t.slideTo(m+v):null!==b&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(b):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+v):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==f?f:m+v),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:m))}}function onResize(){const e=this,{"params":t,"el":i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{"allowSlideNext":s,"allowSlidePrev":r,"snapGrid":a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const n=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||n?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=s,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function onClick(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function onScroll(){const e=this,{"wrapperEl":t,"rtlTranslate":i,"enabled":s}=e;if(!s)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();r=0===a?0:(e.translate-e.minTranslate())/a,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function onLoad(e){const t=this;processLazyPreloader(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function onDocumentTouchStart(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const events=(e,t)=>{const i=getDocument(),{"params":s,"el":r,"wrapperEl":a,"device":o}=e,n=!!s.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i[l]("touchstart",e.onDocumentTouchStart,{"passive":!1,"capture":n}),r[l]("touchstart",e.onTouchStart,{"passive":!1}),r[l]("pointerdown",e.onTouchStart,{"passive":!1}),i[l]("touchmove",e.onTouchMove,{"passive":!1,"capture":n}),i[l]("pointermove",e.onTouchMove,{"passive":!1,"capture":n}),i[l]("touchend",e.onTouchEnd,{"passive":!0}),i[l]("pointerup",e.onTouchEnd,{"passive":!0}),i[l]("pointercancel",e.onTouchEnd,{"passive":!0}),i[l]("touchcancel",e.onTouchEnd,{"passive":!0}),i[l]("pointerout",e.onTouchEnd,{"passive":!0}),i[l]("pointerleave",e.onTouchEnd,{"passive":!0}),i[l]("contextmenu",e.onTouchEnd,{"passive":!0}),(s.preventClicks||s.preventClicksPropagation)&&r[l]("click",e.onClick,!0),s.cssMode&&a[l]("scroll",e.onScroll),s.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):e[c]("observerUpdate",onResize,!0),r[l]("load",e.onLoad,{"capture":!0})};const isGridEnabled=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var m={"init":!0,"direction":"horizontal","oneWayMovement":!1,"swiperElementNodeName":"SWIPER-CONTAINER","touchEventsTarget":"wrapper","initialSlide":0,"speed":300,"cssMode":!1,"updateOnWindowResize":!0,"resizeObserver":!0,"nested":!1,"createElements":!1,"eventsPrefix":"swiper","enabled":!0,"focusableElements":"input, select, option, textarea, button, video, label","width":null,"height":null,"preventInteractionOnTransition":!1,"userAgent":null,"url":null,"edgeSwipeDetection":!1,"edgeSwipeThreshold":20,"autoHeight":!1,"setWrapperSize":!1,"virtualTranslate":!1,"effect":"slide","breakpoints":void 0,"breakpointsBase":"window","spaceBetween":0,"slidesPerView":1,"slidesPerGroup":1,"slidesPerGroupSkip":0,"slidesPerGroupAuto":!1,"centeredSlides":!1,"centeredSlidesBounds":!1,"slidesOffsetBefore":0,"slidesOffsetAfter":0,"normalizeSlideIndex":!0,"centerInsufficientSlides":!1,"watchOverflow":!0,"roundLengths":!1,"touchRatio":1,"touchAngle":45,"simulateTouch":!0,"shortSwipes":!0,"longSwipes":!0,"longSwipesRatio":.5,"longSwipesMs":300,"followFinger":!0,"allowTouchMove":!0,"threshold":5,"touchMoveStopPropagation":!1,"touchStartPreventDefault":!0,"touchStartForcePreventDefault":!1,"touchReleaseOnEdges":!1,"uniqueNavElements":!0,"resistance":!0,"resistanceRatio":.85,"watchSlidesProgress":!1,"grabCursor":!1,"preventClicks":!0,"preventClicksPropagation":!0,"slideToClickedSlide":!1,"loop":!1,"loopAddBlankSlides":!0,"loopAdditionalSlides":0,"loopPreventsSliding":!0,"rewind":!1,"allowSlidePrev":!0,"allowSlideNext":!0,"swipeHandler":null,"noSwiping":!0,"noSwipingClass":"swiper-no-swiping","noSwipingSelector":null,"passiveListeners":!0,"maxBackfaceHiddenSlides":10,"containerModifierClass":"swiper-","slideClass":"swiper-slide","slideBlankClass":"swiper-slide-blank","slideActiveClass":"swiper-slide-active","slideVisibleClass":"swiper-slide-visible","slideFullyVisibleClass":"swiper-slide-fully-visible","slideNextClass":"swiper-slide-next","slidePrevClass":"swiper-slide-prev","wrapperClass":"swiper-wrapper","lazyPreloaderClass":"swiper-lazy-preloader","lazyPreloadPrevNext":0,"runCallbacksOnInit":!0,"_emitClasses":!1};function moduleExtendParams(e,t){return function extendParams(i){void 0===i&&(i={});const s=Object.keys(i)[0],r=i[s];"object"==typeof r&&null!==r?(!0===e[s]&&(e[s]={"enabled":!0}),"navigation"===s&&e[s]&&e[s].enabled&&!e[s].prevEl&&!e[s].nextEl&&(e[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&e[s]&&e[s].enabled&&!e[s].el&&(e[s].auto=!0),s in e&&"enabled"in r?("object"!=typeof e[s]||"enabled"in e[s]||(e[s].enabled=!0),e[s]||(e[s]={"enabled":!1}),utils_extend(t,i)):utils_extend(t,i)):utils_extend(t,i)}}const g={"eventsEmitter":c,"update":d,"translate":p,"transition":{"setTransition":function setTransition(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t)},"transitionStart":function transitionStart(e,t){void 0===e&&(e=!0);const i=this,{"params":s}=i;s.cssMode||(s.autoHeight&&i.updateAutoHeight(),transitionEmit({"swiper":i,"runCallbacks":e,"direction":t,"step":"Start"}))},"transitionEnd":function transitionEnd(e,t){void 0===e&&(e=!0);const i=this,{"params":s}=i;i.animating=!1,s.cssMode||(i.setTransition(0),transitionEmit({"swiper":i,"runCallbacks":e,"direction":t,"step":"End"}))}},"slide":u,"loop":h,"grabCursor":{"setGrabCursor":function setGrabCursor(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},"unsetGrabCursor":function unsetGrabCursor(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},"events":{"attachEvents":function attachEvents(){const e=this,{"params":t}=e;e.onTouchStart=onTouchStart.bind(e),e.onTouchMove=onTouchMove.bind(e),e.onTouchEnd=onTouchEnd.bind(e),e.onDocumentTouchStart=onDocumentTouchStart.bind(e),t.cssMode&&(e.onScroll=onScroll.bind(e)),e.onClick=onClick.bind(e),e.onLoad=onLoad.bind(e),events(e,"on")},"detachEvents":function detachEvents(){events(this,"off")}},"breakpoints":{"setBreakpoint":function setBreakpoint(){const e=this,{"realIndex":t,"initialized":i,"params":s,"el":r}=e,a=s.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const n=(o in a?a[o]:void 0)||e.originalParams,l=isGridEnabled(e,s),c=isGridEnabled(e,n),d=e.params.grabCursor,p=n.grabCursor,u=s.enabled;l&&!c?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${s.containerModifierClass}grid`),(n.grid.fill&&"column"===n.grid.fill||!n.grid.fill&&"column"===s.grid.fill)&&r.classList.add(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!p?e.unsetGrabCursor():!d&&p&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===n[t])return;const i=s[t]&&s[t].enabled,r=n[t]&&n[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()}));const h=n.direction&&n.direction!==s.direction,m=s.loop&&(n.slidesPerView!==s.slidesPerView||h),g=s.loop;h&&i&&e.changeDirection(),utils_extend(e.params,n);const f=e.params.enabled,b=e.params.loop;Object.assign(e,{"allowTouchMove":e.params.allowTouchMove,"allowSlideNext":e.params.allowSlideNext,"allowSlidePrev":e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",n),i&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&b?(e.loopCreate(t),e.updateSlides()):g&&!b&&e.loopDestroy()),e.emit("breakpoint",n)},"getBreakpoint":function getBreakpoint(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let s=!1;const r=getWindow(),a="window"===t?r.innerHeight:i.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{"value":a*t,"point":e}}return{"value":e,"point":e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},"classes":{"addClasses":function addClasses(){const e=this,{"classNames":t,"params":i,"rtl":s,"el":r,"device":a}=e,o=function prepareClasses(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&i.push(t+s)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{"autoheight":i.autoHeight},{"rtl":s},{"grid":i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{"android":a.android},{"ios":a.ios},{"css-mode":i.cssMode},{"centered":i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},"removeClasses":function removeClasses(){const{"el":e,"classNames":t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},f={};class Swiper{"constructor"(){let e,t;for(var i=arguments.length,s=new Array(i),r=0;r1){const e=[];return a.querySelectorAll(t.el).forEach((i=>{const s=utils_extend({},t,{"el":i});e.push(new Swiper(s))})),e}const o=this;o.__swiper__=!0,o.support=getSupport(),o.device=getDevice({"userAgent":t.userAgent}),o.browser=getBrowser(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const n={};o.modules.forEach((e=>{e({"params":t,"swiper":o,"extendParams":moduleExtendParams(t,n),"on":o.on.bind(o),"once":o.once.bind(o),"off":o.off.bind(o),"emit":o.emit.bind(o)})}));const l=utils_extend({},m,n);return o.params=utils_extend({},l,f,t),o.originalParams=utils_extend({},o.params),o.passedParams=utils_extend({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{"enabled":o.params.enabled,"el":e,"classNames":[],"slides":[],"slidesGrid":[],"snapGrid":[],"slidesSizesGrid":[],"isHorizontal"(){return"horizontal"===o.params.direction},"isVertical"(){return"vertical"===o.params.direction},"activeIndex":0,"realIndex":0,"isBeginning":!0,"isEnd":!1,"translate":0,"previousTranslate":0,"progress":0,"velocity":0,"animating":!1,"cssOverflowAdjustment"(){return Math.trunc(this.translate/2**23)*2**23},"allowSlideNext":o.params.allowSlideNext,"allowSlidePrev":o.params.allowSlidePrev,"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,"focusableElements":o.params.focusableElements,"lastClickTime":0,"clickTimeout":void 0,"velocities":[],"allowMomentumBounce":void 0,"startMoving":void 0,"pointerId":null,"touchId":null},"allowClick":!0,"allowTouchMove":o.params.allowTouchMove,"touches":{"startX":0,"startY":0,"currentX":0,"currentY":0,"diff":0},"imagesToLoad":[],"imagesLoaded":0}),o.emit("_swiper"),o.params.init&&o.init(),o}"getDirectionLabel"(e){return this.isHorizontal()?e:{"width":"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom","marginRight":"marginBottom"}[e]}"getSlideIndex"(e){const{"slidesEl":t,"params":i}=this,s=elementIndex(elementChildren(t,`.${i.slideClass}, swiper-slide`)[0]);return elementIndex(e)-s}"getSlideIndexByData"(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}"recalcSlides"(){const{"slidesEl":e,"params":t}=this;this.slides=elementChildren(e,`.${t.slideClass}, swiper-slide`)}"enable"(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}"disable"(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}"setProgress"(e,t){const i=this;e=Math.min(Math.max(e,0),1);const s=i.minTranslate(),r=(i.maxTranslate()-s)*e+s;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}"emitContainerClasses"(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}"getSlideClasses"(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}"emitSlidesClasses"(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((i=>{const s=e.getSlideClasses(i);t.push({"slideEl":i,"classNames":s}),e.emit("_slideClass",i,s)})),e.emit("_slideClasses",t)}"slidesPerViewDynamic"(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{"params":i,"slides":s,"slidesGrid":r,"slidesSizesGrid":a,"size":o,"activeIndex":n}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=s[n]?Math.ceil(s[n].swiperSlideSize):0;for(let i=n+1;io&&(e=!0));for(let i=n-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=n+1;e=0;e-=1){r[n]-r[e]{t.complete&&processLazyPreloader(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)setTranslate(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||setTranslate()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}"changeDirection"(e,t){void 0===t&&(t=!0);const i=this,s=i.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}"changeLanguageDirection"(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}"mount"(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const getWrapperSelector=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){return i.shadowRoot.querySelector(getWrapperSelector())}return elementChildren(i,getWrapperSelector())[0]})();return!s&&t.params.createElements&&(s=createElement("div",t.params.wrapperClass),i.append(s),elementChildren(i,`.${t.params.slideClass}`).forEach((e=>{s.append(e)}))),Object.assign(t,{"el":i,"wrapperEl":s,"slidesEl":t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:s,"hostEl":t.isElement?i.parentNode.host:i,"mounted":!0,"rtl":"rtl"===i.dir.toLowerCase()||"rtl"===elementStyle(i,"direction"),"rtlTranslate":"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===elementStyle(i,"direction")),"wrongRTL":"-webkit-box"===elementStyle(s,"display")}),!0}"init"(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach((e=>{e.complete?processLazyPreloader(t,e):e.addEventListener("load",(e=>{processLazyPreloader(t,e.target)}))})),preload(t),t.initialized=!0,preload(t),t.emit("init"),t.emit("afterInit"),t}"destroy"(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{"params":s,"el":r,"wrapperEl":a,"slides":o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),a.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.el.swiper=null,function deleteProps(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static"extendDefaults"(e){utils_extend(f,e)}static get"extendedDefaults"(){return f}static get"defaults"(){return m}static"installModule"(e){Swiper.prototype.__modules__||(Swiper.prototype.__modules__=[]);const t=Swiper.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static"use"(e){return Array.isArray(e)?(e.forEach((e=>Swiper.installModule(e))),Swiper):(Swiper.installModule(e),Swiper)}}function createElementIfNotDefined(e,t,i,s){return e.params.createElements&&Object.keys(s).forEach((r=>{if(!i[r]&&!0===i.auto){let a=elementChildren(e.el,`.${s[r]}`)[0];a||(a=createElement("div",s[r]),a.className=s[r],e.el.append(a)),i[r]=a,t[r]=a}})),i}function classesToSelector(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function appendSlide(e){const t=this,{"params":i,"slidesEl":s}=t;i.loop&&t.loopDestroy();const appendElement=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,s.append(t.children[0]),t.innerHTML=""}else s.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,r.prepend(t.children[0]),t.innerHTML=""}else r.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t=n)return void i.appendSlide(t);let l=o>e?o+1:o;const c=[];for(let t=n-1;t>=e;t-=1){const e=i.slides[t];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?o+t.length:o}else a.append(t);for(let e=0;e{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),n&&n()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)})),s("setTranslate",(()=>{i.params.effect===t&&r()})),s("setTransition",((e,s)=>{i.params.effect===t&&a(s)})),s("transitionEnd",(()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;i.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),s("virtualUpdate",(()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame((()=>{d&&i.slides&&i.slides.length&&(r(),d=!1)})))}))}function effectTarget(e,t){const i=getSlideTransformEl(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function effectVirtualTransitionEnd(e){let{"swiper":t,"duration":i,"transformElements":s,"allSlides":r}=e;const{"activeIndex":a}=t;if(t.params.virtualTranslate&&0!==i){let e,i=!1;e=r?s:s.filter((e=>{const i=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(i)===a})),e.forEach((e=>{elementTransitionEnd(e,(()=>{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});t.wrapperEl.dispatchEvent(e)}))}))}}function createShadow(e,t,i){const s=`swiper-slide-shadow${i?`-${i}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=getSlideTransformEl(t);let a=r.querySelector(`.${s.split(" ").join(".")}`);return a||(a=createElement("div",s.split(" ")),r.append(a)),a}Object.keys(g).forEach((e=>{Object.keys(g[e]).forEach((t=>{Swiper.prototype[t]=g[e][t]}))})),Swiper.use([function Resize(e){let{"swiper":t,"on":i,"emit":s}=e;const r=getWindow();let a=null,o=null;const resizeHandler=()=>{t&&!t.destroyed&&t.initialized&&(s("beforeResize"),s("resize"))},orientationChangeHandler=()=>{t&&!t.destroyed&&t.initialized&&s("orientationchange")};i("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{o=r.requestAnimationFrame((()=>{const{"width":i,"height":s}=t;let r=i,a=s;e.forEach((e=>{let{"contentBoxSize":i,"contentRect":s,"target":o}=e;o&&o!==t.el||(r=s?s.width:(i[0]||i).inlineSize,a=s?s.height:(i[0]||i).blockSize)})),r===i&&a===s||resizeHandler()}))})),a.observe(t.el)):(r.addEventListener("resize",resizeHandler),r.addEventListener("orientationchange",orientationChangeHandler))})),i("destroy",(()=>{o&&r.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),r.removeEventListener("resize",resizeHandler),r.removeEventListener("orientationchange",orientationChangeHandler)}))},function Observer(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=[],o=getWindow(),attach=function(e,i){void 0===i&&(i={});const s=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const i=function observerUpdate(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)}));s.observe(e,{"attributes":void 0===i.attributes||i.attributes,"childList":void 0===i.childList||i.childList,"characterData":void 0===i.characterData||i.characterData}),a.push(s)};i({"observer":!1,"observeParents":!1,"observeSlideChildren":!1}),s("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=elementParents(t.hostEl);for(let t=0;t{a.forEach((e=>{e.disconnect()})),a.splice(0,a.length)}))}]);const b=[function Virtual(e){let t,{"swiper":i,"extendParams":s,"on":r,"emit":a}=e;s({"virtual":{"enabled":!1,"slides":[],"cache":!0,"renderSlide":null,"renderExternal":null,"renderExternalUpdate":!0,"addSlidesBefore":0,"addSlidesAfter":0}});const o=getDocument();i.virtual={"cache":{},"from":void 0,"to":void 0,"slides":[],"offset":0,"slidesGrid":[]};const n=o.createElement("div");function renderSlide(e,t){const s=i.params.virtual;if(s.cache&&i.virtual.cache[t])return i.virtual.cache[t];let r;return s.renderSlide?(r=s.renderSlide.call(i,e,t),"string"==typeof r&&(n.innerHTML=r,r=n.children[0])):r=i.isElement?createElement("swiper-slide"):createElement("div",i.params.slideClass),r.setAttribute("data-swiper-slide-index",t),s.renderSlide||(r.innerHTML=e),s.cache&&(i.virtual.cache[t]=r),r}function update(e,t){const{"slidesPerView":s,"slidesPerGroup":r,"centeredSlides":o,"loop":n,"initialSlide":l}=i.params;if(t&&!n&&l>0)return;const{"addSlidesBefore":c,"addSlidesAfter":d}=i.params.virtual,{"from":p,"to":u,"slides":h,"slidesGrid":m,"offset":g}=i.virtual;i.params.cssMode||i.updateActiveIndex();const f=i.activeIndex||0;let b,w,v;b=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",o?(w=Math.floor(s/2)+r+d,v=Math.floor(s/2)+r+c):(w=s+(r-1)+d,v=(n?s:r)+c);let A=f-v,y=f+w;n||(A=Math.max(A,0),y=Math.min(y,h.length-1));let x=(i.slidesGrid[A]||0)-(i.slidesGrid[0]||0);function onRendered(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),a("virtualUpdate")}if(n&&f>=v?(A-=v,o||(x+=i.slidesGrid[0])):n&&f{e.style[b]=x-Math.abs(i.cssOverflowAdjustment())+"px"})),i.updateProgress(),void a("virtualUpdate");if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{"offset":x,"from":A,"to":y,"slides":function getSlides(){const e=[];for(let t=A;t<=y;t+=1)e.push(h[t]);return e}()}),void(i.params.virtual.renderExternalUpdate?onRendered():a("virtualUpdate"));const E=[],S=[],getSlideIndex=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)i.slides.filter((e=>e.matches(`.${i.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let e=p;e<=u;e+=1)if(ey){const t=getSlideIndex(e);i.slides.filter((e=>e.matches(`.${i.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`))).forEach((e=>{e.remove()}))}const T=n?-h.length:0,k=n?2*h.length:h.length;for(let t=T;t=A&&t<=y){const i=getSlideIndex(t);void 0===u||e?S.push(i):(t>u&&S.push(i),t{i.slidesEl.append(renderSlide(h[e],e))})),n)for(let e=E.length-1;e>=0;e-=1){const t=E[e];i.slidesEl.prepend(renderSlide(h[t],t))}else E.sort(((e,t)=>t-e)),E.forEach((e=>{i.slidesEl.prepend(renderSlide(h[e],e))}));elementChildren(i.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[b]=x-Math.abs(i.cssOverflowAdjustment())+"px"})),onRendered()}r("beforeInit",(()=>{if(!i.params.virtual.enabled)return;let e;if(void 0===i.passedParams.virtual.slides){const t=[...i.slidesEl.children].filter((e=>e.matches(`.${i.params.slideClass}, swiper-slide`)));t&&t.length&&(i.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),i.virtual.cache[t]=e,e.remove()})))}e||(i.virtual.slides=i.params.virtual.slides),i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,update(!1,!0)})),r("setTranslate",(()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{update()}),100)):update())})),r("init update resize",(()=>{i.params.virtual.enabled&&i.params.cssMode&&setCSSProperty(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)})),Object.assign(i.virtual,{"appendSlide":function appendSlide(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const s=e[i],a=s.getAttribute("data-swiper-slide-index");a&&s.setAttribute("data-swiper-slide-index",parseInt(a,10)+r),t[parseInt(i,10)+r]=s})),i.virtual.cache=t}update(!0),i.slideTo(s,0)},"removeSlide":function removeSlide(e){if(null==e)return;let t=i.activeIndex;if(Array.isArray(e))for(let s=e.length-1;s>=0;s-=1)i.params.virtual.cache&&(delete i.virtual.cache[e[s]],Object.keys(i.virtual.cache).forEach((t=>{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])}))),i.virtual.slides.splice(e[s],1),e[s]{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])}))),i.virtual.slides.splice(e,1),e0&&0===elementParents(t.el,`.${t.params.slideActiveClass}`).length)return;const s=t.el,r=s.clientWidth,a=s.clientHeight,n=o.innerWidth,l=o.innerHeight,c=elementOffset(s);i&&(c.left-=s.scrollLeft);const d=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+a],[c.left+r,c.top+a]];for(let t=0;t=0&&i[0]<=n&&i[1]>=0&&i[1]<=l){if(0===i[0]&&0===i[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!i||(c||p)&&i)&&t.slideNext(),((c||p)&&!i||(d||u)&&i)&&t.slidePrev()):((c||d||h||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||m)&&t.slideNext(),(c||h)&&t.slidePrev()),r("keyPress",n)}}function enable(){t.keyboard.enabled||(a.addEventListener("keydown",handle),t.keyboard.enabled=!0)}function disable(){t.keyboard.enabled&&(a.removeEventListener("keydown",handle),t.keyboard.enabled=!1)}t.keyboard={"enabled":!1},i({"keyboard":{"enabled":!1,"onlyInViewport":!0,"pageUpDown":!0}}),s("init",(()=>{t.params.keyboard.enabled&&enable()})),s("destroy",(()=>{t.keyboard.enabled&&disable()})),Object.assign(t.keyboard,{"enable":enable,"disable":disable})},function Mousewheel(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getWindow();let o;i({"mousewheel":{"enabled":!1,"releaseOnEdges":!1,"invert":!1,"forceToAxis":!1,"sensitivity":1,"eventsTarget":"container","thresholdDelta":null,"thresholdTime":null,"noMousewheelClass":"swiper-no-mousewheel"}}),t.mousewheel={"enabled":!1};let n,l=now();const c=[];function handleMouseEnter(){t.enabled&&(t.mouseEntered=!0)}function handleMouseLeave(){t.enabled&&(t.mouseEntered=!1)}function animateSlider(e){return!(t.params.mousewheel.thresholdDelta&&e.delta=6&&now()-l<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),r("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),r("scroll",e.raw)),l=(new a.Date).getTime(),!1)))}function handle(e){let i=e,s=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const a=t.params.mousewheel;t.params.cssMode&&i.preventDefault();let l=t.el;"container"!==t.params.mousewheel.eventsTarget&&(l=document.querySelector(t.params.mousewheel.eventsTarget));const d=l&&l.contains(i.target);if(!t.mouseEntered&&!d&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let p=0;const u=t.rtlTranslate?-1:1,h=function normalize(e){let t=0,i=0,s=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=r,r=0),(s||r)&&e.deltaMode&&(1===e.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!t&&(t=s<1?-1:1),r&&!i&&(i=r<1?-1:1),{"spinX":t,"spinY":i,"pixelX":s,"pixelY":r}}(i);if(a.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;p=-h.pixelX*u}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;p=-h.pixelY}else p=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*u:-h.pixelY;if(0===p)return!0;a.invert&&(p=-p);let m=t.getTranslate()+p*a.sensitivity;if(m>=t.minTranslate()&&(m=t.minTranslate()),m<=t.maxTranslate()&&(m=t.maxTranslate()),s=!!t.params.loop||!(m===t.minTranslate()||m===t.maxTranslate()),s&&t.params.nested&&i.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={"time":now(),"delta":Math.abs(p),"direction":Math.sign(p)},s=n&&e.time=t.minTranslate()&&(l=t.minTranslate()),l<=t.maxTranslate()&&(l=t.maxTranslate()),t.setTransition(0),t.setTranslate(l),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({"direction":e.direction<0?"next":"prev","byMousewheel":!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,s=c[0];if(c.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))c.splice(0);else if(c.length>=15&&e.time-s.time<500&&s.delta-e.delta>=1&&e.delta<=6){const i=p>0?.8:.2;n=e,c.splice(0),o=nextTick((()=>{t.slideToClosest(t.params.speed,!0,void 0,i)}),0)}o||(o=nextTick((()=>{n=e,c.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(s||r("scroll",i),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),a.releaseOnEdges&&(l===t.minTranslate()||l===t.maxTranslate()))return!0}}else{const i={"time":now(),"delta":Math.abs(p),"direction":Math.sign(p),"raw":e};c.length>=2&&c.shift();const s=c.length?c[c.length-1]:void 0;if(c.push(i),s?(i.direction!==s.direction||i.delta>s.delta||i.time>s.time+150)&&animateSlider(i):animateSlider(i),function releaseScroll(e){const i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function events(e){let i=t.el;"container"!==t.params.mousewheel.eventsTarget&&(i=document.querySelector(t.params.mousewheel.eventsTarget)),i[e]("mouseenter",handleMouseEnter),i[e]("mouseleave",handleMouseLeave),i[e]("wheel",handle)}function enable(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",handle),!0):!t.mousewheel.enabled&&(events("addEventListener"),t.mousewheel.enabled=!0,!0)}function disable(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,handle),!0):!!t.mousewheel.enabled&&(events("removeEventListener"),t.mousewheel.enabled=!1,!0)}s("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&disable(),t.params.mousewheel.enabled&&enable()})),s("destroy",(()=>{t.params.cssMode&&enable(),t.mousewheel.enabled&&disable()})),Object.assign(t.mousewheel,{"enable":enable,"disable":disable})},function Navigation(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;function getEl(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i?e:i)}function toggleEl(e,i){const s=t.params.navigation;(e=makeElementsArray(e)).forEach((e=>{e&&(e.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass))}))}function update(){const{"nextEl":e,"prevEl":i}=t.navigation;if(t.params.loop)return toggleEl(i,!1),void toggleEl(e,!1);toggleEl(i,t.isBeginning&&!t.params.rewind),toggleEl(e,t.isEnd&&!t.params.rewind)}function onPrevClick(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function onNextClick(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function init(){const e=t.params.navigation;if(t.params.navigation=createElementIfNotDefined(t,t.originalParams.navigation,t.params.navigation,{"nextEl":"swiper-button-next","prevEl":"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let i=getEl(e.nextEl),s=getEl(e.prevEl);Object.assign(t.navigation,{"nextEl":i,"prevEl":s}),i=makeElementsArray(i),s=makeElementsArray(s);const initButton=(i,s)=>{i&&i.addEventListener("click","next"===s?onNextClick:onPrevClick),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};i.forEach((e=>initButton(e,"next"))),s.forEach((e=>initButton(e,"prev")))}function destroy(){let{"nextEl":e,"prevEl":i}=t.navigation;e=makeElementsArray(e),i=makeElementsArray(i);const destroyButton=(e,i)=>{e.removeEventListener("click","next"===i?onNextClick:onPrevClick),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>destroyButton(e,"next"))),i.forEach((e=>destroyButton(e,"prev")))}i({"navigation":{"nextEl":null,"prevEl":null,"hideOnClick":!1,"disabledClass":"swiper-button-disabled","hiddenClass":"swiper-button-hidden","lockClass":"swiper-button-lock","navigationDisabledClass":"swiper-navigation-disabled"}}),t.navigation={"nextEl":null,"prevEl":null},s("init",(()=>{!1===t.params.navigation.enabled?disable():(init(),update())})),s("toEdge fromEdge lock unlock",(()=>{update()})),s("destroy",(()=>{destroy()})),s("enable disable",(()=>{let{"nextEl":e,"prevEl":i}=t.navigation;e=makeElementsArray(e),i=makeElementsArray(i),t.enabled?update():[...e,...i].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),s("click",((e,i)=>{let{"nextEl":s,"prevEl":a}=t.navigation;s=makeElementsArray(s),a=makeElementsArray(a);const o=i.target;if(t.params.navigation.hideOnClick&&!a.includes(o)&&!s.includes(o)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;s.length?e=s[0].classList.contains(t.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...s,...a].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const disable=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),destroy()};Object.assign(t.navigation,{"enable":()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),init(),update()},"disable":disable,"update":update,"init":init,"destroy":destroy})},function Pagination(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a="swiper-pagination";let o;i({"pagination":{"el":null,"bulletElement":"span","clickable":!1,"hideOnClick":!1,"renderBullet":null,"renderProgressbar":null,"renderFraction":null,"renderCustom":null,"progressbarOpposite":!1,"type":"bullets","dynamicBullets":!1,"dynamicMainBullets":1,"formatFractionCurrent":e=>e,"formatFractionTotal":e=>e,"bulletClass":`${a}-bullet`,"bulletActiveClass":`${a}-bullet-active`,"modifierClass":`${a}-`,"currentClass":`${a}-current`,"totalClass":`${a}-total`,"hiddenClass":`${a}-hidden`,"progressbarFillClass":`${a}-progressbar-fill`,"progressbarOppositeClass":`${a}-progressbar-opposite`,"clickableClass":`${a}-clickable`,"lockClass":`${a}-lock`,"horizontalClass":`${a}-horizontal`,"verticalClass":`${a}-vertical`,"paginationDisabledClass":`${a}-disabled`}}),t.pagination={"el":null,"bullets":[]};let n=0;function isPaginationDisabled(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function setSideBullets(e,i){const{"bulletActiveClass":s}=t.params.pagination;e&&(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${s}-${i}`),(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&e.classList.add(`${s}-${i}-${i}`))}function onBulletClick(e){const i=e.target.closest(classesToSelector(t.params.pagination.bulletClass));if(!i)return;e.preventDefault();const s=elementIndex(i)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===s)return;t.slideToLoop(s)}else t.slideTo(s)}function update(){const e=t.rtl,i=t.params.pagination;if(isPaginationDisabled())return;let s,a,l=t.pagination.el;l=makeElementsArray(l);const c=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,d=t.params.loop?Math.ceil(c/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(a=t.previousRealIndex||0,s=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(s=t.snapIndex,a=t.previousSnapIndex):(a=t.previousIndex||0,s=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let c,d,p;if(i.dynamicBullets&&(o=elementOuterSize(r[0],t.isHorizontal()?"width":"height",!0),l.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=o*(i.dynamicMainBullets+4)+"px"})),i.dynamicMainBullets>1&&void 0!==a&&(n+=s-(a||0),n>i.dynamicMainBullets-1?n=i.dynamicMainBullets-1:n<0&&(n=0)),c=Math.max(s-n,0),d=c+(Math.min(r.length,i.dynamicMainBullets)-1),p=(d+c)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${i.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),l.length>1)r.forEach((e=>{const r=elementIndex(e);r===s?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(r>=c&&r<=d&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),r===c&&setSideBullets(e,"prev"),r===d&&setSideBullets(e,"next"))}));else{const e=r[s];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")})),i.dynamicBullets){const e=r[c],t=r[d];for(let e=c;e<=d;e+=1)r[e]&&r[e].classList.add(...`${i.bulletActiveClass}-main`.split(" "));setSideBullets(e,"prev"),setSideBullets(t,"next")}}if(i.dynamicBullets){const s=Math.min(r.length,i.dynamicMainBullets+4),a=(o*s-o)/2-p*o,n=e?"right":"left";r.forEach((e=>{e.style[t.isHorizontal()?n:"top"]=`${a}px`}))}}l.forEach(((e,a)=>{if("fraction"===i.type&&(e.querySelectorAll(classesToSelector(i.currentClass)).forEach((e=>{e.textContent=i.formatFractionCurrent(s+1)})),e.querySelectorAll(classesToSelector(i.totalClass)).forEach((e=>{e.textContent=i.formatFractionTotal(d)}))),"progressbar"===i.type){let r;r=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(s+1)/d;let o=1,n=1;"horizontal"===r?o=a:n=a,e.querySelectorAll(classesToSelector(i.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${n})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===i.type&&i.renderCustom?(e.innerHTML=i.renderCustom(t,s+1,d),0===a&&r("paginationRender",e)):(0===a&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass)}))}function render(){const e=t.params.pagination;if(isPaginationDisabled())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let s=t.pagination.el;s=makeElementsArray(s);let a="";if("bullets"===e.type){let s=t.params.loop?Math.ceil(i/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&s>i&&(s=i);for(let i=0;i`}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``),t.pagination.bullets=[],s.forEach((i=>{"custom"!==e.type&&(i.innerHTML=a||""),"bullets"===e.type&&t.pagination.bullets.push(...i.querySelectorAll(classesToSelector(e.bulletClass)))})),"custom"!==e.type&&r("paginationRender",s[0])}function init(){t.params.pagination=createElementIfNotDefined(t,t.originalParams.pagination,t.params.pagination,{"el":"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i;"string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),i&&0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1&&(i=i.filter((e=>elementParents(e,".swiper")[0]===t.el))[0])),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{"el":i}),i=makeElementsArray(i),i.forEach((i=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),n=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",onBulletClick),t.enabled||i.classList.add(e.lockClass)})))}function destroy(){const e=t.params.pagination;if(isPaginationDisabled())return;let i=t.pagination.el;i&&(i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",onBulletClick))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}s("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{"el":i}=t.pagination;i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),s("init",(()=>{!1===t.params.pagination.enabled?disable():(init(),render(),update())})),s("activeIndexChange",(()=>{void 0===t.snapIndex&&update()})),s("snapIndexChange",(()=>{update()})),s("snapGridLengthChange",(()=>{render(),update()})),s("destroy",(()=>{destroy()})),s("enable disable",(()=>{let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),s("lock unlock",(()=>{update()})),s("click",((e,i)=>{const s=i.target,a=makeElementsArray(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a&&a.length>0&&!s.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&s===t.navigation.nextEl||t.navigation.prevEl&&s===t.navigation.prevEl))return;const e=a[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),a.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const disable=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),destroy()};Object.assign(t.pagination,{"enable":()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),init(),render(),update()},"disable":disable,"render":render,"update":update,"init":init,"destroy":destroy})},function Scrollbar(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getDocument();let o,n,l,c,d=!1,p=null,u=null;function setTranslate(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{"scrollbar":e,"rtlTranslate":i}=t,{"dragEl":s,"el":r}=e,a=t.params.scrollbar,o=t.params.loop?t.progressLoop:t.progress;let c=n,d=(l-n)*o;i?(d=-d,d>0?(c=n-d,d=0):-d+n>l&&(c=l+d)):d<0?(c=n+d,d=0):d+n>l&&(c=l-d),t.isHorizontal()?(s.style.transform=`translate3d(${d}px, 0, 0)`,s.style.width=`${c}px`):(s.style.transform=`translate3d(0px, ${d}px, 0)`,s.style.height=`${c}px`),a.hide&&(clearTimeout(p),r.style.opacity=1,p=setTimeout((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3))}function updateSize(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{"scrollbar":e}=t,{"dragEl":i,"el":s}=e;i.style.width="",i.style.height="",l=t.isHorizontal()?s.offsetWidth:s.offsetHeight,c=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),n="auto"===t.params.scrollbar.dragSize?l*c:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?i.style.width=`${n}px`:i.style.height=`${n}px`,s.style.display=c>=1?"none":"",t.params.scrollbar.hide&&(s.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function getPointerPosition(e){return t.isHorizontal()?e.clientX:e.clientY}function setDragPosition(e){const{"scrollbar":i,"rtlTranslate":s}=t,{"el":r}=i;let a;a=(getPointerPosition(e)-elementOffset(r)[t.isHorizontal()?"left":"top"]-(null!==o?o:n/2))/(l-n),a=Math.max(Math.min(a,1),0),s&&(a=1-a);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}function onDragStart(e){const i=t.params.scrollbar,{"scrollbar":s,"wrapperEl":a}=t,{"el":n,"dragEl":l}=s;d=!0,o=e.target===l?getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",l.style.transitionDuration="100ms",setDragPosition(e),clearTimeout(u),n.style.transitionDuration="0ms",i.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function onDragMove(e){const{"scrollbar":i,"wrapperEl":s}=t,{"el":a,"dragEl":o}=i;d&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,setDragPosition(e),s.style.transitionDuration="0ms",a.style.transitionDuration="0ms",o.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function onDragEnd(e){const i=t.params.scrollbar,{"scrollbar":s,"wrapperEl":a}=t,{"el":o}=s;d&&(d=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),i.hide&&(clearTimeout(u),u=nextTick((()=>{o.style.opacity=0,o.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())}function events(e){const{"scrollbar":i,"params":s}=t,r=i.el;if(!r)return;const o=r,n=!!s.passiveListeners&&{"passive":!1,"capture":!1},l=!!s.passiveListeners&&{"passive":!0,"capture":!1};if(!o)return;const c="on"===e?"addEventListener":"removeEventListener";o[c]("pointerdown",onDragStart,n),a[c]("pointermove",onDragMove,n),a[c]("pointerup",onDragEnd,l)}function init(){const{"scrollbar":e,"el":i}=t;t.params.scrollbar=createElementIfNotDefined(t,t.originalParams.scrollbar,t.params.scrollbar,{"el":"swiper-scrollbar"});const s=t.params.scrollbar;if(!s.el)return;let r,o;if("string"==typeof s.el&&t.isElement&&(r=t.el.querySelector(s.el)),r||"string"!=typeof s.el)r||(r=s.el);else if(r=a.querySelectorAll(s.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===i.querySelectorAll(s.el).length&&(r=i.querySelector(s.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?s.horizontalClass:s.verticalClass),r&&(o=r.querySelector(classesToSelector(t.params.scrollbar.dragClass)),o||(o=createElement("div",t.params.scrollbar.dragClass),r.append(o))),Object.assign(e,{"el":r,"dragEl":o}),s.draggable&&function enableDraggable(){t.params.scrollbar.el&&t.scrollbar.el&&events("on")}(),r&&r.classList[t.enabled?"remove":"add"](...classesToTokens(t.params.scrollbar.lockClass))}function destroy(){const e=t.params.scrollbar,i=t.scrollbar.el;i&&i.classList.remove(...classesToTokens(t.isHorizontal()?e.horizontalClass:e.verticalClass)),function disableDraggable(){t.params.scrollbar.el&&t.scrollbar.el&&events("off")}()}i({"scrollbar":{"el":null,"dragSize":"auto","hide":!1,"draggable":!1,"snapOnRelease":!0,"lockClass":"swiper-scrollbar-lock","dragClass":"swiper-scrollbar-drag","scrollbarDisabledClass":"swiper-scrollbar-disabled","horizontalClass":"swiper-scrollbar-horizontal","verticalClass":"swiper-scrollbar-vertical"}}),t.scrollbar={"el":null,"dragEl":null},s("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{"el":i}=t.scrollbar;i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),s("init",(()=>{!1===t.params.scrollbar.enabled?disable():(init(),updateSize(),setTranslate())})),s("update resize observerUpdate lock unlock changeDirection",(()=>{updateSize()})),s("setTranslate",(()=>{setTranslate()})),s("setTransition",((e,i)=>{!function setTransition(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(i)})),s("enable disable",(()=>{const{"el":e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...classesToTokens(t.params.scrollbar.lockClass))})),s("destroy",(()=>{destroy()}));const disable=()=>{t.el.classList.add(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),destroy()};Object.assign(t.scrollbar,{"enable":()=>{t.el.classList.remove(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),init(),updateSize(),setTranslate()},"disable":disable,"updateSize":updateSize,"setTranslate":setTranslate,"init":init,"destroy":destroy})},function Parallax(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"parallax":{"enabled":!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",setTransform=(e,i)=>{const{"rtl":s}=t,r=s?-1:1,a=e.getAttribute("data-swiper-parallax")||"0";let o=e.getAttribute("data-swiper-parallax-x"),n=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),c=e.getAttribute("data-swiper-parallax-opacity"),d=e.getAttribute("data-swiper-parallax-rotate");if(o||n?(o=o||"0",n=n||"0"):t.isHorizontal()?(o=a,n="0"):(n=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*r+"%":o*i*r+"px",n=n.indexOf("%")>=0?parseInt(n,10)*i+"%":n*i+"px",null!=c){const t=c-(c-1)*(1-Math.abs(i));e.style.opacity=t}let p=`translate3d(${o}, ${n}, 0px)`;if(null!=l){p+=` scale(${l-(l-1)*(1-Math.abs(i))})`}if(d&&null!=d){p+=` rotate(${d*i*-1}deg)`}e.style.transform=p},setTranslate=()=>{const{"el":e,"slides":i,"progress":s,"snapGrid":a,"isElement":o}=t,n=elementChildren(e,r);t.isElement&&n.push(...elementChildren(t.hostEl,r)),n.forEach((e=>{setTransform(e,s)})),i.forEach(((e,i)=>{let o=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(o+=Math.ceil(i/2)-s*(a.length-1)),o=Math.min(Math.max(o,-1),1),e.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach((e=>{setTransform(e,o)}))}))};s("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{t.params.parallax.enabled&&setTranslate()})),s("setTranslate",(()=>{t.params.parallax.enabled&&setTranslate()})),s("setTransition",((e,i)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{"el":i,"hostEl":s}=t,a=[...i.querySelectorAll(r)];t.isElement&&a.push(...s.querySelectorAll(r)),a.forEach((t=>{let i=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),t.style.transitionDuration=`${i}ms`}))}(i)}))},function Zoom(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getWindow();i({"zoom":{"enabled":!1,"limitToOriginalSize":!1,"maxRatio":3,"minRatio":1,"toggle":!0,"containerClass":"swiper-zoom-container","zoomedSlideClass":"swiper-slide-zoomed"}}),t.zoom={"enabled":!1};let o,n,l=1,c=!1;const d=[],p={"originX":0,"originY":0,"slideEl":void 0,"slideWidth":void 0,"slideHeight":void 0,"imageEl":void 0,"imageWrapEl":void 0,"maxRatio":3},u={"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":{}},h={"x":void 0,"y":void 0,"prevPositionX":void 0,"prevPositionY":void 0,"prevTime":void 0};let m=1;function getDistanceBetweenTouches(){if(d.length<2)return 1;const e=d[0].pageX,t=d[0].pageY,i=d[1].pageX,s=d[1].pageY;return Math.sqrt((i-e)**2+(s-t)**2)}function getMaxRatio(){const e=t.params.zoom,i=p.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&p.imageEl&&p.imageEl.naturalWidth){const e=p.imageEl.naturalWidth/p.imageEl.offsetWidth;return Math.min(e,i)}return i}function eventWithinSlide(e){const i=function getSlideSelector(){return t.isElement?"swiper-slide":`.${t.params.slideClass}`}();return!!e.target.matches(i)||t.slides.filter((t=>t.contains(e.target))).length>0}function onGestureStart(e){if("mouse"===e.pointerType&&d.splice(0,d.length),!eventWithinSlide(e))return;const i=t.params.zoom;if(o=!1,n=!1,d.push(e),!(d.length<2)){if(o=!0,p.scaleStart=getDistanceBetweenTouches(),!p.slideEl){p.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),p.slideEl||(p.slideEl=t.slides[t.activeIndex]);let s=p.slideEl.querySelector(`.${i.containerClass}`);if(s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=s,p.imageWrapEl=s?elementParents(p.imageEl,`.${i.containerClass}`)[0]:void 0,!p.imageWrapEl)return void(p.imageEl=void 0);p.maxRatio=getMaxRatio()}if(p.imageEl){const[e,t]=function getScaleOrigin(){if(d.length<2)return{"x":null,"y":null};const e=p.imageEl.getBoundingClientRect();return[(d[0].pageX+(d[1].pageX-d[0].pageX)/2-e.x-a.scrollX)/l,(d[0].pageY+(d[1].pageY-d[0].pageY)/2-e.y-a.scrollY)/l]}();p.originX=e,p.originY=t,p.imageEl.style.transitionDuration="0ms"}c=!0}}function onGestureChange(e){if(!eventWithinSlide(e))return;const i=t.params.zoom,s=t.zoom,r=d.findIndex((t=>t.pointerId===e.pointerId));r>=0&&(d[r]=e),d.length<2||(n=!0,p.scaleMove=getDistanceBetweenTouches(),p.imageEl&&(s.scale=p.scaleMove/p.scaleStart*l,s.scale>p.maxRatio&&(s.scale=p.maxRatio-1+(s.scale-p.maxRatio+1)**.5),s.scalet.pointerId===e.pointerId));r>=0&&d.splice(r,1),o&&n&&(o=!1,n=!1,p.imageEl&&(s.scale=Math.max(Math.min(s.scale,p.maxRatio),i.minRatio),p.imageEl.style.transitionDuration=`${t.params.speed}ms`,p.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`,l=s.scale,c=!1,s.scale>1&&p.slideEl?p.slideEl.classList.add(`${i.zoomedSlideClass}`):s.scale<=1&&p.slideEl&&p.slideEl.classList.remove(`${i.zoomedSlideClass}`),1===s.scale&&(p.originX=0,p.originY=0,p.slideEl=void 0)))}function onTouchMove(e){if(!eventWithinSlide(e)||!function eventWithinZoomContainer(e){const i=`.${t.params.zoom.containerClass}`;return!!e.target.matches(i)||[...t.hostEl.querySelectorAll(i)].filter((t=>t.contains(e.target))).length>0}(e))return;const i=t.zoom;if(!p.imageEl)return;if(!u.isTouched||!p.slideEl)return;u.isMoved||(u.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,u.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,u.startX=getTranslate(p.imageWrapEl,"x")||0,u.startY=getTranslate(p.imageWrapEl,"y")||0,p.slideWidth=p.slideEl.offsetWidth,p.slideHeight=p.slideEl.offsetHeight,p.imageWrapEl.style.transitionDuration="0ms");const s=u.width*i.scale,r=u.height*i.scale;if(s0?d[0].pageX:e.pageX,u.touchesCurrent.y=d.length>0?d[0].pageY:e.pageY;if(Math.max(Math.abs(u.touchesCurrent.x-u.touchesStart.x),Math.abs(u.touchesCurrent.y-u.touchesStart.y))>5&&(t.allowClick=!1),!u.isMoved&&!c){if(t.isHorizontal()&&(Math.floor(u.minX)===Math.floor(u.startX)&&u.touchesCurrent.xu.touchesStart.x))return void(u.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(u.minY)===Math.floor(u.startY)&&u.touchesCurrent.yu.touchesStart.y))return void(u.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),u.isMoved=!0;const a=(i.scale-l)/(p.maxRatio-t.params.zoom.minRatio),{"originX":o,"originY":n}=p;u.currentX=u.touchesCurrent.x-u.touchesStart.x+u.startX+a*(u.width-2*o),u.currentY=u.touchesCurrent.y-u.touchesStart.y+u.startY+a*(u.height-2*n),u.currentXu.maxX&&(u.currentX=u.maxX-1+(u.currentX-u.maxX+1)**.8),u.currentYu.maxY&&(u.currentY=u.maxY-1+(u.currentY-u.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=u.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=u.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(u.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(u.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(u.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(u.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=u.touchesCurrent.x,h.prevPositionY=u.touchesCurrent.y,h.prevTime=Date.now(),p.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function onTransitionEnd(){const e=t.zoom;p.slideEl&&t.activeIndex!==t.slides.indexOf(p.slideEl)&&(p.imageEl&&(p.imageEl.style.transform="translate3d(0,0,0) scale(1)"),p.imageWrapEl&&(p.imageWrapEl.style.transform="translate3d(0,0,0)"),p.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,l=1,p.slideEl=void 0,p.imageEl=void 0,p.imageWrapEl=void 0,p.originX=0,p.originY=0)}function zoomIn(e){const i=t.zoom,s=t.params.zoom;if(!p.slideEl){e&&e.target&&(p.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),p.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?p.slideEl=elementChildren(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:p.slideEl=t.slides[t.activeIndex]);let i=p.slideEl.querySelector(`.${s.containerClass}`);i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=i,p.imageWrapEl=i?elementParents(p.imageEl,`.${s.containerClass}`)[0]:void 0}if(!p.imageEl||!p.imageWrapEl)return;let r,o,n,c,d,h,m,g,f,b,w,v,A,y,x,E,S,T;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),p.slideEl.classList.add(`${s.zoomedSlideClass}`),void 0===u.touchesStart.x&&e?(r=e.pageX,o=e.pageY):(r=u.touchesStart.x,o=u.touchesStart.y);const k="number"==typeof e?e:null;1===l&&k&&(r=void 0,o=void 0);const C=getMaxRatio();i.scale=k||C,l=k||C,!e||1===l&&k?(m=0,g=0):(S=p.slideEl.offsetWidth,T=p.slideEl.offsetHeight,n=elementOffset(p.slideEl).left+a.scrollX,c=elementOffset(p.slideEl).top+a.scrollY,d=n+S/2-r,h=c+T/2-o,f=p.imageEl.offsetWidth||p.imageEl.clientWidth,b=p.imageEl.offsetHeight||p.imageEl.clientHeight,w=f*i.scale,v=b*i.scale,A=Math.min(S/2-w/2,0),y=Math.min(T/2-v/2,0),x=-A,E=-y,m=d*i.scale,g=h*i.scale,mx&&(m=x),gE&&(g=E)),k&&1===i.scale&&(p.originX=0,p.originY=0),p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform=`translate3d(${m}px, ${g}px,0)`,p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`}function zoomOut(){const e=t.zoom,i=t.params.zoom;if(!p.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?p.slideEl=elementChildren(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:p.slideEl=t.slides[t.activeIndex];let e=p.slideEl.querySelector(`.${i.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=e,p.imageWrapEl=e?elementParents(p.imageEl,`.${i.containerClass}`)[0]:void 0}p.imageEl&&p.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform="translate3d(0,0,0)",p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform="translate3d(0,0,0) scale(1)",p.slideEl.classList.remove(`${i.zoomedSlideClass}`),p.slideEl=void 0,p.originX=0,p.originY=0)}function zoomToggle(e){const i=t.zoom;i.scale&&1!==i.scale?zoomOut():zoomIn(e)}function getListeners(){return{"passiveListener":!!t.params.passiveListeners&&{"passive":!0,"capture":!1},"activeListenerWithCapture":!t.params.passiveListeners||{"passive":!1,"capture":!0}}}function enable(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{"passiveListener":i,"activeListenerWithCapture":s}=getListeners();t.wrapperEl.addEventListener("pointerdown",onGestureStart,i),t.wrapperEl.addEventListener("pointermove",onGestureChange,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,onGestureEnd,i)})),t.wrapperEl.addEventListener("pointermove",onTouchMove,s)}function disable(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{"passiveListener":i,"activeListenerWithCapture":s}=getListeners();t.wrapperEl.removeEventListener("pointerdown",onGestureStart,i),t.wrapperEl.removeEventListener("pointermove",onGestureChange,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,onGestureEnd,i)})),t.wrapperEl.removeEventListener("pointermove",onTouchMove,s)}Object.defineProperty(t.zoom,"scale",{"get"(){return m},"set"(e){if(m!==e){const t=p.imageEl,i=p.slideEl;r("zoomChange",e,t,i)}m=e}}),s("init",(()=>{t.params.zoom.enabled&&enable()})),s("destroy",(()=>{disable()})),s("touchStart",((e,i)=>{t.zoom.enabled&&function onTouchStart(e){const i=t.device;if(!p.imageEl)return;if(u.isTouched)return;i.android&&e.cancelable&&e.preventDefault(),u.isTouched=!0;const s=d.length>0?d[0]:e;u.touchesStart.x=s.pageX,u.touchesStart.y=s.pageY}(i)})),s("touchEnd",((e,i)=>{t.zoom.enabled&&function onTouchEnd(){const e=t.zoom;if(!p.imageEl)return;if(!u.isTouched||!u.isMoved)return u.isTouched=!1,void(u.isMoved=!1);u.isTouched=!1,u.isMoved=!1;let i=300,s=300;const r=h.x*i,a=u.currentX+r,o=h.y*s,n=u.currentY+o;0!==h.x&&(i=Math.abs((a-u.currentX)/h.x)),0!==h.y&&(s=Math.abs((n-u.currentY)/h.y));const l=Math.max(i,s);u.currentX=a,u.currentY=n;const c=u.width*e.scale,d=u.height*e.scale;u.minX=Math.min(p.slideWidth/2-c/2,0),u.maxX=-u.minX,u.minY=Math.min(p.slideHeight/2-d/2,0),u.maxY=-u.minY,u.currentX=Math.max(Math.min(u.currentX,u.maxX),u.minX),u.currentY=Math.max(Math.min(u.currentY,u.maxY),u.minY),p.imageWrapEl.style.transitionDuration=`${l}ms`,p.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}()})),s("doubleTap",((e,i)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&zoomToggle(i)})),s("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&onTransitionEnd()})),s("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&onTransitionEnd()})),Object.assign(t.zoom,{"enable":enable,"disable":disable,"in":zoomIn,"out":zoomOut,"toggle":zoomToggle})},function Controller(e){let{"swiper":t,"extendParams":i,"on":s}=e;function LinearSpline(e,t){const i=function search(){let e,t,i;return(s,r)=>{for(t=-1,e=s.length;e-t>1;)i=e+t>>1,s[i]<=r?t=i:e=i;return e}}();let s,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function interpolate(e){return e?(r=i(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this}function removeSpline(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}i({"controller":{"control":void 0,"inverse":!1,"by":"slide"}}),t.controller={"control":void 0},s("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const onControllerSwiper=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",onControllerSwiper)};e.addEventListener("init",onControllerSwiper)}}else t.controller.control=t.params.controller.control})),s("update",(()=>{removeSpline()})),s("resize",(()=>{removeSpline()})),s("observerUpdate",(()=>{removeSpline()})),s("setTranslate",((e,i,s)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(i,s)})),s("setTransition",((e,i,s)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(i,s)})),Object.assign(t.controller,{"setTranslate":function setTranslate(e,i){const s=t.controller.control;let r,a;const o=t.constructor;function setControlledTranslate(e){if(e.destroyed)return;const i=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function getInterpolateFunction(e){t.controller.spline=t.params.loop?new LinearSpline(t.slidesGrid,e.slidesGrid):new LinearSpline(t.snapGrid,e.snapGrid)}(e),a=-t.controller.spline.interpolate(-i)),a&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),a=(i-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{i.updateAutoHeight()})),elementTransitionEnd(i.wrapperEl,(()=>{r&&i.transitionEnd()}))))}if(Array.isArray(r))for(a=0;a{e.setAttribute("tabIndex","0")}))}function makeElNotFocusable(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function addElRole(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("role",t)}))}function addElRoleDescription(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function addElLabel(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function disableEl(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function enableEl(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function onEnterOrSpaceKey(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=t.params.a11y,s=e.target;if(!t.pagination||!t.pagination.el||s!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(classesToSelector(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=makeElementsArray(t.navigation.prevEl);makeElementsArray(t.navigation.nextEl).includes(s)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?notify(i.lastSlideMessage):notify(i.nextSlideMessage)),e.includes(s)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?notify(i.firstSlideMessage):notify(i.prevSlideMessage))}t.pagination&&s.matches(classesToSelector(t.params.pagination.bulletClass))&&s.click()}}function hasPagination(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function hasClickablePagination(){return hasPagination()&&t.params.pagination.clickable}const initNavEl=(e,t,i)=>{makeElFocusable(e),"BUTTON"!==e.tagName&&(addElRole(e,"button"),e.addEventListener("keydown",onEnterOrSpaceKey)),addElLabel(e,i),function addElControls(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},handlePointerDown=e=>{a&&a!==e.target&&!a.contains(e.target)&&(r=!0),t.a11y.clicked=!0},handlePointerUp=()=>{r=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},onVisibilityChange=e=>{n=(new Date).getTime()},handleFocus=e=>{if(t.a11y.clicked)return;if((new Date).getTime()-n<100)return;const i=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!i||!t.slides.includes(i))return;a=i;const s=t.slides.indexOf(i)===t.activeIndex,o=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);s||o||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{r||(t.slideTo(t.slides.indexOf(i),0),r=!1)})))},initSlides=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&addElRoleDescription(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&addElRole(t.slides,e.slideRole);const i=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((s,r)=>{const a=t.params.loop?parseInt(s.getAttribute("data-swiper-slide-index"),10):r;addElLabel(s,e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,i))}))},init=()=>{const e=t.params.a11y;t.el.append(o);const i=t.el;e.containerRoleDescriptionMessage&&addElRoleDescription(i,e.containerRoleDescriptionMessage),e.containerMessage&&addElLabel(i,e.containerMessage);const s=t.wrapperEl,r=e.id||s.getAttribute("id")||`swiper-wrapper-${function getRandomNumber(e){return void 0===e&&(e=16),"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";!function addElId(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("id",t)}))}(s,r),function addElLive(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(s,a),initSlides();let{"nextEl":n,"prevEl":l}=t.navigation?t.navigation:{};if(n=makeElementsArray(n),l=makeElementsArray(l),n&&n.forEach((t=>initNavEl(t,r,e.nextSlideMessage))),l&&l.forEach((t=>initNavEl(t,r,e.prevSlideMessage))),hasClickablePagination()){makeElementsArray(t.pagination.el).forEach((e=>{e.addEventListener("keydown",onEnterOrSpaceKey)}))}getDocument().addEventListener("visibilitychange",onVisibilityChange),t.el.addEventListener("focus",handleFocus,!0),t.el.addEventListener("focus",handleFocus,!0),t.el.addEventListener("pointerdown",handlePointerDown,!0),t.el.addEventListener("pointerup",handlePointerUp,!0)};s("beforeInit",(()=>{o=createElement("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),s("afterInit",(()=>{t.params.a11y.enabled&&init()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&initSlides()})),s("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function updateNavigation(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{"nextEl":e,"prevEl":i}=t.navigation;i&&(t.isBeginning?(disableEl(i),makeElNotFocusable(i)):(enableEl(i),makeElFocusable(i))),e&&(t.isEnd?(disableEl(e),makeElNotFocusable(e)):(enableEl(e),makeElFocusable(e)))}()})),s("paginationUpdate",(()=>{t.params.a11y.enabled&&function updatePagination(){const e=t.params.a11y;hasPagination()&&t.pagination.bullets.forEach((i=>{t.params.pagination.clickable&&(makeElFocusable(i),t.params.pagination.renderBullet||(addElRole(i,"button"),addElLabel(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(i)+1)))),i.matches(classesToSelector(t.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current")}))}()})),s("destroy",(()=>{t.params.a11y.enabled&&function destroy(){o&&o.remove();let{"nextEl":e,"prevEl":i}=t.navigation?t.navigation:{};e=makeElementsArray(e),i=makeElementsArray(i),e&&e.forEach((e=>e.removeEventListener("keydown",onEnterOrSpaceKey))),i&&i.forEach((e=>e.removeEventListener("keydown",onEnterOrSpaceKey))),hasClickablePagination()&&makeElementsArray(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",onEnterOrSpaceKey)}));getDocument().removeEventListener("visibilitychange",onVisibilityChange),t.el.removeEventListener("focus",handleFocus,!0),t.el.removeEventListener("pointerdown",handlePointerDown,!0),t.el.removeEventListener("pointerup",handlePointerUp,!0)}()}))},function History(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"history":{"enabled":!1,"root":"","replaceState":!1,"key":"slides","keepQuery":!1}});let r=!1,a={};const slugify=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),getPathValues=e=>{const t=getWindow();let i;i=e?new URL(e):t.location;const s=i.pathname.slice(1).split("/").filter((e=>""!==e)),r=s.length;return{"key":s[r-2],"value":s[r-1]}},setHistory=(e,i)=>{const s=getWindow();if(!r||!t.params.history.enabled)return;let a;a=t.params.url?new URL(t.params.url):s.location;const o=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${i}"]`):t.slides[i];let n=slugify(o.getAttribute("data-history"));if(t.params.history.root.length>0){let i=t.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),n=`${i}/${e?`${e}/`:""}${n}`}else a.pathname.includes(e)||(n=`${e?`${e}/`:""}${n}`);t.params.history.keepQuery&&(n+=a.search);const l=s.history.state;l&&l.value===n||(t.params.history.replaceState?s.history.replaceState({"value":n},null,n):s.history.pushState({"value":n},null,n))},scrollToSlide=(e,i,s)=>{if(i)for(let r=0,a=t.slides.length;r{a=getPathValues(t.params.url),scrollToSlide(t.params.speed,a.value,!1)};s("init",(()=>{t.params.history.enabled&&(()=>{const e=getWindow();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);r=!0,a=getPathValues(t.params.url),a.key||a.value?(scrollToSlide(0,a.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",setHistoryPopState)):t.params.history.replaceState||e.addEventListener("popstate",setHistoryPopState)}})()})),s("destroy",(()=>{t.params.history.enabled&&(()=>{const e=getWindow();t.params.history.replaceState||e.removeEventListener("popstate",setHistoryPopState)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&setHistory(t.params.history.key,t.activeIndex)})),s("slideChange",(()=>{r&&t.params.cssMode&&setHistory(t.params.history.key,t.activeIndex)}))},function HashNavigation(e){let{"swiper":t,"extendParams":i,"emit":s,"on":r}=e,a=!1;const o=getDocument(),n=getWindow();i({"hashNavigation":{"enabled":!1,"replaceState":!1,"watchState":!1,"getSlideIndex"(e,i){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter((e=>e.getAttribute("data-hash")===i))[0];if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index"),10)}return t.getSlideIndex(elementChildren(t.slidesEl,`.${t.params.slideClass}[data-hash="${i}"], swiper-slide[data-hash="${i}"]`)[0])}}});const onHashChange=()=>{s("hashChange");const e=o.location.hash.replace("#",""),i=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(i?i.getAttribute("data-hash"):"")){const i=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===i||Number.isNaN(i))return;t.slideTo(i)}},setHash=()=>{if(!a||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],i=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&n.history&&n.history.replaceState?(n.history.replaceState(null,null,`#${i}`||""),s("hashSet")):(o.location.hash=i||"",s("hashSet"))};r("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;const e=o.location.hash.replace("#","");if(e){const i=0,s=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(s||0,i,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&n.addEventListener("hashchange",onHashChange)})()})),r("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&n.removeEventListener("hashchange",onHashChange)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{a&&setHash()})),r("slideChange",(()=>{a&&t.params.cssMode&&setHash()}))},function Autoplay(e){let t,i,{"swiper":s,"extendParams":r,"on":a,"emit":o,"params":n}=e;s.autoplay={"running":!1,"paused":!1,"timeLeft":0},r({"autoplay":{"enabled":!1,"delay":3e3,"waitForTransition":!0,"disableOnInteraction":!1,"stopOnLastSlide":!1,"reverseDirection":!1,"pauseOnMouseEnter":!1}});let l,c,d,p,u,h,m,g,f=n&&n.autoplay?n.autoplay.delay:3e3,b=n&&n.autoplay?n.autoplay.delay:3e3,w=(new Date).getTime();function onTransitionEnd(e){s&&!s.destroyed&&s.wrapperEl&&e.target===s.wrapperEl&&(s.wrapperEl.removeEventListener("transitionend",onTransitionEnd),g||resume())}const calcTimeLeft=()=>{if(s.destroyed||!s.autoplay.running)return;s.autoplay.paused?c=!0:c&&(b=l,c=!1);const e=s.autoplay.paused?l:w+b-(new Date).getTime();s.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/f),i=requestAnimationFrame((()=>{calcTimeLeft()}))},run=e=>{if(s.destroyed||!s.autoplay.running)return;cancelAnimationFrame(i),calcTimeLeft();let r=void 0===e?s.params.autoplay.delay:e;f=s.params.autoplay.delay,b=s.params.autoplay.delay;const a=(()=>{let e;if(e=s.virtual&&s.params.virtual.enabled?s.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:s.slides[s.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===e&&(r=a,f=a,b=a),l=r;const n=s.params.speed,proceed=()=>{s&&!s.destroyed&&(s.params.autoplay.reverseDirection?!s.isBeginning||s.params.loop||s.params.rewind?(s.slidePrev(n,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(s.slides.length-1,n,!0,!0),o("autoplay")):!s.isEnd||s.params.loop||s.params.rewind?(s.slideNext(n,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(0,n,!0,!0),o("autoplay")),s.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame((()=>{run()}))))};return r>0?(clearTimeout(t),t=setTimeout((()=>{proceed()}),r)):requestAnimationFrame((()=>{proceed()})),r},start=()=>{w=(new Date).getTime(),s.autoplay.running=!0,run(),o("autoplayStart")},stop=()=>{s.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),o("autoplayStop")},pause=(e,i)=>{if(s.destroyed||!s.autoplay.running)return;clearTimeout(t),e||(m=!0);const proceed=()=>{o("autoplayPause"),s.params.autoplay.waitForTransition?s.wrapperEl.addEventListener("transitionend",onTransitionEnd):resume()};if(s.autoplay.paused=!0,i)return h&&(l=s.params.autoplay.delay),h=!1,void proceed();const r=l||s.params.autoplay.delay;l=r-((new Date).getTime()-w),s.isEnd&&l<0&&!s.params.loop||(l<0&&(l=0),proceed())},resume=()=>{s.isEnd&&l<0&&!s.params.loop||s.destroyed||!s.autoplay.running||(w=(new Date).getTime(),m?(m=!1,run(l)):run(),s.autoplay.paused=!1,o("autoplayResume"))},onVisibilityChange=()=>{if(s.destroyed||!s.autoplay.running)return;const e=getDocument();"hidden"===e.visibilityState&&(m=!0,pause(!0)),"visible"===e.visibilityState&&resume()},onPointerEnter=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,s.animating||s.autoplay.paused||pause(!0))},onPointerLeave=e=>{"mouse"===e.pointerType&&(g=!1,s.autoplay.paused&&resume())};a("init",(()=>{s.params.autoplay.enabled&&(s.params.autoplay.pauseOnMouseEnter&&(s.el.addEventListener("pointerenter",onPointerEnter),s.el.addEventListener("pointerleave",onPointerLeave)),getDocument().addEventListener("visibilitychange",onVisibilityChange),start())})),a("destroy",(()=>{s.el.removeEventListener("pointerenter",onPointerEnter),s.el.removeEventListener("pointerleave",onPointerLeave),getDocument().removeEventListener("visibilitychange",onVisibilityChange),s.autoplay.running&&stop()})),a("_freeModeStaticRelease",(()=>{(p||m)&&resume()})),a("_freeModeNoMomentumRelease",(()=>{s.params.autoplay.disableOnInteraction?stop():pause(!0,!0)})),a("beforeTransitionStart",((e,t,i)=>{!s.destroyed&&s.autoplay.running&&(i||!s.params.autoplay.disableOnInteraction?pause(!0,!0):stop())})),a("sliderFirstMove",(()=>{!s.destroyed&&s.autoplay.running&&(s.params.autoplay.disableOnInteraction?stop():(d=!0,p=!1,m=!1,u=setTimeout((()=>{m=!0,p=!0,pause(!0)}),200)))})),a("touchEnd",(()=>{if(!s.destroyed&&s.autoplay.running&&d){if(clearTimeout(u),clearTimeout(t),s.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&s.params.cssMode&&resume(),p=!1,d=!1}})),a("slideChange",(()=>{!s.destroyed&&s.autoplay.running&&(h=!0)})),Object.assign(s.autoplay,{"start":start,"stop":stop,"pause":pause,"resume":resume})},function Thumb(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"thumbs":{"swiper":null,"multipleActiveThumbs":!0,"autoScrollOffset":0,"slideThumbActiveClass":"swiper-slide-thumb-active","thumbsContainerClass":"swiper-thumbs"}});let r=!1,a=!1;function onThumbClick(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,s=e.clickedSlide;if(s&&s.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function init(){const{"thumbs":e}=t.params;if(r)return!1;r=!0;const i=t.constructor;if(e.swiper instanceof i)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),Object.assign(t.thumbs.swiper.params,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),t.thumbs.swiper.update();else if(utils_isObject(e.swiper)){const s=Object.assign({},e.swiper);Object.assign(s,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),t.thumbs.swiper=new i(s),a=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",onThumbClick),!0}function update(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const s="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const a=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach((e=>e.classList.remove(a))),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e{e.classList.add(a)}));else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];a=i.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,l=a>t.previousIndex?"next":"prev";n&&(a+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(a)<0&&(i.params.centeredSlides?a=a>r?a-Math.floor(s/2)+1:a+Math.floor(s/2)-1:a>r&&i.params.slidesPerGroup,i.slideTo(a,e?0:void 0))}}t.thumbs={"swiper":null},s("beforeInit",(()=>{const{"thumbs":e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=getDocument(),getThumbsElementAndInit=()=>{const s="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(s&&s.swiper)e.swiper=s.swiper,init(),update(!0);else if(s){const onThumbsSwiper=i=>{e.swiper=i.detail[0],s.removeEventListener("init",onThumbsSwiper),init(),update(!0),e.swiper.update(),t.update()};s.addEventListener("init",onThumbsSwiper)}return s},watchForThumbsToAppear=()=>{if(t.destroyed)return;getThumbsElementAndInit()||requestAnimationFrame(watchForThumbsToAppear)};requestAnimationFrame(watchForThumbsToAppear)}else init(),update(!0)})),s("slideChange update resize observerUpdate",(()=>{update()})),s("setTransition",((e,i)=>{const s=t.thumbs.swiper;s&&!s.destroyed&&s.setTransition(i)})),s("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&a&&e.destroy()})),Object.assign(t.thumbs,{"init":init,"update":update})},function freeMode(e){let{"swiper":t,"extendParams":i,"emit":s,"once":r}=e;i({"freeMode":{"enabled":!1,"momentum":!0,"momentumRatio":1,"momentumBounce":!0,"momentumBounceRatio":1,"momentumVelocityRatio":1,"sticky":!1,"minimumVelocity":.02}}),Object.assign(t,{"freeMode":{"onTouchStart":function onTouchStart(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({"currentPos":t.rtl?t.translate:-t.translate})},"onTouchMove":function onTouchMove(){if(t.params.cssMode)return;const{"touchEventsData":e,"touches":i}=t;0===e.velocities.length&&e.velocities.push({"position":i[t.isHorizontal()?"startX":"startY"],"time":e.touchStartTime}),e.velocities.push({"position":i[t.isHorizontal()?"currentX":"currentY"],"time":now()})},"onTouchEnd":function onTouchEnd(e){let{"currentPos":i}=e;if(t.params.cssMode)return;const{"params":a,"wrapperEl":o,"rtlTranslate":n,"snapGrid":l,"touchEventsData":c}=t,d=now()-c.touchStartTime;if(i<-t.minTranslate())t.slideTo(t.activeIndex);else if(i>-t.maxTranslate())t.slides.length1){const e=c.velocities.pop(),i=c.velocities.pop(),s=e.position-i.position,r=e.time-i.time;t.velocity=s/r,t.velocity/=2,Math.abs(t.velocity)150||now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*a.freeMode.momentumRatio;const i=t.velocity*e;let d=t.translate+i;n&&(d=-d);let p,u=!1;const h=20*Math.abs(t.velocity)*a.freeMode.momentumBounceRatio;let m;if(dt.minTranslate())a.freeMode.momentumBounce?(d-t.minTranslate()>h&&(d=t.minTranslate()+h),p=t.minTranslate(),u=!0,c.allowMomentumBounce=!0):d=t.minTranslate(),a.loop&&a.centeredSlides&&(m=!0);else if(a.freeMode.sticky){let e;for(let t=0;t-d){e=t;break}d=Math.abs(l[e]-d){t.loopFix()})),0!==t.velocity){if(e=n?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity),a.freeMode.sticky){const i=Math.abs((n?-d:d)-t.translate),s=t.slidesSizesGrid[t.activeIndex];e=i{t&&!t.destroyed&&c.allowMomentumBounce&&(s("momentumBounce"),t.setTransition(a.speed),setTimeout((()=>{t.setTranslate(p),elementTransitionEnd(o,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(s("_freeModeNoMomentumRelease"),t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,elementTransitionEnd(o,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeMode.sticky)return void t.slideToClosest();a.freeMode&&s("_freeModeNoMomentumRelease")}(!a.freeMode.momentum||d>=a.longSwipesMs)&&(s("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function Grid(e){let t,i,s,r,{"swiper":a,"extendParams":o,"on":n}=e;o({"grid":{"rows":1,"fill":"column"}});const getSpaceBetween=()=>{let e=a.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*a.size:"string"==typeof e&&(e=parseFloat(e)),e};n("init",(()=>{r=a.params.grid&&a.params.grid.rows>1})),n("update",(()=>{const{"params":e,"el":t}=a,i=e.grid&&e.grid.rows>1;r&&!i?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),s=1,a.emitContainerClasses()):!r&&i&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),a.emitContainerClasses()),r=i})),a.grid={"initSlides":e=>{const{"slidesPerView":r}=a.params,{"rows":o,"fill":n}=a.params.grid,l=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:e.length;s=Math.floor(l/o),t=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===n&&(t=Math.max(t,r*o)),i=t/o},"unsetSlides":()=>{a.slides&&a.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[a.getDirectionLabel("margin-top")]="")}))},"updateSlide":(e,r,o)=>{const{"slidesPerGroup":n}=a.params,l=getSpaceBetween(),{"rows":c,"fill":d}=a.params.grid,p=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:o.length;let u,h,m;if("row"===d&&n>1){const i=Math.floor(e/(n*c)),s=e-c*n*i,a=0===i?n:Math.min(Math.ceil((p-i*c*n)/c),n);m=Math.floor(s/a),h=s-m*a+i*n,u=h+m*t/c,r.style.order=u}else"column"===d?(h=Math.floor(e/c),m=e-h*c,(h>s||h===s&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(e/i),h=e-m*i);r.row=m,r.column=h,r.style.height=`calc((100% - ${(c-1)*l}px) / ${c})`,r.style[a.getDirectionLabel("margin-top")]=0!==m?l&&`${l}px`:"",r.swiperSlideGridSet=!0},"updateWrapperSize":(e,i)=>{const{"centeredSlides":s,"roundLengths":r}=a.params,o=getSpaceBetween(),{"rows":n}=a.params.grid;if(a.virtualSize=(e+o)*t,a.virtualSize=Math.ceil(a.virtualSize/n)-o,a.params.cssMode||(a.wrapperEl.style[a.getDirectionLabel("width")]=`${a.virtualSize+o}px`),s){const e=[];for(let t=0;t{const{"slides":e}=t;t.params.fadeEffect;for(let i=0;i{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i,"allSlides":!0})},"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!t.params.cssMode})})},function EffectCube(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"cubeEffect":{"slideShadows":!0,"shadow":!0,"shadowOffset":20,"shadowScale":.94}});const createSlideShadows=(e,t,i)=>{let s=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s||(s=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),e.append(s)),r||(r=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),e.append(r)),s&&(s.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};effectInit({"effect":"cube","swiper":t,"on":s,"setTranslate":()=>{const{"el":e,"wrapperEl":i,"slides":s,"width":r,"height":a,"rtlTranslate":o,"size":n,"browser":l}=t,c=t.params.cubeEffect,d=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled;let u,h=0;c.shadow&&(d?(u=t.wrapperEl.querySelector(".swiper-cube-shadow"),u||(u=createElement("div","swiper-cube-shadow"),t.wrapperEl.append(u)),u.style.height=`${r}px`):(u=e.querySelector(".swiper-cube-shadow"),u||(u=createElement("div","swiper-cube-shadow"),e.append(u))));for(let e=0;e-1&&(h=90*r+90*u,o&&(h=90*-r-90*u),t.browser&&t.browser.need3dFix&&Math.abs(h)/90%2==1&&(h+=.001)),i.style.transform=b,c.slideShadows&&createSlideShadows(i,u,d)}if(i.style.transformOrigin=`50% 50% -${n/2}px`,i.style["-webkit-transform-origin"]=`50% 50% -${n/2}px`,c.shadow)if(d)u.style.transform=`translate3d(0px, ${r/2+c.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),i=c.shadowScale,s=c.shadowScale/t,r=c.shadowOffset;u.style.transform=`scale3d(${i}, 1, ${s}) translate3d(0px, ${a/2+r}px, ${-a/2/s}px) rotateX(-89.99deg)`}const m=(l.isSafari||l.isWebView)&&l.needPerspectiveFix?-n/2:0;i.style.transform=`translate3d(0px,0,${m}px) rotateX(${t.isHorizontal()?0:h}deg) rotateY(${t.isHorizontal()?-h:0}deg)`,i.style.setProperty("--swiper-cube-translate-z",`${m}px`)},"setTransition":e=>{const{"el":i,"slides":s}=t;if(s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=i.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},"recreateShadows":()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const i=Math.max(Math.min(t.progress,1),-1);createSlideShadows(t,i,e)}))},"getEffectParams":()=>t.params.cubeEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"resistanceRatio":0,"spaceBetween":0,"centeredSlides":!1,"virtualTranslate":!0})})},function EffectFlip(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"flipEffect":{"slideShadows":!0,"limitRotation":!0}});const createSlideShadows=(e,i)=>{let s=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s||(s=createShadow("flip",e,t.isHorizontal()?"left":"top")),r||(r=createShadow("flip",e,t.isHorizontal()?"right":"bottom")),s&&(s.style.opacity=Math.max(-i,0)),r&&(r.style.opacity=Math.max(i,0))};effectInit({"effect":"flip","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"rtlTranslate":i}=t,s=t.params.flipEffect;for(let r=0;r{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i})},"recreateShadows":()=>{t.params.flipEffect,t.slides.forEach((e=>{let i=e.progress;t.params.flipEffect.limitRotation&&(i=Math.max(Math.min(e.progress,1),-1)),createSlideShadows(e,i)}))},"getEffectParams":()=>t.params.flipEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!t.params.cssMode})})},function EffectCoverflow(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"coverflowEffect":{"rotate":50,"stretch":0,"depth":100,"scale":1,"modifier":1,"slideShadows":!0}}),effectInit({"effect":"coverflow","swiper":t,"on":s,"setTranslate":()=>{const{"width":e,"height":i,"slides":s,"slidesSizesGrid":r}=t,a=t.params.coverflowEffect,o=t.isHorizontal(),n=t.translate,l=o?e/2-n:i/2-n,c=o?a.rotate:-a.rotate,d=a.depth;for(let e=0,i=s.length;e0?u:0),t&&(t.style.opacity=-u>0?-u:0)}}},"setTransition":e=>{t.slides.map((e=>getSlideTransformEl(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0})})},function EffectCreative(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"creativeEffect":{"limitProgress":1,"shadowPerProgress":!1,"progressMultiplier":1,"perspective":!0,"prev":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1},"next":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1}}});const getTranslateValue=e=>"string"==typeof e?e:`${e}px`;effectInit({"effect":"creative","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"wrapperEl":i,"slidesSizesGrid":s}=t,r=t.params.creativeEffect,{"progressMultiplier":a}=r,o=t.params.centeredSlides;if(o){const e=s[0]/2-t.params.slidesOffsetBefore||0;i.style.transform=`translateX(calc(50% - ${e}px))`}for(let i=0;i0&&(m=r.prev,h=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${getTranslateValue(m.translate[t])} * ${Math.abs(l*a)}))`})),u.forEach(((e,i)=>{let s=m.rotate[i]*Math.abs(l*a);t.browser&&t.browser.need3dFix&&Math.abs(s)/90%2==1&&(s+=.001),u[i]=s})),s.style.zIndex=-Math.abs(Math.round(n))+e.length;const g=p.join(", "),f=`rotateX(${u[0]}deg) rotateY(${u[1]}deg) rotateZ(${u[2]}deg)`,b=c<0?`scale(${1+(1-m.scale)*c*a})`:`scale(${1-(1-m.scale)*c*a})`,w=c<0?1+(1-m.opacity)*c*a:1-(1-m.opacity)*c*a,v=`translate3d(${g}) ${f} ${b}`;if(h&&m.shadow||!h){let e=s.querySelector(".swiper-slide-shadow");if(!e&&m.shadow&&(e=createShadow("creative",s)),e){const t=r.shadowPerProgress?l*(1/r.limitProgress):l;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const A=effectTarget(0,s);A.style.transform=v,A.style.opacity=w,m.origin&&(A.style.transformOrigin=m.origin)}},"setTransition":e=>{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i,"allSlides":!0})},"perspective":()=>t.params.creativeEffect.perspective,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!t.params.cssMode})})},function EffectCards(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"cardsEffect":{"slideShadows":!0,"rotate":!0,"perSlideRotate":2,"perSlideOffset":8}}),effectInit({"effect":"cards","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"activeIndex":i,"rtlTranslate":s}=t,r=t.params.cardsEffect,{"startTranslate":a,"isTouched":o}=t.touchEventsData,n=s?-t.translate:t.translate;for(let l=0;l0&&p<1&&(o||t.params.cssMode)&&n-1&&(o||t.params.cssMode)&&n>a;if(A||y){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;b+=-28*p*e,f+=-.5*e,w+=96*e,m=-25*e*Math.abs(p)+"%"}if(h=p<0?`calc(${h}px ${s?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${h}px ${s?"-":"+"} (-${w*Math.abs(p)}%))`:`${h}px`,!t.isHorizontal()){const e=m;m=h,h=e}const x=p<0?""+(1+(1-f)*p):""+(1-(1-f)*p),E=`\n translate3d(${h}, ${m}, ${g}px)\n rotateZ(${r.rotate?s?-b:b:0}deg)\n scale(${x})\n `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=createShadow("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(d))+e.length;effectTarget(0,c).style.transform=E}},"setTransition":e=>{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i})},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!t.params.cssMode})})}];Swiper.use(b);var w=i(6585);var v,A,y,x,E,__classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)},__classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i};let S=0;const T=(0,s.GH)(class extends s.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,s.yM)(this,"change",7),this.onAnimationFinish=(0,s.yM)(this,"animationfinish",7),v.set(this,S++),A.set(this,"autoplay"),y.set(this,!1),x.set(this,!1),E.set(this,0),this.handleSwiperSizeDebounce=(0,w.d)((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?__classPrivateFieldGet(this,x,"f")&&(this.reset(),__classPrivateFieldSet(this,x,!1,"f"),__classPrivateFieldSet(this,y,!1,"f")):(this.swiper.update(),__classPrivateFieldSet(this,y,!1,"f")))}),50),this.reset=()=>{__classPrivateFieldSet(this,y,!0,"f"),__classPrivateFieldSet(this,E,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),__classPrivateFieldSet(this,y,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const e=this.parseMargin().filter(Boolean).length>0;return this.circular&&e},this.parseMargin=()=>{const[,e]=/^(\d+)px/.exec(this.previousMargin)||[],[,t]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(e)||0,parseInt(t)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}"watchCurrent"(e){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const t=parseInt(e,10);isNaN(t)||t===this.swiper.realIndex||(__classPrivateFieldSet(this,A,"","f"),this.circular?(this.swiper.slideToLoop(t),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(t))}"watchCurrentItemId"(e){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let t=0;this.getSlidersList().forEach(((i,s)=>{i.getAttribute("item-id")===e&&(t=this.circular?Number(i.getAttribute("data-swiper-slide-index")):s)})),t!==this.swiper.realIndex&&(__classPrivateFieldSet(this,A,"","f"),this.circular?(this.swiper.slideToLoop(t),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(t))}"watchAutoplay"(e){if(!this.isWillLoadCalled||!this.swiper)return;const t=this.swiper.autoplay;if(t){if(t.running===e)return;e?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),t.start()):t.stop()}}"watchDuration"(e){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=e)}"watchInterval"(e){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=e)}"watchSwiperWrapper"(e){if(!this.isWillLoadCalled||!this.swiper)return;if(!e)return;const beforeDomOperation=()=>{__classPrivateFieldSet(this,x,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=t=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.appendChild(t)),this.el.insertBefore=(t,i)=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.insertBefore(t,i)),this.el.replaceChild=(t,i)=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.replaceChild(t,i)),this.el.removeChild=t=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.removeChild(t))}"watchCircular"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"watchDisplayMultipleItems"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{"childList":!0}))}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"handleInit"(e=!1){const{"autoplay":t,"circular":i,"current":s,"currentItemId":r,"displayMultipleItems":a,"duration":o,"interval":n,"effectsProps":l,"vertical":c}=this;let d=s;if(e)d=__classPrivateFieldGet(this,E,"f");else if(r){let e=0;this.getSlidersList().forEach(((t,i)=>{t.itemId&&t.itemId===r&&(e=i)})),d=e}const p=this.getLoopAdditionalSlides(),u=1===a&&this.getNeedFixLoop(),h=1===a?"auto":a,m=this,g=Object.assign(Object.assign({"pagination":{"el":`.taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination`},"direction":c?"vertical":"horizontal","loop":i,"slidesPerView":h,"initialSlide":d,"loopAdditionalSlides":p,"speed":o,"observeParents":!0,"observer":!0,"centeredSlides":u,"zoom":this.zoom,"nested":!0},l),{"on":{"transitionEnd"(e){if(__classPrivateFieldGet(m,y,"f")||__classPrivateFieldGet(m,E,"f")===this.realIndex)return;__classPrivateFieldSet(m,E,this.realIndex,"f"),m.getNeedFixLoop()&&e.loopFix(),m.autoplay&&e.autoplay.start();const t=m.getCurrentItemId(e);m.onAnimationFinish.emit({"current":this.realIndex,"source":__classPrivateFieldGet(m,A,"f"),"currentItemId":t}),__classPrivateFieldSet(m,A,"autoplay","f")},"touchMove"(){__classPrivateFieldSet(m,A,"touch","f")},"slideChange"(e){if(__classPrivateFieldGet(m,y,"f")||__classPrivateFieldGet(m,E,"f")===this.realIndex)return;const t=m.getCurrentItemId(e);m.onChange.emit({"current":this.realIndex,"source":__classPrivateFieldGet(m,A,"f"),"currentItemId":t})},"init":e=>{m.getNeedFixLoop()&&e.loopFix(),m.autoplay&&e.autoplay.start()},"touchEnd":e=>{__classPrivateFieldSet(m,A,"touch","f"),m.autoplay&&e.autoplay.start()},"touchStart":e=>{__classPrivateFieldSet(m,A,"touch","f"),m.autoplay&&e.autoplay.pause()},"autoplay"(e){e.animating=!1,__classPrivateFieldSet(m,A,"autoplay","f")}}});if(t&&(g.autoplay={"delay":n,"disableOnInteraction":!1}),this.swiper=new Swiper(`.taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container`,g),this.getNeedFixLoop()){const e=this.swiper.minTranslate.bind(this.swiper),t=this.swiper.maxTranslate.bind(this.swiper);u&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>e()+this.parseMargin()[1],this.swiper.maxTranslate=()=>t()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>e()-this.parseMargin()[0],this.swiper.maxTranslate=()=>t()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}"getLoopAdditionalSlides"(){const e=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||e<5?0:e<=7?1:2}"getCurrentItemId"(e){return e.slides[e.activeIndex].getAttribute("item-id")}"render"(){const{"vertical":e,"indicatorDots":t,"indicatorColor":i,"indicatorActiveColor":r}=this,[a,o]=this.parseMargin(),n=["overflow: visible;",e?`margin-top: ${a}px; margin-bottom: ${o}px;`:`margin-right: ${o}px; margin-left: ${a}px;`,this.full?"height: 100%;":""],l=[t?"opacity: 1;":"display: none;","font-size: 0;"],c={"overflow":"hidden"};return this.full&&(c.height="100%"),(0,s.h)(s.AA,{"class":`taro-swiper-${__classPrivateFieldGet(this,v,"f")}`,"style":c},(0,s.h)("div",{"class":"swiper-container"},(0,s.h)("style",{"type":"text/css"},`\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${i} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${r} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container { ${n.join("")} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination { ${l.join("")} }\n `),(0,s.h)("div",{"class":"swiper-wrapper"},(0,s.h)("slot",null)),(0,s.h)("div",{"class":"swiper-pagination"})))}get"el"(){return this}static get"watchers"(){return{"current":["watchCurrent"],"currentItemId":["watchCurrentItemId"],"autoplay":["watchAutoplay"],"duration":["watchDuration"],"interval":["watchInterval"],"swiperWrapper":["watchSwiperWrapper"],"circular":["watchCircular"],"displayMultipleItems":["watchDisplayMultipleItems"]}}static get"style"(){return"@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-webkit-transform-origin:center;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;-ms-touch-action:none;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;-webkit-transition-property:opacity,height,-webkit-transform;transition-property:opacity,height,-webkit-transform;transition-property:transform,opacity,height;transition-property:transform,opacity,height,-webkit-transform}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}"}},[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}]);v=new WeakMap,A=new WeakMap,y=new WeakMap,x=new WeakMap,E=new WeakMap;const k=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-core"].forEach((e=>{if("taro-swiper-core"===e)customElements.get(e)||customElements.define(e,T)}))}},"8028":function(e,t,i){"use strict";i.d(t,{"M":function(){return n}});var s=i(7210),r=i(7109),a=i(1789);const o=(0,s.GH)(class extends s.mv{"constructor"(){super(),this.__registerHost(),this.itemId=void 0}"connectedCallback"(){this.el.className=(0,r.c)(this.el.className,"swiper-slide")}"componentDidRender"(){(0,a.h)(this.el)}"render"(){return(0,s.h)(s.AA,{"item-id":this.itemId},(0,s.h)("slot",null))}get"el"(){return this}},[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]);const n=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-item-core"].forEach((e=>{if("taro-swiper-item-core"===e)customElements.get(e)||customElements.define(e,o)}))}},"4385":function(e,t,i){"use strict";i.d(t,{"zx":function(){return Ce},"V1":function(){return Me},"XZ":function(){return Ie},"cO":function(){return Pe},"l0":function(){return Le},"JO":function(){return _e},"Ee":function(){return De},"II":function(){return Oe},"__":function(){return ze},"ub":function(){return Be},"Gt":function(){return Ne},"C3":function(){return Re},"_z":function(){return Ge},"cW":function(){return je},"Nf":function(){return He},"$o":function(){return Fe},"Ex":function(){return Ye},"Y8":function(){return We},"FX":function(){return Ve},"Ho":function(){return $e},"pf":function(){return Xe},"iR":function(){return Ze},"tq":function(){return Qe},"t3":function(){return Ue},"rs":function(){return qe},"xv":function(){return Je},"gx":function(){return Ke},"nk":function(){return et},"G7":function(){return tt},"kh":function(){return it}});var s=i(7294);const helper_manipulatePropsFunction=(e,t={})=>{const{"dangerouslySetInnerHTML":i,"style":s}=e;return"string"!=typeof s&&(t.style=s),Object.assign(Object.assign({},t),{"dangerouslySetInnerHTML":i})};var r=i(7210),a=i(7109);const o=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,r.yM)(this,"tarobuttonsubmit",7),this.onReset=(0,r.yM)(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}"onClick"(e){this.disabled&&e.stopPropagation()}"onTouchStart"(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}"onTouchEnd"(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}"render"(){const{"disabled":e,"hoverClass":t,"type":i,"size":s,"plain":o,"loading":n,"hover":l}=this,c=(0,a.c)({[`${t}`]:l&&!e});return(0,r.h)(r.AA,{"class":c,"type":i,"plain":o,"loading":n,"size":s,"disabled":e},n&&(0,r.h)("i",{"class":"weui-loading"}),(0,r.h)("slot",null))}get"el"(){return this}static get"style"(){return".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}"}},[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const n=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-button-core"].forEach((e=>{if("taro-button-core"===e)customElements.get(e)||customElements.define(e,o)}))};var l=i(1789);const c=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,l.n)("Camera",this)}"render"(){return(0,r.h)(r.AA,null)}},[0,"taro-camera-core"]);const d=function taro_camera_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-camera-core"].forEach((e=>{if("taro-camera-core"===e)customElements.get(e)||customElements.define(e,c)}))},p=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"checkboxchange",7),this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchId"(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"render"(){const{"checked":e,"name":t,"color":i,"value":s,"disabled":a,"nativeProps":o}=this;return(0,r.h)(r.AA,{"className":"weui-cells_checkbox"},(0,r.h)("input",Object.assign({"ref":e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},"type":"checkbox","value":s,"name":t,"class":"taro-checkbox_checked","style":{"color":i},"checked":e,"disabled":a,"onChange":this.handleChange},o)),(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"id":["watchId"]}}static get"style"(){return'page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}'}},[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const u=function taro_checkbox_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-core"].forEach((e=>{if("taro-checkbox-core"===e)customElements.get(e)||customElements.define(e,p)}))};var h,__classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},__classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const m=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),h.set(this,void 0),this.name=void 0}"function"(e){if(e.stopPropagation(),"TARO-CHECKBOX-CORE"!==e.target.tagName)return;const t=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,h,this.getValues(t),"f"),this.onChange.emit({"value":__classPrivateFieldGet(this,h,"f")})}"componentDidLoad"(){this.el.querySelectorAll("taro-checkbox-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!__classPrivateFieldGet(this,h,"f")){const e=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,h,this.getValues(e),"f")}return __classPrivateFieldGet(this,h,"f")},"configurable":!0})}"getValues"(e){return Array.from(e).filter((e=>{const t=e.querySelector("input");return null==t?void 0:t.checked})).map((e=>e.value))}"render"(){return(0,r.h)(r.AA,null)}get"el"(){return this}},[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]);h=new WeakMap;const g=function taro_checkbox_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-group-core"].forEach((e=>{if("taro-checkbox-group-core"===e)customElements.get(e)||customElements.define(e,m)}))};var f,taro_form_core_classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},taro_form_core_classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const b=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,r.yM)(this,"submit",7),f.set(this,{})}"onButtonSubmit"(e){e.stopPropagation(),taro_form_core_classPrivateFieldSet(this,f,this.getFormValue(),"f"),this.onSubmit.emit({"value":taro_form_core_classPrivateFieldGet(this,f,"f")})}"onButtonReset"(e){e.stopPropagation(),this.form.reset()}"componentDidLoad"(){taro_form_core_classPrivateFieldSet(this,f,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{"get":()=>taro_form_core_classPrivateFieldGet(this,f,"f"),"configurable":!0})}"componentDidRender"(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=e=>this.form.appendChild(e),this.el.insertBefore=(e,t)=>this.form.insertBefore(e,t),this.el.replaceChild=(e,t)=>this.form.replaceChild(e,t),this.el.removeChild=e=>this.form.removeChild(e)}"getFormValue"(){const e=this.el,t=[],i=e.getElementsByTagName("input");for(let e=0;e{"string"==typeof e.name&&(-1===e.className.indexOf("weui-switch")?"radio"!==e.type?"checkbox"!==e.type?s[e.name]=e.value:e.checked?r[e.name]?s[e.name].push(e.value):(r[e.name]=!0,s[e.name]=[e.value]):r[e.name]||(s[e.name]=[]):e.checked?(r[e.name]=!0,s[e.name]=e.value):r[e.name]||(s[e.name]=""):s[e.name]=e.checked)}));const a=e.getElementsByTagName("textarea"),o=[];for(let e=0;e{"string"==typeof e.name&&(s[e.name]=e.value)})),s}"render"(){return(0,r.h)("form",{"ref":e=>{this.form=e}},(0,r.h)("slot",null))}get"el"(){return this}},[4,"taro-form-core",void 0,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]);f=new WeakMap;const w=function taro_form_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-form-core"].forEach((e=>{if("taro-form-core"===e)customElements.get(e)||customElements.define(e,b)}))},v=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.type=void 0,this.size="23",this.color=void 0}"render"(){const{"type":e,"size":t,"color":i}=this,s=null==e?void 0:e.replace(/_/g,"-"),o=(0,a.c)({[`weui-icon-${s}`]:!0}),n={"font-size":`${t}px`,"color":i};return(0,r.h)(r.AA,{"class":o,"style":n})}static get"style"(){return'.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}'}},[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]);const A=function taro_icon_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-icon-core"].forEach((e=>{if("taro-icon-core"===e)customElements.get(e)||customElements.define(e,v)}))},y=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,r.yM)(this,"load",7),this.onError=(0,r.yM)(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}"componentDidLoad"(){if(!this.lazyLoad)return;const e=new IntersectionObserver((t=>{t[t.length-1].isIntersecting&&(e.unobserve(this.imgRef),this.didLoad=!0)}),{"rootMargin":"300px 0px"});e.observe(this.imgRef)}"imageOnLoad"(){const{"width":e,"height":t,"naturalWidth":i,"naturalHeight":s}=this.imgRef;this.onLoad.emit({"width":e,"height":t}),this.aspectFillMode=i>s?"width":"height"}"imageOnError"(e){this.onError.emit(e)}"render"(){const{"src":e,"lazyLoad":t=!1,"aspectFillMode":i="width","imageOnLoad":s,"imageOnError":o,"nativeProps":n,"didLoad":l}=this,c=this.mode||"scaleToFill",d=(0,a.c)({"taro-img__widthfix":"widthFix"===c}),p=(0,a.c)(`taro-img__mode-${c.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${i}`]:"aspectFill"===c});return(0,r.h)(r.AA,{"class":d},e?(0,r.h)("img",Object.assign({"ref":e=>this.imgRef=e,"class":p,"src":t&&!l?void 0:e,"onLoad":s.bind(this),"onError":o.bind(this)},n)):"")}static get"style"(){return'img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}'}},[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]);const x=function taro_image_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-image-core"].forEach((e=>{if("taro-image-core"===e)customElements.get(e)||customElements.define(e,y)}))};function getTrueType(e,t,i){if("search"===t&&(e="search"),i&&(e="password"),void 0===e)return"text";if(!e)throw new Error("unexpected type");return"digit"===e&&(e="number"),e}function fixControlledValue(e){return null!=e?e:""}const E=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,r.yM)(this,"input",7),this.onPaste=(0,r.yM)(this,"paste",7),this.onFocus=(0,r.yM)(this,"focus",7),this.onBlur=(0,r.yM)(this,"blur",7),this.onConfirm=(0,r.yM)(this,"confirm",7),this.onChange=(0,r.yM)(this,"change",7),this.onKeyDown=(0,r.yM)(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.handleInput=e=>{e.stopPropagation();const{"type":t,"maxlength":i,"confirmType":s,"password":r}=this;if(!this.isOnComposition&&!this.onInputExcuted){let a=e.target.value;const o=getTrueType(t,s,r);this.onInputExcuted=!0,"number"===o&&a&&i>-1&&i<=a.length&&(a=a.substring(0,i),e.target.value=a),this.value=a,this.onInput.emit({"value":a,"cursor":a.length}),this.onInputExcuted=!1}},this.handlePaste=e=>{e.stopPropagation(),this.isOnPaste=!0,this.onPaste.emit({"value":e.target.value})},this.handleFocus=e=>{e.stopPropagation(),this.onInputExcuted=!1,this.onFocus.emit({"value":e.target.value})},this.handleBlur=e=>{e.stopPropagation(),this.onBlur.emit({"value":e.target.value})},this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":e.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=e.target.value,this.onInput.emit({"value":e.target.value,"cursor":e.target.value.length}))},this.handleKeyDown=e=>{e.stopPropagation();const{"value":t}=e.target,i=e.keyCode||e.code;this.onInputExcuted=!1,this.onKeyDown.emit({"value":t,"cursor":t.length,"keyCode":i}),13===i&&this.onConfirm.emit({"value":t})},this.handleComposition=e=>{e.stopPropagation(),e.target instanceof HTMLInputElement&&("compositionend"===e.type?(this.isOnComposition=!1,this.value=e.target.value,this.onInput.emit({"value":e.target.value,"cursor":e.target.value.length})):this.isOnComposition=!0)},this.handleBeforeInput=e=>{if(!e.data)return;const t=e.data&&/[0-9]/.test(e.data);"number"!==this.type||t||e.preventDefault(),"digit"!==this.type||t||("."!==e.data||"."===e.data&&e.target.value.indexOf(".")>-1)&&e.preventDefault()},this.value="",this.type=void 0,this.password=!1,this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.name=void 0,this.nativeProps={}}async"focus"(){this.inputRef.focus()}"watchAutoFocus"(e,t){var i;!t&&e&&(null===(i=this.inputRef)||void 0===i||i.focus())}"watchValue"(e){const t=fixControlledValue(e);this.inputRef.value!==t&&(this.inputRef.value=t)}"componentDidLoad"(){var e,t,i,s,r;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(e=this.inputRef)||void 0===e||e.addEventListener("change",this.fileListener)):(null===(t=this.inputRef)||void 0===t||t.addEventListener("compositionstart",this.handleComposition),null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionend",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("beforeinput",this.handleBeforeInput),null===(r=this.inputRef)||void 0===r||r.addEventListener("textInput",this.handleBeforeInput))}"disconnectedCallback"(){var e,t,i,s,r;"file"===this.type?null===(e=this.inputRef)||void 0===e||e.removeEventListener("change",this.fileListener):(null===(t=this.inputRef)||void 0===t||t.removeEventListener("compositionstart",this.handleComposition),null===(i=this.inputRef)||void 0===i||i.removeEventListener("compositionend",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.removeEventListener("beforeinput",this.handleBeforeInput),null===(r=this.inputRef)||void 0===r||r.removeEventListener("textInput",this.handleBeforeInput))}"render"(){const{"value":e,"type":t,"password":i,"placeholder":s,"autoFocus":a,"disabled":o,"maxlength":n,"confirmType":l,"name":c,"nativeProps":d}=this;return(0,r.h)("input",Object.assign({"ref":e=>{this.inputRef=e,a&&e&&e.focus()},"class":"weui-input","type":getTrueType(t,l,i),"placeholder":s,"autoFocus":a,"disabled":o,"maxlength":n,"name":c,"onInput":this.handleInput,"onFocus":this.handleFocus,"onBlur":this.handleBlur,"onChange":this.handleChange,"onKeyDown":this.handleKeyDown,"onPaste":this.handlePaste,"onCompositionStart":this.handleComposition,"onCompositionEnd":this.handleComposition},d,{"value":fixControlledValue(e)}))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}"}},[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]);const S=function taro_input_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-input-core"].forEach((e=>{if("taro-input-core"===e)customElements.get(e)||customElements.define(e,E)}))},T=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.for=void 0}"render"(){return(0,r.h)("label",{"htmlFor":this.for},(0,r.h)("slot",null))}},[4,"taro-label-core",{"for":[1]}]);const k=function taro_label_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-label-core"].forEach((e=>{if("taro-label-core"===e)customElements.get(e)||customElements.define(e,T)}))};var C=i(6585);const M=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const e=this.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((e=>{this.views.push(e)})),this.updateArea()},this.handleTouchStart=e=>{const t=e.touches;if(!t||t.length<=1)return;const i=t[1].pageX-t[0].pageX,s=t[1].pageY-t[0].pageY;if(this.scaleLength=Math.sqrt(i*i+s*s),this.scaleArea)return;const find=(e,t)=>{const loop=(e,t)=>!!(e=e.parentNode)&&((!(0,C.i)(e)||e!==document.body)&&(e===t||e===t.element||e.element===t||loop(e,t)));for(let i=0;i{const t=e.touches;if(!t||t.length<=1)return;e.preventDefault();const i=t[1].pageX-t[0].pageX,s=t[1].pageY-t[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+s*s)/this.scaleLength)},this.handleTouchEnd=e=>{var t,i;e.touches&&e.touches.length||!e.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((e=>{var t;null===(t=e.endScale)||void 0===t||t.call(e)})):null===(i=null===(t=this.scaleTarget)||void 0===t?void 0:t.endScale)||void 0===i||i.call(t),this.scaleTarget=void 0)},this.updateScale=e=>{var t,i;e&&1!==e&&(this.scaleArea?this.views.forEach((t=>{var i;null===(i=t.setScale)||void 0===i||i.call(t,e)})):null===(i=null===(t=this.scaleTarget)||void 0===t?void 0:t.setScale)||void 0===i||i.call(t,e))},this.updateArea=()=>{const e=window.getComputedStyle(this.element),t=this.element.getBoundingClientRect(),i=["Left","Right"].map((t=>parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t]))),s=["Top","Bottom"].map((t=>parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])));this.views.forEach((e=>{var r;null===(r=e.setParent)||void 0===r||r.call(e,{"element":this.element,"area":{"height":t.height-s[0]-s[1],"width":t.width-i[0]-i[1]}})}))},this.scaleArea=void 0}"connectedCallback"(){this.observer=new MutationObserver((e=>{e.forEach((e=>{var t,i;if("class"===e.attributeName||"style"===e.attributeName){const e=this.element.offsetWidth,s=this.element.offsetHeight;e===(null===(t=this.offset)||void 0===t?void 0:t.width)&&s===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={"width":e,"height":s}}}))})),this.observer.observe(this.element,{"attributes":!0})}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"componentDidLoad"(){this.viewsChanged()}"render"(){return(0,r.h)(r.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"style"(){return"taro-movable-area-core{width:10px;height:10px;display:block;position:relative}"}},[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}]);const I=function taro_movable_area_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-area-core"].forEach((e=>{if("taro-movable-area-core"===e)customElements.get(e)||customElements.define(e,M)}))},P=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onScale=(0,r.yM)(this,"scale",7),this.onHTouchMove=(0,r.yM)(this,"htouchmove",7),this.onVTouchMove=(0,r.yM)(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={"x":0,"y":0},this.area={"width":0,"height":0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={"x":0,"y":0},this.scaleOffset={"x":0,"y":0},this.getLimitXY=(e,t)=>{let i=!1;return e>this.maxX?(e=this.maxX,i=!0):ethis.maxY?(t=this.maxY,i=!0):t{this.animation?(this.setTransform(e,t,i,s,r,a),null==o||o()):this.setTransform(e,t,i,s,r,a)},this.setTransform=(e,t,i,s,r,a)=>{if(e=Number(e.toFixed(1)),t=Number(t.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(e,t);e=i.x,t=i.y}const subtract=(e,t)=>+((1e3*e-1e3*t)/1e3).toFixed(1),o=subtract(e,this.scaleOffset.x),n=subtract(t,this.scaleOffset.y);this.translateX===e&&this.translateY===t||!r&&this.onChange.emit({"x":o,"y":n,"source":s}),i!==this.currentScale&&a&&this.onScale.emit({"scale":i,"x":o,"y":n});const l=`translateX(${e}px) translateY(${t}px) translateZ(0px) scale(${i})`;this.element.style.transform=l,this.element.style.webkitTransform=l,this.translateX=e,this.translateY=t,this.currentScale=i},this.updateOffset=()=>{const offset=(e,t)=>{if(e===t||!e.offsetParent)return{"left":0,"top":0};const i=offset(e.offsetParent,t);return{"left":e.offsetLeft+i.left,"top":e.offsetTop+i.top}};if(!this.parent)return;const e=offset(this.element,this.parent);this.offset.x=e.left,this.offset.y=e.top},this.updateScaleOffset=(e=this.currentScale)=>{const t=this.element.getBoundingClientRect();this.height=t.height/this.currentScale,this.width=t.width/this.currentScale,this.scaleOffset.x=(this.width*e-this.width)/2,this.scaleOffset.y=(this.height*e-this.height)/2},this.updateBoundary=()=>{const e=0-this.offset.x+this.scaleOffset.x,t=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(e,t),this.maxX=Math.max(e,t);const i=0-this.offset.y+this.scaleOffset.y,s=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,s),this.maxY=Math.max(i,s)},this.updateScale=(e,t,i)=>{if(!this.scale)return;const s=this.adjustScale(e);this.updateScaleOffset(s),this.updateBoundary();const{"x":r,"y":a}=this.getLimitXY(this.translateX,this.translateY);t?this.animationTo(r,a,s,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(r,a,s,"",!0,!0),this.updating=!1})))},this.setOriginScale=e=>{this.originScale=e},this.adjustScale=e=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,e)),this.handleTouchStart=e=>{const t=e.touches;if(this.disabled||t.length>1||!this.element)return;const i=t[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=e=>{const t=e.touches;if(this.disabled||!this.element||this.scaling||!this.touching||t.length>1)return;"horizontal"!==this.direction&&e.preventDefault();const i=t[0],s=i.screenX-this.origin.x,r=i.screenY-this.origin.y;if(this.setTransform(this.xMove?s+this.baseX:0,this.yMove?r+this.baseY:0),!this.firstMoveFireEvent){this.firstMoveFireEvent=!0;(Math.abs(s)>Math.abs(r)?this.onHTouchMove:this.onVTouchMove).emit({"originalEvent":e,"bubbles":!1,"capturePhase":!1,"composed":!0,"extraFields":{"touches":e.touches||{},"changedTouches":e.changedTouches||{}}})}},this.handleTouchEnd=e=>{const t=e.changedTouches[0];if(this.disabled||!this.touching||!t)return;this.touching=!1;const i=t.screenX-this.origin.x,s=t.screenY-this.origin.y;this.setTransform(this.xMove?i+this.baseX:0,this.yMove?s+this.baseY:0)},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}"watchX"(e){this.setTransform(parseFloat(`${e||0}`),this.translateY)}"watchY"(e){this.setTransform(this.translateX,parseFloat(`${e||0}`))}"watchScaleMinOrMax"(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}"watchScaleValue"(e){return!!this.scale&&(this.updateScale(e,!0),this.setOriginScale(e),e)}async"setParent"({"element":e,"area":t}){const i=this.scale?this.scaleValue:1;this.area=t,this.parent=e,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async"endScale"(){this.scaling=!1,this.setOriginScale(this.currentScale)}async"setScale"(e){this.scale&&(this.scaling=!0,this.updateScale(e*this.originScale))}"connectedCallback"(){this.observer=new MutationObserver((e=>{e.forEach((e=>{const t=e.attributeName;if(t&&["class","style"].includes(t)){const i=e.oldValue,s=e.target.getAttribute(t);if(i===s)return;const filter=e=>null==e?void 0:e.split(";").filter((e=>!["transform","will-change"].find((t=>e.trim().startsWith(t))))).join(";");if("style"===t&&filter(s)===filter(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{"attributes":!0,"attributeOldValue":!0})}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"componentDidLoad"(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const e=parseFloat(`${this.x||0}`),t=parseFloat(`${this.y||0}`);this.setTransform(e,t)}}"render"(){return(0,r.h)(r.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"watchers"(){return{"x":["watchX"],"y":["watchY"],"scaleMin":["watchScaleMinOrMax"],"scaleMax":["watchScaleMinOrMax"],"scaleValue":["watchScaleValue"]}}static get"style"(){return"taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}"}},[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]);const L=function taro_movable_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-view-core"].forEach((e=>{if("taro-movable-view-core"===e)customElements.get(e)||customElements.define(e,P)}))};var _=i(4536);const D=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSuccess=(0,r.yM)(this,"cuccess",7),this.onFail=(0,r.yM)(this,"fail",7),this.onComplete=(0,r.yM)(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}"onClick"(){const{"openType":e,"onSuccess":t,"onFail":i,"onComplete":s}=this;let r=Promise.resolve();switch(e){case"navigate":r=_.ZP.navigateTo({"url":this.url});break;case"redirect":r=_.ZP.redirectTo({"url":this.url});break;case"switchTab":r=_.ZP.switchTab({"url":this.url});break;case"reLaunch":r=_.ZP.reLaunch({"url":this.url});break;case"navigateBack":r=_.ZP.navigateBack({"delta":this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((e=>{t.emit(e)})).catch((e=>{i.emit(e)})).finally((()=>{s.emit()}))}"render"(){const{"isHover":e,"hoverClass":t}=this;return(0,r.h)(r.AA,{"class":(0,a.c)({[t]:e})})}static get"style"(){return".navigator-hover{background:#efefef}"}},[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]);const O=function taro_navigator_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-navigator-core"].forEach((e=>{if("taro-navigator-core"===e)customElements.get(e)||customElements.define(e,D)}))},z=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,l.n)("PageContainer",this)}"render"(){return(0,r.h)(r.AA,null)}},[0,"taro-page-container-core"]);const B=function taro_page_container_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-page-container-core"].forEach((e=>{if("taro-page-container-core"===e)customElements.get(e)||customElements.define(e,z)}))},N=102,R=34,G=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onColumnChange=(0,r.yM)(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}"getPosition"(){const e=this.touchEnd?.3:0,t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${e}s`;return{"transform":t,"-webkit-transform":t,"transition":i,"-webkit-transition":i}}"formulaUnlimitedScroll"(e,t,i){const{"height":s,"updateHeight":r,"columnId":a}=this,o="up"===i?1:-1;this.touchEnd=!1,r(-e*o*R+s,a),requestAnimationFrame((()=>{this.touchEnd=!0;const i=Math.round(t/-34)+e*o;r(N-R*i,a,!0)}))}async"handleMoveStart"(e){this.startY=e,this.preY=e,this.hadMove=!1}async"handleMoving"(e){const t=e,i=t-this.preY;this.preY=t,this.touchEnd=!1,Math.abs(t-this.startY)>10&&(this.hadMove=!0);let s=this.height+i;"time"===this.mode&&("0"===this.columnId?(s>0&&(s=-816+i),s<-850&&(s=-34+i)):"1"===this.columnId&&(s>0&&(s=-2040+i),s<-2074&&(s=-34+i))),this.updateHeight(s,this.columnId)}async"handleMoveEnd"(e){const{"mode":t,"range":i,"height":s,"updateHeight":r,"columnId":a}=this,o=-34*(i.length-1),n=e;let l;if(this.touchEnd=!0,this.hadMove)l=s-N;else{const e=window.innerHeight;if(l=s-N-(n-(e-119)),"time"===t)if("0"===a){if(l>-85)return this.formulaUnlimitedScroll(24,l,"up");if(l<-969)return this.formulaUnlimitedScroll(24,l,"down")}else if("1"===a){if(l>-85)return this.formulaUnlimitedScroll(60,l,"up");if(l<-2193)return this.formulaUnlimitedScroll(60,l,"down")}}l>0&&(l=0),l{const i=t?e[t]:e;return(0,r.h)("div",{"class":"weui-picker__item"},i)}));return(0,r.h)(r.AA,{"class":"weui-picker__group"},(0,r.h)("div",{"class":"weui-picker__mask"}),(0,r.h)("div",{"class":"weui-picker__indicator"}),(0,r.h)("div",{"class":"weui-picker__content","style":this.getPosition()},i))}},[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);function getTimeRange(e,t){const i=[];for(let s=e;s<=t;s++)i.push(`${s<10?"0":""}${s}`);return i}const j=["20","21","22","23",...getTimeRange(0,23),"00","01","02","03"],F=["56","57","58","59",...getTimeRange(0,59),"00","01","02","03"];function verifyValue(e,t){return!isNaN(+e)&&e>=0&&e+e));return!(t[0]<0||t[0]>23)&&!(t[1]<0||t[1]>59)}function compareTime(e,t){const i=e.split(":").map((e=>+e)),s=t.split(":").map((e=>+e));return i[0]String(e))):e,t}function getDateRange(e,t){const i=[];for(let s=e;s<=t;s++)i.push(s);return i}function getYearRange(e,t){return getDateRange(e,t)}function getMonthRange(e,t,i){let s=1,r=12;return e.getFullYear()===i&&(s=e.getMonth()+1),t.getFullYear()===i&&(r=t.getMonth()+1),getDateRange(s,r)}function getDayRange(e,t,i,s){let r=1,a=function getMaxDay(e,t){return 4===t||6===t||9===t||11===t?30:2===t?e%4==0&&e%100!=0||e%400==0?29:28:31}(i,s);return e.getFullYear()===i&&e.getMonth()+1===s&&(r=e.getDate()),t.getFullYear()===i&&t.getMonth()+1===s&&(a=t.getDate()),getDateRange(r,a)}const H=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onColumnChange=(0,r.yM)(this,"columnchange",7),this.onCancel=(0,r.yM)(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((e=>{let t=0;return"time"===this.mode&&(t=136),N-R*e-t})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((e=>(N-e)/R));let e=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const t=[j.slice(),F.slice()],i=this.index.map(((e,i)=>t[i][e]));this.index=i.map((e=>parseInt(e))),e=i.join(":")}if("date"===this.mode){const{"_start":t,"_end":i,"_updateValue":s}=this.pickerDate,r=s[0],a=s[1],o=getYearRange(t.getFullYear(),i.getFullYear()),n=getMonthRange(t,i,r),l=getDayRange(t,i,r,a),c=o[this.index[0]],d=n[this.index[1]],p=l[this.index[2]];e="year"===this.fields?[c]:"month"===this.fields?[c,d]:[c,d,p],e=e.map((e=>e<10?`0${e}`:e)).join("-")}this.value=e,this.pickerValue=this.value,this.onChange.emit({"value":e})},this.handleColumnChange=e=>{const{"columnId":t,"height":i}=e.detail;this.onColumnChange.emit({"column":Number(t),"value":(N-i)/R})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(e,t,i=!1)=>{const s=[...this.height];if(s[t]=e,this.height=s,i){let{"start":e,"end":t}=this;if(verifyTime(e)||(e="00:00"),verifyTime(t)||(t="23:59"),!compareTime(e,t))return;const i=[j.slice(),F.slice()],s=this.height.map((e=>(N-e)/R)).map(((e,t)=>i[t][e])).join(":");if(compareTime(e,s)){if(!compareTime(s,t)){const e=t.split(":").map((e=>N-R*(+e+4)));requestAnimationFrame((()=>this.height=e))}}else{const t=e.split(":").map((e=>N-R*(+e+4)));requestAnimationFrame((()=>this.height=t))}}},this.updateDay=(e,t)=>{const{"_start":i,"_end":s,"_updateValue":r}=this.pickerDate;r[t]=e;const a=r[0],o=r[1],n=r[2];if(0===t){const e=getMonthRange(i,s,a),t=e[e.length-1],n=e[0];o>t&&(r[1]=t),ot&&(r[2]=t),n(0,r.h)("taro-picker-group",{"range":this.range,"rangeKey":this.rangeKey,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),this.getMultiSelector=()=>this.range.map(((e,t)=>(0,r.h)("taro-picker-group",{"range":e,"rangeKey":this.rangeKey,"height":this.height[t],"updateHeight":this.updateHeight,"onColumnChange":this.handleColumnChange,"columnId":String(t)}))),this.getTimeSelector=()=>{const e=j.slice(),t=F.slice();return[(0,r.h)("taro-picker-group",{"mode":"time","range":e,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),(0,r.h)("taro-picker-group",{"mode":"time","range":t,"height":this.height[1],"updateHeight":this.updateHeight,"columnId":"1"})]},this.getDateSelector=()=>{const{"fields":e,"height":t}=this,{"_start":i,"_end":s,"_updateValue":a}=this.pickerDate,o=a[0],n=a[1],l=getYearRange(i.getFullYear(),s.getFullYear()).map((e=>`${e}年`)),c=getMonthRange(i,s,o).map((e=>`${e<10?`0${e}`:e}月`)),d=getDayRange(i,s,o,n).map((e=>`${e<10?`0${e}`:e}日`)),p=[(0,r.h)("taro-picker-group",{"mode":"date","range":l,"height":t[0],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"0"})];return"month"!==e&&"day"!==e||p.push((0,r.h)("taro-picker-group",{"mode":"date","range":c,"height":t[1],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"1"})),"day"===e&&p.push((0,r.h)("taro-picker-group",{"mode":"date","range":d,"height":t[2],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"2"})),p},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}"componentWillLoad"(){this.isWillLoadCalled=!0,this.handleProps()}"componentDidLoad"(){this.overlay&&document.body.appendChild(this.overlay)}"disconnectedCallback"(){var e;this.overlay&&(null===(e=this.overlay.parentNode)||void 0===e||e.removeChild(this.overlay))}"onPropsChange"(){this.isWillLoadCalled&&this.handleProps()}"handleProps"(){const{"mode":e,"start":t,"end":i}=this;if("selector"===e){const e=this.value;this.index=[verifyValue(e,this.range)?Math.floor(e):0]}else if("multiSelector"===e){const e=this.value;this.index=[],this.range.forEach(((t,i)=>{const s=null==e?void 0:e[i],r=verifyValue(s,t)?Math.floor(s):0;this.index.push(r)}))}else if("time"===e){let e=this.value;verifyTime(e)||(console.warn("time picker value illegal"),e="0:0");const t=e.split(":").map((e=>+e));this.index=t}else{if("date"!==e)throw new Error(`Picker not support "${e}" mode.`);{let e=verifyDate(this.value)||new Date((new Date).setHours(0,0,0,0));const s=verifyDate(t)||new Date("1970/01/01"),r=verifyDate(i)||new Date("2999/01/01");if(!(s<=r))throw new Error("Picker start time must be less than end time.");e>=s&&e<=r||(e=s);const a=e.getFullYear(),o=e.getMonth()+1,n=e.getDate(),l=getYearRange(s.getFullYear(),r.getFullYear()),c=getMonthRange(s,r,a),d=getDayRange(s,r,a,o);this.index=[l.indexOf(a),c.indexOf(o),d.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===e.getTime()&&this.pickerDate._start.getTime()===s.getTime()&&this.pickerDate._end.getTime()===r.getTime()||(this.pickerDate={"_value":e,"_start":s,"_end":r,"_updateValue":[a,o,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===e){const e=this.pickerValue;"month"===this.fields?this.pickerValue=e.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=e.split("-")[0])}}"render"(){var e,t;const{"name":i,"mode":s,"fadeOut":o,"hidden":n}=this;let l;switch(s){case"multiSelector":l=this.getMultiSelector();break;case"time":l=this.getTimeSelector();break;case"date":l=this.getDateSelector();break;default:l=this.getSelector()}const c=(0,a.c)("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":o}),d=(0,a.c)("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":o}),p=n?{"display":"none"}:{};return(0,r.h)(r.AA,null,(0,r.h)("div",{"onClick":this.showPicker},(0,r.h)("slot",null),(0,r.h)("input",{"type":"hidden","name":i,"value":formatValue(this.pickerValue)})),(0,r.h)("div",{"class":"weui-picker__overlay","style":p,"ref":e=>{this.overlay=e}},(0,r.h)("div",{"class":c,"onClick":this.handleCancel}),(0,r.h)("div",{"class":d},(0,r.h)("div",{"class":"weui-picker__hd"},(0,r.h)("div",{"class":"weui-picker__action","onClick":this.handleCancel},null!==(e=this.textProps.cancelText)&&void 0!==e?e:"取消"),(0,r.h)("div",{"class":"weui-picker__action","onClick":this.handleChange},null!==(t=this.textProps.okText)&&void 0!==t?t:"确定")),(0,r.h)("div",{"class":"weui-picker__bd"},l),(0,r.h)("input",{"type":"hidden","name":i,"value":formatValue(this.pickerValue)}))))}get"el"(){return this}static get"watchers"(){return{"mode":["onPropsChange"],"value":["onPropsChange"],"range":["onPropsChange"],"start":["onPropsChange"],"end":["onPropsChange"]}}static get"style"(){return'.weui-mask{z-index:1000;background:rgba(0,0,0,.6);position:fixed;inset:0}.weui-mask_transparent{z-index:1000;position:fixed;inset:0}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;flex:1;display:block}.weui-picker__action:first-child{text-align:left;color:#888}.weui-picker__action:last-child{text-align:right}.weui-picker__bd{background-color:#fff;height:238px;display:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));background-position:top,bottom;background-repeat:no-repeat;background-size:100% 102px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;margin:0 auto;position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.weui-picker__indicator{z-index:3;width:100%;height:34px;position:absolute;top:102px;left:0}.weui-picker__indicator:before{content:" ";color:#e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__content{width:100%;position:absolute;top:0;left:0}.weui-picker__item{text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;height:34px;padding:0;line-height:34px;overflow:hidden}.weui-picker__item_disabled{color:#999}.weui-picker,.weui-picker__hd{font-size:12px}'}},[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}]);const Y=function taro_picker_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-core","taro-picker-group"].forEach((e=>{switch(e){case"taro-picker-core":customElements.get(e)||customElements.define(e,H);break;case"taro-picker-group":customElements.get(e)||function picker_group_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-picker-group"].forEach((e=>{"taro-picker-group"===e&&(customElements.get(e)||customElements.define(e,G))}))}()}}))},W=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"onselect",7),this.onSelectStart=(0,r.yM)(this,"onselectstart",7),this.onSelectEnd=(0,r.yM)(this,"onselectend",7),this.handleSelected=(0,C.d)((()=>{const e=this.el.childNodes;let t=0,i="0";for(const s in e){const r=e[s].offsetHeight;if(t+r/2>this.el.scrollTop){i=s;break}t+=r}this.el.scrollTo({"top":t,"behavior":"smooth"}),this.onChange.emit({"curIndex":this.col,"selectedIndex":i}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1}"onTouchStart"(){this.onSelectStart.emit()}"onTouchEnd"(){this.handleSelected()}"componentDidLoad"(){this.handleChange()}"componentDidUpdate"(){this.handleChange()}"handleChange"(){const e=this.el.childNodes;let t=0,i=0;for(const s in e){const r=e[s];if(this.initialPosition===s||!r||"number"!=typeof r.offsetHeight)break;i+=r.offsetHeight,t++}this.el.scrollTo({"top":i}),t>=e.length&&this.onChange.emit({"curIndex":this.col,"selectedIndex":t-1})}"render"(){const{"paddingVertical":e=0}=this;return(0,r.h)(r.AA,{"class":"taro-picker-view-column-container","style":{"padding-top":`${e}px`,"padding-bottom":`${e}px`}})}get"el"(){return this}static get"style"(){return".taro-picker-view-column-container{text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;position:relative;overflow:hidden scroll}.taro-picker-view-column-container::-webkit-scrollbar{display:none}"}},[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const V=function taro_picker_view_column_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-column-core"].forEach((e=>{if("taro-picker-view-column-core"===e)customElements.get(e)||customElements.define(e,W)}))};function convertStyle(e){if(e){const t=/([\w-]*)\s*:\s*([^;]*)/g,i={};let s;for(;s=t.exec(e);)i[`${s[1]}`]=s[2].trim();return i}}const $=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onPickStart=(0,r.yM)(this,"pickstart",7),this.onPickEnd=(0,r.yM)(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}"onPropsChange"(){this.handleValueChange()}"onSelect"(e){if(e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"!==e.target.tagName)return;let t=+e.detail.curIndex,i=+e.detail.selectedIndex;this.value[t]=i,this.onChange.emit({"value":this.value})}"onSelectStart"(e){e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===e.target.tagName&&this.onPickStart.emit()}"onPickerColEnd"(e){e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===e.target.tagName&&this.onPickEnd.emit()}"componentDidLoad"(){this.handleValueChange()}"handleValueChange"(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((e,t)=>{var i;e.setAttribute("col",`${t}`);let s=0;this.value&&this.value.length>t&&(s=this.value[t]);const r=(this.el.getBoundingClientRect().height-((null===(i=this.indicator)||void 0===i?void 0:i.offsetHeight)||0))/2;e.setAttribute("initial-position",`${s}`),e.setAttribute("padding-vertical",`${r}`)}))}"componentDidRender"(){this.el.childNodes.forEach((e=>{const t=e;"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(e)}))}"render"(){const e=(0,a.c)("taro-picker-view-mask-indicator",this.indicatorClass),t=(0,a.c)("taro-picker-view-mask-top",this.maskClass),i=(0,a.c)("taro-picker-view-mask-bottom",this.maskClass),s=convertStyle(this.indicatorStyle),o=convertStyle(this.maskStyle),n=convertStyle(this.maskStyle);return(0,r.h)(r.AA,{"class":"taro-picker-view-container"},(0,r.h)("slot",null),(0,r.h)("div",{"class":"taro-picker-view-mask-container"},(0,r.h)("div",{"class":t,"style":o}),(0,r.h)("div",{"class":e,"style":s,"ref":e=>this.indicator=e}),(0,r.h)("div",{"class":i,"style":n})))}get"el"(){return this}static get"watchers"(){return{"value":["onPropsChange"]}}static get"style"(){return".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{pointer-events:none;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;position:absolute;inset:0}.taro-picker-view-mask-indicator{border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px;display:-ms-flexbox;display:flex}.taro-picker-view-mask-top{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6));-ms-flex:1;flex:1}.taro-picker-view-mask-bottom{background:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background:linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));-ms-flex:1;flex:1}"}},[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]);const X=function taro_picker_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-core"].forEach((e=>{if("taro-picker-view-core"===e)customElements.get(e)||customElements.define(e,$)}))},Z=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}"render"(){const{"percent":e,"showInfo":t,"borderRadius":i,"fontSize":s,"strokeWidth":a,"activeColor":o,"backgroundColor":n,"active":l}=this,c=e>100?100:e<0?0:e,d={"height":a+"px","backgroundColor":n},p=l?"width 1s ease-in-out":"none",u={"width":`${c}%`,"transition":p,"WebkitTransition":p,"backgroundColor":o,"borderRadius":i?`${i}px`:"0px"};return(0,r.h)(r.AA,{"class":"weui-progress"},(0,r.h)("div",{"class":"weui-progress__bar","style":d},(0,r.h)("div",{"class":"weui-progress__inner-bar","style":u})),t&&(0,r.h)("div",{"class":"weui-progress__opr","style":{"font-size":`${s}px`}},(0,r.h)("span",null,c,"%")))}static get"style"(){return".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}"}},[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]);const Q=function taro_progress_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-progress-core"].forEach((e=>{if("taro-progress-core"===e)customElements.get(e)||customElements.define(e,Z)}))},U=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"radiochange",7),this.handleClick=e=>{e.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchChecked"(e){this.isWillLoadCalled&&e&&this.onChange.emit({"value":this.value})}"watchId"(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"componentWillLoad"(){this.isWillLoadCalled=!0}"render"(){const{"checked":e,"name":t,"value":i,"disabled":s,"nativeProps":a}=this;return(0,r.h)(r.AA,{"className":"weui-cells_checkbox","onClick":this.handleClick},(0,r.h)("input",Object.assign({"ref":e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},"type":"radio","name":t,"value":i,"class":"weui-check","checked":e,"disabled":s,"onChange":e=>e.stopPropagation()},a)),(0,r.h)("i",{"class":"weui-icon-checked"}),(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"checked":["watchChecked"],"id":["watchId"]}}},[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const J=function taro_radio_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-core"].forEach((e=>{if("taro-radio-core"===e)customElements.get(e)||customElements.define(e,U)}))};var K,taro_radio_group_core_classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},taro_radio_group_core_classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const ee=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),K.set(this,void 0),this.name=void 0}"function"(e){if(e.stopPropagation(),"TARO-RADIO-CORE"!==e.target.tagName)return;const t=e.target;if(t.checked){this.el.querySelectorAll("taro-radio-core").forEach((e=>{e!==t&&(e.checked=!1)})),taro_radio_group_core_classPrivateFieldSet(this,K,e.detail.value,"f"),this.onChange.emit({"value":taro_radio_group_core_classPrivateFieldGet(this,K,"f")})}}"componentDidLoad"(){this.el.querySelectorAll("taro-radio-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!taro_radio_group_core_classPrivateFieldGet(this,K,"f")){const e=this.el.querySelectorAll("taro-radio-core");taro_radio_group_core_classPrivateFieldSet(this,K,this.getValues(e),"f")}return taro_radio_group_core_classPrivateFieldGet(this,K,"f")},"configurable":!0})}"getValues"(e){let t="";return Array.from(e).forEach((e=>{const i=e.querySelector("input");(null==i?void 0:i.checked)&&(t=i.value||"")})),t}"render"(){return(0,r.h)(r.AA,{"class":"weui-cells_radiogroup"})}get"el"(){return this}},[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]);K=new WeakMap;const te=function taro_radio_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-group-core"].forEach((e=>{if("taro-radio-group-core"===e)customElements.get(e)||customElements.define(e,ee)}))},ie=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.renderNode=e=>{if("type"in e&&"text"===e.type){return(e.text||"").replace(/ /g," ")}if("name"in e&&e.name){const{"name":t,"attrs":i,"children":s}=e,a={};let o=[];if(i&&"object"==typeof i)for(const e in i){const t=i[e];if("style"!==e||"string"!=typeof t)a[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),i={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,r]=t,a=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));i[a]=r})),Object.keys(i).length&&(a.style=i)}}return s&&s.length&&(o=s.map((e=>this.renderNode(e)))),(0,r.h)(t,a,o)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}"render"(){const{"nodes":e,"renderNode":t}=this;return Array.isArray(e)?(0,r.h)(r.AA,null,e.map((e=>t(e)))):(0,r.h)(r.AA,{"innerHTML":e})}static get"style"(){return"taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}"}},[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]);const se=function taro_rich_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-rich-text-core"].forEach((e=>{if("taro-rich-text-core"===e)customElements.get(e)||customElements.define(e,ie)}))};function easeOutScroll(e,t,i=500,s){if(e===t||"number"!=typeof e)return;const r=t-e,a=Date.now(),o=t>=e;!function step(){e=function linear(e,t,i,s){return i*e/s+t}(Date.now()-a,e,r,i),o&&e>=t||!o&&t>=e?s(t):(s(e),requestAnimationFrame(step))}()}const re=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onScroll=(0,r.yM)(this,"scroll",3),this.onScrollToUpper=(0,r.yM)(this,"scrolltoupper",3),this.onScrollToLower=(0,r.yM)(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=(0,C.d)((()=>{const{"offsetWidth":e,"offsetHeight":t,"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a}=this.el,o=Number(this.lowerThreshold),n=Number(this.upperThreshold);!isNaN(o)&&(this.scrollY&&t+s+o>=r||this.scrollX&&e+i+o>=a)&&this.onScrollToLower.emit({"direction":this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(n)&&(this.scrollY&&s<=n||this.scrollX&&i<=n)&&this.onScrollToUpper.emit({"direction":this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}"watchScrollLeft"(e){const t=Number(e),{"animated":i}=this;this.mpScrollToMethod({"left":t,"animated":i})}"watchScrollTop"(e){const t=Number(e),{"animated":i}=this;this.mpScrollToMethod({"top":t,"animated":i})}"watchScrollIntoView"(e){this.mpScrollIntoViewMethod(e)}"handleScroll"(e){var t;if(e instanceof CustomEvent)return;e.stopPropagation(),null===(t=e.stopImmediatePropagation)||void 0===t||t.call(e);const{"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a}=this.el;this._scrollLeft=i,this._scrollTop=s,this.upperAndLower(),this.onScroll.emit({"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a})}"handleTouchMove"(e){e instanceof CustomEvent||e.stopPropagation()}async"mpScrollToMethod"(e){let{"top":t,"left":i,"duration":s,"animated":r=!1}=e;this.scrollY&&"number"==typeof t&&!isNaN(t)&&t!==this._scrollTop&&(r?easeOutScroll(this._scrollTop,t,s,(e=>this.el.scrollTop=e)):this.el.scrollTop=t,this._scrollTop=t),this.scrollX&&"number"==typeof i&&!isNaN(i)&&i!==this._scrollLeft&&(r?easeOutScroll(this._scrollLeft,i,s,(e=>this.el.scrollLeft=e)):this.el.scrollLeft=i,this._scrollLeft=i)}async"mpScrollIntoViewMethod"(e){var t;"string"==typeof e&&e&&(null===(t=document.querySelector(`#${e}`))||void 0===t||t.scrollIntoView({"behavior":this.animated?"smooth":"auto","block":this.scrollY&&this.mpScrollIntoViewAlignment||"center","inline":this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}"componentDidLoad"(){const e=Number(this.mpScrollTop),t=Number(this.mpScrollLeft),{"animated":i}=this;this.mpScrollToMethod({"top":e,"left":t,"animated":i})}"componentDidRender"(){(0,l.h)(this.el)}"render"(){const{"scrollX":e,"scrollY":t}=this,i=(0,a.c)({"taro-scroll-view__scroll-x":e,"taro-scroll-view__scroll-y":t});return(0,r.h)(r.AA,{"class":i},(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"mpScrollLeft":["watchScrollLeft"],"mpScrollTop":["watchScrollTop"],"mpScrollIntoView":["watchScrollIntoView"]}}static get"style"(){return"taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}"}},[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]);const ae=function taro_scroll_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-scroll-view-core"].forEach((e=>{if("taro-scroll-view-core"===e)customElements.get(e)||customElements.define(e,re)}))},oe=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onChanging=(0,r.yM)(this,"changing",7),this.handleTouchStart=e=>{this.touching||this.disabled||(this.touching=!0,this.touchId=e.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=e.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=e=>{const{"disabled":t,"touching":i,"touchId":s,"totalWidth":r,"max":a,"min":o,"ogX":n,"ogPercent":l}=this;if(!i||t)return;if(e.targetTouches[0].identifier!==s)return;e.preventDefault();let c=(e.targetTouches[0].pageX-n)/r*100+l;c=this.handleValueUpdate(c,0,100);const d=o+.01*c*(a-o);this.updateByStep(d),this.onChanging.emit({"detail":e.detail,"value":this.value})},this.handleTouchEnd=e=>{const{"disabled":t,"touching":i}=this;i&&!t&&(this.percent!==this.ogPercent&&this.onChange.emit({"detail":e.detail,"value":this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(e,t=this.min,i=this.max)=>(e=isNaN(e)?0:e,Math.max(t,Math.min(e,i))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}"function"(e){if(!this.isWillLoadCalled)return;const{"max":t,"min":i}=this;if(null!==e){const s=this.handleValueUpdate(e,i,t);this.updateByStep(s)}}"componentDidLoad"(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}"componentWillLoad"(){this.isWillLoadCalled=!0;const{"value":e,"max":t,"min":i}=this,s=this.handleValueUpdate(e,i,t);this.updateByStep(s)}"updateByStep"(e){const{"max":t,"min":i,"step":s}=this,r=Math.floor((t-i)/s);for(let t=0;t<=r;t++){const a=i+s*t,o=t===r?null:i+s*(t+1);if(e===a)break;if(!o&&e>a&&(e=a),o&&e>a&&e100?100:o,p={"width":`${d}%`,"backgroundColor":i};l<12&&(l=12),l>28&&(l=28);const u={"left":`${d}%`,"width":`${l}px`,"height":`${l}px`,"backgroundColor":s,"marginTop":`-${Math.floor(l/2)}px`,"marginLeft":`-${Math.floor(l/2)}px`};return(0,r.h)(r.AA,{"class":"weui-slider-box"},(0,r.h)("div",{"class":"weui-slider"},(0,r.h)("div",{"class":"weui-slider__inner","style":c,"ref":e=>this.sliderInsRef=e},(0,r.h)("div",{"style":p,"class":"weui-slider__track"}),(0,r.h)("div",{"class":"weui-slider__handler","ref":e=>{e&&(this.handler=e)},"style":u}),(0,r.h)("input",{"type":"hidden","name":a,"value":n}))),e&&(0,r.h)("div",{"class":"weui-slider-box__value"},n))}get"el"(){return this}static get"watchers"(){return{"value":["function"]}}static get"style"(){return".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}"}},[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]);const ne=function taro_slider_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-slider-core"].forEach((e=>{if("taro-slider-core"===e)customElements.get(e)||customElements.define(e,oe)}))},le=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.switchChange=e=>{e.stopPropagation();const t=e.target.checked;this.checked=t,this.onChange.emit({"value":t})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"function"(e){this.isWillLoadCalled&&this.inputRef.checked!==e&&(this.inputRef.checked=e)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){Object.defineProperty(this.el,"value",{"get":()=>this.checked,"configurable":!0})}"render"(){const{"type":e,"color":t,"checked":i,"name":s,"disabled":a,"nativeProps":o}=this,n=i?{"borderColor":t||"04BE02","backgroundColor":t||"04BE02"}:{};return(0,r.h)("input",Object.assign({"ref":e=>{this.inputRef=e},"type":"checkbox","class":`weui-${e}`,"style":n,"checked":i,"name":s,"disabled":a,"onChange":this.switchChange},o))}get"el"(){return this}static get"watchers"(){return{"checked":["function"]}}static get"style"(){return'.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}'}},[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ce=function taro_switch_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-switch-core"].forEach((e=>{if("taro-switch-core"===e)customElements.get(e)||customElements.define(e,le)}))},de=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}"render"(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),(0,r.h)(r.AA,{"style":e},(0,r.h)("slot",null))}static get"style"(){return"taro-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}"}},[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]);const pe=function taro_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-text-core"].forEach((e=>{if("taro-text-core"===e)customElements.get(e)||customElements.define(e,de)}))};function taro_textarea_core_fixControlledValue(e){return null!=e?e:""}const ue=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,r.yM)(this,"input",7),this.onFocus=(0,r.yM)(this,"focus",7),this.onBlur=(0,r.yM)(this,"blur",7),this.onConfirm=(0,r.yM)(this,"confirm",7),this.onChange=(0,r.yM)(this,"change",7),this.onLineChange=(0,r.yM)(this,"linechange",7),this.onKeyDown=(0,r.yM)(this,"keydown",7),this.handleInput=e=>{e.stopPropagation(),this.handleLineChange();const t=e.target.value||"";this.value=t,this.onInput.emit({"value":t,"cursor":t.length})},this.handleFocus=e=>{e.stopPropagation(),this.onFocus.emit({"value":e.target.value})},this.handleBlur=e=>{e.stopPropagation(),this.onBlur.emit({"value":e.target.value})},this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":e.target.value})},this.handleLineChange=()=>{const e=this.getNumberOfLines();e!==this.line&&(this.line=e,this.onLineChange.emit({"height":this.textareaRef.clientHeight,"lineCount":this.line}))},this.handleKeyDown=e=>{e.stopPropagation();const{"value":t}=e.target,i=e.keyCode||e.code;this.onKeyDown.emit({"value":t,"cursor":t.length,"keyCode":i}),13===i&&this.onConfirm.emit({"value":t})},this.calculateContentHeight=(e,t)=>{let i=e.style.height,s=e.offsetHeight,r=e.scrollHeight,a=e.style.overflow,o=e.style.minHeight||null;if(!(s>=r))return r;if(e.style.minHeight=0,e.style.height=s+t+"px",e.style.overflow="hidden",r=e.scrollHeight;)e.style.height=(s-=t)+"px";for(;e.offsetHeight{const e=this.textareaRef,t=window.getComputedStyle?window.getComputedStyle(e):e.style,i=parseInt(t.lineHeight,10),s=this.calculateContentHeight(e,i);return Math.floor(s/i)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}"watchAutoFocus"(e,t){var i;!t&&e&&(null===(i=this.textareaRef)||void 0===i||i.focus())}"watchValue"(e){const t=taro_textarea_core_fixControlledValue(e);this.textareaRef.value!==t&&(this.textareaRef.value=t)}async"focus"(){this.textareaRef.focus()}"render"(){const{"value":e,"placeholder":t,"disabled":i,"maxlength":s,"autoFocus":a,"autoHeight":o,"name":n,"nativeProps":l,"handleInput":c,"handleFocus":d,"handleBlur":p,"handleChange":u}=this,h={};return o&&(h.rows=this.line),(0,r.h)("textarea",Object.assign({"ref":e=>{e&&(this.textareaRef=e,a&&e&&e.focus())},"class":"taro-textarea "+(o?"auto-height":""),"value":taro_textarea_core_fixControlledValue(e),"placeholder":t,"name":n,"disabled":i,"maxlength":s,"autofocus":a,"onInput":c,"onFocus":d,"onBlur":p,"onChange":u,"onKeyDown":this.handleKeyDown},l,h))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return"taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}"}},[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]);const he=function taro_textarea_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-textarea-core"].forEach((e=>{if("taro-textarea-core"===e)customElements.get(e)||customElements.define(e,ue)}))},formatTime=e=>{if(!e)return"";const t=Math.round(e%60),i=Math.round((e-t)/60);return`${i<10?`0${i}`:i}:${t<10?`0${t}`:t}`},normalizeNumber=e=>Math.max(-1,Math.min(e,1));let me="default";const ge=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let s=0;const r=t.length,a={};for(;s{let t=e-this.progressDimensions.left;return t=Math.max(t,0),t=Math.min(t,this.progressDimensions.width),t/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=e=>{e.stopPropagation();const t=this.calcPercentage(e.pageX);this.seekFunc(t*this.duration),this.toggleVisibility(!0)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 0}"onDocumentTouchMove"(e){if(!this.isDraggingProgressBall)return;const t=e.touches[0].pageX;this.percentage=this.calcPercentage(t),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration)}"onDocumentTouchEnd"(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async"setProgressBall"(e){this.progressBallRef&&(this.progressBallRef.style.left=100*e+"%")}async"toggleVisibility"(e){const t=void 0===e?!this.visible:e;t?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!t}async"getIsDraggingProgressBall"(){return this.isDraggingProgressBall}async"setCurrentTime"(e){this.currentTimeRef.innerHTML=formatTime(e)}"render"(){const{"controls":e,"currentTime":t,"duration":i,"isPlaying":s,"pauseFunc":a,"playFunc":o,"showPlayBtn":n,"showProgress":l}=this,c=formatTime(i);let d;return d=n?s?(0,r.h)("div",{"class":"taro-video-control-button taro-video-control-button-pause","onClick":a}):(0,r.h)("div",{"class":"taro-video-control-button taro-video-control-button-play","onClick":o}):null,(0,r.h)(r.AA,{"class":"taro-video-bar taro-video-bar-full"},e&&(0,r.h)("div",{"class":"taro-video-controls"},d,l&&(0,r.h)("div",{"class":"taro-video-current-time","ref":e=>this.currentTimeRef=e},formatTime(t)),l&&(0,r.h)("div",{"class":"taro-video-progress-container","onClick":this.onClickProgress},(0,r.h)("div",{"class":"taro-video-progress","ref":e=>{if(!e)return;const t=e.getBoundingClientRect();this.progressDimensions.left=t.left,this.progressDimensions.width=t.width}},(0,r.h)("div",{"class":"taro-video-progress-buffered","style":{"width":"100%"}}),(0,r.h)("div",{"class":"taro-video-ball","ref":e=>this.progressBallRef=e,"onTouchStart":this.onDragProgressBallStart,"style":{"left":(c?this.currentTime/i*100:0)+"%"}},(0,r.h)("div",{"class":"taro-video-inner"})))),l&&(0,r.h)("div",{"class":"taro-video-duration"},c)),(0,r.h)("slot",null))}get"el"(){return this}},[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const be=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}"ensureProperties"(e){const t=Object.assign({},e);return"time"in e||(t.time=this.currentTime),t.key=Math.random(),t.bottom=90*Math.random()+5+"%",t}async"sendDanmu"(e=[]){if(Array.isArray(e))this.list=[...this.list,...e.map((e=>this.ensureProperties(e)))];else{const t=e;this.list=[...this.list,Object.assign({},this.ensureProperties(t))]}}async"tick"(e){if(this.currentTime=e,!this.enable)return;const t=this.list.filter((({"time":t})=>e-t<4&&e>t));let i=!1;const s=this.danmuList;i=t.length!==s.length||t.some((({"key":e})=>s.every((t=>e!==t.key)))),i&&(this.danmuList=t)}"componentDidUpdate"(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((e=>{e.style.left="0",e.style.webkitTransform="translateX(-100%)",e.style.transform="translateX(-100%)"}))}))}))}"render"(){return this.enable?(0,r.h)(r.AA,{"class":"taro-video-danmu"},this.danmuList.map((({"text":e,"color":t,"bottom":i,"key":s})=>(0,r.h)("p",{"class":"taro-video-danmu-item","key":s,"style":{"color":t,"bottom":i},"ref":e=>{e&&this.danmuElList.push(e)}},e)))):""}},[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]);const we=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onPlay=(0,r.yM)(this,"play",7),this.onPause=(0,r.yM)(this,"pause",7),this.onEnded=(0,r.yM)(this,"ended",7),this.onTimeUpdate=(0,r.yM)(this,"timeupdate",7),this.onError=(0,r.yM)(this,"error",7),this.onFullScreenChange=(0,r.yM)(this,"fullscreenchange",7),this.onProgress=(0,r.yM)(this,"progress",7),this.onLoadedMetaData=(0,r.yM)(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.analyzeGesture=e=>{var t;const i={"type":"none"},s=e.touches[0].screenX,r=e.touches[0].screenY,a=s-this.lastTouchScreenX,o=r-this.lastTouchScreenY,n=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if((l=a,c=o,Math.sqrt(Math.pow(l,2)+Math.pow(c,2)))<10)return i;if(Math.abs(o)>=Math.abs(a)){if(!n)return i;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(o){var e,t;this.videoRef&&(this.videoRef.src=this.src,null===(t=(e=this.videoRef).load)||void 0===t||t.call(e))},this.init=()=>{const{"src":e,"videoRef":t}=this;/\.(m3u8)($|\?)/i.test(e)?i.e(3041).then(i.bind(i,3041)).then((i=>{const s=i.default;this.HLS=s,s.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new s,this.hls.loadSource(e),this.hls.attachMedia(t),this.hls.on(s.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(s.Events.ERROR,((e,t)=>{this.handleError(t)}))):t.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=(0,C.t)((async e=>{var t,i;this.currentTime=this.videoRef.currentTime;const s=this.duration||this._duration,r=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(r||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/s),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({"duration":null===(t=e.target)||void 0===t?void 0:t.duration,"currentTime":null===(i=e.target)||void 0===i?void 0:i.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=e=>{var t,i;if(this.hls)switch(e.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({"errMsg":e.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({"errMsg":e.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else this.onError.emit({"errMsg":null===(i=null===(t=e.target)||void 0===t?void 0:t.error)||void 0===i?void 0:i.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=e=>{const t=e.target;this.onLoadedMetaData.emit({"width":t.videoWidth,"height":t.videoHeight,"duration":t.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=e=>{this.videoRef.currentTime=e},this.onTouchStartContainer=e=>{this.lastTouchScreenX=e.touches[0].screenX,this.lastTouchScreenY=e.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const e=Date.now();e-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=e}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=e=>{e.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=e=>{const t=(new Date).getTime();!e.detail&&this.isFullScreen&&!document[ge.fullscreenElement]&&t-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1,!0)},this.toggleFullScreen=(e=!this.isFullScreen,t=!1)=>{this.isFullScreen=e,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({"fullScreen":this.isFullScreen,"direction":"vertical"}),this.isFullScreen&&!document[ge.fullscreenElement]?setTimeout((()=>{this.videoRef[ge.requestFullscreen]({"navigationUI":"auto"}),_.ZP.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(t||document[ge.exitFullscreen](),_.ZP.eventCenter.trigger("__taroExitFullScreen",{}))},this.toggleMute=e=>{e.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=e=>{e.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}"componentWillLoad"(){this._enableDanmu=this.enableDanmu,this.isMute=this.muted}"componentDidLoad"(){var e,t;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(t=(e=this.danmuRef).sendDanmu)||void 0===t||t.call(e,this.danmuList),document.addEventListener&&document.addEventListener(ge.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===me&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}"componentDidRender"(){}"disconnectedCallback"(){document.removeEventListener&&document.removeEventListener(ge.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===me&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}"watchEnableDanmu"(e){this._enableDanmu=e}"watchSrc"(){this.init()}async"onDocumentTouchMove"(e){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const t=this.analyzeGesture(e);if("adjustVolume"===t.type){this.toastVolumeRef.style.visibility="visible";const e=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=e,this.toastVolumeBarRef.style.width=100*e+"%"}else if("adjustProgress"===t.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const e=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${formatTime(this.nextPercentage*e)} / ${formatTime(e)}`,this.toastProgressRef.style.visibility="visible"}}"onDocumentTouchEnd"(){var e;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(e=this.duration)&&void 0!==e?e:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async"getHlsObject"(){return this.hls}async"play"(){this._play()}async"pause"(){this._pause()}async"stop"(){this._stop()}async"seek"(e){this._seek(e)}async"requestFullScreen"(){this.toggleFullScreen(!0)}async"exitFullScreen"(){this.toggleFullScreen(!1)}"render"(){const{"controls":e,"autoplay":t,"loop":i,"muted":s,"poster":o,"objectFit":n,"isFirst":l,"isMute":c,"isFullScreen":d,"showCenterPlayBtn":p,"isPlaying":u,"_enableDanmu":h,"showMuteBtn":m,"danmuBtn":g,"showFullscreenBtn":f,"nativeProps":b}=this,w=this.duration||this._duration,v=formatTime(w);return(0,r.h)(r.AA,{"class":(0,a.c)("taro-video-container",{"taro-video-type-fullscreen":d}),"onTouchStart":this.onTouchStartContainer,"onClick":this.onClickContainer},(0,r.h)("video",Object.assign({"class":"taro-video-video","style":{"object-fit":n},"ref":e=>{e&&(this.videoRef=e)},"autoplay":t,"loop":i,"muted":s,"poster":e?o:void 0,"playsinline":!0,"webkit-playsinline":!0,"onPlay":this.handlePlay,"onPause":this.handlePause,"onEnded":this.handleEnded,"onTimeUpdate":this.handleTimeUpdate,"onError":this.handleError,"onDurationChange":this.handleDurationChange,"onProgress":this.handleProgress,"onLoadedMetaData":this.handleLoadedMetaData},b),"暂时不支持播放该视频"),(0,r.h)("taro-video-danmu",{"ref":e=>{e&&(this.danmuRef=e)},"enable":h}),l&&p&&!u&&(0,r.h)("div",{"class":"taro-video-cover"},(0,r.h)("div",{"class":"taro-video-cover-play-button","onClick":()=>this.play()}),(0,r.h)("p",{"class":"taro-video-cover-duration"},v)),(0,r.h)("taro-video-control",{"ref":e=>{e&&(this.controlsRef=e)},"controls":e,"currentTime":this.currentTime,"duration":w,"isPlaying":this.isPlaying,"pauseFunc":this._pause,"playFunc":this._play,"seekFunc":this._seek,"showPlayBtn":this.showPlayBtn,"showProgress":this.showProgress},m&&(0,r.h)("div",{"class":(0,a.c)("taro-video-mute",{"taro-video-type-mute":c}),"onClick":this.toggleMute}),g&&(0,r.h)("div",{"class":(0,a.c)("taro-video-danmu-button",{"taro-video-danmu-button-active":h}),"onClick":this.toggleDanmu},"弹幕"),f&&(0,r.h)("div",{"class":(0,a.c)("taro-video-fullscreen",{"taro-video-type-fullscreen":d}),"onClick":this.onClickFullScreenBtn})),(0,r.h)("div",{"class":"taro-video-toast taro-video-toast-volume","ref":e=>{e&&(this.toastVolumeRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-title"},"音量"),(0,r.h)("div",{"class":"taro-video-toast-icon"}),(0,r.h)("div",{"class":"taro-video-toast-value"},(0,r.h)("div",{"class":"taro-video-toast-value-content","ref":e=>{e&&(this.toastVolumeBarRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>(0,r.h)("div",{"class":"taro-video-toast-volume-grids-item"}))))))),(0,r.h)("div",{"class":"taro-video-toast taro-video-toast-progress","ref":e=>{e&&(this.toastProgressRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-title","ref":e=>{e&&(this.toastProgressTitleRef=e)}})))}get"el"(){return this}static get"watchers"(){return{"enableDanmu":["watchEnableDanmu"],"src":["watchSrc"]}}static get"style"(){return'.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}'}},[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const ve=function taro_video_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-video-core","taro-video-control","taro-video-danmu"].forEach((e=>{switch(e){case"taro-video-core":customElements.get(e)||customElements.define(e,we);break;case"taro-video-control":customElements.get(e)||function video_control_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-control"].forEach((e=>{"taro-video-control"===e&&(customElements.get(e)||customElements.define(e,fe))}))}();break;case"taro-video-danmu":customElements.get(e)||function video_danmu_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-danmu"].forEach((e=>{"taro-video-danmu"===e&&(customElements.get(e)||customElements.define(e,be))}))}()}}))},Ae=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLongPress=(0,r.yM)(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}"onTouchStart"(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}"onTouchMove"(){clearTimeout(this.timeoutEvent)}"onTouchEnd"(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}"componentDidRender"(){(0,l.h)(this.el)}"render"(){const e=(0,a.c)({[`${this.hoverClass}`]:this.hover});let t={};return this.animation&&(t.animation=this.animation,t["data-animation"]=this.animation),(0,r.h)(r.AA,Object.assign({"class":e},t),(0,r.h)("slot",null))}get"el"(){return this}static get"style"(){return"taro-view-core{display:block}"}},[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);const ye=function taro_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-view-core"].forEach((e=>{if("taro-view-core"===e)customElements.get(e)||customElements.define(e,Ae)}))},xe=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,r.yM)(this,"load",7),this.onError=(0,r.yM)(this,"error",7),this.src=void 0}"render"(){const{"src":e,"onLoad":t,"onError":i}=this;return(0,r.h)("iframe",{"class":"taro-webview","onLoad":i=>{i.stopPropagation(),t.emit({"src":e})},"onError":t=>{t.stopPropagation(),i.emit({"src":e})},"src":e})}static get"style"(){return"iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}"}},[0,"taro-web-view-core",{"src":[1]}]);const Ee=function taro_web_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-web-view-core"].forEach((e=>{if("taro-web-view-core"===e)customElements.get(e)||customElements.define(e,xe)}))};var Se=i(6883),Te=i(8028);function __rest(e,t){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(i[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(s=Object.getOwnPropertySymbols(e);rt=>{e.forEach((e=>{((e,t)=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})(e,t)}))},camelToDashCase=e=>e.replace(/([A-Z])/g,(e=>`-${e[0].toLowerCase()}`));var ke=i(3935);const arrayToMap=e=>{const t=new Map;return e.forEach((e=>t.set(e,e))),t};function getComponentName(e){return e.tagName.replace(/^TARO-/,"").replace(/-CORE$/,"")}function getControlledValue(e){const t=getComponentName(e);return["INPUT","TEXTAREA","SLIDER","PICKER"].includes(t)?"value":"SWITCH"===t?"checked":null}function finishedEventHandler(e){const t=getControlledValue(e);if(!t)return;(0,ke.flushSync)((()=>{}));const i=function getPropsAfterReactUpdate(e){const t=Object.keys(e).find((e=>e.includes("__reactProps")));return t?e[t]:null}(e);(null==i?void 0:i.hasOwnProperty(t))&&i[t]!==e[t]&&(e[t]=i[t],e.setAttribute(t,i[t]))}const syncEvent=(e,t,i)=>{const s=e.__events||(e.__events={}),r=s[t];if(i){if(r){if(r.fn===i)return;e.removeEventListener(t,r)}const a=s[t]=function(t){(0,ke.unstable_batchedUpdates)((()=>i.call(this,t))),finishedEventHandler(e)};a.fn=i,e.addEventListener(t,a)}else r&&e.removeEventListener(t,r)},attachProps=(e,t,i={})=>{if(e instanceof Element){Object.keys(i).forEach((i=>{if(!["style","children","ref","class","className","forwardedRef"].includes(i)&&!t.hasOwnProperty(i))if(/^on([A-Z].*)/.test(i)){const t=i.substring(2).toLowerCase();syncEvent(e,t)}else e[i]=null,e.removeAttribute(camelToDashCase(i))})),e.className=((e,t,i)=>{const s=t.className||t.class,r=i.className||i.class,a=arrayToMap(e),o=arrayToMap(s?s.split(" "):[]),n=arrayToMap(r?r.split(" "):[]),l=[];return a.forEach((e=>{o.has(e)?(l.push(e),o.delete(e)):n.has(e)||l.push(e)})),o.forEach((e=>l.push(e))),l.join(" ")})(e.classList,t,i),Object.keys(t).forEach((i=>{if(!("style"===i&&"string"!=typeof t[i]||["children","ref","class","className","forwardedRef"].includes(i)))if(/^on([A-Z].*)/.test(i)){const s=i.substring(2).toLowerCase();syncEvent(e,s,t[i])}else{e[i]=t[i];"string"===typeof t[i]&&e.setAttribute(camelToDashCase(i),t[i])}}));const s=getControlledValue(e);if(s&&t.hasOwnProperty(s)){const t=["INPUT","TEXTAREA"].includes(getComponentName(e))?"input":"change";e.__events||(e.__events={}),e.__events.hasOwnProperty(t)||syncEvent(e,t,(function(){}))}}};const createComponent_createReactComponent=(e,t,i,r)=>{void 0!==r&&r();const a=e.toLowerCase().split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("");const o=class extends s.Component{"constructor"(e){super(e),this.setComponentElRef=e=>{this.componentEl=e}}"componentDidMount"(){!function applyUnControlledDefaultValue(e,t){const i=getControlledValue(e);if(!i)return;const s="default"+i.charAt(0).toUpperCase()+i.slice(1);!t.hasOwnProperty(i)&&t.hasOwnProperty(s)&&(e[i]=t[s],e.setAttribute(i,t[s]))}(this.componentEl,this.props),this.componentDidUpdate(this.props)}"componentDidUpdate"(e){attachProps(this.componentEl,this.props,e)}"render"(){const t=this.props,{"children":r,"forwardedRef":a,"className":o,"ref":n,"style":l}=t,c=__rest(t,["children","forwardedRef","className","ref","style"]);let d=Object.keys(c).reduce(((e,t)=>{const i=c[t];if(0===t.indexOf("on")&&t[2]===t[2].toUpperCase()){t.substring(2).toLowerCase();0}else{["string","boolean","number"].includes(typeof i)&&(e[camelToDashCase(t)]=i)}return e}),{});i&&(d=i(this.props,d));const p=Object.assign(Object.assign({},d),{"ref":mergeRefs(a,this.setComponentElRef)});return(0,s.createElement)(e,p,r)}static get"displayName"(){return a}};return t&&(o.contextType=t),((e,t)=>{const forwardRef=(t,i)=>s.createElement(e,Object.assign({},t,{"forwardedRef":i}));return forwardRef.displayName=t,s.forwardRef(forwardRef)})(o,a)},Ce=createComponent_createReactComponent("taro-button-core",void 0,helper_manipulatePropsFunction,n),Me=createComponent_createReactComponent("taro-camera-core",void 0,helper_manipulatePropsFunction,d),Ie=createComponent_createReactComponent("taro-checkbox-core",void 0,helper_manipulatePropsFunction,u),Pe=createComponent_createReactComponent("taro-checkbox-group-core",void 0,helper_manipulatePropsFunction,g),Le=createComponent_createReactComponent("taro-form-core",void 0,helper_manipulatePropsFunction,w),_e=createComponent_createReactComponent("taro-icon-core",void 0,helper_manipulatePropsFunction,A),De=createComponent_createReactComponent("taro-image-core",void 0,helper_manipulatePropsFunction,x),Oe=createComponent_createReactComponent("taro-input-core",void 0,helper_manipulatePropsFunction,S),ze=createComponent_createReactComponent("taro-label-core",void 0,helper_manipulatePropsFunction,k),Be=createComponent_createReactComponent("taro-movable-area-core",void 0,helper_manipulatePropsFunction,I),Ne=createComponent_createReactComponent("taro-movable-view-core",void 0,helper_manipulatePropsFunction,L),Re=createComponent_createReactComponent("taro-navigator-core",void 0,helper_manipulatePropsFunction,O),Ge=createComponent_createReactComponent("taro-page-container-core",void 0,helper_manipulatePropsFunction,B),je=createComponent_createReactComponent("taro-picker-core",void 0,helper_manipulatePropsFunction,Y),Fe=createComponent_createReactComponent("taro-picker-view-column-core",void 0,helper_manipulatePropsFunction,V),He=createComponent_createReactComponent("taro-picker-view-core",void 0,helper_manipulatePropsFunction,X),Ye=createComponent_createReactComponent("taro-progress-core",void 0,helper_manipulatePropsFunction,Q),We=createComponent_createReactComponent("taro-radio-core",void 0,helper_manipulatePropsFunction,J),Ve=createComponent_createReactComponent("taro-radio-group-core",void 0,helper_manipulatePropsFunction,te),$e=createComponent_createReactComponent("taro-rich-text-core",void 0,helper_manipulatePropsFunction,se),Xe=createComponent_createReactComponent("taro-scroll-view-core",void 0,helper_manipulatePropsFunction,ae),Ze=createComponent_createReactComponent("taro-slider-core",void 0,helper_manipulatePropsFunction,ne),Qe=createComponent_createReactComponent("taro-swiper-core",void 0,helper_manipulatePropsFunction,Se.M),Ue=createComponent_createReactComponent("taro-swiper-item-core",void 0,helper_manipulatePropsFunction,Te.M),qe=createComponent_createReactComponent("taro-switch-core",void 0,helper_manipulatePropsFunction,ce),Je=createComponent_createReactComponent("taro-text-core",void 0,helper_manipulatePropsFunction,pe),Ke=createComponent_createReactComponent("taro-textarea-core",void 0,helper_manipulatePropsFunction,he),et=createComponent_createReactComponent("taro-video-core",void 0,helper_manipulatePropsFunction,ve),tt=createComponent_createReactComponent("taro-view-core",void 0,helper_manipulatePropsFunction,ye),it=createComponent_createReactComponent("taro-web-view-core",void 0,helper_manipulatePropsFunction,Ee)},"9515":function(e,t,i){"use strict";i.d(t,{"So":function(){return c},"xI":function(){return l}});var s=i(4165),r=i(7582),a=i(1795),o=i.n(a),n=i(4388),l=function getSystemInfoSync(){var e=function getWindowInfo(){return{"pixelRatio":window.devicePixelRatio,"screenWidth":window.screen.width,"screenHeight":window.screen.height,"windowWidth":document.documentElement.clientWidth,"windowHeight":document.documentElement.clientHeight,"statusBarHeight":NaN,"safeArea":{"bottom":0,"height":0,"left":0,"right":0,"top":0,"width":0}}}(),t=function getSystemSetting(){return{"bluetoothEnabled":!1,"locationEnabled":!1,"wifiEnabled":!1,"deviceOrientation":window.screen.width>=window.screen.height?"landscape":"portrait"}}(),i=function getDeviceInfo(){var e,t;return{"abi":"","deviceAbi":"","benchmarkLevel":-1,"brand":o().manufacturer||"unknown","model":o().product||"unknown","system":(null===(e=o().os)||void 0===e?void 0:e.toString())||"unknown","platform":(null===(t=o().os)||void 0===t?void 0:t.family)||"unknown","CPUType":""}}(),s=function getAppBaseInfo(){var e,t=!1;return(null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-color-scheme: dark)").matches)&&(t=!0),{"SDKVersion":"","enableDebug":!1,"language":navigator.language,"version":"","theme":t?"dark":"light"}}(),r={"albumAuthorized":"not determined","bluetoothAuthorized":"not determined","cameraAuthorized":"not determined","locationAuthorized":"not determined","locationReducedAccuracy":!1,"microphoneAuthorized":"not determined","notificationAuthorized":"not determined","notificationAlertAuthorized":"not determined","notificationBadgeAuthorized":"not determined","notificationSoundAuthorized":"not determined","phoneCalendarAuthorized":"not determined"};return delete i.abi,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),s),{"fontSizeSetting":NaN,"albumAuthorized":"authorized"===r.albumAuthorized,"cameraAuthorized":"authorized"===r.cameraAuthorized,"locationAuthorized":"authorized"===r.locationAuthorized,"microphoneAuthorized":"authorized"===r.microphoneAuthorized,"notificationAuthorized":"authorized"===r.notificationAuthorized,"notificationAlertAuthorized":"authorized"===r.notificationAlertAuthorized,"notificationBadgeAuthorized":"authorized"===r.notificationBadgeAuthorized,"notificationSoundAuthorized":"authorized"===r.notificationSoundAuthorized,"phoneCalendarAuthorized":"authorized"===r.phoneCalendarAuthorized,"locationReducedAccuracy":r.locationReducedAccuracy,"environment":""})},c=function getSystemInfo(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.Z)().mark((function _callee2(){var t,i,r,a,o;return(0,s.Z)().wrap((function _callee2$(s){for(;;)switch(s.prev=s.next){case 0:return t=e.success,i=e.fail,r=e.complete,a=new n.N({"name":"getSystemInfo","success":t,"fail":i,"complete":r}),s.prev=2,s.next=5,l();case 5:return o=s.sent,s.abrupt("return",a.success(o));case 9:return s.prev=9,s.t0=s.catch(2),s.abrupt("return",a.fail({"errMsg":s.t0}));case 12:case"end":return s.stop()}}),_callee2,null,[[2,9]])}))()}))}},"8862":function(e,t,i){"use strict";i.d(t,{"$":function(){return a},"a":function(){return r}});var s=i(7255),r=(0,s.tA)("openSetting"),a=(0,s.tA)("getSetting")},"4371":function(e,t,i){"use strict";i.d(t,{"Zk":function(){return y},"Cy":function(){return E},"QP":function(){return A},"K4":function(){return x},"CF":function(){return v}});var s=i(4165),r=i(7582),a=i(498),o=i(2017),n=i(7255),l=i(4388),c=i(5671),d=i(3144),p=function noop(){},u=function(){return(0,d.Z)((function ActionSheet(){(0,c.Z)(this,ActionSheet),this.options={"alertText":"","itemList":[],"itemColor":"#000000","success":p,"fail":p,"complete":p},this.style={"maskStyle":{"position":"fixed","z-index":"1000","top":"0","right":"0","left":"0","bottom":"0","background":"rgba(0,0,0,0.6)"},"actionSheetStyle":{"z-index":"4999","position":"fixed","left":"0","bottom":"0","-webkit-transform":"translate(0, 100%)","transform":"translate(0, 100%)","width":"100%","line-height":"1.6","background":"#EFEFF4","-webkit-transition":"-webkit-transform .3s","transition":"transform .3s","border-radius":"15px 15px 0 0"},"menuStyle":{"background-color":"#FCFCFD","border-radius":"15px 15px 0 0"},"cellStyle":{"position":"relative","padding":"10px 0","text-align":"center","font-size":"18px"},"titleStyle":{"position":"relative","padding":"10px 0","text-align":"center","font-size":"16px","color":"rgba(0,0,0,0.8)","display":"none"},"cancelStyle":{"margin-top":"6px","padding":"10px 0","text-align":"center","font-size":"18px","color":"#000000","background-color":"#FCFCFD"}},this.lastConfig={}}),[{"key":"create","value":function create(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s=e.style,r=s.maskStyle,a=s.actionSheetStyle,o=s.menuStyle,l=s.cellStyle,c=s.titleStyle,d=s.cancelStyle,p=Object.assign(Object.assign({},e.options),t);e.lastConfig=p,e.el=document.createElement("div"),e.el.className="taro__actionSheet",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear",e.mask=document.createElement("div"),e.mask.setAttribute("style",(0,n.b9)(r)),e.actionSheet=document.createElement("div"),e.actionSheet.setAttribute("style",(0,n.b9)(a)),e.menu=document.createElement("div"),e.menu.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},o),{"color":p.itemColor}))),e.cells=p.itemList.map((function(t,s){var r=document.createElement("div");return r.className="taro-actionsheet__cell",r.setAttribute("style",(0,n.b9)(l)),r.textContent=t,r.dataset.tapIndex="".concat(s),r.onclick=function(t){e.hide();var s=t.currentTarget,r=Number(null==s?void 0:s.dataset.tapIndex)||0;i(r)},r})),e.title=document.createElement("div"),e.title.setAttribute("style",(0,n.b9)(c)),e.title.className="taro-actionsheet__cell",e.title.textContent=p.alertText,e.title.style.display=p.alertText?"block":"none",e.cancel=document.createElement("div"),e.cancel.setAttribute("style",(0,n.b9)(d)),e.cancel.textContent="取消",e.menu.appendChild(e.title),e.cells.forEach((function(t){return e.menu.appendChild(t)})),e.actionSheet.appendChild(e.menu),e.actionSheet.appendChild(e.cancel),e.el.appendChild(e.mask),e.el.appendChild(e.actionSheet);var u=function cb(){e.hide(),i("cancel")};e.mask.onclick=u,e.cancel.onclick=u,document.body.appendChild(e.el),setTimeout((function(){e.el.style.opacity="1",(0,n.B2)(e.actionSheet,"translate(0, 0)")}),0)}))}},{"key":"show","value":function show(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s=Object.assign(Object.assign({},e.options),t);e.lastConfig=s,e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer),s.itemColor&&(e.menu.style.color=s.itemColor);var r=e.style.cellStyle;s.itemList.forEach((function(t,s){var a;e.cells[s]?a=e.cells[s]:((a=document.createElement("div")).className="taro-actionsheet__cell",a.setAttribute("style",(0,n.b9)(r)),a.dataset.tapIndex="".concat(s),e.cells.push(a),e.menu.appendChild(a)),a.textContent=t,a.onclick=function(t){e.hide();var s=t.currentTarget,r=Number(null==s?void 0:s.dataset.tapIndex)||0;i(r)}}));var a=e.cells.length,o=s.itemList.length;if(a>o){for(var l=o;l0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s,r,a=e.style,l=a.maskStyle,c=a.modalStyle,d=a.titleStyle,p=a.textStyle,u=a.footStyle,h=a.btnStyle,m=Object.assign(Object.assign({},e.options),t);e.el=document.createElement("div"),e.el.className="taro__modal",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear";var g=function eventHandler(e){e.stopPropagation(),e.preventDefault()},f=document.createElement("div");f.className="taro-modal__mask",f.setAttribute("style",(0,n.b9)(l)),f.ontouchmove=g;var b=document.createElement("div");b.className="taro-modal__content",b.setAttribute("style",(0,n.b9)(c)),b.ontouchmove=g;var w=m.title?d:Object.assign(Object.assign({},d),{"display":"none"});e.title=document.createElement("div"),e.title.className="taro-modal__title",e.title.setAttribute("style",(0,n.b9)(w)),e.title.textContent=m.title;var v=m.title?p:Object.assign(Object.assign({},p),{"padding":"40px 20px 26px","color":"#353535"});e.text=document.createElement("div"),e.text.className="taro-modal__text",e.text.setAttribute("style",(0,n.b9)(v)),e.text.textContent=m.content;var A=document.createElement("div");A.className="taro-modal__foot",A.setAttribute("style",(0,n.b9)(u));var y=Object.assign(Object.assign({},h),{"color":m.cancelColor,"display":m.showCancel?"block":"none"});e.cancel=document.createElement("div"),e.cancel.className="taro-model__btn taro-model__cancel",e.cancel.setAttribute("style",(0,n.b9)(y)),e.cancel.textContent=m.cancelText,e.cancel.onclick=function(){e.hide(),i("cancel")},e.confirm=document.createElement("div"),e.confirm.className="taro-model__btn taro-model__confirm",e.confirm.setAttribute("style",(0,n.b9)(h)),e.confirm.style.color=m.confirmColor,e.confirm.textContent=m.confirmText,e.confirm.onclick=function(){e.hide(),i("confirm")},A.appendChild(e.cancel),A.appendChild(e.confirm),b.appendChild(e.title),b.appendChild(e.text),b.appendChild(A),e.el.appendChild(f),e.el.appendChild(b),document.body.appendChild(e.el),setTimeout((function(){e.el.style.opacity="1"}),0),e.currentPath=null!==(r=null===(s=o.G.page)||void 0===s?void 0:s.path)&&void 0!==r?r:(0,n.Jz)()}))}},{"key":"show","value":function show(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s,r,a=Object.assign(Object.assign({},e.options),t);e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer);var l=e.style.textStyle;if(a.title)e.title.textContent=a.title,e.title.style.display="block",e.text.setAttribute("style",(0,n.b9)(l));else{e.title.textContent="",e.title.style.display="none";var c=Object.assign(Object.assign({},l),{"padding":"40px 20px 26px","color":"#353535"});e.text.setAttribute("style",(0,n.b9)(c))}e.text.textContent=a.content||"",e.cancel.style.display=a.showCancel?"block":"none",e.cancel.textContent=a.cancelText||"",e.cancel.style.color=a.cancelColor||"",e.confirm.textContent=a.confirmText||"",e.confirm.style.color=a.confirmColor||"",e.cancel.onclick=function(){e.hide(),i("cancel")},e.confirm.onclick=function(){e.hide(),i("confirm")},e.el.style.display="block",setTimeout((function(){e.el.style.opacity="1"}),0),e.currentPath=null!==(r=null===(s=o.G.page)||void 0===s?void 0:s.path)&&void 0!==r?r:(0,n.Jz)()}))}},{"key":"hide","value":function hide(){var e=this;this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout((function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout((function(){e.el.style.display="none"}),200)}),0)}}])}(),m=function(){return(0,d.Z)((function Toast(){(0,c.Z)(this,Toast),this.options={"title":"","icon":"none","image":"","duration":1500,"mask":!1},this.style={"maskStyle":{"position":"fixed","z-index":"1000","top":"0","right":"0","left":"0","bottom":"0"},"toastStyle":{"z-index":"5000","box-sizing":"border-box","display":"flex","flex-direction":"column","justify-content":"center","-webkit-justify-content":"center","position":"fixed","top":"50%","left":"50%","min-width":"120px","max-width":"200px","min-height":"120px","padding":"15px","transform":"translate(-50%, -50%)","border-radius":"5px","text-align":"center","line-height":"1.6","color":"#FFFFFF","background":"rgba(17, 17, 17, 0.7)"},"successStyle":{"margin":"6px auto","width":"38px","height":"38px","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTQ4OTYzMjA0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQzNDgiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMjE5Ljk1MiA1MTIuNTc2bDIxMC40MzIgMjEwLjQzMi00NS4yNDggNDUuMjU2LTIxMC40MzItMjEwLjQzMnoiIHAtaWQ9IjQzNDkiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNNzk5LjY3MiAyNjIuMjY0bDQ1LjI1NiA0NS4yNTYtNDYwLjQ2NCA0NjAuNDY0LTQ1LjI1Ni00NS4yNTZ6IiBwLWlkPSI0MzUwIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},"errrorStyle":{"margin":"6px auto","width":"38px","height":"38px","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTUxMDU1MTgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE0MDc2IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNTggNjQgNjQgMjY0LjU4IDY0IDUxMnMyMDAuNTggNDQ4IDQ0OCA0NDggNDQ4LTIwMC41OCA0NDgtNDQ4Uzc1OS40MiA2NCA1MTIgNjR6IG0wIDc1MmEzNiAzNiAwIDEgMSAzNi0zNiAzNiAzNiAwIDAgMS0zNiAzNnogbTUxLjgzLTU1MS45NUw1NDggNjM2YTM2IDM2IDAgMCAxLTcyIDBsLTE1LjgzLTM3MS45NWMtMC4xLTEuMzMtMC4xNy0yLjY4LTAuMTctNC4wNWE1MiA1MiAwIDAgMSAxMDQgMGMwIDEuMzctMC4wNyAyLjcyLTAuMTcgNC4wNXoiIHAtaWQ9IjE0MDc3IiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},"loadingStyle":{"margin":"6px auto","width":"38px","height":"38px","-webkit-animation":"taroLoading 1s steps(12, end) infinite","animation":"taroLoading 1s steps(12, end) infinite","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat","background-size":"100%"},"imageStyle":{"margin":"6px auto","width":"40px","height":"40px","background":"transparent no-repeat","background-size":"100%"},"textStyle":{"margin":"0","font-size":"16px"}}}),[{"key":"create","value":function create(){var e,t,i=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",a=this.style,l=a.maskStyle,c=a.toastStyle,d=a.successStyle,p=a.errrorStyle,u=a.loadingStyle,h=a.imageStyle,m=a.textStyle,g=Object.assign(Object.assign(Object.assign({},this.options),s),{"_type":r});if(this.el=document.createElement("div"),this.el.className="taro__toast",this.el.style.opacity="0",this.el.style.transition="opacity 0.1s linear",this.el.ontouchmove=function(e){e.stopPropagation(),e.preventDefault()},this.mask=document.createElement("div"),this.mask.setAttribute("style",(0,n.b9)(l)),this.mask.style.display=g.mask?"block":"none",this.icon=document.createElement("p"),g.image)this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},h),{"background-image":"url(".concat(g.image,")")})));else{var f="loading"===g.icon?u:"error"===g.icon?p:d;this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},f),"none"===g.icon?{"display":"none"}:{})))}return this.toast=document.createElement("div"),this.toast.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},c),"none"===g.icon?{"min-height":"0","padding":"10px 15px"}:{}))),this.title=document.createElement("p"),this.title.setAttribute("style",(0,n.b9)(m)),this.title.textContent=g.title,this.toast.appendChild(this.icon),this.toast.appendChild(this.title),this.el.appendChild(this.mask),this.el.appendChild(this.toast),document.body.appendChild(this.el),setTimeout((function(){i.el.style.opacity="1"}),0),this.type=g._type,g.duration>=0&&this.hide(g.duration,this.type),this.currentPath=null!==(t=null===(e=o.G.page)||void 0===e?void 0:e.path)&&void 0!==t?t:(0,n.Jz)(),""}},{"key":"show","value":function show(){var e,t,i=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",a=Object.assign(Object.assign(Object.assign({},this.options),s),{"_type":r});this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.title.textContent=a.title||"",this.mask.style.display=a.mask?"block":"none";var l=this.style,c=l.toastStyle,d=l.successStyle,p=l.errrorStyle,u=l.loadingStyle,h=l.imageStyle;if(a.image)this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},h),{"background-image":"url(".concat(a.image,")")})));else if(!a.image&&a.icon){var m="loading"===a.icon?u:"error"===a.icon?p:d;this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},m),"none"===a.icon?{"display":"none"}:{})))}return this.toast.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},c),"none"===a.icon?{"min-height":"0","padding":"10px 15px"}:{}))),this.el.style.display="block",setTimeout((function(){i.el.style.opacity="1"}),0),this.type=a._type,a.duration>=0&&this.hide(a.duration,this.type),this.currentPath=null!==(t=null===(e=o.G.page)||void 0===e?void 0:e.path)&&void 0!==t?t:(0,n.Jz)(),""}},{"key":"hide","value":function hide(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";i&&i!==this.type||(this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout((function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout((function(){e.el.style.display="none"}),100)}),t))}}])}(),g="default";function init(e){if("ready"!==g){var t=e.createElement("style");t.textContent='@font-face{font-weight:normal;font-style:normal;font-family:"taro";src:url("data:application/x-font-ttf;charset=utf-8;base64, AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJWs0t/AAABfAAAAFZjbWFwqVgGvgAAAeAAAAGGZ2x5Zph7qG0AAANwAAAAdGhlYWQRFoGhAAAA4AAAADZoaGVhCCsD7AAAALwAAAAkaG10eAg0AAAAAAHUAAAADGxvY2EADAA6AAADaAAAAAhtYXhwAQ4AJAAAARgAAAAgbmFtZYrphEEAAAPkAAACVXBvc3S3shtSAAAGPAAAADUAAQAAA+gAAABaA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAAMAAQAAAAEAAADih+FfDzz1AAsD6AAAAADXB57LAAAAANcHnssAAP/sA+gDOgAAAAgAAgAAAAAAAAABAAAAAwAYAAEAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQK8AZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAAHjqCAPoAAAAWgPoABQAAAABAAAAAAAAA+gAAABkAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAV4AAQAAAAAAWAADAAEAAAAsAAMACgAAAV4ABAAsAAAABgAEAAEAAgB46gj//wAAAHjqCP//AAAAAAABAAYABgAAAAEAAgAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAKAAAAAAAAAACAAAAeAAAAHgAAAABAADqCAAA6ggAAAACAAAAAAAAAAwAOgABAAD/7AAyABQAAgAANzMVFB4UKAAAAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAAAEgDeAAEAAAAAAAAAHQAAAAEAAAAAAAEABAAdAAEAAAAAAAIABwAhAAEAAAAAAAMABAAoAAEAAAAAAAQABAAsAAEAAAAAAAUACwAwAAEAAAAAAAYABAA7AAEAAAAAAAoAKwA/AAEAAAAAAAsAEwBqAAMAAQQJAAAAOgB9AAMAAQQJAAEACAC3AAMAAQQJAAIADgC/AAMAAQQJAAMACADNAAMAAQQJAAQACADVAAMAAQQJAAUAFgDdAAMAAQQJAAYACADzAAMAAQQJAAoAVgD7AAMAAQQJAAsAJgFRCiAgQ3JlYXRlZCBieSBmb250LWNhcnJpZXIKICB3ZXVpUmVndWxhcndldWl3ZXVpVmVyc2lvbiAxLjB3ZXVpR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgAgACAAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGYAbwBuAHQALQBjAGEAcgByAGkAZQByAAoAIAAgAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwECAQMBBAABeAd1bmlFQTA4AAAAAAA=") format("truetype");}@-webkit-keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}@keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}.taro-modal__foot:after {content: "";position: absolute;left: 0;top: 0;right: 0;height: 1px;border-top: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);} .taro-model__btn:active {background-color: #EEEEEE}.taro-model__btn:not(:first-child):after {content: "";position: absolute;left: 0;top: 0;width: 1px;bottom: 0;border-left: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleX(0.5);transform: scaleX(0.5);}.taro-actionsheet__cell:not(:last-child):after {content: "";position: absolute;left: 0;bottom: 0;right: 0;height: 1px;border-top: 1px solid #e5e5e5;color: #e5e5e5;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}',e.querySelector("head").appendChild(t),g="ready"}}var f=new m,b=new h,w=new u,v=function showToast(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{"title":""};init(document);var t=e=Object.assign({"title":"","icon":"success","image":"","duration":1500,"mask":!1},e),i=t.success,s=t.fail,r=t.complete,a=new l.N({"name":"showToast","success":i,"fail":s,"complete":r});if("string"!=typeof e.title)return a.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})});if("number"!=typeof e.duration)return a.fail({"errMsg":(0,n.Hl)({"para":"duration","correct":"Number","wrong":e.duration})});e.image&&"string"!=typeof e.image&&(e.image=""),e.mask=!!e.mask;var o="";return o=f.el?f.show(e,"toast"):f.create(e,"toast"),a.success({"errMsg":o})},A=function showLoading(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{"title":""};init(document);var t=e=Object.assign({"title":"","mask":!1},e),i=t.success,s=t.fail,r=t.complete,a=new l.N({"name":"showLoading","success":i,"fail":s,"complete":r});if("string"!=typeof(e=Object.assign({},e,{"icon":"loading","image":"","duration":-1})).title)return a.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})});e.mask=!!e.mask;var o="";return o=f.el?f.show(e,"loading"):f.create(e,"loading"),a.success({"errMsg":o})},y=function hideLoading(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,i=void 0!==t&&t,s=e.success,r=e.fail,a=e.complete,o=new l.N({"name":"hideLoading","success":s,"fail":r,"complete":a});return f.el?(f.hide(0,i?"loading":""),o.success()):o.success()},x=function showModal(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.Z)().mark((function _callee(){var t,i,r,a,o,c,d;return(0,s.Z)().wrap((function _callee$(s){for(;;)switch(s.prev=s.next){case 0:if(init(document),e=Object.assign({"title":"","content":"","showCancel":!0,"cancelText":"取消","cancelColor":"#000000","confirmText":"确定","confirmColor":"#3CC51F"},e),i=(t=e).success,r=t.fail,a=t.complete,o=new l.N({"name":"showModal","success":i,"fail":r,"complete":a}),"string"==typeof e.title){s.next=6;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})}));case 6:if("string"==typeof e.content){s.next=8;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"content","correct":"String","wrong":e.content})}));case 8:if("string"==typeof e.cancelText){s.next=10;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"cancelText","correct":"String","wrong":e.cancelText})}));case 10:if(!(e.cancelText.replace(/[\u0391-\uFFE5]/g,"aa").length>8)){s.next=12;break}return s.abrupt("return",o.fail({"errMsg":"cancelText length should not larger then 4 Chinese characters"}));case 12:if("string"==typeof e.confirmText){s.next=14;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"confirmText","correct":"String","wrong":e.confirmText})}));case 14:if(!(e.confirmText.replace(/[\u0391-\uFFE5]/g,"aa").length>8)){s.next=16;break}return s.abrupt("return",o.fail({"errMsg":"confirmText length should not larger then 4 Chinese characters"}));case 16:if("string"==typeof e.cancelColor){s.next=18;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"cancelColor","correct":"String","wrong":e.cancelColor})}));case 18:if("string"==typeof e.confirmColor){s.next=20;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"confirmColor","correct":"String","wrong":e.confirmColor})}));case 20:if(e.showCancel=!!e.showCancel,c="",b.el){s.next=28;break}return s.next=25,b.create(e);case 25:c=s.sent,s.next=31;break;case 28:return s.next=30,b.show(e);case 30:c=s.sent;case 31:return(d={"cancel":!1,"confirm":!1})[c]=!0,s.abrupt("return",o.success(d));case 34:case"end":return s.stop()}}),_callee)}))()}))};var E=function showActionSheet(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{"itemList":[]},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"showActionSheet";return(0,s.Z)().mark((function _callee2(){var i,r,a,o,c,d,p;return(0,s.Z)().wrap((function _callee2$(s){for(;;)switch(s.prev=s.next){case 0:if(init(document),e=Object.assign({"itemColor":"#000000","itemList":[]},e),r=(i=e).success,a=i.fail,o=i.complete,c=new l.N({"name":t,"success":r,"fail":a,"complete":o}),Array.isArray(e.itemList)){s.next=6;break}return s.abrupt("return",c.fail({"errMsg":(0,n.Hl)({"para":"itemList","correct":"Array","wrong":e.itemList})}));case 6:if(!(e.itemList.length<1)){s.next=8;break}return s.abrupt("return",c.fail({"errMsg":"parameter error: parameter.itemList should have at least 1 item"}));case 8:if(!(e.itemList.length>6)){s.next=10;break}return s.abrupt("return",c.fail({"errMsg":"parameter error: parameter.itemList should not be large than 6"}));case 10:d=0;case 11:if(!(d0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,i=void 0!==t&&t,s=e.success,r=e.fail,a=e.complete,o=new l.N({"name":"hideToast","success":s,"fail":r,"complete":a});f.el?(f.hide(0,i?"toast":""),o.success()):o.success()}(),y()),b.currentPath&&b.currentPath!==(null===(t=o.G.page)||void 0===t?void 0:t.path)&&function hideModal(){b.el&&b.hide()}()}))},"8931":function(e,t,i){"use strict";i.r(t),i.d(t,{"default":function(){return P}});var s=i(5671),r=i(3144),a=i(8361),o=i(9340),n=i(7294),l=i(9515),c=i(4536),d=i(4385),p=JSON.parse('{"i8":"4.0.7-canary.3"}'),u="0.73.10",h=i(4898),m=i(4046),g=i(9845),f=i(5893),b=(0,l.xI)(),w=b.version,v=b.platform,A=!!i.g.HermesInternal,y={"name":"隐私政策","onPress":function onPress(){(0,h.Ib)({"url":"https://api.fang.anjuke.com/wlk/message?id=2049","title":"隐私政策","right":"下载","open":"https://wos2.58cdn.com.cn/DeFazYxWvDti/frsupload/df70db603b651daa09a31b72f2b1b1f9.pdf"})}},x={"name":"版本更新","onPress":function onPress(){h.Fj&&"ios"===v?c.ZP.openUrl({"url":"https://apps.apple.com/cn/app/taro-playground/id1576830673"}):(0,h.Ib)({"url":"https://github.com/wuba/taro-playground/releases","title":"版本变更","certified":h.Fj})}},E={"name":"项目源码","onPress":function onPress(){(0,h.Ib)({"url":"https://github.com/wuba/taro-playground","title":"项目源码","certified":h.Fj})}},S={"name":"官方网站","onPress":function onPress(){(0,h.Ib)({"url":"https://docs.taro.zone","title":"官方网站","certified":h.Fj})}},T={"name":"Web 版本","onPress":function onPress(){(0,h.Ib)({"url":"https://wuba.github.io/taro-playground/","title":"Web 版本","certified":h.Fj})}},k={"name":"小程序版本","onPress":function onPress(){(0,h.tT)({"url":"https://pic3.58cdn.com.cn/nowater/frs/n_v23ec2613515c6458aaa44f01d459cea8b.jpg"})}},C={"name":"React Native 版本","onPress":function onPress(){(0,h.ff)({"android":"https://pic3.58cdn.com.cn/nowater/fangfe/n_v295dd481b6b2f446592350e3187716d03.png","ios":"https://pic1.58cdn.com.cn/nowater/fangfe/n_v224532e5560314106b6ab32b0a1534a9d.png"})}},M=h.Fj?[C,T,k,x]:h.$L?[C,k,x]:[C,T,x],I=h.Fj?[E,S,y]:[E,S],P=function(e){function Index(){return(0,s.Z)(this,Index),(0,a.Z)(this,Index,arguments)}return(0,o.Z)(Index,e),(0,r.Z)(Index,[{"key":"render","value":function render(){return(0,f.jsxs)(d.G7,{"className":"page","children":[(0,f.jsxs)(d.G7,{"className":"page-header","children":[(0,f.jsx)(d.Ee,{"src":g,"className":"page-header-img"}),(0,f.jsx)(d.G7,{"className":"page-header-desc","children":"Taro 是一个开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发 微信 / 京东 / 百度 / 支付宝 / 字节跳动 / QQ 小程序 / H5 / RN 等应用。"})]}),(0,f.jsx)(m.Z,{"title":"版本信息","data":M.map((function(e){return{"title":e.name}})),"handleItemClick":function handleItemClick(e,t){M[t].onPress()}}),(0,f.jsx)(m.Z,{"title":"相关链接","data":I.map((function(e){return{"title":e.name}})),"handleItemClick":function handleItemClick(e,t){I[t].onPress()}}),h.Fj?(0,f.jsxs)(d.G7,{"className":"page-footer","onClick":function onClick(){c.ZP.navigateTo({"url":"/pages/about/dep"})},"children":[(0,f.jsxs)(d.xv,{"className":"page-footer-text","children":["Taro: ",p.i8,", React Native: ",u,", Taro Playground: ",w]}),A&&(0,f.jsx)(d.xv,{"className":"page-footer-text","children":"Engine: Hermes"})]}):(0,f.jsx)(d.G7,{"className":"page-footer","children":(0,f.jsxs)(d.xv,{"className":"page-footer-text","children":["Taro: ",p.i8]})})]})}}])}(n.Component)},"4046":function(e,t,i){"use strict";i.d(t,{"Z":function(){return List}});var s=i(4385),r=i(7294),a=i(6146),o=i(6481),n=i(152),l=i(5893),c=function Divider(){return(0,l.jsx)(s.G7,{"style":{"height":a.WI,"backgroundColor":"#e5e5e5"}})};function List(e){var t=e.data,i=e.title,d=e.desc,p=e.handleClick,u=e.handleItemClick,h=e.handleInfoClick,m=t.length;return 0===m?null:(0,l.jsxs)(l.Fragment,{"children":[(0,l.jsxs)(s.G7,{"className":"list-header","children":[(0,l.jsx)(s.xv,{"className":"list-header-text","children":i}),(0,l.jsx)(s.xv,{"className":"list-header-text","onClick":p,"children":d})]}),(0,l.jsx)(c,{}),t.map((function(e,t){var i=e.image,c=e.title,d=e.showRightArrow,p=void 0===d||d,g=e.showInfo,f=void 0!==g&&g,b=e.data;return(0,l.jsx)(r.Fragment,{"children":(0,l.jsxs)(s.G7,{"hoverClass":"list-item-hover","hoverStyle":{"backgroundColor":"#fafafa"},"className":"list-item","onClick":function onClick(){null==u||u(b,t)},"children":[i&&(0,l.jsx)(s.Ee,{"className":"list-item-img","src":i}),(0,l.jsxs)(s.G7,{"className":"list-item-body","style":{"borderBottomWidth":t!=m-1?a.WI:0},"children":[(0,l.jsx)(s.G7,{"className":"list-item-content","children":(0,l.jsx)(s.xv,{"className":"list-item-title","ellipsizeMode":"tail","numberOfLines":1,"children":c})}),f&&(0,l.jsx)(s.G7,{"onClick":function onClick(e){var i;null===(i=e.stopPropagation)||void 0===i||i.call(e),null==h||h(b,t)},"className":"list-item-info","children":(0,l.jsx)(s.Ee,{"src":n,"className":"list-item-icon"})}),p&&(0,l.jsx)(s.G7,{"className":"list-item-box","children":(0,l.jsx)(s.Ee,{"src":o,"className":"list-item-icon"})})]})]})},t)})),(0,l.jsx)(c,{})]})}},"4898":function(e,t,i){"use strict";i.d(t,{"$L":function(){return o},"Fj":function(){return n},"Ib":function(){return loadWeb},"tT":function(){return loadMini},"ff":function(){return loadRn},"D5":function(){return hadlePermissionsDeny},"P2":function(){return throttle},"p":function(){return randomColor}});var s=i(4536),r=i(4371),a=i(8862),o=(0,s.dU)()===s.Q4.WEB,n=(0,s.dU)()===s.Q4.RN;function loadWeb(e){var t=e.url,i=e.title,r=e.right,a=e.open,n=e.certified,l=void 0===n||n;o?window.location.href=t:s.ZP.navigateTo({"url":"/pages/webview/index?certified=".concat(l,"&title=").concat(i,"&link=").concat(encodeURIComponent(t)).concat(r?"&right=".concat(r):"").concat(a?"&open=".concat(encodeURIComponent(a)):"")})}function loadMini(e){var t=e.url;s.ZP.navigateTo({"url":"/pages/about/mini?src="+encodeURIComponent(t)})}function loadRn(e){var t=e.android,i=e.ios;s.ZP.navigateTo({"url":"/pages/about/rn?android="+encodeURIComponent(t)+"&ios="+encodeURIComponent(i)})}function hadlePermissionsDeny(e){var t=e.perssionText;(0,r.K4)({"title":"提示","content":"请在“设置-隐私-".concat(t,"”选项中,允许 Taro 访问你的").concat(t,"。"),"confirmColor":"#6190E8","success":function success(e){e.confirm&&(0,a.a)()}})}function throttle(e,t){var i=0;return function(){var s=Date.now(),r=arguments;s-i>t&&(e.apply(this,r),i=s)}}function randomColor(){return"#".concat(Math.floor(16777215*Math.random()).toString(16))}},"6146":function(e,t,i){"use strict";i.d(t,{"WI":function(){return s},"vZ":function(){return r}});var s="0.5px",r=void 0},"1795":function(e,t,i){var s;e=i.nmd(e),function(){"use strict";var r={"function":!0,"object":!0},a=r[typeof window]&&window||this,o=r[typeof t]&&t,n=r.object&&e&&!e.nodeType&&e,l=o&&n&&"object"==typeof i.g&&i.g;!l||l.global!==l&&l.window!==l&&l.self!==l||(a=l);var c=Math.pow(2,53)-1,d=/\bOpera/,p=Object.prototype,u=p.hasOwnProperty,h=p.toString;function capitalize(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function format(e){return e=trim(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:capitalize(e)}function forOwn(e,t){for(var i in e)u.call(e,i)&&t(e[i],i,e)}function getClassOf(e){return null==e?capitalize(e):h.call(e).slice(8,-1)}function qualify(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function reduce(e,t){var i=null;return function each(e,t){var i=-1,s=e?e.length:0;if("number"==typeof s&&s>-1&&s<=c)for(;++i3?"WebKit":/\bOpera\b/.test(I)&&(/\bOPR\b/.test(e)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(M)&&"WebKit"||!M&&/\bMSIE\b/i.test(e)&&("Mac OS"==_?"Tasman":"Trident")||"WebKit"==M&&/\bPlayStation\b(?! Vita\b)/i.test(I)&&"NetFront")&&(M=[o]),"IE"==I&&(o=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(I+=" Mobile",_="Windows Phone "+(/\+$/.test(o)?o:o+".x"),S.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(I="IE Mobile",_="Windows Phone 8.x",S.unshift("desktop mode"),C||(C=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=I&&"Trident"==M&&(o=/\brv:([\d.]+)/.exec(e))&&(I&&S.push("identifying as "+I+(C?" "+C:"")),I="IE",C=o[1]),k){if(function isHostType(e,t){var i=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!e[t])}(t,"global"))if(f&&(E=(o=f.lang.System).getProperty("os.arch"),_=_||o.getProperty("os.name")+" "+o.getProperty("os.version")),b){try{C=t.require("ringo/engine").version.join("."),I="RingoJS"}catch(e){(o=t.system)&&o.global.system==t.system&&(I="Narwhal",_||(_=o[0].os||null))}I||(I="Rhino")}else"object"==typeof t.process&&!t.process.browser&&(o=t.process)&&("object"==typeof o.versions&&("string"==typeof o.versions.electron?(S.push("Node "+o.versions.node),I="Electron",C=o.versions.electron):"string"==typeof o.versions.nw&&(S.push("Chromium "+C,"Node "+o.versions.node),I="NW.js",C=o.versions.nw)),I||(I="Node.js",E=o.arch,_=o.platform,C=(C=/[\d.]+/.exec(o.version))?C[0]:null));else getClassOf(o=t.runtime)==p?(I="Adobe AIR",_=o.flash.system.Capabilities.os):getClassOf(o=t.phantom)==g?(I="PhantomJS",C=(o=o.version||null)&&o.major+"."+o.minor+"."+o.patch):"number"==typeof A.documentMode&&(o=/\bTrident\/(\d+)/i.exec(e))?(C=[C,A.documentMode],(o=+o[1]+4)!=C[1]&&(S.push("IE "+C[1]+" mode"),M&&(M[1]=""),C[1]=o),C="IE"==I?String(C[1].toFixed(1)):C[0]):"number"==typeof A.documentMode&&/^(?:Chrome|Firefox)\b/.test(I)&&(S.push("masking as "+I+" "+C),I="IE",C="11.0",M=["Trident"],_="Windows");_=_&&format(_)}if(C&&(o=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(C)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(k&&s.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(T=/b/i.test(o)?"beta":"alpha",C=C.replace(RegExp(o+"\\+?$"),"")+("beta"==T?v:w)+(/\d+\+?/.exec(o)||"")),"Fennec"==I||"Firefox"==I&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(_))I="Firefox Mobile";else if("Maxthon"==I&&C)C=C.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(P))"Xbox 360"==P&&(_=null),"Xbox 360"==P&&/\bIEMobile\b/.test(e)&&S.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(I)&&(!I||P||/Browser|Mobi/.test(I))||"Windows CE"!=_&&!/Mobi/i.test(e))if("IE"==I&&k)try{null===t.external&&S.unshift("platform preview")}catch(e){S.unshift("embedded")}else(/\bBlackBerry\b/.test(P)||/\bBB10\b/.test(e))&&(o=(RegExp(P.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||C)?(_=((o=[o,/BB10/.test(e)])[1]?(P=null,L="BlackBerry"):"Device Software")+" "+o[0],C=null):this!=forOwn&&"Wii"!=P&&(k&&y||/Opera/.test(I)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==I&&/\bOS X (?:\d+\.){2,}/.test(_)||"IE"==I&&(_&&!/^Win/.test(_)&&C>5.5||/\bWindows XP\b/.test(_)&&C>8||8==C&&!/\bTrident\b/.test(e)))&&!d.test(o=parse.call(forOwn,e.replace(d,"")+";"))&&o.name&&(o="ing as "+o.name+((o=o.version)?" "+o:""),d.test(I)?(/\bIE\b/.test(o)&&"Mac OS"==_&&(_=null),o="identify"+o):(o="mask"+o,I=x?format(x.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(o)&&(_=null),k||(C=null)),M=["Presto"],S.push(o));else I+=" Mobile";(o=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(o=[parseFloat(o.replace(/\.(\d)$/,".0$1")),o],"Safari"==I&&"+"==o[1].slice(-1)?(I="WebKit Nightly",T="alpha",C=o[1].slice(0,-1)):C!=o[1]&&C!=(o[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(C=null),o[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1],537.36==o[0]&&537.36==o[2]&&parseFloat(o[1])>=28&&"WebKit"==M&&(M=["Blink"]),k&&(l||o[1])?(M&&(M[1]="like Chrome"),o=o[1]||((o=o[0])<530?1:o<532?2:o<532.05?3:o<533?4:o<534.03?5:o<534.07?6:o<534.1?7:o<534.13?8:o<534.16?9:o<534.24?10:o<534.3?11:o<535.01?12:o<535.02?"13+":o<535.07?15:o<535.11?16:o<535.19?17:o<536.05?18:o<536.1?19:o<537.01?20:o<537.11?"21+":o<537.13?23:o<537.18?24:o<537.24?25:o<537.36?26:"Blink"!=M?"27":"28")):(M&&(M[1]="like Safari"),o=(o=o[0])<400?1:o<500?2:o<526?3:o<533?4:o<534?"4+":o<535?5:o<537?6:o<538?7:o<601?8:o<602?9:o<604?10:o<606?11:o<608?12:"12"),M&&(M[1]+=" "+(o+="number"==typeof o?".x":/[.+]/.test(o)?"":"+")),"Safari"==I&&(!C||parseInt(C)>45)?C=o:"Chrome"==I&&/\bHeadlessChrome/i.test(e)&&S.unshift("headless")),"Opera"==I&&(o=/\bzbov|zvav$/.exec(_))?(I+=" ",S.unshift("desktop mode"),"zvav"==o?(I+="Mini",C=null):I+="Mobile",_=_.replace(RegExp(" *"+o+"$"),"")):"Safari"==I&&/\bChrome\b/.exec(M&&M[1])?(S.unshift("desktop mode"),I="Chrome Mobile",C=null,/\bOS X\b/.test(_)?(L="Apple",_="iOS 4.3+"):_=null):/\bSRWare Iron\b/.test(I)&&!C&&(C=getVersion("Chrome")),C&&0==C.indexOf(o=/[\d.]+$/.exec(_))&&e.indexOf("/"+o+"-")>-1&&(_=trim(_.replace(o,""))),_&&-1!=_.indexOf(I)&&!RegExp(I+" OS").test(_)&&(_=_.replace(RegExp(" *"+qualify(I)+" *"),"")),M&&!/\b(?:Avant|Nook)\b/.test(I)&&(/Browser|Lunascape|Maxthon/.test(I)||"Safari"!=I&&/^iOS/.test(_)&&/\bSafari\b/.test(M[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(I)&&M[1])&&(o=M[M.length-1])&&S.push(o),S.length&&(S=["("+S.join("; ")+")"]),L&&P&&P.indexOf(L)<0&&S.push("on "+L),P&&S.push((/^on /.test(S[S.length-1])?"":"on ")+P),_&&(o=/ ([\d.+]+)$/.exec(_),n=o&&"/"==_.charAt(_.length-o[0].length-1),_={"architecture":32,"family":o&&!n?_.replace(o[0],""):_,"version":o?o[1]:null,"toString":function(){var e=this.version;return this.family+(e&&!n?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(o=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(E))&&!/\bi686\b/i.test(E)?(_&&(_.architecture=64,_.family=_.family.replace(RegExp(" *"+o),"")),I&&(/\bWOW64\b/i.test(e)||k&&/\w(?:86|32)$/.test(s.cpuClass||s.platform)&&!/\bWin64; x64\b/i.test(e))&&S.unshift("32-bit")):_&&/^OS X/.test(_.family)&&"Chrome"==I&&parseFloat(C)>=39&&(_.architecture=64),e||(e=null);var D={};return D.description=e,D.layout=M&&M[0],D.manufacturer=L,D.name=I,D.prerelease=T,D.product=P,D.ua=e,D.version=I&&C,D.os=_||{"architecture":null,"family":null,"version":null,"toString":function(){return"null"}},D.parse=parse,D.toString=function toStringPlatform(){return this.description||""},D.version&&S.unshift(C),D.name&&S.unshift(I),_&&I&&(_!=String(_).split(" ")[0]||_!=I.split(" ")[0]&&!P)&&S.push(P?"("+_+")":"on "+_),S.length&&(D.description=S.join(" ")),D}();a.platform=m,void 0===(s=function(){return m}.call(t,i,t,e))||(e.exports=s)}.call(this)},"5251":function(e,t,i){"use strict";var s=i(7294),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,n=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={"key":!0,"ref":!0,"__self":!0,"__source":!0};function q(e,t,i){var s,a={},c=null,d=null;for(s in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)o.call(t,s)&&!l.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{"$$typeof":r,"type":e,"key":c,"ref":d,"props":a,"_owner":n.current}}t.Fragment=a,t.jsx=q,t.jsxs=q},"5893":function(e,t,i){"use strict";e.exports=i(5251)},"9845":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/common/taro_logo.jpg"},"152":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/iconpark/info.png"},"6481":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/iconpark/right.png"}}]); \ No newline at end of file +(self.webpackJsonp=self.webpackJsonp||[]).push([[8931],{"1789":function(e,t,i){"use strict";i.d(t,{"h":function(){return handleStencilNodes},"n":function(){return notSupport}});var s=i(4536);function notSupport(e="",t={}){console.error(`H5 暂不支持 ${e} 组件!`),s.ZP.eventCenter.trigger("__taroNotSupport",{"name":e,"instance":t,"type":"component","category":"temporarily"})}function handleStencilNodes(e){var t;null===(t=null==e?void 0:e.childNodes)||void 0===t||t.forEach((e=>{e.nodeType===document.COMMENT_NODE&&e["s-cn"]&&(e["s-cn"]=!1),e.nodeType!==document.COMMENT_NODE&&e["s-sr"]&&(e["s-sr"]=!1)}))}},"6883":function(e,t,i){"use strict";i.d(t,{"M":function(){return k}});var s=i(7210);function isObject(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function extend(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:isObject(t[i])&&isObject(e[i])&&Object.keys(t[i]).length>0&&extend(e[i],t[i])}))}const r={"body":{},"addEventListener"(){},"removeEventListener"(){},"activeElement":{"blur"(){},"nodeName":""},"querySelector"(){return null},"querySelectorAll"(){return[]},"getElementById"(){return null},"createEvent"(){return{"initEvent"(){}}},"createElement"(){return{"children":[],"childNodes":[],"style":{},"setAttribute"(){},"getElementsByTagName"(){return[]}}},"createElementNS"(){return{}},"importNode"(){return null},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""}};function getDocument(){const e="undefined"!=typeof document?document:{};return extend(e,r),e}const a={"document":r,"navigator":{"userAgent":""},"location":{"hash":"","host":"","hostname":"","href":"","origin":"","pathname":"","protocol":"","search":""},"history":{"replaceState"(){},"pushState"(){},"go"(){},"back"(){}},"CustomEvent":function CustomEvent(){return this},"addEventListener"(){},"removeEventListener"(){},"getComputedStyle"(){return{"getPropertyValue"(){return""}}},"Image"(){},"Date"(){},"screen":{},"setTimeout"(){},"clearTimeout"(){},"matchMedia"(){return{}},"requestAnimationFrame"(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},"cancelAnimationFrame"(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function getWindow(){const e="undefined"!=typeof window?window:{};return extend(e,a),e}function classesToTokens(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function nextTick(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function now(){return Date.now()}function getTranslate(e,t){void 0===t&&(t="x");const i=getWindow();let s,r,a;const o=function utils_getComputedStyle(e){const t=getWindow();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new i.WebKitCSSMatrix("none"===r?"":r)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=a.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?a.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(r=i.WebKitCSSMatrix?a.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),r||0}function utils_isObject(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function utils_extend(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;st.indexOf(e)<0));for(let t=0,s=i.length;ta?"next":"prev",isOutOfBound=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,animate=()=>{o=(new Date).getTime(),null===n&&(n=o);const e=Math.max(Math.min((o-n)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let d=a+c*(i-a);if(isOutOfBound(d,i)&&(d=i),t.wrapperEl.scrollTo({[s]:d}),isOutOfBound(d,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:d})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(animate)};animate()}function getSlideTransformEl(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function elementChildren(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function showWarning(e){try{return void console.warn(e)}catch(e){}}function createElement(e,t){void 0===t&&(t=[]);const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:classesToTokens(t)),i}function elementOffset(e){const t=getWindow(),i=getDocument(),s=e.getBoundingClientRect(),r=i.body,a=e.clientTop||r.clientTop||0,o=e.clientLeft||r.clientLeft||0,n=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{"top":s.top+n-a,"left":s.left+l-o}}function elementStyle(e,t){return getWindow().getComputedStyle(e,null).getPropertyValue(t)}function elementIndex(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function elementParents(e,t){const i=[];let s=e.parentElement;for(;s;)t?s.matches(t)&&i.push(s):i.push(s),s=s.parentElement;return i}function elementTransitionEnd(e,t){t&&e.addEventListener("transitionend",(function fireCallBack(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",fireCallBack))}))}function elementOuterSize(e,t,i){const s=getWindow();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function makeElementsArray(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let o,n,l;function getSupport(){return o||(o=function calcSupport(){const e=getWindow(),t=getDocument();return{"smoothScroll":t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,"touch":!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),o}function getDevice(e){return void 0===e&&(e={}),n||(n=function calcDevice(e){let{"userAgent":t}=void 0===e?{}:e;const i=getSupport(),s=getWindow(),r=s.navigator.platform,a=t||s.navigator.userAgent,o={"ios":!1,"android":!1},n=s.screen.width,l=s.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const p=a.match(/(iPod)(.*OS\s([\d_]+))?/),u=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!d&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${n}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),c&&!h&&(o.os="android",o.android=!0),(d||u||p)&&(o.os="ios",o.ios=!0),o}(e)),n}function getBrowser(){return l||(l=function calcBrowser(){const e=getWindow(),t=getDevice();let i=!1;function isSafari(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(isSafari()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,s]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));i=e<16||16===e&&s<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=isSafari();return{"isSafari":i||r,"needPerspectiveFix":i,"need3dFix":r||s&&t.ios,"isWebView":s}}()),l}var c={"on"(e,t,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][r](t)})),s},"once"(e,t,i){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function onceHandler(){s.off(e,onceHandler),onceHandler.__emitterProxy&&delete onceHandler.__emitterProxy;for(var i=arguments.length,r=new Array(i),a=0;a=0&&t.eventsAnyListeners.splice(i,1),t},"off"(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((s,r)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},"emit"(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,s;for(var r=arguments.length,a=new Array(r),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(s,[t,...i])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(s,i)}))})),e}};const toggleSlideClasses=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)};const processLazyPreloader=(e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},unlazy=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},preload=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const s="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=r,a=[i-t];return a.push(...Array.from({"length":t}).map(((e,t)=>i+s+t))),void e.slides.forEach(((t,i)=>{a.includes(t.column)&&unlazy(e,i)}))}const a=r+s-1;if(e.params.rewind||e.params.loop)for(let s=r-t;s<=a+t;s+=1){const t=(s%i+i)%i;(ta)&&unlazy(e,t)}else for(let s=Math.max(r-t,0);s<=Math.min(a+t,i-1);s+=1)s!==r&&(s>a||s=0?w=parseFloat(w.replace("%",""))/100*r:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,c.forEach((e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),t.centeredSlides&&t.cssMode&&(setCSSProperty(i,"--swiper-centered-offset-before",""),setCSSProperty(i,"--swiper-centered-offset-after",""));const x=t.grid&&t.grid.rows>1&&e.grid;let E;x?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const S="auto"===t.slidesPerView&&t.breakpoints&&Object.keys(t.breakpoints).filter((e=>void 0!==t.breakpoints[e].slidesPerView)).length>0;for(let i=0;i1&&p.push(e.virtualSize-r)}if(n&&t.loop){const i=h[0]+w;if(t.slidesPerGroup>1){const s=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),r=i*t.slidesPerGroup;for(let e=0;e!(t.cssMode&&!t.loop)||i!==c.length-1)).forEach((e=>{e.style[i]=`${w}px`}))}if(t.centeredSlides&&t.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-r;p=p.map((e=>e<=0?-m:e>t?t+g:e))}if(t.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(w||0)})),e-=w,e{p[i]=e-t})),u.forEach(((e,i)=>{u[i]=e+t}))}}if(Object.assign(e,{"slides":c,"snapGrid":p,"slidesGrid":u,"slidesSizesGrid":h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){setCSSProperty(i,"--swiper-centered-offset-before",-p[0]+"px"),setCSSProperty(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(d!==l&&e.emit("slidesLengthChange"),p.length!==f&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==b&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(n||t.cssMode||"slide"!==t.effect&&"fade"!==t.effect)){const i=`${t.containerModifierClass}backface-hidden`,s=e.el.classList.contains(i);d<=t.maxBackfaceHiddenSlides?s||e.el.classList.add(i):s&&e.el.classList.remove(i)}},"updateAutoHeight":function updateAutoHeight(e){const t=this,i=[],s=t.virtual&&t.params.virtual.enabled;let r,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const getSlideByIndex=e=>s?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{i.push(e)}));else for(r=0;rt.slides.length&&!s)break;i.push(getSlideByIndex(e))}else i.push(getSlideByIndex(t.activeIndex));for(r=0;ra?e:a}(a||0===a)&&(t.wrapperEl.style.height=`${a}px`)},"updateSlidesOffset":function updateSlidesOffset(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let s=0;s{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let n=i.spaceBetween;"string"==typeof n&&n.indexOf("%")>=0?n=parseFloat(n.replace("%",""))/100*t.size:"string"==typeof n&&(n=parseFloat(n));for(let e=0;e=0&&u<=t.size-t.slidesSizesGrid[e];(u>=0&&u1&&h<=t.size||u<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),s[e].classList.add(i.slideVisibleClass)),m&&s[e].classList.add(i.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-p:p}},"updateProgress":function updateProgress(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,s=t.maxTranslate()-t.minTranslate();let{"progress":r,"isBeginning":a,"isEnd":o,"progressLoop":n}=t;const l=a,c=o;if(0===s)r=0,a=!0,o=!0;else{r=(e-t.minTranslate())/s;const i=Math.abs(e-t.minTranslate())<1,n=Math.abs(e-t.maxTranslate())<1;a=i||r<=0,o=n||r>=1,i&&(r=0),n&&(r=1)}if(i.loop){const i=t.getSlideIndexByData(0),s=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[i],a=t.slidesGrid[s],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);n=l>=r?(l-r)/o:(l+o-a)/o,n>1&&(n-=1)}Object.assign(t,{"progress":r,"progressLoop":n,"isBeginning":a,"isEnd":o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},"updateSlidesClasses":function updateSlidesClasses(){const e=this,{"slides":t,"params":i,"slidesEl":s,"activeIndex":r}=e,a=e.virtual&&i.virtual.enabled,o=e.grid&&i.grid&&i.grid.rows>1,getFilteredSlide=e=>elementChildren(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let n,l,c;if(a)if(i.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),n=getFilteredSlide(`[data-swiper-slide-index="${t}"]`)}else n=getFilteredSlide(`[data-swiper-slide-index="${r}"]`);else o?(n=t.filter((e=>e.column===r))[0],c=t.filter((e=>e.column===r+1))[0],l=t.filter((e=>e.column===r-1))[0]):n=t[r];n&&(o||(c=function elementNextAll(e,t){const i=[];for(;e.nextElementSibling;){const s=e.nextElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(n,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=t[0]),l=function elementPrevAll(e,t){const i=[];for(;e.previousElementSibling;){const s=e.previousElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(n,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!l&&(l=t[t.length-1]))),t.forEach((e=>{toggleSlideClasses(e,e===n,i.slideActiveClass),toggleSlideClasses(e,e===c,i.slideNextClass),toggleSlideClasses(e,e===l,i.slidePrevClass)})),e.emitSlidesClasses()},"updateActiveIndex":function updateActiveIndex(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{"snapGrid":s,"params":r,"activeIndex":a,"realIndex":o,"snapIndex":n}=t;let l,c=e;const getVirtualRealIndex=e=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i};if(void 0===c&&(c=function getActiveIndexByTranslate(e){const{"slidesGrid":t,"params":i}=e,s=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e=t[e]&&s=t[e]&&s=t[e]&&(r=e);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),s.indexOf(i)>=0)l=s.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=s.length&&(l=s.length-1),c===a&&!t.params.loop)return void(l!==n&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===a&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=getVirtualRealIndex(c));const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=getVirtualRealIndex(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(t.slides.indexOf(e),0)),p=Math.floor(i/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{"previousSnapIndex":n,"snapIndex":l,"previousRealIndex":o,"realIndex":p,"previousIndex":a,"activeIndex":c}),t.initialized&&preload(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},"updateClickedSlide":function updateClickedSlide(e,t){const i=this,s=i.params;let r=e.closest(`.${s.slideClass}, swiper-slide`);!r&&i.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${s.slideClass}, swiper-slide`)&&(r=e)}));let a,o=!1;if(r)for(let e=0;el?l:s&&eo?"next":a=l.length&&(f=l.length-1);const b=-l[f];if(n.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(o=e)}if(a.initialized&&o!==p){if(!a.allowSlideNext&&(u?b>a.translate&&b>a.minTranslate():ba.translate&&b>a.maxTranslate()&&(p||0)!==o)return!1}let w;if(o!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),w=o>p?"next":o0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=i}))):h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return animateCSSModeScroll({"swiper":a,"targetPosition":i,"side":e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,"behavior":"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,w),0===t?a.transitionEnd(i,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function transitionEnd(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,w))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},"slideToLoop":function slideToLoop(e,t,i,s){if(void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const a=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(a){const t=o*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(o);const t=a?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{"centeredSlides":i}=r.params;let n=r.params.slidesPerView;"auto"===n?n=r.slidesPerViewDynamic():(n=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&n%2==0&&(n+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame((()=>{r.slideTo(o,t,i,s)})),r},"slideNext":function slideNext(e,t,i){void 0===t&&(t=!0);const s=this,{"enabled":r,"params":a,"animating":o}=s;if(!r||s.destroyed)return s;void 0===e&&(e=s.params.speed);let n=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(n=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndex{s.slideTo(s.activeIndex+l,e,t,i)})),!0}return a.rewind&&s.isEnd?s.slideTo(0,e,t,i):s.slideTo(s.activeIndex+l,e,t,i)},"slidePrev":function slidePrev(e,t,i){void 0===t&&(t=!0);const s=this,{"params":r,"snapGrid":a,"slidesGrid":o,"rtlTranslate":n,"enabled":l,"animating":c}=s;if(!l||s.destroyed)return s;void 0===e&&(e=s.params.speed);const d=s.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;s.loopFix({"direction":"prev"}),s._clientLeft=s.wrapperEl.clientLeft}function normalize(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=normalize(n?s.translate:-s.translate),u=a.map((e=>normalize(e)));let h=a[u.indexOf(p)-1];if(void 0===h&&r.cssMode){let e;a.forEach(((t,i)=>{p>=t&&(e=i)})),void 0!==e&&(h=a[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=o.indexOf(h),m<0&&(m=s.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&s.isBeginning){const r=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(r,e,t,i)}return r.loop&&0===s.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{s.slideTo(m,e,t,i)})),!0):s.slideTo(m,e,t,i)},"slideReset":function slideReset(e,t,i){void 0===t&&(t=!0);const s=this;if(!s.destroyed)return void 0===e&&(e=s.params.speed),s.slideTo(s.activeIndex,e,t,i)},"slideToClosest":function slideToClosest(e,t,i,s){void 0===t&&(t=!0),void 0===s&&(s=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let a=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,a),n=o+Math.floor((a-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[n]){const e=r.snapGrid[n];l-e>(r.snapGrid[n+1]-e)*s&&(a+=r.params.slidesPerGroup)}else{const e=r.snapGrid[n-1];l-e<=(r.snapGrid[n]-e)*s&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,e,t,i)},"slideToClickedSlide":function slideToClickedSlide(){const e=this;if(e.destroyed)return;const{"params":t,"slidesEl":i}=e,s="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,a=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+s/2?(e.loopFix(),a=e.getSlideIndex(elementChildren(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),nextTick((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-s?(e.loopFix(),a=e.getSlideIndex(elementChildren(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),nextTick((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var h={"loopCreate":function loopCreate(e){const t=this,{"params":i,"slidesEl":s}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const initSlides=()=>{elementChildren(s,`.${i.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},r=t.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(r?i.grid.rows:1),o=t.slides.length%a!=0,n=r&&t.slides.length%i.grid.rows!=0,addBlankSlides=e=>{for(let s=0;s1;c.lengthe.classList.contains(h.slideActiveClass)))[0]):y=a;const x="next"===s||!s,E="prev"===s||!s;let S=0,T=0;const k=w?Math.ceil(c.length/h.grid.rows):c.length,C=(w?c[a].column:a)+(m&&void 0===r?-g/2+.5:0);if(C=0;t-=1)c[t].column===e&&v.push(t)}else v.push(k-t-1)}}else if(C+g>k-b){T=Math.max(C-(k-2*b),f);for(let e=0;e{e.column===t&&A.push(i)})):A.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),E&&v.forEach((e=>{c[e].swiperLoopMoveDOM=!0,u.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),x&&A.forEach((e=>{c[e].swiperLoopMoveDOM=!0,u.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():w&&(v.length>0&&E||A.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),i)if(v.length>0&&E){if(void 0===t){const e=l.slidesGrid[y],t=l.slidesGrid[y+S]-e;n?l.setTranslate(l.translate-t):(l.slideTo(y+Math.ceil(S),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=w?v.length/h.grid.rows:v.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(A.length>0&&x)if(void 0===t){const e=l.slidesGrid[y],t=l.slidesGrid[y-T]-e;n?l.setTranslate(l.translate-t):(l.slideTo(y-T,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=w?A.length/h.grid.rows:A.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=p,l.controller&&l.controller.control&&!o){const e={"slideRealIndex":t,"direction":s,"setTranslate":r,"activeSlideIndex":a,"byController":!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,"slideTo":t.params.slidesPerView===h.slidesPerView&&i})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,"slideTo":l.controller.control.params.slidesPerView===h.slidesPerView&&i})}l.emit("loopFix")},"loopDestroy":function loopDestroy(){const e=this,{"params":t,"slidesEl":i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const s=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;s[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),s.forEach((e=>{i.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function preventEdgeSwipe(e,t,i){const s=getWindow(),{"params":r}=e,a=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!a||!(i<=o||i>=s.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function onTouchStart(e){const t=this,i=getDocument();let s=e;s.originalEvent&&(s=s.originalEvent);const r=t.touchEventsData;if("pointerdown"===s.type){if(null!==r.pointerId&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else"touchstart"===s.type&&1===s.targetTouches.length&&(r.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type)return void preventEdgeSwipe(t,s,s.targetTouches[0].pageX);const{"params":a,"touches":o,"enabled":n}=t;if(!n)return;if(!a.simulateTouch&&"mouse"===s.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let l=s.target;if("wrapper"===a.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which"in s&&3===s.which)return;if("button"in s&&s.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!a.noSwipingClass&&""!==a.noSwipingClass,d=s.composedPath?s.composedPath():s.path;c&&s.target&&s.target.shadowRoot&&d&&(l=d[0]);const p=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,u=!(!s.target||!s.target.shadowRoot);if(a.noSwiping&&(u?function closestElement(e,t){return void 0===t&&(t=this),function __closestFrom(t){if(!t||t===getDocument()||t===getWindow())return null;t.assignedSlot&&(t=t.assignedSlot);const i=t.closest(e);return i||t.getRootNode?i||__closestFrom(t.getRootNode().host):null}(t)}(p,l):l.closest(p)))return void(t.allowClick=!0);if(a.swipeHandler&&!l.closest(a.swipeHandler))return;o.currentX=s.pageX,o.currentY=s.pageY;const h=o.currentX,m=o.currentY;if(!preventEdgeSwipe(t,s,h))return;Object.assign(r,{"isTouched":!0,"isMoved":!1,"allowTouchCallbacks":!0,"isScrolling":void 0,"startMoving":void 0}),o.startX=h,o.startY=m,r.touchStartTime=now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let g=!0;l.matches(r.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==l&&i.activeElement.blur();const f=g&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!f||l.isContentEditable||s.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}function onTouchMove(e){const t=getDocument(),i=this,s=i.touchEventsData,{"params":r,"touches":a,"rtlTranslate":o,"enabled":n}=i;if(!n)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==s.touchId)return;if(c.pointerId!==s.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===s.touchId))[0],!l||l.identifier!==s.touchId)return}else l=c;if(!s.isTouched)return void(s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",c));const d=l.pageX,p=l.pageY;if(c.preventedByNestedSwiper)return a.startX=d,void(a.startY=p);if(!i.allowTouchMove)return c.target.matches(s.focusableElements)||(i.allowClick=!1),void(s.isTouched&&(Object.assign(a,{"startX":d,"startY":p,"currentX":d,"currentY":p}),s.touchStartTime=now()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(pa.startY&&i.translate>=i.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(da.startX&&i.translate>=i.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(s.focusableElements))return s.isMoved=!0,void(i.allowClick=!1);s.allowTouchCallbacks&&i.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=p;const u=a.currentX-a.startX,h=a.currentY-a.startY;if(i.params.threshold&&Math.sqrt(u**2+h**2)=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(u))/Math.PI,s.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",c),void 0===s.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(s.startMoving=!0)),s.isScrolling)return void(s.isTouched=!1);if(!s.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let m=i.isHorizontal()?u:h,g=i.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),a.diff=m,m*=r.touchRatio,o&&(m=-m,g=-g);const f=i.touchesDirection;i.swipeDirection=m>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const b=i.params.loop&&!r.cssMode,w="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!s.isMoved){if(b&&w&&i.loopFix({"direction":i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});i.wrapperEl.dispatchEvent(e)}s.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)}if((new Date).getTime(),s.isMoved&&s.allowThresholdMove&&f!==i.touchesDirection&&b&&w&&Math.abs(m)>=1)return Object.assign(a,{"startX":d,"startY":p,"currentX":d,"currentY":p,"startTranslate":s.currentTranslate}),s.loopSwapReset=!0,void(s.startTranslate=s.currentTranslate);i.emit("sliderMove",c),s.isMoved=!0,s.currentTranslate=m+s.startTranslate;let v=!0,A=r.resistanceRatio;if(r.touchReleaseOnEdges&&(A=0),m>0?(b&&w&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({"direction":"prev","setTranslate":!0,"activeSlideIndex":0}),s.currentTranslate>i.minTranslate()&&(v=!1,r.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+m)**A))):m<0&&(b&&w&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({"direction":"next","setTranslate":!0,"activeSlideIndex":i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),i.allowSlidePrev||i.allowSlideNext||(s.currentTranslate=s.startTranslate),r.threshold>0){if(!(Math.abs(m)>r.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,s.currentTranslate=s.startTranslate,void(a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function onTouchEnd(e){const t=this,i=t.touchEventsData;let s,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(s=[...r.changedTouches].filter((e=>e.identifier===i.touchId))[0],!s||s.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return;s=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{"params":a,"touches":o,"rtlTranslate":n,"slidesGrid":l,"enabled":c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&t.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=now(),p=d-i.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),p<300&&d-i.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(i.lastClickTime=now(),nextTick((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?n?t.translate:-t.translate:-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({"currentPos":u});const h=u>=-t.maxTranslate()&&!t.params.loop;let m=0,g=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e])&&(m=e,g=l[l.length-1]-l[l.length-2])}let f=null,b=null;a.rewind&&(t.isBeginning?b=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const w=(u-l[m])/g,v=ma.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?f:m+v):t.slideTo(m)),"prev"===t.swipeDirection&&(w>1-a.longSwipesRatio?t.slideTo(m+v):null!==b&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(b):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+v):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==f?f:m+v),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:m))}}function onResize(){const e=this,{"params":t,"el":i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{"allowSlideNext":s,"allowSlidePrev":r,"snapGrid":a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const n=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||n?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=s,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function onClick(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function onScroll(){const e=this,{"wrapperEl":t,"rtlTranslate":i,"enabled":s}=e;if(!s)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();r=0===a?0:(e.translate-e.minTranslate())/a,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function onLoad(e){const t=this;processLazyPreloader(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function onDocumentTouchStart(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const events=(e,t)=>{const i=getDocument(),{"params":s,"el":r,"wrapperEl":a,"device":o}=e,n=!!s.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i[l]("touchstart",e.onDocumentTouchStart,{"passive":!1,"capture":n}),r[l]("touchstart",e.onTouchStart,{"passive":!1}),r[l]("pointerdown",e.onTouchStart,{"passive":!1}),i[l]("touchmove",e.onTouchMove,{"passive":!1,"capture":n}),i[l]("pointermove",e.onTouchMove,{"passive":!1,"capture":n}),i[l]("touchend",e.onTouchEnd,{"passive":!0}),i[l]("pointerup",e.onTouchEnd,{"passive":!0}),i[l]("pointercancel",e.onTouchEnd,{"passive":!0}),i[l]("touchcancel",e.onTouchEnd,{"passive":!0}),i[l]("pointerout",e.onTouchEnd,{"passive":!0}),i[l]("pointerleave",e.onTouchEnd,{"passive":!0}),i[l]("contextmenu",e.onTouchEnd,{"passive":!0}),(s.preventClicks||s.preventClicksPropagation)&&r[l]("click",e.onClick,!0),s.cssMode&&a[l]("scroll",e.onScroll),s.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):e[c]("observerUpdate",onResize,!0),r[l]("load",e.onLoad,{"capture":!0})};const isGridEnabled=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var m={"init":!0,"direction":"horizontal","oneWayMovement":!1,"swiperElementNodeName":"SWIPER-CONTAINER","touchEventsTarget":"wrapper","initialSlide":0,"speed":300,"cssMode":!1,"updateOnWindowResize":!0,"resizeObserver":!0,"nested":!1,"createElements":!1,"eventsPrefix":"swiper","enabled":!0,"focusableElements":"input, select, option, textarea, button, video, label","width":null,"height":null,"preventInteractionOnTransition":!1,"userAgent":null,"url":null,"edgeSwipeDetection":!1,"edgeSwipeThreshold":20,"autoHeight":!1,"setWrapperSize":!1,"virtualTranslate":!1,"effect":"slide","breakpoints":void 0,"breakpointsBase":"window","spaceBetween":0,"slidesPerView":1,"slidesPerGroup":1,"slidesPerGroupSkip":0,"slidesPerGroupAuto":!1,"centeredSlides":!1,"centeredSlidesBounds":!1,"slidesOffsetBefore":0,"slidesOffsetAfter":0,"normalizeSlideIndex":!0,"centerInsufficientSlides":!1,"watchOverflow":!0,"roundLengths":!1,"touchRatio":1,"touchAngle":45,"simulateTouch":!0,"shortSwipes":!0,"longSwipes":!0,"longSwipesRatio":.5,"longSwipesMs":300,"followFinger":!0,"allowTouchMove":!0,"threshold":5,"touchMoveStopPropagation":!1,"touchStartPreventDefault":!0,"touchStartForcePreventDefault":!1,"touchReleaseOnEdges":!1,"uniqueNavElements":!0,"resistance":!0,"resistanceRatio":.85,"watchSlidesProgress":!1,"grabCursor":!1,"preventClicks":!0,"preventClicksPropagation":!0,"slideToClickedSlide":!1,"loop":!1,"loopAddBlankSlides":!0,"loopAdditionalSlides":0,"loopPreventsSliding":!0,"rewind":!1,"allowSlidePrev":!0,"allowSlideNext":!0,"swipeHandler":null,"noSwiping":!0,"noSwipingClass":"swiper-no-swiping","noSwipingSelector":null,"passiveListeners":!0,"maxBackfaceHiddenSlides":10,"containerModifierClass":"swiper-","slideClass":"swiper-slide","slideBlankClass":"swiper-slide-blank","slideActiveClass":"swiper-slide-active","slideVisibleClass":"swiper-slide-visible","slideFullyVisibleClass":"swiper-slide-fully-visible","slideNextClass":"swiper-slide-next","slidePrevClass":"swiper-slide-prev","wrapperClass":"swiper-wrapper","lazyPreloaderClass":"swiper-lazy-preloader","lazyPreloadPrevNext":0,"runCallbacksOnInit":!0,"_emitClasses":!1};function moduleExtendParams(e,t){return function extendParams(i){void 0===i&&(i={});const s=Object.keys(i)[0],r=i[s];"object"==typeof r&&null!==r?(!0===e[s]&&(e[s]={"enabled":!0}),"navigation"===s&&e[s]&&e[s].enabled&&!e[s].prevEl&&!e[s].nextEl&&(e[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&e[s]&&e[s].enabled&&!e[s].el&&(e[s].auto=!0),s in e&&"enabled"in r?("object"!=typeof e[s]||"enabled"in e[s]||(e[s].enabled=!0),e[s]||(e[s]={"enabled":!1}),utils_extend(t,i)):utils_extend(t,i)):utils_extend(t,i)}}const g={"eventsEmitter":c,"update":d,"translate":p,"transition":{"setTransition":function setTransition(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`,i.wrapperEl.style.transitionDelay=0===e?"0ms":""),i.emit("setTransition",e,t)},"transitionStart":function transitionStart(e,t){void 0===e&&(e=!0);const i=this,{"params":s}=i;s.cssMode||(s.autoHeight&&i.updateAutoHeight(),transitionEmit({"swiper":i,"runCallbacks":e,"direction":t,"step":"Start"}))},"transitionEnd":function transitionEnd(e,t){void 0===e&&(e=!0);const i=this,{"params":s}=i;i.animating=!1,s.cssMode||(i.setTransition(0),transitionEmit({"swiper":i,"runCallbacks":e,"direction":t,"step":"End"}))}},"slide":u,"loop":h,"grabCursor":{"setGrabCursor":function setGrabCursor(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},"unsetGrabCursor":function unsetGrabCursor(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},"events":{"attachEvents":function attachEvents(){const e=this,{"params":t}=e;e.onTouchStart=onTouchStart.bind(e),e.onTouchMove=onTouchMove.bind(e),e.onTouchEnd=onTouchEnd.bind(e),e.onDocumentTouchStart=onDocumentTouchStart.bind(e),t.cssMode&&(e.onScroll=onScroll.bind(e)),e.onClick=onClick.bind(e),e.onLoad=onLoad.bind(e),events(e,"on")},"detachEvents":function detachEvents(){events(this,"off")}},"breakpoints":{"setBreakpoint":function setBreakpoint(){const e=this,{"realIndex":t,"initialized":i,"params":s,"el":r}=e,a=s.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const n=(o in a?a[o]:void 0)||e.originalParams,l=isGridEnabled(e,s),c=isGridEnabled(e,n),d=e.params.grabCursor,p=n.grabCursor,u=s.enabled;l&&!c?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${s.containerModifierClass}grid`),(n.grid.fill&&"column"===n.grid.fill||!n.grid.fill&&"column"===s.grid.fill)&&r.classList.add(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!p?e.unsetGrabCursor():!d&&p&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===n[t])return;const i=s[t]&&s[t].enabled,r=n[t]&&n[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()}));const h=n.direction&&n.direction!==s.direction,m=s.loop&&(n.slidesPerView!==s.slidesPerView||h),g=s.loop;h&&i&&e.changeDirection(),utils_extend(e.params,n);const f=e.params.enabled,b=e.params.loop;Object.assign(e,{"allowTouchMove":e.params.allowTouchMove,"allowSlideNext":e.params.allowSlideNext,"allowSlidePrev":e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",n),i&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&b?(e.loopCreate(t),e.updateSlides()):g&&!b&&e.loopDestroy()),e.emit("breakpoint",n)},"getBreakpoint":function getBreakpoint(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let s=!1;const r=getWindow(),a="window"===t?r.innerHeight:i.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{"value":a*t,"point":e}}return{"value":e,"point":e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},"classes":{"addClasses":function addClasses(){const e=this,{"classNames":t,"params":i,"rtl":s,"el":r,"device":a}=e,o=function prepareClasses(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&i.push(t+s)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"free-mode":e.params.freeMode&&i.freeMode.enabled},{"autoheight":i.autoHeight},{"rtl":s},{"grid":i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{"android":a.android},{"ios":a.ios},{"css-mode":i.cssMode},{"centered":i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},"removeClasses":function removeClasses(){const{"el":e,"classNames":t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},f={};class Swiper{"constructor"(){let e,t;for(var i=arguments.length,s=new Array(i),r=0;r1){const e=[];return a.querySelectorAll(t.el).forEach((i=>{const s=utils_extend({},t,{"el":i});e.push(new Swiper(s))})),e}const o=this;o.__swiper__=!0,o.support=getSupport(),o.device=getDevice({"userAgent":t.userAgent}),o.browser=getBrowser(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const n={};o.modules.forEach((e=>{e({"params":t,"swiper":o,"extendParams":moduleExtendParams(t,n),"on":o.on.bind(o),"once":o.once.bind(o),"off":o.off.bind(o),"emit":o.emit.bind(o)})}));const l=utils_extend({},m,n);return o.params=utils_extend({},l,f,t),o.originalParams=utils_extend({},o.params),o.passedParams=utils_extend({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{"enabled":o.params.enabled,"el":e,"classNames":[],"slides":[],"slidesGrid":[],"snapGrid":[],"slidesSizesGrid":[],"isHorizontal"(){return"horizontal"===o.params.direction},"isVertical"(){return"vertical"===o.params.direction},"activeIndex":0,"realIndex":0,"isBeginning":!0,"isEnd":!1,"translate":0,"previousTranslate":0,"progress":0,"velocity":0,"animating":!1,"cssOverflowAdjustment"(){return Math.trunc(this.translate/2**23)*2**23},"allowSlideNext":o.params.allowSlideNext,"allowSlidePrev":o.params.allowSlidePrev,"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,"focusableElements":o.params.focusableElements,"lastClickTime":0,"clickTimeout":void 0,"velocities":[],"allowMomentumBounce":void 0,"startMoving":void 0,"pointerId":null,"touchId":null},"allowClick":!0,"allowTouchMove":o.params.allowTouchMove,"touches":{"startX":0,"startY":0,"currentX":0,"currentY":0,"diff":0},"imagesToLoad":[],"imagesLoaded":0}),o.emit("_swiper"),o.params.init&&o.init(),o}"getDirectionLabel"(e){return this.isHorizontal()?e:{"width":"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom","marginRight":"marginBottom"}[e]}"getSlideIndex"(e){const{"slidesEl":t,"params":i}=this,s=elementIndex(elementChildren(t,`.${i.slideClass}, swiper-slide`)[0]);return elementIndex(e)-s}"getSlideIndexByData"(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}"recalcSlides"(){const{"slidesEl":e,"params":t}=this;this.slides=elementChildren(e,`.${t.slideClass}, swiper-slide`)}"enable"(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}"disable"(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}"setProgress"(e,t){const i=this;e=Math.min(Math.max(e,0),1);const s=i.minTranslate(),r=(i.maxTranslate()-s)*e+s;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}"emitContainerClasses"(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}"getSlideClasses"(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}"emitSlidesClasses"(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((i=>{const s=e.getSlideClasses(i);t.push({"slideEl":i,"classNames":s}),e.emit("_slideClass",i,s)})),e.emit("_slideClasses",t)}"slidesPerViewDynamic"(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{"params":i,"slides":s,"slidesGrid":r,"slidesSizesGrid":a,"size":o,"activeIndex":n}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=s[n]?Math.ceil(s[n].swiperSlideSize):0;for(let i=n+1;io&&(e=!0));for(let i=n-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=n+1;e=0;e-=1){r[n]-r[e]{t.complete&&processLazyPreloader(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)setTranslate(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||setTranslate()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}"changeDirection"(e,t){void 0===t&&(t=!0);const i=this,s=i.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}"changeLanguageDirection"(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}"mount"(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const getWrapperSelector=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){return i.shadowRoot.querySelector(getWrapperSelector())}return elementChildren(i,getWrapperSelector())[0]})();return!s&&t.params.createElements&&(s=createElement("div",t.params.wrapperClass),i.append(s),elementChildren(i,`.${t.params.slideClass}`).forEach((e=>{s.append(e)}))),Object.assign(t,{"el":i,"wrapperEl":s,"slidesEl":t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:s,"hostEl":t.isElement?i.parentNode.host:i,"mounted":!0,"rtl":"rtl"===i.dir.toLowerCase()||"rtl"===elementStyle(i,"direction"),"rtlTranslate":"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===elementStyle(i,"direction")),"wrongRTL":"-webkit-box"===elementStyle(s,"display")}),!0}"init"(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach((e=>{e.complete?processLazyPreloader(t,e):e.addEventListener("load",(e=>{processLazyPreloader(t,e.target)}))})),preload(t),t.initialized=!0,preload(t),t.emit("init"),t.emit("afterInit"),t}"destroy"(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{"params":s,"el":r,"wrapperEl":a,"slides":o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),a.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.el.swiper=null,function deleteProps(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static"extendDefaults"(e){utils_extend(f,e)}static get"extendedDefaults"(){return f}static get"defaults"(){return m}static"installModule"(e){Swiper.prototype.__modules__||(Swiper.prototype.__modules__=[]);const t=Swiper.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static"use"(e){return Array.isArray(e)?(e.forEach((e=>Swiper.installModule(e))),Swiper):(Swiper.installModule(e),Swiper)}}function createElementIfNotDefined(e,t,i,s){return e.params.createElements&&Object.keys(s).forEach((r=>{if(!i[r]&&!0===i.auto){let a=elementChildren(e.el,`.${s[r]}`)[0];a||(a=createElement("div",s[r]),a.className=s[r],e.el.append(a)),i[r]=a,t[r]=a}})),i}function classesToSelector(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function appendSlide(e){const t=this,{"params":i,"slidesEl":s}=t;i.loop&&t.loopDestroy();const appendElement=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,s.append(t.children[0]),t.innerHTML=""}else s.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,r.prepend(t.children[0]),t.innerHTML=""}else r.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t=n)return void i.appendSlide(t);let l=o>e?o+1:o;const c=[];for(let t=n-1;t>=e;t-=1){const e=i.slides[t];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?o+t.length:o}else a.append(t);for(let e=0;e{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),n&&n()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)})),s("setTranslate",(()=>{i.params.effect===t&&r()})),s("setTransition",((e,s)=>{i.params.effect===t&&a(s)})),s("transitionEnd",(()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;i.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),s("virtualUpdate",(()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame((()=>{d&&i.slides&&i.slides.length&&(r(),d=!1)})))}))}function effectTarget(e,t){const i=getSlideTransformEl(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function effectVirtualTransitionEnd(e){let{"swiper":t,"duration":i,"transformElements":s,"allSlides":r}=e;const{"activeIndex":a}=t;if(t.params.virtualTranslate&&0!==i){let e,i=!1;e=r?s:s.filter((e=>{const i=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(i)===a})),e.forEach((e=>{elementTransitionEnd(e,(()=>{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{"bubbles":!0,"cancelable":!0});t.wrapperEl.dispatchEvent(e)}))}))}}function createShadow(e,t,i){const s=`swiper-slide-shadow${i?`-${i}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=getSlideTransformEl(t);let a=r.querySelector(`.${s.split(" ").join(".")}`);return a||(a=createElement("div",s.split(" ")),r.append(a)),a}Object.keys(g).forEach((e=>{Object.keys(g[e]).forEach((t=>{Swiper.prototype[t]=g[e][t]}))})),Swiper.use([function Resize(e){let{"swiper":t,"on":i,"emit":s}=e;const r=getWindow();let a=null,o=null;const resizeHandler=()=>{t&&!t.destroyed&&t.initialized&&(s("beforeResize"),s("resize"))},orientationChangeHandler=()=>{t&&!t.destroyed&&t.initialized&&s("orientationchange")};i("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{o=r.requestAnimationFrame((()=>{const{"width":i,"height":s}=t;let r=i,a=s;e.forEach((e=>{let{"contentBoxSize":i,"contentRect":s,"target":o}=e;o&&o!==t.el||(r=s?s.width:(i[0]||i).inlineSize,a=s?s.height:(i[0]||i).blockSize)})),r===i&&a===s||resizeHandler()}))})),a.observe(t.el)):(r.addEventListener("resize",resizeHandler),r.addEventListener("orientationchange",orientationChangeHandler))})),i("destroy",(()=>{o&&r.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),r.removeEventListener("resize",resizeHandler),r.removeEventListener("orientationchange",orientationChangeHandler)}))},function Observer(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=[],o=getWindow(),attach=function(e,i){void 0===i&&(i={});const s=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const i=function observerUpdate(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)}));s.observe(e,{"attributes":void 0===i.attributes||i.attributes,"childList":void 0===i.childList||i.childList,"characterData":void 0===i.characterData||i.characterData}),a.push(s)};i({"observer":!1,"observeParents":!1,"observeSlideChildren":!1}),s("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=elementParents(t.hostEl);for(let t=0;t{a.forEach((e=>{e.disconnect()})),a.splice(0,a.length)}))}]);const b=[function Virtual(e){let t,{"swiper":i,"extendParams":s,"on":r,"emit":a}=e;s({"virtual":{"enabled":!1,"slides":[],"cache":!0,"renderSlide":null,"renderExternal":null,"renderExternalUpdate":!0,"addSlidesBefore":0,"addSlidesAfter":0}});const o=getDocument();i.virtual={"cache":{},"from":void 0,"to":void 0,"slides":[],"offset":0,"slidesGrid":[]};const n=o.createElement("div");function renderSlide(e,t){const s=i.params.virtual;if(s.cache&&i.virtual.cache[t])return i.virtual.cache[t];let r;return s.renderSlide?(r=s.renderSlide.call(i,e,t),"string"==typeof r&&(n.innerHTML=r,r=n.children[0])):r=i.isElement?createElement("swiper-slide"):createElement("div",i.params.slideClass),r.setAttribute("data-swiper-slide-index",t),s.renderSlide||(r.innerHTML=e),s.cache&&(i.virtual.cache[t]=r),r}function update(e,t){const{"slidesPerView":s,"slidesPerGroup":r,"centeredSlides":o,"loop":n,"initialSlide":l}=i.params;if(t&&!n&&l>0)return;const{"addSlidesBefore":c,"addSlidesAfter":d}=i.params.virtual,{"from":p,"to":u,"slides":h,"slidesGrid":m,"offset":g}=i.virtual;i.params.cssMode||i.updateActiveIndex();const f=i.activeIndex||0;let b,w,v;b=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",o?(w=Math.floor(s/2)+r+d,v=Math.floor(s/2)+r+c):(w=s+(r-1)+d,v=(n?s:r)+c);let A=f-v,y=f+w;n||(A=Math.max(A,0),y=Math.min(y,h.length-1));let x=(i.slidesGrid[A]||0)-(i.slidesGrid[0]||0);function onRendered(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),a("virtualUpdate")}if(n&&f>=v?(A-=v,o||(x+=i.slidesGrid[0])):n&&f{e.style[b]=x-Math.abs(i.cssOverflowAdjustment())+"px"})),i.updateProgress(),void a("virtualUpdate");if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{"offset":x,"from":A,"to":y,"slides":function getSlides(){const e=[];for(let t=A;t<=y;t+=1)e.push(h[t]);return e}()}),void(i.params.virtual.renderExternalUpdate?onRendered():a("virtualUpdate"));const E=[],S=[],getSlideIndex=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)i.slides.filter((e=>e.matches(`.${i.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let e=p;e<=u;e+=1)if(ey){const t=getSlideIndex(e);i.slides.filter((e=>e.matches(`.${i.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`))).forEach((e=>{e.remove()}))}const T=n?-h.length:0,k=n?2*h.length:h.length;for(let t=T;t=A&&t<=y){const i=getSlideIndex(t);void 0===u||e?S.push(i):(t>u&&S.push(i),t{i.slidesEl.append(renderSlide(h[e],e))})),n)for(let e=E.length-1;e>=0;e-=1){const t=E[e];i.slidesEl.prepend(renderSlide(h[t],t))}else E.sort(((e,t)=>t-e)),E.forEach((e=>{i.slidesEl.prepend(renderSlide(h[e],e))}));elementChildren(i.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[b]=x-Math.abs(i.cssOverflowAdjustment())+"px"})),onRendered()}r("beforeInit",(()=>{if(!i.params.virtual.enabled)return;let e;if(void 0===i.passedParams.virtual.slides){const t=[...i.slidesEl.children].filter((e=>e.matches(`.${i.params.slideClass}, swiper-slide`)));t&&t.length&&(i.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),i.virtual.cache[t]=e,e.remove()})))}e||(i.virtual.slides=i.params.virtual.slides),i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,update(!1,!0)})),r("setTranslate",(()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{update()}),100)):update())})),r("init update resize",(()=>{i.params.virtual.enabled&&i.params.cssMode&&setCSSProperty(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)})),Object.assign(i.virtual,{"appendSlide":function appendSlide(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const s=e[i],a=s.getAttribute("data-swiper-slide-index");a&&s.setAttribute("data-swiper-slide-index",parseInt(a,10)+r),t[parseInt(i,10)+r]=s})),i.virtual.cache=t}update(!0),i.slideTo(s,0)},"removeSlide":function removeSlide(e){if(null==e)return;let t=i.activeIndex;if(Array.isArray(e))for(let s=e.length-1;s>=0;s-=1)i.params.virtual.cache&&(delete i.virtual.cache[e[s]],Object.keys(i.virtual.cache).forEach((t=>{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])}))),i.virtual.slides.splice(e[s],1),e[s]{t>e&&(i.virtual.cache[t-1]=i.virtual.cache[t],i.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete i.virtual.cache[t])}))),i.virtual.slides.splice(e,1),e0&&0===elementParents(t.el,`.${t.params.slideActiveClass}`).length)return;const s=t.el,r=s.clientWidth,a=s.clientHeight,n=o.innerWidth,l=o.innerHeight,c=elementOffset(s);i&&(c.left-=s.scrollLeft);const d=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+a],[c.left+r,c.top+a]];for(let t=0;t=0&&i[0]<=n&&i[1]>=0&&i[1]<=l){if(0===i[0]&&0===i[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!i||(c||p)&&i)&&t.slideNext(),((c||p)&&!i||(d||u)&&i)&&t.slidePrev()):((c||d||h||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||m)&&t.slideNext(),(c||h)&&t.slidePrev()),r("keyPress",n)}}function enable(){t.keyboard.enabled||(a.addEventListener("keydown",handle),t.keyboard.enabled=!0)}function disable(){t.keyboard.enabled&&(a.removeEventListener("keydown",handle),t.keyboard.enabled=!1)}t.keyboard={"enabled":!1},i({"keyboard":{"enabled":!1,"onlyInViewport":!0,"pageUpDown":!0}}),s("init",(()=>{t.params.keyboard.enabled&&enable()})),s("destroy",(()=>{t.keyboard.enabled&&disable()})),Object.assign(t.keyboard,{"enable":enable,"disable":disable})},function Mousewheel(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getWindow();let o;i({"mousewheel":{"enabled":!1,"releaseOnEdges":!1,"invert":!1,"forceToAxis":!1,"sensitivity":1,"eventsTarget":"container","thresholdDelta":null,"thresholdTime":null,"noMousewheelClass":"swiper-no-mousewheel"}}),t.mousewheel={"enabled":!1};let n,l=now();const c=[];function handleMouseEnter(){t.enabled&&(t.mouseEntered=!0)}function handleMouseLeave(){t.enabled&&(t.mouseEntered=!1)}function animateSlider(e){return!(t.params.mousewheel.thresholdDelta&&e.delta=6&&now()-l<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),r("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),r("scroll",e.raw)),l=(new a.Date).getTime(),!1)))}function handle(e){let i=e,s=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const a=t.params.mousewheel;t.params.cssMode&&i.preventDefault();let l=t.el;"container"!==t.params.mousewheel.eventsTarget&&(l=document.querySelector(t.params.mousewheel.eventsTarget));const d=l&&l.contains(i.target);if(!t.mouseEntered&&!d&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let p=0;const u=t.rtlTranslate?-1:1,h=function normalize(e){let t=0,i=0,s=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=r,r=0),(s||r)&&e.deltaMode&&(1===e.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!t&&(t=s<1?-1:1),r&&!i&&(i=r<1?-1:1),{"spinX":t,"spinY":i,"pixelX":s,"pixelY":r}}(i);if(a.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;p=-h.pixelX*u}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;p=-h.pixelY}else p=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*u:-h.pixelY;if(0===p)return!0;a.invert&&(p=-p);let m=t.getTranslate()+p*a.sensitivity;if(m>=t.minTranslate()&&(m=t.minTranslate()),m<=t.maxTranslate()&&(m=t.maxTranslate()),s=!!t.params.loop||!(m===t.minTranslate()||m===t.maxTranslate()),s&&t.params.nested&&i.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={"time":now(),"delta":Math.abs(p),"direction":Math.sign(p)},s=n&&e.time=t.minTranslate()&&(l=t.minTranslate()),l<=t.maxTranslate()&&(l=t.maxTranslate()),t.setTransition(0),t.setTranslate(l),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({"direction":e.direction<0?"next":"prev","byMousewheel":!0}),t.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,s=c[0];if(c.push(e),i&&(e.delta>i.delta||e.direction!==i.direction))c.splice(0);else if(c.length>=15&&e.time-s.time<500&&s.delta-e.delta>=1&&e.delta<=6){const i=p>0?.8:.2;n=e,c.splice(0),o=nextTick((()=>{t.slideToClosest(t.params.speed,!0,void 0,i)}),0)}o||(o=nextTick((()=>{n=e,c.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(s||r("scroll",i),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),a.releaseOnEdges&&(l===t.minTranslate()||l===t.maxTranslate()))return!0}}else{const i={"time":now(),"delta":Math.abs(p),"direction":Math.sign(p),"raw":e};c.length>=2&&c.shift();const s=c.length?c[c.length-1]:void 0;if(c.push(i),s?(i.direction!==s.direction||i.delta>s.delta||i.time>s.time+150)&&animateSlider(i):animateSlider(i),function releaseScroll(e){const i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function events(e){let i=t.el;"container"!==t.params.mousewheel.eventsTarget&&(i=document.querySelector(t.params.mousewheel.eventsTarget)),i[e]("mouseenter",handleMouseEnter),i[e]("mouseleave",handleMouseLeave),i[e]("wheel",handle)}function enable(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",handle),!0):!t.mousewheel.enabled&&(events("addEventListener"),t.mousewheel.enabled=!0,!0)}function disable(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,handle),!0):!!t.mousewheel.enabled&&(events("removeEventListener"),t.mousewheel.enabled=!1,!0)}s("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&disable(),t.params.mousewheel.enabled&&enable()})),s("destroy",(()=>{t.params.cssMode&&enable(),t.mousewheel.enabled&&disable()})),Object.assign(t.mousewheel,{"enable":enable,"disable":disable})},function Navigation(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;function getEl(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e),i)?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i?e:i)}function toggleEl(e,i){const s=t.params.navigation;(e=makeElementsArray(e)).forEach((e=>{e&&(e.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass))}))}function update(){const{"nextEl":e,"prevEl":i}=t.navigation;if(t.params.loop)return toggleEl(i,!1),void toggleEl(e,!1);toggleEl(i,t.isBeginning&&!t.params.rewind),toggleEl(e,t.isEnd&&!t.params.rewind)}function onPrevClick(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function onNextClick(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function init(){const e=t.params.navigation;if(t.params.navigation=createElementIfNotDefined(t,t.originalParams.navigation,t.params.navigation,{"nextEl":"swiper-button-next","prevEl":"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let i=getEl(e.nextEl),s=getEl(e.prevEl);Object.assign(t.navigation,{"nextEl":i,"prevEl":s}),i=makeElementsArray(i),s=makeElementsArray(s);const initButton=(i,s)=>{i&&i.addEventListener("click","next"===s?onNextClick:onPrevClick),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};i.forEach((e=>initButton(e,"next"))),s.forEach((e=>initButton(e,"prev")))}function destroy(){let{"nextEl":e,"prevEl":i}=t.navigation;e=makeElementsArray(e),i=makeElementsArray(i);const destroyButton=(e,i)=>{e.removeEventListener("click","next"===i?onNextClick:onPrevClick),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>destroyButton(e,"next"))),i.forEach((e=>destroyButton(e,"prev")))}i({"navigation":{"nextEl":null,"prevEl":null,"hideOnClick":!1,"disabledClass":"swiper-button-disabled","hiddenClass":"swiper-button-hidden","lockClass":"swiper-button-lock","navigationDisabledClass":"swiper-navigation-disabled"}}),t.navigation={"nextEl":null,"prevEl":null},s("init",(()=>{!1===t.params.navigation.enabled?disable():(init(),update())})),s("toEdge fromEdge lock unlock",(()=>{update()})),s("destroy",(()=>{destroy()})),s("enable disable",(()=>{let{"nextEl":e,"prevEl":i}=t.navigation;e=makeElementsArray(e),i=makeElementsArray(i),t.enabled?update():[...e,...i].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),s("click",((e,i)=>{let{"nextEl":s,"prevEl":a}=t.navigation;s=makeElementsArray(s),a=makeElementsArray(a);const o=i.target;if(t.params.navigation.hideOnClick&&!a.includes(o)&&!s.includes(o)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;s.length?e=s[0].classList.contains(t.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...s,...a].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const disable=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),destroy()};Object.assign(t.navigation,{"enable":()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),init(),update()},"disable":disable,"update":update,"init":init,"destroy":destroy})},function Pagination(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a="swiper-pagination";let o;i({"pagination":{"el":null,"bulletElement":"span","clickable":!1,"hideOnClick":!1,"renderBullet":null,"renderProgressbar":null,"renderFraction":null,"renderCustom":null,"progressbarOpposite":!1,"type":"bullets","dynamicBullets":!1,"dynamicMainBullets":1,"formatFractionCurrent":e=>e,"formatFractionTotal":e=>e,"bulletClass":`${a}-bullet`,"bulletActiveClass":`${a}-bullet-active`,"modifierClass":`${a}-`,"currentClass":`${a}-current`,"totalClass":`${a}-total`,"hiddenClass":`${a}-hidden`,"progressbarFillClass":`${a}-progressbar-fill`,"progressbarOppositeClass":`${a}-progressbar-opposite`,"clickableClass":`${a}-clickable`,"lockClass":`${a}-lock`,"horizontalClass":`${a}-horizontal`,"verticalClass":`${a}-vertical`,"paginationDisabledClass":`${a}-disabled`}}),t.pagination={"el":null,"bullets":[]};let n=0;function isPaginationDisabled(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function setSideBullets(e,i){const{"bulletActiveClass":s}=t.params.pagination;e&&(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${s}-${i}`),(e=e[("prev"===i?"previous":"next")+"ElementSibling"])&&e.classList.add(`${s}-${i}-${i}`))}function onBulletClick(e){const i=e.target.closest(classesToSelector(t.params.pagination.bulletClass));if(!i)return;e.preventDefault();const s=elementIndex(i)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===s)return;t.slideToLoop(s)}else t.slideTo(s)}function update(){const e=t.rtl,i=t.params.pagination;if(isPaginationDisabled())return;let s,a,l=t.pagination.el;l=makeElementsArray(l);const c=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,d=t.params.loop?Math.ceil(c/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(a=t.previousRealIndex||0,s=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(s=t.snapIndex,a=t.previousSnapIndex):(a=t.previousIndex||0,s=t.activeIndex||0),"bullets"===i.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let c,d,p;if(i.dynamicBullets&&(o=elementOuterSize(r[0],t.isHorizontal()?"width":"height",!0),l.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=o*(i.dynamicMainBullets+4)+"px"})),i.dynamicMainBullets>1&&void 0!==a&&(n+=s-(a||0),n>i.dynamicMainBullets-1?n=i.dynamicMainBullets-1:n<0&&(n=0)),c=Math.max(s-n,0),d=c+(Math.min(r.length,i.dynamicMainBullets)-1),p=(d+c)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${i.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),l.length>1)r.forEach((e=>{const r=elementIndex(e);r===s?e.classList.add(...i.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),i.dynamicBullets&&(r>=c&&r<=d&&e.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),r===c&&setSideBullets(e,"prev"),r===d&&setSideBullets(e,"next"))}));else{const e=r[s];if(e&&e.classList.add(...i.bulletActiveClass.split(" ")),t.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")})),i.dynamicBullets){const e=r[c],t=r[d];for(let e=c;e<=d;e+=1)r[e]&&r[e].classList.add(...`${i.bulletActiveClass}-main`.split(" "));setSideBullets(e,"prev"),setSideBullets(t,"next")}}if(i.dynamicBullets){const s=Math.min(r.length,i.dynamicMainBullets+4),a=(o*s-o)/2-p*o,n=e?"right":"left";r.forEach((e=>{e.style[t.isHorizontal()?n:"top"]=`${a}px`}))}}l.forEach(((e,a)=>{if("fraction"===i.type&&(e.querySelectorAll(classesToSelector(i.currentClass)).forEach((e=>{e.textContent=i.formatFractionCurrent(s+1)})),e.querySelectorAll(classesToSelector(i.totalClass)).forEach((e=>{e.textContent=i.formatFractionTotal(d)}))),"progressbar"===i.type){let r;r=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(s+1)/d;let o=1,n=1;"horizontal"===r?o=a:n=a,e.querySelectorAll(classesToSelector(i.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${n})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===i.type&&i.renderCustom?(e.innerHTML=i.renderCustom(t,s+1,d),0===a&&r("paginationRender",e)):(0===a&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass)}))}function render(){const e=t.params.pagination;if(isPaginationDisabled())return;const i=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let s=t.pagination.el;s=makeElementsArray(s);let a="";if("bullets"===e.type){let s=t.params.loop?Math.ceil(i/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&s>i&&(s=i);for(let i=0;i`}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``),t.pagination.bullets=[],s.forEach((i=>{"custom"!==e.type&&(i.innerHTML=a||""),"bullets"===e.type&&t.pagination.bullets.push(...i.querySelectorAll(classesToSelector(e.bulletClass)))})),"custom"!==e.type&&r("paginationRender",s[0])}function init(){t.params.pagination=createElementIfNotDefined(t,t.originalParams.pagination,t.params.pagination,{"el":"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let i;"string"==typeof e.el&&t.isElement&&(i=t.el.querySelector(e.el)),i||"string"!=typeof e.el||(i=[...document.querySelectorAll(e.el)]),i||(i=e.el),i&&0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(i)&&i.length>1&&(i=[...t.el.querySelectorAll(e.el)],i.length>1&&(i=i.filter((e=>elementParents(e,".swiper")[0]===t.el))[0])),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(t.pagination,{"el":i}),i=makeElementsArray(i),i.forEach((i=>{"bullets"===e.type&&e.clickable&&i.classList.add(...(e.clickableClass||"").split(" ")),i.classList.add(e.modifierClass+e.type),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(i.classList.add(`${e.modifierClass}${e.type}-dynamic`),n=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.classList.add(e.progressbarOppositeClass),e.clickable&&i.addEventListener("click",onBulletClick),t.enabled||i.classList.add(e.lockClass)})))}function destroy(){const e=t.params.pagination;if(isPaginationDisabled())return;let i=t.pagination.el;i&&(i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.hiddenClass),i.classList.remove(e.modifierClass+e.type),i.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(i.classList.remove(...(e.clickableClass||"").split(" ")),i.removeEventListener("click",onBulletClick))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}s("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{"el":i}=t.pagination;i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),s("init",(()=>{!1===t.params.pagination.enabled?disable():(init(),render(),update())})),s("activeIndexChange",(()=>{void 0===t.snapIndex&&update()})),s("snapIndexChange",(()=>{update()})),s("snapGridLengthChange",(()=>{render(),update()})),s("destroy",(()=>{destroy()})),s("enable disable",(()=>{let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),s("lock unlock",(()=>{update()})),s("click",((e,i)=>{const s=i.target,a=makeElementsArray(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a&&a.length>0&&!s.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&s===t.navigation.nextEl||t.navigation.prevEl&&s===t.navigation.prevEl))return;const e=a[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),a.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const disable=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),destroy()};Object.assign(t.pagination,{"enable":()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{"el":e}=t.pagination;e&&(e=makeElementsArray(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),init(),render(),update()},"disable":disable,"render":render,"update":update,"init":init,"destroy":destroy})},function Scrollbar(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getDocument();let o,n,l,c,d=!1,p=null,u=null;function setTranslate(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{"scrollbar":e,"rtlTranslate":i}=t,{"dragEl":s,"el":r}=e,a=t.params.scrollbar,o=t.params.loop?t.progressLoop:t.progress;let c=n,d=(l-n)*o;i?(d=-d,d>0?(c=n-d,d=0):-d+n>l&&(c=l+d)):d<0?(c=n+d,d=0):d+n>l&&(c=l-d),t.isHorizontal()?(s.style.transform=`translate3d(${d}px, 0, 0)`,s.style.width=`${c}px`):(s.style.transform=`translate3d(0px, ${d}px, 0)`,s.style.height=`${c}px`),a.hide&&(clearTimeout(p),r.style.opacity=1,p=setTimeout((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3))}function updateSize(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{"scrollbar":e}=t,{"dragEl":i,"el":s}=e;i.style.width="",i.style.height="",l=t.isHorizontal()?s.offsetWidth:s.offsetHeight,c=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),n="auto"===t.params.scrollbar.dragSize?l*c:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?i.style.width=`${n}px`:i.style.height=`${n}px`,s.style.display=c>=1?"none":"",t.params.scrollbar.hide&&(s.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function getPointerPosition(e){return t.isHorizontal()?e.clientX:e.clientY}function setDragPosition(e){const{"scrollbar":i,"rtlTranslate":s}=t,{"el":r}=i;let a;a=(getPointerPosition(e)-elementOffset(r)[t.isHorizontal()?"left":"top"]-(null!==o?o:n/2))/(l-n),a=Math.max(Math.min(a,1),0),s&&(a=1-a);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}function onDragStart(e){const i=t.params.scrollbar,{"scrollbar":s,"wrapperEl":a}=t,{"el":n,"dragEl":l}=s;d=!0,o=e.target===l?getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",l.style.transitionDuration="100ms",setDragPosition(e),clearTimeout(u),n.style.transitionDuration="0ms",i.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function onDragMove(e){const{"scrollbar":i,"wrapperEl":s}=t,{"el":a,"dragEl":o}=i;d&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,setDragPosition(e),s.style.transitionDuration="0ms",a.style.transitionDuration="0ms",o.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function onDragEnd(e){const i=t.params.scrollbar,{"scrollbar":s,"wrapperEl":a}=t,{"el":o}=s;d&&(d=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),i.hide&&(clearTimeout(u),u=nextTick((()=>{o.style.opacity=0,o.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())}function events(e){const{"scrollbar":i,"params":s}=t,r=i.el;if(!r)return;const o=r,n=!!s.passiveListeners&&{"passive":!1,"capture":!1},l=!!s.passiveListeners&&{"passive":!0,"capture":!1};if(!o)return;const c="on"===e?"addEventListener":"removeEventListener";o[c]("pointerdown",onDragStart,n),a[c]("pointermove",onDragMove,n),a[c]("pointerup",onDragEnd,l)}function init(){const{"scrollbar":e,"el":i}=t;t.params.scrollbar=createElementIfNotDefined(t,t.originalParams.scrollbar,t.params.scrollbar,{"el":"swiper-scrollbar"});const s=t.params.scrollbar;if(!s.el)return;let r,o;if("string"==typeof s.el&&t.isElement&&(r=t.el.querySelector(s.el)),r||"string"!=typeof s.el)r||(r=s.el);else if(r=a.querySelectorAll(s.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===i.querySelectorAll(s.el).length&&(r=i.querySelector(s.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?s.horizontalClass:s.verticalClass),r&&(o=r.querySelector(classesToSelector(t.params.scrollbar.dragClass)),o||(o=createElement("div",t.params.scrollbar.dragClass),r.append(o))),Object.assign(e,{"el":r,"dragEl":o}),s.draggable&&function enableDraggable(){t.params.scrollbar.el&&t.scrollbar.el&&events("on")}(),r&&r.classList[t.enabled?"remove":"add"](...classesToTokens(t.params.scrollbar.lockClass))}function destroy(){const e=t.params.scrollbar,i=t.scrollbar.el;i&&i.classList.remove(...classesToTokens(t.isHorizontal()?e.horizontalClass:e.verticalClass)),function disableDraggable(){t.params.scrollbar.el&&t.scrollbar.el&&events("off")}()}i({"scrollbar":{"el":null,"dragSize":"auto","hide":!1,"draggable":!1,"snapOnRelease":!0,"lockClass":"swiper-scrollbar-lock","dragClass":"swiper-scrollbar-drag","scrollbarDisabledClass":"swiper-scrollbar-disabled","horizontalClass":"swiper-scrollbar-horizontal","verticalClass":"swiper-scrollbar-vertical"}}),t.scrollbar={"el":null,"dragEl":null},s("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{"el":i}=t.scrollbar;i=makeElementsArray(i),i.forEach((i=>{i.classList.remove(e.horizontalClass,e.verticalClass),i.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),s("init",(()=>{!1===t.params.scrollbar.enabled?disable():(init(),updateSize(),setTranslate())})),s("update resize observerUpdate lock unlock changeDirection",(()=>{updateSize()})),s("setTranslate",(()=>{setTranslate()})),s("setTransition",((e,i)=>{!function setTransition(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(i)})),s("enable disable",(()=>{const{"el":e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...classesToTokens(t.params.scrollbar.lockClass))})),s("destroy",(()=>{destroy()}));const disable=()=>{t.el.classList.add(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),destroy()};Object.assign(t.scrollbar,{"enable":()=>{t.el.classList.remove(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...classesToTokens(t.params.scrollbar.scrollbarDisabledClass)),init(),updateSize(),setTranslate()},"disable":disable,"updateSize":updateSize,"setTranslate":setTranslate,"init":init,"destroy":destroy})},function Parallax(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"parallax":{"enabled":!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",setTransform=(e,i)=>{const{"rtl":s}=t,r=s?-1:1,a=e.getAttribute("data-swiper-parallax")||"0";let o=e.getAttribute("data-swiper-parallax-x"),n=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),c=e.getAttribute("data-swiper-parallax-opacity"),d=e.getAttribute("data-swiper-parallax-rotate");if(o||n?(o=o||"0",n=n||"0"):t.isHorizontal()?(o=a,n="0"):(n=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*r+"%":o*i*r+"px",n=n.indexOf("%")>=0?parseInt(n,10)*i+"%":n*i+"px",null!=c){const t=c-(c-1)*(1-Math.abs(i));e.style.opacity=t}let p=`translate3d(${o}, ${n}, 0px)`;if(null!=l){p+=` scale(${l-(l-1)*(1-Math.abs(i))})`}if(d&&null!=d){p+=` rotate(${d*i*-1}deg)`}e.style.transform=p},setTranslate=()=>{const{"el":e,"slides":i,"progress":s,"snapGrid":a,"isElement":o}=t,n=elementChildren(e,r);t.isElement&&n.push(...elementChildren(t.hostEl,r)),n.forEach((e=>{setTransform(e,s)})),i.forEach(((e,i)=>{let o=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(o+=Math.ceil(i/2)-s*(a.length-1)),o=Math.min(Math.max(o,-1),1),e.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach((e=>{setTransform(e,o)}))}))};s("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{t.params.parallax.enabled&&setTranslate()})),s("setTranslate",(()=>{t.params.parallax.enabled&&setTranslate()})),s("setTransition",((e,i)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{"el":i,"hostEl":s}=t,a=[...i.querySelectorAll(r)];t.isElement&&a.push(...s.querySelectorAll(r)),a.forEach((t=>{let i=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),t.style.transitionDuration=`${i}ms`}))}(i)}))},function Zoom(e){let{"swiper":t,"extendParams":i,"on":s,"emit":r}=e;const a=getWindow();i({"zoom":{"enabled":!1,"limitToOriginalSize":!1,"maxRatio":3,"minRatio":1,"toggle":!0,"containerClass":"swiper-zoom-container","zoomedSlideClass":"swiper-slide-zoomed"}}),t.zoom={"enabled":!1};let o,n,l=1,c=!1;const d=[],p={"originX":0,"originY":0,"slideEl":void 0,"slideWidth":void 0,"slideHeight":void 0,"imageEl":void 0,"imageWrapEl":void 0,"maxRatio":3},u={"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":{}},h={"x":void 0,"y":void 0,"prevPositionX":void 0,"prevPositionY":void 0,"prevTime":void 0};let m=1;function getDistanceBetweenTouches(){if(d.length<2)return 1;const e=d[0].pageX,t=d[0].pageY,i=d[1].pageX,s=d[1].pageY;return Math.sqrt((i-e)**2+(s-t)**2)}function getMaxRatio(){const e=t.params.zoom,i=p.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&p.imageEl&&p.imageEl.naturalWidth){const e=p.imageEl.naturalWidth/p.imageEl.offsetWidth;return Math.min(e,i)}return i}function eventWithinSlide(e){const i=function getSlideSelector(){return t.isElement?"swiper-slide":`.${t.params.slideClass}`}();return!!e.target.matches(i)||t.slides.filter((t=>t.contains(e.target))).length>0}function onGestureStart(e){if("mouse"===e.pointerType&&d.splice(0,d.length),!eventWithinSlide(e))return;const i=t.params.zoom;if(o=!1,n=!1,d.push(e),!(d.length<2)){if(o=!0,p.scaleStart=getDistanceBetweenTouches(),!p.slideEl){p.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),p.slideEl||(p.slideEl=t.slides[t.activeIndex]);let s=p.slideEl.querySelector(`.${i.containerClass}`);if(s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=s,p.imageWrapEl=s?elementParents(p.imageEl,`.${i.containerClass}`)[0]:void 0,!p.imageWrapEl)return void(p.imageEl=void 0);p.maxRatio=getMaxRatio()}if(p.imageEl){const[e,t]=function getScaleOrigin(){if(d.length<2)return{"x":null,"y":null};const e=p.imageEl.getBoundingClientRect();return[(d[0].pageX+(d[1].pageX-d[0].pageX)/2-e.x-a.scrollX)/l,(d[0].pageY+(d[1].pageY-d[0].pageY)/2-e.y-a.scrollY)/l]}();p.originX=e,p.originY=t,p.imageEl.style.transitionDuration="0ms"}c=!0}}function onGestureChange(e){if(!eventWithinSlide(e))return;const i=t.params.zoom,s=t.zoom,r=d.findIndex((t=>t.pointerId===e.pointerId));r>=0&&(d[r]=e),d.length<2||(n=!0,p.scaleMove=getDistanceBetweenTouches(),p.imageEl&&(s.scale=p.scaleMove/p.scaleStart*l,s.scale>p.maxRatio&&(s.scale=p.maxRatio-1+(s.scale-p.maxRatio+1)**.5),s.scalet.pointerId===e.pointerId));r>=0&&d.splice(r,1),o&&n&&(o=!1,n=!1,p.imageEl&&(s.scale=Math.max(Math.min(s.scale,p.maxRatio),i.minRatio),p.imageEl.style.transitionDuration=`${t.params.speed}ms`,p.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`,l=s.scale,c=!1,s.scale>1&&p.slideEl?p.slideEl.classList.add(`${i.zoomedSlideClass}`):s.scale<=1&&p.slideEl&&p.slideEl.classList.remove(`${i.zoomedSlideClass}`),1===s.scale&&(p.originX=0,p.originY=0,p.slideEl=void 0)))}function onTouchMove(e){if(!eventWithinSlide(e)||!function eventWithinZoomContainer(e){const i=`.${t.params.zoom.containerClass}`;return!!e.target.matches(i)||[...t.hostEl.querySelectorAll(i)].filter((t=>t.contains(e.target))).length>0}(e))return;const i=t.zoom;if(!p.imageEl)return;if(!u.isTouched||!p.slideEl)return;u.isMoved||(u.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,u.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,u.startX=getTranslate(p.imageWrapEl,"x")||0,u.startY=getTranslate(p.imageWrapEl,"y")||0,p.slideWidth=p.slideEl.offsetWidth,p.slideHeight=p.slideEl.offsetHeight,p.imageWrapEl.style.transitionDuration="0ms");const s=u.width*i.scale,r=u.height*i.scale;if(s0?d[0].pageX:e.pageX,u.touchesCurrent.y=d.length>0?d[0].pageY:e.pageY;if(Math.max(Math.abs(u.touchesCurrent.x-u.touchesStart.x),Math.abs(u.touchesCurrent.y-u.touchesStart.y))>5&&(t.allowClick=!1),!u.isMoved&&!c){if(t.isHorizontal()&&(Math.floor(u.minX)===Math.floor(u.startX)&&u.touchesCurrent.xu.touchesStart.x))return void(u.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(u.minY)===Math.floor(u.startY)&&u.touchesCurrent.yu.touchesStart.y))return void(u.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),u.isMoved=!0;const a=(i.scale-l)/(p.maxRatio-t.params.zoom.minRatio),{"originX":o,"originY":n}=p;u.currentX=u.touchesCurrent.x-u.touchesStart.x+u.startX+a*(u.width-2*o),u.currentY=u.touchesCurrent.y-u.touchesStart.y+u.startY+a*(u.height-2*n),u.currentXu.maxX&&(u.currentX=u.maxX-1+(u.currentX-u.maxX+1)**.8),u.currentYu.maxY&&(u.currentY=u.maxY-1+(u.currentY-u.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=u.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=u.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(u.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(u.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(u.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(u.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=u.touchesCurrent.x,h.prevPositionY=u.touchesCurrent.y,h.prevTime=Date.now(),p.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function onTransitionEnd(){const e=t.zoom;p.slideEl&&t.activeIndex!==t.slides.indexOf(p.slideEl)&&(p.imageEl&&(p.imageEl.style.transform="translate3d(0,0,0) scale(1)"),p.imageWrapEl&&(p.imageWrapEl.style.transform="translate3d(0,0,0)"),p.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,l=1,p.slideEl=void 0,p.imageEl=void 0,p.imageWrapEl=void 0,p.originX=0,p.originY=0)}function zoomIn(e){const i=t.zoom,s=t.params.zoom;if(!p.slideEl){e&&e.target&&(p.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),p.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?p.slideEl=elementChildren(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:p.slideEl=t.slides[t.activeIndex]);let i=p.slideEl.querySelector(`.${s.containerClass}`);i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=i,p.imageWrapEl=i?elementParents(p.imageEl,`.${s.containerClass}`)[0]:void 0}if(!p.imageEl||!p.imageWrapEl)return;let r,o,n,c,d,h,m,g,f,b,w,v,A,y,x,E,S,T;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),p.slideEl.classList.add(`${s.zoomedSlideClass}`),void 0===u.touchesStart.x&&e?(r=e.pageX,o=e.pageY):(r=u.touchesStart.x,o=u.touchesStart.y);const k="number"==typeof e?e:null;1===l&&k&&(r=void 0,o=void 0);const C=getMaxRatio();i.scale=k||C,l=k||C,!e||1===l&&k?(m=0,g=0):(S=p.slideEl.offsetWidth,T=p.slideEl.offsetHeight,n=elementOffset(p.slideEl).left+a.scrollX,c=elementOffset(p.slideEl).top+a.scrollY,d=n+S/2-r,h=c+T/2-o,f=p.imageEl.offsetWidth||p.imageEl.clientWidth,b=p.imageEl.offsetHeight||p.imageEl.clientHeight,w=f*i.scale,v=b*i.scale,A=Math.min(S/2-w/2,0),y=Math.min(T/2-v/2,0),x=-A,E=-y,m=d*i.scale,g=h*i.scale,mx&&(m=x),gE&&(g=E)),k&&1===i.scale&&(p.originX=0,p.originY=0),p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform=`translate3d(${m}px, ${g}px,0)`,p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`}function zoomOut(){const e=t.zoom,i=t.params.zoom;if(!p.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?p.slideEl=elementChildren(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:p.slideEl=t.slides[t.activeIndex];let e=p.slideEl.querySelector(`.${i.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=e,p.imageWrapEl=e?elementParents(p.imageEl,`.${i.containerClass}`)[0]:void 0}p.imageEl&&p.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform="translate3d(0,0,0)",p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform="translate3d(0,0,0) scale(1)",p.slideEl.classList.remove(`${i.zoomedSlideClass}`),p.slideEl=void 0,p.originX=0,p.originY=0)}function zoomToggle(e){const i=t.zoom;i.scale&&1!==i.scale?zoomOut():zoomIn(e)}function getListeners(){return{"passiveListener":!!t.params.passiveListeners&&{"passive":!0,"capture":!1},"activeListenerWithCapture":!t.params.passiveListeners||{"passive":!1,"capture":!0}}}function enable(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{"passiveListener":i,"activeListenerWithCapture":s}=getListeners();t.wrapperEl.addEventListener("pointerdown",onGestureStart,i),t.wrapperEl.addEventListener("pointermove",onGestureChange,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,onGestureEnd,i)})),t.wrapperEl.addEventListener("pointermove",onTouchMove,s)}function disable(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{"passiveListener":i,"activeListenerWithCapture":s}=getListeners();t.wrapperEl.removeEventListener("pointerdown",onGestureStart,i),t.wrapperEl.removeEventListener("pointermove",onGestureChange,s),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,onGestureEnd,i)})),t.wrapperEl.removeEventListener("pointermove",onTouchMove,s)}Object.defineProperty(t.zoom,"scale",{"get"(){return m},"set"(e){if(m!==e){const t=p.imageEl,i=p.slideEl;r("zoomChange",e,t,i)}m=e}}),s("init",(()=>{t.params.zoom.enabled&&enable()})),s("destroy",(()=>{disable()})),s("touchStart",((e,i)=>{t.zoom.enabled&&function onTouchStart(e){const i=t.device;if(!p.imageEl)return;if(u.isTouched)return;i.android&&e.cancelable&&e.preventDefault(),u.isTouched=!0;const s=d.length>0?d[0]:e;u.touchesStart.x=s.pageX,u.touchesStart.y=s.pageY}(i)})),s("touchEnd",((e,i)=>{t.zoom.enabled&&function onTouchEnd(){const e=t.zoom;if(!p.imageEl)return;if(!u.isTouched||!u.isMoved)return u.isTouched=!1,void(u.isMoved=!1);u.isTouched=!1,u.isMoved=!1;let i=300,s=300;const r=h.x*i,a=u.currentX+r,o=h.y*s,n=u.currentY+o;0!==h.x&&(i=Math.abs((a-u.currentX)/h.x)),0!==h.y&&(s=Math.abs((n-u.currentY)/h.y));const l=Math.max(i,s);u.currentX=a,u.currentY=n;const c=u.width*e.scale,d=u.height*e.scale;u.minX=Math.min(p.slideWidth/2-c/2,0),u.maxX=-u.minX,u.minY=Math.min(p.slideHeight/2-d/2,0),u.maxY=-u.minY,u.currentX=Math.max(Math.min(u.currentX,u.maxX),u.minX),u.currentY=Math.max(Math.min(u.currentY,u.maxY),u.minY),p.imageWrapEl.style.transitionDuration=`${l}ms`,p.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}()})),s("doubleTap",((e,i)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&zoomToggle(i)})),s("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&onTransitionEnd()})),s("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&onTransitionEnd()})),Object.assign(t.zoom,{"enable":enable,"disable":disable,"in":zoomIn,"out":zoomOut,"toggle":zoomToggle})},function Controller(e){let{"swiper":t,"extendParams":i,"on":s}=e;function LinearSpline(e,t){const i=function search(){let e,t,i;return(s,r)=>{for(t=-1,e=s.length;e-t>1;)i=e+t>>1,s[i]<=r?t=i:e=i;return e}}();let s,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function interpolate(e){return e?(r=i(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this}function removeSpline(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}i({"controller":{"control":void 0,"inverse":!1,"by":"slide"}}),t.controller={"control":void 0},s("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const onControllerSwiper=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",onControllerSwiper)};e.addEventListener("init",onControllerSwiper)}}else t.controller.control=t.params.controller.control})),s("update",(()=>{removeSpline()})),s("resize",(()=>{removeSpline()})),s("observerUpdate",(()=>{removeSpline()})),s("setTranslate",((e,i,s)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(i,s)})),s("setTransition",((e,i,s)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(i,s)})),Object.assign(t.controller,{"setTranslate":function setTranslate(e,i){const s=t.controller.control;let r,a;const o=t.constructor;function setControlledTranslate(e){if(e.destroyed)return;const i=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function getInterpolateFunction(e){t.controller.spline=t.params.loop?new LinearSpline(t.slidesGrid,e.slidesGrid):new LinearSpline(t.snapGrid,e.snapGrid)}(e),a=-t.controller.spline.interpolate(-i)),a&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),a=(i-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{i.updateAutoHeight()})),elementTransitionEnd(i.wrapperEl,(()=>{r&&i.transitionEnd()}))))}if(Array.isArray(r))for(a=0;a{e.setAttribute("tabIndex","0")}))}function makeElNotFocusable(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function addElRole(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("role",t)}))}function addElRoleDescription(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function addElLabel(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function disableEl(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function enableEl(e){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function onEnterOrSpaceKey(e){if(13!==e.keyCode&&32!==e.keyCode)return;const i=t.params.a11y,s=e.target;if(!t.pagination||!t.pagination.el||s!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(classesToSelector(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=makeElementsArray(t.navigation.prevEl);makeElementsArray(t.navigation.nextEl).includes(s)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?notify(i.lastSlideMessage):notify(i.nextSlideMessage)),e.includes(s)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?notify(i.firstSlideMessage):notify(i.prevSlideMessage))}t.pagination&&s.matches(classesToSelector(t.params.pagination.bulletClass))&&s.click()}}function hasPagination(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function hasClickablePagination(){return hasPagination()&&t.params.pagination.clickable}const initNavEl=(e,t,i)=>{makeElFocusable(e),"BUTTON"!==e.tagName&&(addElRole(e,"button"),e.addEventListener("keydown",onEnterOrSpaceKey)),addElLabel(e,i),function addElControls(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},handlePointerDown=e=>{a&&a!==e.target&&!a.contains(e.target)&&(r=!0),t.a11y.clicked=!0},handlePointerUp=()=>{r=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},onVisibilityChange=e=>{n=(new Date).getTime()},handleFocus=e=>{if(t.a11y.clicked)return;if((new Date).getTime()-n<100)return;const i=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!i||!t.slides.includes(i))return;a=i;const s=t.slides.indexOf(i)===t.activeIndex,o=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(i);s||o||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{r||(t.slideTo(t.slides.indexOf(i),0),r=!1)})))},initSlides=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&addElRoleDescription(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&addElRole(t.slides,e.slideRole);const i=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((s,r)=>{const a=t.params.loop?parseInt(s.getAttribute("data-swiper-slide-index"),10):r;addElLabel(s,e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,i))}))},init=()=>{const e=t.params.a11y;t.el.append(o);const i=t.el;e.containerRoleDescriptionMessage&&addElRoleDescription(i,e.containerRoleDescriptionMessage),e.containerMessage&&addElLabel(i,e.containerMessage);const s=t.wrapperEl,r=e.id||s.getAttribute("id")||`swiper-wrapper-${function getRandomNumber(e){return void 0===e&&(e=16),"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";!function addElId(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("id",t)}))}(s,r),function addElLive(e,t){(e=makeElementsArray(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(s,a),initSlides();let{"nextEl":n,"prevEl":l}=t.navigation?t.navigation:{};if(n=makeElementsArray(n),l=makeElementsArray(l),n&&n.forEach((t=>initNavEl(t,r,e.nextSlideMessage))),l&&l.forEach((t=>initNavEl(t,r,e.prevSlideMessage))),hasClickablePagination()){makeElementsArray(t.pagination.el).forEach((e=>{e.addEventListener("keydown",onEnterOrSpaceKey)}))}getDocument().addEventListener("visibilitychange",onVisibilityChange),t.el.addEventListener("focus",handleFocus,!0),t.el.addEventListener("focus",handleFocus,!0),t.el.addEventListener("pointerdown",handlePointerDown,!0),t.el.addEventListener("pointerup",handlePointerUp,!0)};s("beforeInit",(()=>{o=createElement("span",t.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")})),s("afterInit",(()=>{t.params.a11y.enabled&&init()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&initSlides()})),s("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function updateNavigation(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{"nextEl":e,"prevEl":i}=t.navigation;i&&(t.isBeginning?(disableEl(i),makeElNotFocusable(i)):(enableEl(i),makeElFocusable(i))),e&&(t.isEnd?(disableEl(e),makeElNotFocusable(e)):(enableEl(e),makeElFocusable(e)))}()})),s("paginationUpdate",(()=>{t.params.a11y.enabled&&function updatePagination(){const e=t.params.a11y;hasPagination()&&t.pagination.bullets.forEach((i=>{t.params.pagination.clickable&&(makeElFocusable(i),t.params.pagination.renderBullet||(addElRole(i,"button"),addElLabel(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(i)+1)))),i.matches(classesToSelector(t.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current")}))}()})),s("destroy",(()=>{t.params.a11y.enabled&&function destroy(){o&&o.remove();let{"nextEl":e,"prevEl":i}=t.navigation?t.navigation:{};e=makeElementsArray(e),i=makeElementsArray(i),e&&e.forEach((e=>e.removeEventListener("keydown",onEnterOrSpaceKey))),i&&i.forEach((e=>e.removeEventListener("keydown",onEnterOrSpaceKey))),hasClickablePagination()&&makeElementsArray(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",onEnterOrSpaceKey)}));getDocument().removeEventListener("visibilitychange",onVisibilityChange),t.el.removeEventListener("focus",handleFocus,!0),t.el.removeEventListener("pointerdown",handlePointerDown,!0),t.el.removeEventListener("pointerup",handlePointerUp,!0)}()}))},function History(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"history":{"enabled":!1,"root":"","replaceState":!1,"key":"slides","keepQuery":!1}});let r=!1,a={};const slugify=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),getPathValues=e=>{const t=getWindow();let i;i=e?new URL(e):t.location;const s=i.pathname.slice(1).split("/").filter((e=>""!==e)),r=s.length;return{"key":s[r-2],"value":s[r-1]}},setHistory=(e,i)=>{const s=getWindow();if(!r||!t.params.history.enabled)return;let a;a=t.params.url?new URL(t.params.url):s.location;const o=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${i}"]`):t.slides[i];let n=slugify(o.getAttribute("data-history"));if(t.params.history.root.length>0){let i=t.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),n=`${i}/${e?`${e}/`:""}${n}`}else a.pathname.includes(e)||(n=`${e?`${e}/`:""}${n}`);t.params.history.keepQuery&&(n+=a.search);const l=s.history.state;l&&l.value===n||(t.params.history.replaceState?s.history.replaceState({"value":n},null,n):s.history.pushState({"value":n},null,n))},scrollToSlide=(e,i,s)=>{if(i)for(let r=0,a=t.slides.length;r{a=getPathValues(t.params.url),scrollToSlide(t.params.speed,a.value,!1)};s("init",(()=>{t.params.history.enabled&&(()=>{const e=getWindow();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);r=!0,a=getPathValues(t.params.url),a.key||a.value?(scrollToSlide(0,a.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",setHistoryPopState)):t.params.history.replaceState||e.addEventListener("popstate",setHistoryPopState)}})()})),s("destroy",(()=>{t.params.history.enabled&&(()=>{const e=getWindow();t.params.history.replaceState||e.removeEventListener("popstate",setHistoryPopState)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&setHistory(t.params.history.key,t.activeIndex)})),s("slideChange",(()=>{r&&t.params.cssMode&&setHistory(t.params.history.key,t.activeIndex)}))},function HashNavigation(e){let{"swiper":t,"extendParams":i,"emit":s,"on":r}=e,a=!1;const o=getDocument(),n=getWindow();i({"hashNavigation":{"enabled":!1,"replaceState":!1,"watchState":!1,"getSlideIndex"(e,i){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter((e=>e.getAttribute("data-hash")===i))[0];if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index"),10)}return t.getSlideIndex(elementChildren(t.slidesEl,`.${t.params.slideClass}[data-hash="${i}"], swiper-slide[data-hash="${i}"]`)[0])}}});const onHashChange=()=>{s("hashChange");const e=o.location.hash.replace("#",""),i=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(i?i.getAttribute("data-hash"):"")){const i=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===i||Number.isNaN(i))return;t.slideTo(i)}},setHash=()=>{if(!a||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],i=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&n.history&&n.history.replaceState?(n.history.replaceState(null,null,`#${i}`||""),s("hashSet")):(o.location.hash=i||"",s("hashSet"))};r("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;const e=o.location.hash.replace("#","");if(e){const i=0,s=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(s||0,i,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&n.addEventListener("hashchange",onHashChange)})()})),r("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&n.removeEventListener("hashchange",onHashChange)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{a&&setHash()})),r("slideChange",(()=>{a&&t.params.cssMode&&setHash()}))},function Autoplay(e){let t,i,{"swiper":s,"extendParams":r,"on":a,"emit":o,"params":n}=e;s.autoplay={"running":!1,"paused":!1,"timeLeft":0},r({"autoplay":{"enabled":!1,"delay":3e3,"waitForTransition":!0,"disableOnInteraction":!1,"stopOnLastSlide":!1,"reverseDirection":!1,"pauseOnMouseEnter":!1}});let l,c,d,p,u,h,m,g,f=n&&n.autoplay?n.autoplay.delay:3e3,b=n&&n.autoplay?n.autoplay.delay:3e3,w=(new Date).getTime();function onTransitionEnd(e){s&&!s.destroyed&&s.wrapperEl&&e.target===s.wrapperEl&&(s.wrapperEl.removeEventListener("transitionend",onTransitionEnd),g||resume())}const calcTimeLeft=()=>{if(s.destroyed||!s.autoplay.running)return;s.autoplay.paused?c=!0:c&&(b=l,c=!1);const e=s.autoplay.paused?l:w+b-(new Date).getTime();s.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/f),i=requestAnimationFrame((()=>{calcTimeLeft()}))},run=e=>{if(s.destroyed||!s.autoplay.running)return;cancelAnimationFrame(i),calcTimeLeft();let r=void 0===e?s.params.autoplay.delay:e;f=s.params.autoplay.delay,b=s.params.autoplay.delay;const a=(()=>{let e;if(e=s.virtual&&s.params.virtual.enabled?s.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:s.slides[s.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===e&&(r=a,f=a,b=a),l=r;const n=s.params.speed,proceed=()=>{s&&!s.destroyed&&(s.params.autoplay.reverseDirection?!s.isBeginning||s.params.loop||s.params.rewind?(s.slidePrev(n,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(s.slides.length-1,n,!0,!0),o("autoplay")):!s.isEnd||s.params.loop||s.params.rewind?(s.slideNext(n,!0,!0),o("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(0,n,!0,!0),o("autoplay")),s.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame((()=>{run()}))))};return r>0?(clearTimeout(t),t=setTimeout((()=>{proceed()}),r)):requestAnimationFrame((()=>{proceed()})),r},start=()=>{w=(new Date).getTime(),s.autoplay.running=!0,run(),o("autoplayStart")},stop=()=>{s.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),o("autoplayStop")},pause=(e,i)=>{if(s.destroyed||!s.autoplay.running)return;clearTimeout(t),e||(m=!0);const proceed=()=>{o("autoplayPause"),s.params.autoplay.waitForTransition?s.wrapperEl.addEventListener("transitionend",onTransitionEnd):resume()};if(s.autoplay.paused=!0,i)return h&&(l=s.params.autoplay.delay),h=!1,void proceed();const r=l||s.params.autoplay.delay;l=r-((new Date).getTime()-w),s.isEnd&&l<0&&!s.params.loop||(l<0&&(l=0),proceed())},resume=()=>{s.isEnd&&l<0&&!s.params.loop||s.destroyed||!s.autoplay.running||(w=(new Date).getTime(),m?(m=!1,run(l)):run(),s.autoplay.paused=!1,o("autoplayResume"))},onVisibilityChange=()=>{if(s.destroyed||!s.autoplay.running)return;const e=getDocument();"hidden"===e.visibilityState&&(m=!0,pause(!0)),"visible"===e.visibilityState&&resume()},onPointerEnter=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,s.animating||s.autoplay.paused||pause(!0))},onPointerLeave=e=>{"mouse"===e.pointerType&&(g=!1,s.autoplay.paused&&resume())};a("init",(()=>{s.params.autoplay.enabled&&(s.params.autoplay.pauseOnMouseEnter&&(s.el.addEventListener("pointerenter",onPointerEnter),s.el.addEventListener("pointerleave",onPointerLeave)),getDocument().addEventListener("visibilitychange",onVisibilityChange),start())})),a("destroy",(()=>{s.el.removeEventListener("pointerenter",onPointerEnter),s.el.removeEventListener("pointerleave",onPointerLeave),getDocument().removeEventListener("visibilitychange",onVisibilityChange),s.autoplay.running&&stop()})),a("_freeModeStaticRelease",(()=>{(p||m)&&resume()})),a("_freeModeNoMomentumRelease",(()=>{s.params.autoplay.disableOnInteraction?stop():pause(!0,!0)})),a("beforeTransitionStart",((e,t,i)=>{!s.destroyed&&s.autoplay.running&&(i||!s.params.autoplay.disableOnInteraction?pause(!0,!0):stop())})),a("sliderFirstMove",(()=>{!s.destroyed&&s.autoplay.running&&(s.params.autoplay.disableOnInteraction?stop():(d=!0,p=!1,m=!1,u=setTimeout((()=>{m=!0,p=!0,pause(!0)}),200)))})),a("touchEnd",(()=>{if(!s.destroyed&&s.autoplay.running&&d){if(clearTimeout(u),clearTimeout(t),s.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&s.params.cssMode&&resume(),p=!1,d=!1}})),a("slideChange",(()=>{!s.destroyed&&s.autoplay.running&&(h=!0)})),Object.assign(s.autoplay,{"start":start,"stop":stop,"pause":pause,"resume":resume})},function Thumb(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"thumbs":{"swiper":null,"multipleActiveThumbs":!0,"autoScrollOffset":0,"slideThumbActiveClass":"swiper-slide-thumb-active","thumbsContainerClass":"swiper-thumbs"}});let r=!1,a=!1;function onThumbClick(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const i=e.clickedIndex,s=e.clickedSlide;if(s&&s.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function init(){const{"thumbs":e}=t.params;if(r)return!1;r=!0;const i=t.constructor;if(e.swiper instanceof i)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),Object.assign(t.thumbs.swiper.params,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),t.thumbs.swiper.update();else if(utils_isObject(e.swiper)){const s=Object.assign({},e.swiper);Object.assign(s,{"watchSlidesProgress":!0,"slideToClickedSlide":!1}),t.thumbs.swiper=new i(s),a=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",onThumbClick),!0}function update(e){const i=t.thumbs.swiper;if(!i||i.destroyed)return;const s="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const a=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach((e=>e.classList.remove(a))),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e{e.classList.add(a)}));else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];a=i.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,l=a>t.previousIndex?"next":"prev";n&&(a+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(a)<0&&(i.params.centeredSlides?a=a>r?a-Math.floor(s/2)+1:a+Math.floor(s/2)-1:a>r&&i.params.slidesPerGroup,i.slideTo(a,e?0:void 0))}}t.thumbs={"swiper":null},s("beforeInit",(()=>{const{"thumbs":e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const i=getDocument(),getThumbsElementAndInit=()=>{const s="string"==typeof e.swiper?i.querySelector(e.swiper):e.swiper;if(s&&s.swiper)e.swiper=s.swiper,init(),update(!0);else if(s){const onThumbsSwiper=i=>{e.swiper=i.detail[0],s.removeEventListener("init",onThumbsSwiper),init(),update(!0),e.swiper.update(),t.update()};s.addEventListener("init",onThumbsSwiper)}return s},watchForThumbsToAppear=()=>{if(t.destroyed)return;getThumbsElementAndInit()||requestAnimationFrame(watchForThumbsToAppear)};requestAnimationFrame(watchForThumbsToAppear)}else init(),update(!0)})),s("slideChange update resize observerUpdate",(()=>{update()})),s("setTransition",((e,i)=>{const s=t.thumbs.swiper;s&&!s.destroyed&&s.setTransition(i)})),s("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&a&&e.destroy()})),Object.assign(t.thumbs,{"init":init,"update":update})},function freeMode(e){let{"swiper":t,"extendParams":i,"emit":s,"once":r}=e;i({"freeMode":{"enabled":!1,"momentum":!0,"momentumRatio":1,"momentumBounce":!0,"momentumBounceRatio":1,"momentumVelocityRatio":1,"sticky":!1,"minimumVelocity":.02}}),Object.assign(t,{"freeMode":{"onTouchStart":function onTouchStart(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({"currentPos":t.rtl?t.translate:-t.translate})},"onTouchMove":function onTouchMove(){if(t.params.cssMode)return;const{"touchEventsData":e,"touches":i}=t;0===e.velocities.length&&e.velocities.push({"position":i[t.isHorizontal()?"startX":"startY"],"time":e.touchStartTime}),e.velocities.push({"position":i[t.isHorizontal()?"currentX":"currentY"],"time":now()})},"onTouchEnd":function onTouchEnd(e){let{"currentPos":i}=e;if(t.params.cssMode)return;const{"params":a,"wrapperEl":o,"rtlTranslate":n,"snapGrid":l,"touchEventsData":c}=t,d=now()-c.touchStartTime;if(i<-t.minTranslate())t.slideTo(t.activeIndex);else if(i>-t.maxTranslate())t.slides.length1){const e=c.velocities.pop(),i=c.velocities.pop(),s=e.position-i.position,r=e.time-i.time;t.velocity=s/r,t.velocity/=2,Math.abs(t.velocity)150||now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*a.freeMode.momentumRatio;const i=t.velocity*e;let d=t.translate+i;n&&(d=-d);let p,u=!1;const h=20*Math.abs(t.velocity)*a.freeMode.momentumBounceRatio;let m;if(dt.minTranslate())a.freeMode.momentumBounce?(d-t.minTranslate()>h&&(d=t.minTranslate()+h),p=t.minTranslate(),u=!0,c.allowMomentumBounce=!0):d=t.minTranslate(),a.loop&&a.centeredSlides&&(m=!0);else if(a.freeMode.sticky){let e;for(let t=0;t-d){e=t;break}d=Math.abs(l[e]-d){t.loopFix()})),0!==t.velocity){if(e=n?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity),a.freeMode.sticky){const i=Math.abs((n?-d:d)-t.translate),s=t.slidesSizesGrid[t.activeIndex];e=i{t&&!t.destroyed&&c.allowMomentumBounce&&(s("momentumBounce"),t.setTransition(a.speed),setTimeout((()=>{t.setTranslate(p),elementTransitionEnd(o,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(s("_freeModeNoMomentumRelease"),t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,elementTransitionEnd(o,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeMode.sticky)return void t.slideToClosest();a.freeMode&&s("_freeModeNoMomentumRelease")}(!a.freeMode.momentum||d>=a.longSwipesMs)&&(s("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function Grid(e){let t,i,s,r,{"swiper":a,"extendParams":o,"on":n}=e;o({"grid":{"rows":1,"fill":"column"}});const getSpaceBetween=()=>{let e=a.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*a.size:"string"==typeof e&&(e=parseFloat(e)),e};n("init",(()=>{r=a.params.grid&&a.params.grid.rows>1})),n("update",(()=>{const{"params":e,"el":t}=a,i=e.grid&&e.grid.rows>1;r&&!i?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),s=1,a.emitContainerClasses()):!r&&i&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),a.emitContainerClasses()),r=i})),a.grid={"initSlides":e=>{const{"slidesPerView":r}=a.params,{"rows":o,"fill":n}=a.params.grid,l=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:e.length;s=Math.floor(l/o),t=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===n&&(t=Math.max(t,r*o)),i=t/o},"unsetSlides":()=>{a.slides&&a.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[a.getDirectionLabel("margin-top")]="")}))},"updateSlide":(e,r,o)=>{const{"slidesPerGroup":n}=a.params,l=getSpaceBetween(),{"rows":c,"fill":d}=a.params.grid,p=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:o.length;let u,h,m;if("row"===d&&n>1){const i=Math.floor(e/(n*c)),s=e-c*n*i,a=0===i?n:Math.min(Math.ceil((p-i*c*n)/c),n);m=Math.floor(s/a),h=s-m*a+i*n,u=h+m*t/c,r.style.order=u}else"column"===d?(h=Math.floor(e/c),m=e-h*c,(h>s||h===s&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(e/i),h=e-m*i);r.row=m,r.column=h,r.style.height=`calc((100% - ${(c-1)*l}px) / ${c})`,r.style[a.getDirectionLabel("margin-top")]=0!==m?l&&`${l}px`:"",r.swiperSlideGridSet=!0},"updateWrapperSize":(e,i)=>{const{"centeredSlides":s,"roundLengths":r}=a.params,o=getSpaceBetween(),{"rows":n}=a.params.grid;if(a.virtualSize=(e+o)*t,a.virtualSize=Math.ceil(a.virtualSize/n)-o,a.params.cssMode||(a.wrapperEl.style[a.getDirectionLabel("width")]=`${a.virtualSize+o}px`),s){const e=[];for(let t=0;t{const{"slides":e}=t;t.params.fadeEffect;for(let i=0;i{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i,"allSlides":!0})},"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!t.params.cssMode})})},function EffectCube(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"cubeEffect":{"slideShadows":!0,"shadow":!0,"shadowOffset":20,"shadowScale":.94}});const createSlideShadows=(e,t,i)=>{let s=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s||(s=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),e.append(s)),r||(r=createElement("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),e.append(r)),s&&(s.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};effectInit({"effect":"cube","swiper":t,"on":s,"setTranslate":()=>{const{"el":e,"wrapperEl":i,"slides":s,"width":r,"height":a,"rtlTranslate":o,"size":n,"browser":l}=t,c=t.params.cubeEffect,d=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled;let u,h=0;c.shadow&&(d?(u=t.wrapperEl.querySelector(".swiper-cube-shadow"),u||(u=createElement("div","swiper-cube-shadow"),t.wrapperEl.append(u)),u.style.height=`${r}px`):(u=e.querySelector(".swiper-cube-shadow"),u||(u=createElement("div","swiper-cube-shadow"),e.append(u))));for(let e=0;e-1&&(h=90*r+90*u,o&&(h=90*-r-90*u),t.browser&&t.browser.need3dFix&&Math.abs(h)/90%2==1&&(h+=.001)),i.style.transform=b,c.slideShadows&&createSlideShadows(i,u,d)}if(i.style.transformOrigin=`50% 50% -${n/2}px`,i.style["-webkit-transform-origin"]=`50% 50% -${n/2}px`,c.shadow)if(d)u.style.transform=`translate3d(0px, ${r/2+c.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),i=c.shadowScale,s=c.shadowScale/t,r=c.shadowOffset;u.style.transform=`scale3d(${i}, 1, ${s}) translate3d(0px, ${a/2+r}px, ${-a/2/s}px) rotateX(-89.99deg)`}const m=(l.isSafari||l.isWebView)&&l.needPerspectiveFix?-n/2:0;i.style.transform=`translate3d(0px,0,${m}px) rotateX(${t.isHorizontal()?0:h}deg) rotateY(${t.isHorizontal()?-h:0}deg)`,i.style.setProperty("--swiper-cube-translate-z",`${m}px`)},"setTransition":e=>{const{"el":i,"slides":s}=t;if(s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=i.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},"recreateShadows":()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const i=Math.max(Math.min(t.progress,1),-1);createSlideShadows(t,i,e)}))},"getEffectParams":()=>t.params.cubeEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"resistanceRatio":0,"spaceBetween":0,"centeredSlides":!1,"virtualTranslate":!0})})},function EffectFlip(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"flipEffect":{"slideShadows":!0,"limitRotation":!0}});const createSlideShadows=(e,i)=>{let s=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s||(s=createShadow("flip",e,t.isHorizontal()?"left":"top")),r||(r=createShadow("flip",e,t.isHorizontal()?"right":"bottom")),s&&(s.style.opacity=Math.max(-i,0)),r&&(r.style.opacity=Math.max(i,0))};effectInit({"effect":"flip","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"rtlTranslate":i}=t,s=t.params.flipEffect;for(let r=0;r{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i})},"recreateShadows":()=>{t.params.flipEffect,t.slides.forEach((e=>{let i=e.progress;t.params.flipEffect.limitRotation&&(i=Math.max(Math.min(e.progress,1),-1)),createSlideShadows(e,i)}))},"getEffectParams":()=>t.params.flipEffect,"perspective":()=>!0,"overwriteParams":()=>({"slidesPerView":1,"slidesPerGroup":1,"watchSlidesProgress":!0,"spaceBetween":0,"virtualTranslate":!t.params.cssMode})})},function EffectCoverflow(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"coverflowEffect":{"rotate":50,"stretch":0,"depth":100,"scale":1,"modifier":1,"slideShadows":!0}}),effectInit({"effect":"coverflow","swiper":t,"on":s,"setTranslate":()=>{const{"width":e,"height":i,"slides":s,"slidesSizesGrid":r}=t,a=t.params.coverflowEffect,o=t.isHorizontal(),n=t.translate,l=o?e/2-n:i/2-n,c=o?a.rotate:-a.rotate,d=a.depth;for(let e=0,i=s.length;e0?u:0),t&&(t.style.opacity=-u>0?-u:0)}}},"setTransition":e=>{t.slides.map((e=>getSlideTransformEl(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0})})},function EffectCreative(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"creativeEffect":{"limitProgress":1,"shadowPerProgress":!1,"progressMultiplier":1,"perspective":!0,"prev":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1},"next":{"translate":[0,0,0],"rotate":[0,0,0],"opacity":1,"scale":1}}});const getTranslateValue=e=>"string"==typeof e?e:`${e}px`;effectInit({"effect":"creative","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"wrapperEl":i,"slidesSizesGrid":s}=t,r=t.params.creativeEffect,{"progressMultiplier":a}=r,o=t.params.centeredSlides;if(o){const e=s[0]/2-t.params.slidesOffsetBefore||0;i.style.transform=`translateX(calc(50% - ${e}px))`}for(let i=0;i0&&(m=r.prev,h=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${getTranslateValue(m.translate[t])} * ${Math.abs(l*a)}))`})),u.forEach(((e,i)=>{let s=m.rotate[i]*Math.abs(l*a);t.browser&&t.browser.need3dFix&&Math.abs(s)/90%2==1&&(s+=.001),u[i]=s})),s.style.zIndex=-Math.abs(Math.round(n))+e.length;const g=p.join(", "),f=`rotateX(${u[0]}deg) rotateY(${u[1]}deg) rotateZ(${u[2]}deg)`,b=c<0?`scale(${1+(1-m.scale)*c*a})`:`scale(${1-(1-m.scale)*c*a})`,w=c<0?1+(1-m.opacity)*c*a:1-(1-m.opacity)*c*a,v=`translate3d(${g}) ${f} ${b}`;if(h&&m.shadow||!h){let e=s.querySelector(".swiper-slide-shadow");if(!e&&m.shadow&&(e=createShadow("creative",s)),e){const t=r.shadowPerProgress?l*(1/r.limitProgress):l;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const A=effectTarget(0,s);A.style.transform=v,A.style.opacity=w,m.origin&&(A.style.transformOrigin=m.origin)}},"setTransition":e=>{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i,"allSlides":!0})},"perspective":()=>t.params.creativeEffect.perspective,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!t.params.cssMode})})},function EffectCards(e){let{"swiper":t,"extendParams":i,"on":s}=e;i({"cardsEffect":{"slideShadows":!0,"rotate":!0,"perSlideRotate":2,"perSlideOffset":8}}),effectInit({"effect":"cards","swiper":t,"on":s,"setTranslate":()=>{const{"slides":e,"activeIndex":i,"rtlTranslate":s}=t,r=t.params.cardsEffect,{"startTranslate":a,"isTouched":o}=t.touchEventsData,n=s?-t.translate:t.translate;for(let l=0;l0&&p<1&&(o||t.params.cssMode)&&n-1&&(o||t.params.cssMode)&&n>a;if(A||y){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;b+=-28*p*e,f+=-.5*e,w+=96*e,m=-25*e*Math.abs(p)+"%"}if(h=p<0?`calc(${h}px ${s?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${h}px ${s?"-":"+"} (-${w*Math.abs(p)}%))`:`${h}px`,!t.isHorizontal()){const e=m;m=h,h=e}const x=p<0?""+(1+(1-f)*p):""+(1-(1-f)*p),E=`\n translate3d(${h}, ${m}, ${g}px)\n rotateZ(${r.rotate?s?-b:b:0}deg)\n scale(${x})\n `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=createShadow("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(d))+e.length;effectTarget(0,c).style.transform=E}},"setTransition":e=>{const i=t.slides.map((e=>getSlideTransformEl(e)));i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),effectVirtualTransitionEnd({"swiper":t,"duration":e,"transformElements":i})},"perspective":()=>!0,"overwriteParams":()=>({"watchSlidesProgress":!0,"virtualTranslate":!t.params.cssMode})})}];Swiper.use(b);var w=i(6585);var v,A,y,x,E,__classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)},__classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i};let S=0;const T=(0,s.GH)(class extends s.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,s.yM)(this,"change",7),this.onAnimationFinish=(0,s.yM)(this,"animationfinish",7),v.set(this,S++),A.set(this,"autoplay"),y.set(this,!1),x.set(this,!1),E.set(this,0),this.handleSwiperSizeDebounce=(0,w.d)((()=>{this.swiper&&this.isWillLoadCalled&&(this.circular?__classPrivateFieldGet(this,x,"f")&&(this.reset(),__classPrivateFieldSet(this,x,!1,"f"),__classPrivateFieldSet(this,y,!1,"f")):(this.swiper.update(),__classPrivateFieldSet(this,y,!1,"f")))}),50),this.reset=()=>{__classPrivateFieldSet(this,y,!0,"f"),__classPrivateFieldSet(this,E,this.swiper.realIndex,"f"),this.swiper.destroy(),this.handleInit(!0),__classPrivateFieldSet(this,y,!1,"f")},this.getSlidersList=()=>this.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[],this.getNeedFixLoop=()=>{const e=this.parseMargin().filter(Boolean).length>0;return this.circular&&e},this.parseMargin=()=>{const[,e]=/^(\d+)px/.exec(this.previousMargin)||[],[,t]=/^(\d+)px/.exec(this.nextMargin)||[];return[parseInt(e)||0,parseInt(t)||0]},this.swiperWrapper=void 0,this.swiper=void 0,this.isWillLoadCalled=!1,this.indicatorDots=!1,this.indicatorColor="rgba(0, 0, 0, .3)",this.indicatorActiveColor="#000000",this.autoplay=!1,this.current=0,this.currentItemId="",this.interval=5e3,this.duration=500,this.circular=!1,this.vertical=!1,this.previousMargin="0px",this.nextMargin="0px",this.displayMultipleItems=1,this.full=!1,this.zoom=!1,this.effectsProps={},this.observer=void 0}"watchCurrent"(e){if(this.currentItemId||!this.isWillLoadCalled||!this.swiper)return;const t=parseInt(e,10);isNaN(t)||t===this.swiper.realIndex||(__classPrivateFieldSet(this,A,"","f"),this.circular?(this.swiper.slideToLoop(t),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(t))}"watchCurrentItemId"(e){if(!this.swiperWrapper||!this.isWillLoadCalled)return;let t=0;this.getSlidersList().forEach(((i,s)=>{i.getAttribute("item-id")===e&&(t=this.circular?Number(i.getAttribute("data-swiper-slide-index")):s)})),t!==this.swiper.realIndex&&(__classPrivateFieldSet(this,A,"","f"),this.circular?(this.swiper.slideToLoop(t),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(t))}"watchAutoplay"(e){if(!this.isWillLoadCalled||!this.swiper)return;const t=this.swiper.autoplay;if(t){if(t.running===e)return;e?(this.swiper.params&&"object"==typeof this.swiper.params.autoplay&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),t.start()):t.stop()}}"watchDuration"(e){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=e)}"watchInterval"(e){this.swiper&&this.isWillLoadCalled&&"object"==typeof this.swiper.params.autoplay&&(this.swiper.params.autoplay.delay=e)}"watchSwiperWrapper"(e){if(!this.isWillLoadCalled||!this.swiper)return;if(!e)return;const beforeDomOperation=()=>{__classPrivateFieldSet(this,x,!0,"f"),this.swiper.loopDestroy(),this.swiper.params.loop=!1};this.el.appendChild=t=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.appendChild(t)),this.el.insertBefore=(t,i)=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.insertBefore(t,i)),this.el.replaceChild=(t,i)=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.replaceChild(t,i)),this.el.removeChild=t=>(__classPrivateFieldSet(this,y,!0,"f"),!__classPrivateFieldGet(this,x,"f")&&this.circular&&beforeDomOperation(),e.removeChild(t))}"watchCircular"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"watchDisplayMultipleItems"(){this.swiper&&this.isWillLoadCalled&&this.reset()}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{"childList":!0}))}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"handleInit"(e=!1){const{"autoplay":t,"circular":i,"current":s,"currentItemId":r,"displayMultipleItems":a,"duration":o,"interval":n,"effectsProps":l,"vertical":c}=this;let d=s;if(e)d=__classPrivateFieldGet(this,E,"f");else if(r){let e=0;this.getSlidersList().forEach(((t,i)=>{t.itemId&&t.itemId===r&&(e=i)})),d=e}const p=this.getLoopAdditionalSlides(),u=1===a&&this.getNeedFixLoop(),h=1===a?"auto":a,m=this,g=Object.assign(Object.assign({"pagination":{"el":`.taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination`},"direction":c?"vertical":"horizontal","loop":i,"slidesPerView":h,"initialSlide":d,"loopAdditionalSlides":p,"speed":o,"observeParents":!0,"observer":!0,"centeredSlides":u,"zoom":this.zoom,"nested":!0},l),{"on":{"transitionEnd"(e){if(__classPrivateFieldGet(m,y,"f")||__classPrivateFieldGet(m,E,"f")===this.realIndex)return;__classPrivateFieldSet(m,E,this.realIndex,"f"),m.getNeedFixLoop()&&e.loopFix(),m.autoplay&&e.autoplay.start();const t=m.getCurrentItemId(e);m.onAnimationFinish.emit({"current":this.realIndex,"source":__classPrivateFieldGet(m,A,"f"),"currentItemId":t}),__classPrivateFieldSet(m,A,"autoplay","f")},"touchMove"(){__classPrivateFieldSet(m,A,"touch","f")},"slideChange"(e){if(__classPrivateFieldGet(m,y,"f")||__classPrivateFieldGet(m,E,"f")===this.realIndex)return;const t=m.getCurrentItemId(e);m.onChange.emit({"current":this.realIndex,"source":__classPrivateFieldGet(m,A,"f"),"currentItemId":t})},"init":e=>{m.getNeedFixLoop()&&e.loopFix(),m.autoplay&&e.autoplay.start()},"touchEnd":e=>{__classPrivateFieldSet(m,A,"touch","f"),m.autoplay&&e.autoplay.start()},"touchStart":e=>{__classPrivateFieldSet(m,A,"touch","f"),m.autoplay&&e.autoplay.pause()},"autoplay"(e){e.animating=!1,__classPrivateFieldSet(m,A,"autoplay","f")}}});if(t&&(g.autoplay={"delay":n,"disableOnInteraction":!1}),this.swiper=new Swiper(`.taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container`,g),this.getNeedFixLoop()){const e=this.swiper.minTranslate.bind(this.swiper),t=this.swiper.maxTranslate.bind(this.swiper);u&&this.getSlidersList().length<4?(this.swiper.minTranslate=()=>e()+this.parseMargin()[1],this.swiper.maxTranslate=()=>t()-this.parseMargin()[0]):(this.swiper.minTranslate=()=>e()-this.parseMargin()[0],this.swiper.maxTranslate=()=>t()+this.parseMargin()[1])}this.swiperWrapper=this.swiper.wrapperEl}"getLoopAdditionalSlides"(){const e=this.getSlidersList().length;return!this.el||!this.getNeedFixLoop()||e<5?0:e<=7?1:2}"getCurrentItemId"(e){return e.slides[e.activeIndex].getAttribute("item-id")}"render"(){const{"vertical":e,"indicatorDots":t,"indicatorColor":i,"indicatorActiveColor":r}=this,[a,o]=this.parseMargin(),n=["overflow: visible;",e?`margin-top: ${a}px; margin-bottom: ${o}px;`:`margin-right: ${o}px; margin-left: ${a}px;`,this.full?"height: 100%;":""],l=[t?"opacity: 1;":"display: none;","font-size: 0;"],c={"overflow":"hidden"};return this.full&&(c.height="100%"),(0,s.h)(s.AA,{"class":`taro-swiper-${__classPrivateFieldGet(this,v,"f")}`,"style":c},(0,s.h)("div",{"class":"swiper-container"},(0,s.h)("style",{"type":"text/css"},`\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${i} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${r} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container { ${n.join("")} }\n .taro-swiper-${__classPrivateFieldGet(this,v,"f")} > .swiper-container > .swiper-pagination { ${l.join("")} }\n `),(0,s.h)("div",{"class":"swiper-wrapper"},(0,s.h)("slot",null)),(0,s.h)("div",{"class":"swiper-pagination"})))}get"el"(){return this}static get"watchers"(){return{"current":["watchCurrent"],"currentItemId":["watchCurrentItemId"],"autoplay":["watchAutoplay"],"duration":["watchDuration"],"interval":["watchInterval"],"swiperWrapper":["watchSwiperWrapper"],"circular":["watchCircular"],"displayMultipleItems":["watchDisplayMultipleItems"]}}static get"style"(){return"@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-webkit-transform-origin:center;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;-ms-touch-action:none;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;-webkit-transition-property:opacity,height,-webkit-transform;transition-property:opacity,height,-webkit-transform;transition-property:transform,opacity,height;transition-property:transform,opacity,height,-webkit-transform}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}"}},[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}]);v=new WeakMap,A=new WeakMap,y=new WeakMap,x=new WeakMap,E=new WeakMap;const k=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-core"].forEach((e=>{if("taro-swiper-core"===e)customElements.get(e)||customElements.define(e,T)}))}},"8028":function(e,t,i){"use strict";i.d(t,{"M":function(){return n}});var s=i(7210),r=i(7109),a=i(1789);const o=(0,s.GH)(class extends s.mv{"constructor"(){super(),this.__registerHost(),this.itemId=void 0}"connectedCallback"(){this.el.className=(0,r.c)(this.el.className,"swiper-slide")}"componentDidRender"(){(0,a.h)(this.el)}"render"(){return(0,s.h)(s.AA,{"item-id":this.itemId},(0,s.h)("slot",null))}get"el"(){return this}},[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]);const n=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-swiper-item-core"].forEach((e=>{if("taro-swiper-item-core"===e)customElements.get(e)||customElements.define(e,o)}))}},"4385":function(e,t,i){"use strict";i.d(t,{"zx":function(){return Ce},"V1":function(){return Me},"XZ":function(){return Ie},"cO":function(){return Pe},"l0":function(){return Le},"JO":function(){return _e},"Ee":function(){return De},"II":function(){return Oe},"__":function(){return ze},"ub":function(){return Be},"Gt":function(){return Ne},"C3":function(){return Re},"_z":function(){return Ge},"cW":function(){return je},"Nf":function(){return He},"$o":function(){return Fe},"Ex":function(){return Ye},"Y8":function(){return We},"FX":function(){return Ve},"Ho":function(){return $e},"pf":function(){return Xe},"iR":function(){return Ze},"tq":function(){return Qe},"t3":function(){return Ue},"rs":function(){return qe},"xv":function(){return Je},"gx":function(){return Ke},"nk":function(){return et},"G7":function(){return tt},"kh":function(){return it}});var s=i(7294);const helper_manipulatePropsFunction=(e,t={})=>{const{"dangerouslySetInnerHTML":i,"style":s}=e;return"string"!=typeof s&&(t.style=s),Object.assign(Object.assign({},t),{"dangerouslySetInnerHTML":i})};var r=i(7210),a=i(7109);const o=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,r.yM)(this,"tarobuttonsubmit",7),this.onReset=(0,r.yM)(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}"onClick"(e){this.disabled&&e.stopPropagation()}"onTouchStart"(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}"onTouchEnd"(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}"render"(){const{"disabled":e,"hoverClass":t,"type":i,"size":s,"plain":o,"loading":n,"hover":l}=this,c=(0,a.c)({[`${t}`]:l&&!e});return(0,r.h)(r.AA,{"class":c,"type":i,"plain":o,"loading":n,"size":s,"disabled":e},n&&(0,r.h)("i",{"class":"weui-loading"}),(0,r.h)("slot",null))}get"el"(){return this}static get"style"(){return".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}"}},[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const n=function defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-button-core"].forEach((e=>{if("taro-button-core"===e)customElements.get(e)||customElements.define(e,o)}))};var l=i(1789);const c=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,l.n)("Camera",this)}"render"(){return(0,r.h)(r.AA,null)}},[0,"taro-camera-core"]);const d=function taro_camera_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-camera-core"].forEach((e=>{if("taro-camera-core"===e)customElements.get(e)||customElements.define(e,c)}))},p=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"checkboxchange",7),this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchId"(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"render"(){const{"checked":e,"name":t,"color":i,"value":s,"disabled":a,"nativeProps":o}=this;return(0,r.h)(r.AA,{"className":"weui-cells_checkbox"},(0,r.h)("input",Object.assign({"ref":e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},"type":"checkbox","value":s,"name":t,"class":"taro-checkbox_checked","style":{"color":i},"checked":e,"disabled":a,"onChange":this.handleChange},o)),(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"id":["watchId"]}}static get"style"(){return'page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}'}},[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const u=function taro_checkbox_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-core"].forEach((e=>{if("taro-checkbox-core"===e)customElements.get(e)||customElements.define(e,p)}))};var h,__classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},__classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const m=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),h.set(this,void 0),this.name=void 0}"function"(e){if(e.stopPropagation(),"TARO-CHECKBOX-CORE"!==e.target.tagName)return;const t=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,h,this.getValues(t),"f"),this.onChange.emit({"value":__classPrivateFieldGet(this,h,"f")})}"componentDidLoad"(){this.el.querySelectorAll("taro-checkbox-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!__classPrivateFieldGet(this,h,"f")){const e=this.el.querySelectorAll("taro-checkbox-core");__classPrivateFieldSet(this,h,this.getValues(e),"f")}return __classPrivateFieldGet(this,h,"f")},"configurable":!0})}"getValues"(e){return Array.from(e).filter((e=>{const t=e.querySelector("input");return null==t?void 0:t.checked})).map((e=>e.value))}"render"(){return(0,r.h)(r.AA,null)}get"el"(){return this}},[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]);h=new WeakMap;const g=function taro_checkbox_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-checkbox-group-core"].forEach((e=>{if("taro-checkbox-group-core"===e)customElements.get(e)||customElements.define(e,m)}))};var f,taro_form_core_classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},taro_form_core_classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const b=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSubmit=(0,r.yM)(this,"submit",7),f.set(this,{})}"onButtonSubmit"(e){e.stopPropagation(),taro_form_core_classPrivateFieldSet(this,f,this.getFormValue(),"f"),this.onSubmit.emit({"value":taro_form_core_classPrivateFieldGet(this,f,"f")})}"onButtonReset"(e){e.stopPropagation(),this.form.reset()}"componentDidLoad"(){taro_form_core_classPrivateFieldSet(this,f,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{"get":()=>taro_form_core_classPrivateFieldGet(this,f,"f"),"configurable":!0})}"componentDidRender"(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=e=>this.form.appendChild(e),this.el.insertBefore=(e,t)=>this.form.insertBefore(e,t),this.el.replaceChild=(e,t)=>this.form.replaceChild(e,t),this.el.removeChild=e=>this.form.removeChild(e)}"getFormValue"(){const e=this.el,t=[],i=e.getElementsByTagName("input");for(let e=0;e{"string"==typeof e.name&&(-1===e.className.indexOf("weui-switch")?"radio"!==e.type?"checkbox"!==e.type?s[e.name]=e.value:e.checked?r[e.name]?s[e.name].push(e.value):(r[e.name]=!0,s[e.name]=[e.value]):r[e.name]||(s[e.name]=[]):e.checked?(r[e.name]=!0,s[e.name]=e.value):r[e.name]||(s[e.name]=""):s[e.name]=e.checked)}));const a=e.getElementsByTagName("textarea"),o=[];for(let e=0;e{"string"==typeof e.name&&(s[e.name]=e.value)})),s}"render"(){return(0,r.h)("form",{"ref":e=>{this.form=e}},(0,r.h)("slot",null))}get"el"(){return this}},[4,"taro-form-core",void 0,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]);f=new WeakMap;const w=function taro_form_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-form-core"].forEach((e=>{if("taro-form-core"===e)customElements.get(e)||customElements.define(e,b)}))},v=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.type=void 0,this.size="23",this.color=void 0}"render"(){const{"type":e,"size":t,"color":i}=this,s=null==e?void 0:e.replace(/_/g,"-"),o=(0,a.c)({[`weui-icon-${s}`]:!0}),n={"font-size":`${t}px`,"color":i};return(0,r.h)(r.AA,{"class":o,"style":n})}static get"style"(){return'.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}'}},[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]);const A=function taro_icon_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-icon-core"].forEach((e=>{if("taro-icon-core"===e)customElements.get(e)||customElements.define(e,v)}))},y=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,r.yM)(this,"load",7),this.onError=(0,r.yM)(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}"componentDidLoad"(){if(!this.lazyLoad)return;const e=new IntersectionObserver((t=>{t[t.length-1].isIntersecting&&(e.unobserve(this.imgRef),this.didLoad=!0)}),{"rootMargin":"300px 0px"});e.observe(this.imgRef)}"imageOnLoad"(){const{"width":e,"height":t,"naturalWidth":i,"naturalHeight":s}=this.imgRef;this.onLoad.emit({"width":e,"height":t}),this.aspectFillMode=i>s?"width":"height"}"imageOnError"(e){this.onError.emit(e)}"render"(){const{"src":e,"lazyLoad":t=!1,"aspectFillMode":i="width","imageOnLoad":s,"imageOnError":o,"nativeProps":n,"didLoad":l}=this,c=this.mode||"scaleToFill",d=(0,a.c)({"taro-img__widthfix":"widthFix"===c}),p=(0,a.c)(`taro-img__mode-${c.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${i}`]:"aspectFill"===c});return(0,r.h)(r.AA,{"class":d},e?(0,r.h)("img",Object.assign({"ref":e=>this.imgRef=e,"class":p,"src":t&&!l?void 0:e,"onLoad":s.bind(this),"onError":o.bind(this)},n)):"")}static get"style"(){return'img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}'}},[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]);const x=function taro_image_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-image-core"].forEach((e=>{if("taro-image-core"===e)customElements.get(e)||customElements.define(e,y)}))};function getTrueType(e,t,i){if("search"===t&&(e="search"),i&&(e="password"),void 0===e)return"text";if(!e)throw new Error("unexpected type");return"digit"===e&&(e="number"),e}function fixControlledValue(e){return null!=e?e:""}const E=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,r.yM)(this,"input",7),this.onPaste=(0,r.yM)(this,"paste",7),this.onFocus=(0,r.yM)(this,"focus",7),this.onBlur=(0,r.yM)(this,"blur",7),this.onConfirm=(0,r.yM)(this,"confirm",7),this.onChange=(0,r.yM)(this,"change",7),this.onKeyDown=(0,r.yM)(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.handleInput=e=>{e.stopPropagation();const{"type":t,"maxlength":i,"confirmType":s,"password":r}=this;if(!this.isOnComposition&&!this.onInputExcuted){let a=e.target.value;const o=getTrueType(t,s,r);this.onInputExcuted=!0,"number"===o&&a&&i>-1&&i<=a.length&&(a=a.substring(0,i),e.target.value=a),this.value=a,this.onInput.emit({"value":a,"cursor":a.length}),this.onInputExcuted=!1}},this.handlePaste=e=>{e.stopPropagation(),this.isOnPaste=!0,this.onPaste.emit({"value":e.target.value})},this.handleFocus=e=>{e.stopPropagation(),this.onInputExcuted=!1,this.onFocus.emit({"value":e.target.value})},this.handleBlur=e=>{e.stopPropagation(),this.onBlur.emit({"value":e.target.value})},this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":e.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=e.target.value,this.onInput.emit({"value":e.target.value,"cursor":e.target.value.length}))},this.handleKeyDown=e=>{e.stopPropagation();const{"value":t}=e.target,i=e.keyCode||e.code;this.onInputExcuted=!1,this.onKeyDown.emit({"value":t,"cursor":t.length,"keyCode":i}),13===i&&this.onConfirm.emit({"value":t})},this.handleComposition=e=>{e.stopPropagation(),e.target instanceof HTMLInputElement&&("compositionend"===e.type?(this.isOnComposition=!1,this.value=e.target.value,this.onInput.emit({"value":e.target.value,"cursor":e.target.value.length})):this.isOnComposition=!0)},this.handleBeforeInput=e=>{if(!e.data)return;const t=e.data&&/[0-9]/.test(e.data);"number"!==this.type||t||e.preventDefault(),"digit"!==this.type||t||("."!==e.data||"."===e.data&&e.target.value.indexOf(".")>-1)&&e.preventDefault()},this.value="",this.type=void 0,this.password=!1,this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.name=void 0,this.nativeProps={}}async"focus"(){this.inputRef.focus()}"watchAutoFocus"(e,t){var i;!t&&e&&(null===(i=this.inputRef)||void 0===i||i.focus())}"watchValue"(e){const t=fixControlledValue(e);this.inputRef.value!==t&&(this.inputRef.value=t)}"componentDidLoad"(){var e,t,i,s,r;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(e=this.inputRef)||void 0===e||e.addEventListener("change",this.fileListener)):(null===(t=this.inputRef)||void 0===t||t.addEventListener("compositionstart",this.handleComposition),null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionend",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("beforeinput",this.handleBeforeInput),null===(r=this.inputRef)||void 0===r||r.addEventListener("textInput",this.handleBeforeInput))}"disconnectedCallback"(){var e,t,i,s,r;"file"===this.type?null===(e=this.inputRef)||void 0===e||e.removeEventListener("change",this.fileListener):(null===(t=this.inputRef)||void 0===t||t.removeEventListener("compositionstart",this.handleComposition),null===(i=this.inputRef)||void 0===i||i.removeEventListener("compositionend",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.removeEventListener("beforeinput",this.handleBeforeInput),null===(r=this.inputRef)||void 0===r||r.removeEventListener("textInput",this.handleBeforeInput))}"render"(){const{"value":e,"type":t,"password":i,"placeholder":s,"autoFocus":a,"disabled":o,"maxlength":n,"confirmType":l,"name":c,"nativeProps":d}=this;return(0,r.h)("input",Object.assign({"ref":e=>{this.inputRef=e,a&&e&&e.focus()},"class":"weui-input","type":getTrueType(t,l,i),"placeholder":s,"autoFocus":a,"disabled":o,"maxlength":n,"name":c,"onInput":this.handleInput,"onFocus":this.handleFocus,"onBlur":this.handleBlur,"onChange":this.handleChange,"onKeyDown":this.handleKeyDown,"onPaste":this.handlePaste,"onCompositionStart":this.handleComposition,"onCompositionEnd":this.handleComposition},d,{"value":fixControlledValue(e)}))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}"}},[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]);const S=function taro_input_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-input-core"].forEach((e=>{if("taro-input-core"===e)customElements.get(e)||customElements.define(e,E)}))},T=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.for=void 0}"render"(){return(0,r.h)("label",{"htmlFor":this.for},(0,r.h)("slot",null))}},[4,"taro-label-core",{"for":[1]}]);const k=function taro_label_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-label-core"].forEach((e=>{if("taro-label-core"===e)customElements.get(e)||customElements.define(e,T)}))};var C=i(6585);const M=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const e=this.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((e=>{this.views.push(e)})),this.updateArea()},this.handleTouchStart=e=>{const t=e.touches;if(!t||t.length<=1)return;const i=t[1].pageX-t[0].pageX,s=t[1].pageY-t[0].pageY;if(this.scaleLength=Math.sqrt(i*i+s*s),this.scaleArea)return;const find=(e,t)=>{const loop=(e,t)=>!!(e=e.parentNode)&&((!(0,C.i)(e)||e!==document.body)&&(e===t||e===t.element||e.element===t||loop(e,t)));for(let i=0;i{const t=e.touches;if(!t||t.length<=1)return;e.preventDefault();const i=t[1].pageX-t[0].pageX,s=t[1].pageY-t[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+s*s)/this.scaleLength)},this.handleTouchEnd=e=>{var t,i;e.touches&&e.touches.length||!e.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((e=>{var t;null===(t=e.endScale)||void 0===t||t.call(e)})):null===(i=null===(t=this.scaleTarget)||void 0===t?void 0:t.endScale)||void 0===i||i.call(t),this.scaleTarget=void 0)},this.updateScale=e=>{var t,i;e&&1!==e&&(this.scaleArea?this.views.forEach((t=>{var i;null===(i=t.setScale)||void 0===i||i.call(t,e)})):null===(i=null===(t=this.scaleTarget)||void 0===t?void 0:t.setScale)||void 0===i||i.call(t,e))},this.updateArea=()=>{const e=window.getComputedStyle(this.element),t=this.element.getBoundingClientRect(),i=["Left","Right"].map((t=>parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t]))),s=["Top","Bottom"].map((t=>parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])));this.views.forEach((e=>{var r;null===(r=e.setParent)||void 0===r||r.call(e,{"element":this.element,"area":{"height":t.height-s[0]-s[1],"width":t.width-i[0]-i[1]}})}))},this.scaleArea=void 0}"connectedCallback"(){this.observer=new MutationObserver((e=>{e.forEach((e=>{var t,i;if("class"===e.attributeName||"style"===e.attributeName){const e=this.element.offsetWidth,s=this.element.offsetHeight;e===(null===(t=this.offset)||void 0===t?void 0:t.width)&&s===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={"width":e,"height":s}}}))})),this.observer.observe(this.element,{"attributes":!0})}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"componentDidLoad"(){this.viewsChanged()}"render"(){return(0,r.h)(r.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"style"(){return"taro-movable-area-core{width:10px;height:10px;display:block;position:relative}"}},[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}]);const I=function taro_movable_area_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-area-core"].forEach((e=>{if("taro-movable-area-core"===e)customElements.get(e)||customElements.define(e,M)}))},P=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onScale=(0,r.yM)(this,"scale",7),this.onHTouchMove=(0,r.yM)(this,"htouchmove",7),this.onVTouchMove=(0,r.yM)(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={"x":0,"y":0},this.area={"width":0,"height":0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={"x":0,"y":0},this.scaleOffset={"x":0,"y":0},this.getLimitXY=(e,t)=>{let i=!1;return e>this.maxX?(e=this.maxX,i=!0):ethis.maxY?(t=this.maxY,i=!0):t{this.animation?(this.setTransform(e,t,i,s,r,a),null==o||o()):this.setTransform(e,t,i,s,r,a)},this.setTransform=(e,t,i,s,r,a)=>{if(e=Number(e.toFixed(1)),t=Number(t.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(e,t);e=i.x,t=i.y}const subtract=(e,t)=>+((1e3*e-1e3*t)/1e3).toFixed(1),o=subtract(e,this.scaleOffset.x),n=subtract(t,this.scaleOffset.y);this.translateX===e&&this.translateY===t||!r&&this.onChange.emit({"x":o,"y":n,"source":s}),i!==this.currentScale&&a&&this.onScale.emit({"scale":i,"x":o,"y":n});const l=`translateX(${e}px) translateY(${t}px) translateZ(0px) scale(${i})`;this.element.style.transform=l,this.element.style.webkitTransform=l,this.translateX=e,this.translateY=t,this.currentScale=i},this.updateOffset=()=>{const offset=(e,t)=>{if(e===t||!e.offsetParent)return{"left":0,"top":0};const i=offset(e.offsetParent,t);return{"left":e.offsetLeft+i.left,"top":e.offsetTop+i.top}};if(!this.parent)return;const e=offset(this.element,this.parent);this.offset.x=e.left,this.offset.y=e.top},this.updateScaleOffset=(e=this.currentScale)=>{const t=this.element.getBoundingClientRect();this.height=t.height/this.currentScale,this.width=t.width/this.currentScale,this.scaleOffset.x=(this.width*e-this.width)/2,this.scaleOffset.y=(this.height*e-this.height)/2},this.updateBoundary=()=>{const e=0-this.offset.x+this.scaleOffset.x,t=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(e,t),this.maxX=Math.max(e,t);const i=0-this.offset.y+this.scaleOffset.y,s=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,s),this.maxY=Math.max(i,s)},this.updateScale=(e,t,i)=>{if(!this.scale)return;const s=this.adjustScale(e);this.updateScaleOffset(s),this.updateBoundary();const{"x":r,"y":a}=this.getLimitXY(this.translateX,this.translateY);t?this.animationTo(r,a,s,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(r,a,s,"",!0,!0),this.updating=!1})))},this.setOriginScale=e=>{this.originScale=e},this.adjustScale=e=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,e)),this.handleTouchStart=e=>{const t=e.touches;if(this.disabled||t.length>1||!this.element)return;const i=t[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=e=>{const t=e.touches;if(this.disabled||!this.element||this.scaling||!this.touching||t.length>1)return;"horizontal"!==this.direction&&e.preventDefault();const i=t[0],s=i.screenX-this.origin.x,r=i.screenY-this.origin.y;if(this.setTransform(this.xMove?s+this.baseX:0,this.yMove?r+this.baseY:0),!this.firstMoveFireEvent){this.firstMoveFireEvent=!0;(Math.abs(s)>Math.abs(r)?this.onHTouchMove:this.onVTouchMove).emit({"originalEvent":e,"bubbles":!1,"capturePhase":!1,"composed":!0,"extraFields":{"touches":e.touches||{},"changedTouches":e.changedTouches||{}}})}},this.handleTouchEnd=e=>{const t=e.changedTouches[0];if(this.disabled||!this.touching||!t)return;this.touching=!1;const i=t.screenX-this.origin.x,s=t.screenY-this.origin.y;this.setTransform(this.xMove?i+this.baseX:0,this.yMove?s+this.baseY:0)},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}"watchX"(e){this.setTransform(parseFloat(`${e||0}`),this.translateY)}"watchY"(e){this.setTransform(this.translateX,parseFloat(`${e||0}`))}"watchScaleMinOrMax"(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}"watchScaleValue"(e){return!!this.scale&&(this.updateScale(e,!0),this.setOriginScale(e),e)}async"setParent"({"element":e,"area":t}){const i=this.scale?this.scaleValue:1;this.area=t,this.parent=e,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async"endScale"(){this.scaling=!1,this.setOriginScale(this.currentScale)}async"setScale"(e){this.scale&&(this.scaling=!0,this.updateScale(e*this.originScale))}"connectedCallback"(){this.observer=new MutationObserver((e=>{e.forEach((e=>{const t=e.attributeName;if(t&&["class","style"].includes(t)){const i=e.oldValue,s=e.target.getAttribute(t);if(i===s)return;const filter=e=>null==e?void 0:e.split(";").filter((e=>!["transform","will-change"].find((t=>e.trim().startsWith(t))))).join(";");if("style"===t&&filter(s)===filter(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{"attributes":!0,"attributeOldValue":!0})}"disconnectedCallback"(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}"componentDidLoad"(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const e=parseFloat(`${this.x||0}`),t=parseFloat(`${this.y||0}`);this.setTransform(e,t)}}"render"(){return(0,r.h)(r.AA,{"onTouchStart":this.handleTouchStart,"onTouchMove":this.handleTouchMove,"onTouchEnd":this.handleTouchEnd})}get"element"(){return this}static get"watchers"(){return{"x":["watchX"],"y":["watchY"],"scaleMin":["watchScaleMinOrMax"],"scaleMax":["watchScaleMinOrMax"],"scaleValue":["watchScaleValue"]}}static get"style"(){return"taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}"}},[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]);const L=function taro_movable_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-movable-view-core"].forEach((e=>{if("taro-movable-view-core"===e)customElements.get(e)||customElements.define(e,P)}))};var _=i(4536);const D=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onSuccess=(0,r.yM)(this,"cuccess",7),this.onFail=(0,r.yM)(this,"fail",7),this.onComplete=(0,r.yM)(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}"onClick"(){const{"openType":e,"onSuccess":t,"onFail":i,"onComplete":s}=this;let r=Promise.resolve();switch(e){case"navigate":r=_.ZP.navigateTo({"url":this.url});break;case"redirect":r=_.ZP.redirectTo({"url":this.url});break;case"switchTab":r=_.ZP.switchTab({"url":this.url});break;case"reLaunch":r=_.ZP.reLaunch({"url":this.url});break;case"navigateBack":r=_.ZP.navigateBack({"delta":this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((e=>{t.emit(e)})).catch((e=>{i.emit(e)})).finally((()=>{s.emit()}))}"render"(){const{"isHover":e,"hoverClass":t}=this;return(0,r.h)(r.AA,{"class":(0,a.c)({[t]:e})})}static get"style"(){return".navigator-hover{background:#efefef}"}},[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]);const O=function taro_navigator_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-navigator-core"].forEach((e=>{if("taro-navigator-core"===e)customElements.get(e)||customElements.define(e,D)}))},z=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost()}"componentDidLoad"(){(0,l.n)("PageContainer",this)}"render"(){return(0,r.h)(r.AA,null)}},[0,"taro-page-container-core"]);const B=function taro_page_container_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-page-container-core"].forEach((e=>{if("taro-page-container-core"===e)customElements.get(e)||customElements.define(e,z)}))},N=102,R=34,G=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onColumnChange=(0,r.yM)(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}"getPosition"(){const e=this.touchEnd?.3:0,t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${e}s`;return{"transform":t,"-webkit-transform":t,"transition":i,"-webkit-transition":i}}"formulaUnlimitedScroll"(e,t,i){const{"height":s,"updateHeight":r,"columnId":a}=this,o="up"===i?1:-1;this.touchEnd=!1,r(-e*o*R+s,a),requestAnimationFrame((()=>{this.touchEnd=!0;const i=Math.round(t/-34)+e*o;r(N-R*i,a,!0)}))}async"handleMoveStart"(e){this.startY=e,this.preY=e,this.hadMove=!1}async"handleMoving"(e){const t=e,i=t-this.preY;this.preY=t,this.touchEnd=!1,Math.abs(t-this.startY)>10&&(this.hadMove=!0);let s=this.height+i;"time"===this.mode&&("0"===this.columnId?(s>0&&(s=-816+i),s<-850&&(s=-34+i)):"1"===this.columnId&&(s>0&&(s=-2040+i),s<-2074&&(s=-34+i))),this.updateHeight(s,this.columnId)}async"handleMoveEnd"(e){const{"mode":t,"range":i,"height":s,"updateHeight":r,"columnId":a}=this,o=-34*(i.length-1),n=e;let l;if(this.touchEnd=!0,this.hadMove)l=s-N;else{const e=window.innerHeight;if(l=s-N-(n-(e-119)),"time"===t)if("0"===a){if(l>-85)return this.formulaUnlimitedScroll(24,l,"up");if(l<-969)return this.formulaUnlimitedScroll(24,l,"down")}else if("1"===a){if(l>-85)return this.formulaUnlimitedScroll(60,l,"up");if(l<-2193)return this.formulaUnlimitedScroll(60,l,"down")}}l>0&&(l=0),l{const i=t?e[t]:e;return(0,r.h)("div",{"class":"weui-picker__item"},i)}));return(0,r.h)(r.AA,{"class":"weui-picker__group"},(0,r.h)("div",{"class":"weui-picker__mask"}),(0,r.h)("div",{"class":"weui-picker__indicator"}),(0,r.h)("div",{"class":"weui-picker__content","style":this.getPosition()},i))}},[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);function getTimeRange(e,t){const i=[];for(let s=e;s<=t;s++)i.push(`${s<10?"0":""}${s}`);return i}const j=["20","21","22","23",...getTimeRange(0,23),"00","01","02","03"],F=["56","57","58","59",...getTimeRange(0,59),"00","01","02","03"];function verifyValue(e,t){return!isNaN(+e)&&e>=0&&e+e));return!(t[0]<0||t[0]>23)&&!(t[1]<0||t[1]>59)}function compareTime(e,t){const i=e.split(":").map((e=>+e)),s=t.split(":").map((e=>+e));return i[0]String(e))):e,t}function getDateRange(e,t){const i=[];for(let s=e;s<=t;s++)i.push(s);return i}function getYearRange(e,t){return getDateRange(e,t)}function getMonthRange(e,t,i){let s=1,r=12;return e.getFullYear()===i&&(s=e.getMonth()+1),t.getFullYear()===i&&(r=t.getMonth()+1),getDateRange(s,r)}function getDayRange(e,t,i,s){let r=1,a=function getMaxDay(e,t){return 4===t||6===t||9===t||11===t?30:2===t?e%4==0&&e%100!=0||e%400==0?29:28:31}(i,s);return e.getFullYear()===i&&e.getMonth()+1===s&&(r=e.getDate()),t.getFullYear()===i&&t.getMonth()+1===s&&(a=t.getDate()),getDateRange(r,a)}const H=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onColumnChange=(0,r.yM)(this,"columnchange",7),this.onCancel=(0,r.yM)(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((e=>{let t=0;return"time"===this.mode&&(t=136),N-R*e-t})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((e=>(N-e)/R));let e=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const t=[j.slice(),F.slice()],i=this.index.map(((e,i)=>t[i][e]));this.index=i.map((e=>parseInt(e))),e=i.join(":")}if("date"===this.mode){const{"_start":t,"_end":i,"_updateValue":s}=this.pickerDate,r=s[0],a=s[1],o=getYearRange(t.getFullYear(),i.getFullYear()),n=getMonthRange(t,i,r),l=getDayRange(t,i,r,a),c=o[this.index[0]],d=n[this.index[1]],p=l[this.index[2]];e="year"===this.fields?[c]:"month"===this.fields?[c,d]:[c,d,p],e=e.map((e=>e<10?`0${e}`:e)).join("-")}this.value=e,this.pickerValue=this.value,this.onChange.emit({"value":e})},this.handleColumnChange=e=>{const{"columnId":t,"height":i}=e.detail;this.onColumnChange.emit({"column":Number(t),"value":(N-i)/R})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(e,t,i=!1)=>{const s=[...this.height];if(s[t]=e,this.height=s,i){let{"start":e,"end":t}=this;if(verifyTime(e)||(e="00:00"),verifyTime(t)||(t="23:59"),!compareTime(e,t))return;const i=[j.slice(),F.slice()],s=this.height.map((e=>(N-e)/R)).map(((e,t)=>i[t][e])).join(":");if(compareTime(e,s)){if(!compareTime(s,t)){const e=t.split(":").map((e=>N-R*(+e+4)));requestAnimationFrame((()=>this.height=e))}}else{const t=e.split(":").map((e=>N-R*(+e+4)));requestAnimationFrame((()=>this.height=t))}}},this.updateDay=(e,t)=>{const{"_start":i,"_end":s,"_updateValue":r}=this.pickerDate;r[t]=e;const a=r[0],o=r[1],n=r[2];if(0===t){const e=getMonthRange(i,s,a),t=e[e.length-1],n=e[0];o>t&&(r[1]=t),ot&&(r[2]=t),n(0,r.h)("taro-picker-group",{"range":this.range,"rangeKey":this.rangeKey,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),this.getMultiSelector=()=>this.range.map(((e,t)=>(0,r.h)("taro-picker-group",{"range":e,"rangeKey":this.rangeKey,"height":this.height[t],"updateHeight":this.updateHeight,"onColumnChange":this.handleColumnChange,"columnId":String(t)}))),this.getTimeSelector=()=>{const e=j.slice(),t=F.slice();return[(0,r.h)("taro-picker-group",{"mode":"time","range":e,"height":this.height[0],"updateHeight":this.updateHeight,"columnId":"0"}),(0,r.h)("taro-picker-group",{"mode":"time","range":t,"height":this.height[1],"updateHeight":this.updateHeight,"columnId":"1"})]},this.getDateSelector=()=>{const{"fields":e,"height":t}=this,{"_start":i,"_end":s,"_updateValue":a}=this.pickerDate,o=a[0],n=a[1],l=getYearRange(i.getFullYear(),s.getFullYear()).map((e=>`${e}年`)),c=getMonthRange(i,s,o).map((e=>`${e<10?`0${e}`:e}月`)),d=getDayRange(i,s,o,n).map((e=>`${e<10?`0${e}`:e}日`)),p=[(0,r.h)("taro-picker-group",{"mode":"date","range":l,"height":t[0],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"0"})];return"month"!==e&&"day"!==e||p.push((0,r.h)("taro-picker-group",{"mode":"date","range":c,"height":t[1],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"1"})),"day"===e&&p.push((0,r.h)("taro-picker-group",{"mode":"date","range":d,"height":t[2],"updateDay":this.updateDay,"updateHeight":this.updateHeight,"columnId":"2"})),p},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}"componentWillLoad"(){this.isWillLoadCalled=!0,this.handleProps()}"componentDidLoad"(){this.overlay&&document.body.appendChild(this.overlay)}"disconnectedCallback"(){var e;this.overlay&&(null===(e=this.overlay.parentNode)||void 0===e||e.removeChild(this.overlay))}"onPropsChange"(){this.isWillLoadCalled&&this.handleProps()}"handleProps"(){const{"mode":e,"start":t,"end":i}=this;if("selector"===e){const e=this.value;this.index=[verifyValue(e,this.range)?Math.floor(e):0]}else if("multiSelector"===e){const e=this.value;this.index=[],this.range.forEach(((t,i)=>{const s=null==e?void 0:e[i],r=verifyValue(s,t)?Math.floor(s):0;this.index.push(r)}))}else if("time"===e){let e=this.value;verifyTime(e)||(console.warn("time picker value illegal"),e="0:0");const t=e.split(":").map((e=>+e));this.index=t}else{if("date"!==e)throw new Error(`Picker not support "${e}" mode.`);{let e=verifyDate(this.value)||new Date((new Date).setHours(0,0,0,0));const s=verifyDate(t)||new Date("1970/01/01"),r=verifyDate(i)||new Date("2999/01/01");if(!(s<=r))throw new Error("Picker start time must be less than end time.");e>=s&&e<=r||(e=s);const a=e.getFullYear(),o=e.getMonth()+1,n=e.getDate(),l=getYearRange(s.getFullYear(),r.getFullYear()),c=getMonthRange(s,r,a),d=getDayRange(s,r,a,o);this.index=[l.indexOf(a),c.indexOf(o),d.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===e.getTime()&&this.pickerDate._start.getTime()===s.getTime()&&this.pickerDate._end.getTime()===r.getTime()||(this.pickerDate={"_value":e,"_start":s,"_end":r,"_updateValue":[a,o,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===e){const e=this.pickerValue;"month"===this.fields?this.pickerValue=e.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=e.split("-")[0])}}"render"(){var e,t;const{"name":i,"mode":s,"fadeOut":o,"hidden":n}=this;let l;switch(s){case"multiSelector":l=this.getMultiSelector();break;case"time":l=this.getTimeSelector();break;case"date":l=this.getDateSelector();break;default:l=this.getSelector()}const c=(0,a.c)("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":o}),d=(0,a.c)("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":o}),p=n?{"display":"none"}:{};return(0,r.h)(r.AA,null,(0,r.h)("div",{"onClick":this.showPicker},(0,r.h)("slot",null),(0,r.h)("input",{"type":"hidden","name":i,"value":formatValue(this.pickerValue)})),(0,r.h)("div",{"class":"weui-picker__overlay","style":p,"ref":e=>{this.overlay=e}},(0,r.h)("div",{"class":c,"onClick":this.handleCancel}),(0,r.h)("div",{"class":d},(0,r.h)("div",{"class":"weui-picker__hd"},(0,r.h)("div",{"class":"weui-picker__action","onClick":this.handleCancel},null!==(e=this.textProps.cancelText)&&void 0!==e?e:"取消"),(0,r.h)("div",{"class":"weui-picker__action","onClick":this.handleChange},null!==(t=this.textProps.okText)&&void 0!==t?t:"确定")),(0,r.h)("div",{"class":"weui-picker__bd"},l),(0,r.h)("input",{"type":"hidden","name":i,"value":formatValue(this.pickerValue)}))))}get"el"(){return this}static get"watchers"(){return{"mode":["onPropsChange"],"value":["onPropsChange"],"range":["onPropsChange"],"start":["onPropsChange"],"end":["onPropsChange"]}}static get"style"(){return'.weui-mask{z-index:1000;background:rgba(0,0,0,.6);position:fixed;inset:0}.weui-mask_transparent{z-index:1000;position:fixed;inset:0}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;flex:1;display:block}.weui-picker__action:first-child{text-align:left;color:#888}.weui-picker__action:last-child{text-align:right}.weui-picker__bd{background-color:#fff;height:238px;display:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));background-position:top,bottom;background-repeat:no-repeat;background-size:100% 102px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;margin:0 auto;position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.weui-picker__indicator{z-index:3;width:100%;height:34px;position:absolute;top:102px;left:0}.weui-picker__indicator:before{content:" ";color:#e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__content{width:100%;position:absolute;top:0;left:0}.weui-picker__item{text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;height:34px;padding:0;line-height:34px;overflow:hidden}.weui-picker__item_disabled{color:#999}.weui-picker,.weui-picker__hd{font-size:12px}'}},[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}]);const Y=function taro_picker_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-core","taro-picker-group"].forEach((e=>{switch(e){case"taro-picker-core":customElements.get(e)||customElements.define(e,H);break;case"taro-picker-group":customElements.get(e)||function picker_group_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-picker-group"].forEach((e=>{"taro-picker-group"===e&&(customElements.get(e)||customElements.define(e,G))}))}()}}))},W=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"onselect",7),this.onSelectStart=(0,r.yM)(this,"onselectstart",7),this.onSelectEnd=(0,r.yM)(this,"onselectend",7),this.handleSelected=(0,C.d)((()=>{const e=this.el.childNodes;let t=0,i="0";for(const s in e){const r=e[s].offsetHeight;if(t+r/2>this.el.scrollTop){i=s;break}t+=r}this.el.scrollTo({"top":t,"behavior":"smooth"}),this.onChange.emit({"curIndex":this.col,"selectedIndex":i}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1}"onTouchStart"(){this.onSelectStart.emit()}"onTouchEnd"(){this.handleSelected()}"componentDidLoad"(){this.handleChange()}"componentDidUpdate"(){this.handleChange()}"handleChange"(){const e=this.el.childNodes;let t=0,i=0;for(const s in e){const r=e[s];if(this.initialPosition===s||!r||"number"!=typeof r.offsetHeight)break;i+=r.offsetHeight,t++}this.el.scrollTo({"top":i}),t>=e.length&&this.onChange.emit({"curIndex":this.col,"selectedIndex":t-1})}"render"(){const{"paddingVertical":e=0}=this;return(0,r.h)(r.AA,{"class":"taro-picker-view-column-container","style":{"padding-top":`${e}px`,"padding-bottom":`${e}px`}})}get"el"(){return this}static get"style"(){return".taro-picker-view-column-container{text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;position:relative;overflow:hidden scroll}.taro-picker-view-column-container::-webkit-scrollbar{display:none}"}},[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]);const V=function taro_picker_view_column_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-column-core"].forEach((e=>{if("taro-picker-view-column-core"===e)customElements.get(e)||customElements.define(e,W)}))};function convertStyle(e){if(e){const t=/([\w-]*)\s*:\s*([^;]*)/g,i={};let s;for(;s=t.exec(e);)i[`${s[1]}`]=s[2].trim();return i}}const $=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onPickStart=(0,r.yM)(this,"pickstart",7),this.onPickEnd=(0,r.yM)(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}"onPropsChange"(){this.handleValueChange()}"onSelect"(e){if(e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"!==e.target.tagName)return;let t=+e.detail.curIndex,i=+e.detail.selectedIndex;this.value[t]=i,this.onChange.emit({"value":this.value})}"onSelectStart"(e){e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===e.target.tagName&&this.onPickStart.emit()}"onPickerColEnd"(e){e.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===e.target.tagName&&this.onPickEnd.emit()}"componentDidLoad"(){this.handleValueChange()}"handleValueChange"(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((e,t)=>{var i;e.setAttribute("col",`${t}`);let s=0;this.value&&this.value.length>t&&(s=this.value[t]);const r=(this.el.getBoundingClientRect().height-((null===(i=this.indicator)||void 0===i?void 0:i.offsetHeight)||0))/2;e.setAttribute("initial-position",`${s}`),e.setAttribute("padding-vertical",`${r}`)}))}"componentDidRender"(){this.el.childNodes.forEach((e=>{const t=e;"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(e)}))}"render"(){const e=(0,a.c)("taro-picker-view-mask-indicator",this.indicatorClass),t=(0,a.c)("taro-picker-view-mask-top",this.maskClass),i=(0,a.c)("taro-picker-view-mask-bottom",this.maskClass),s=convertStyle(this.indicatorStyle),o=convertStyle(this.maskStyle),n=convertStyle(this.maskStyle);return(0,r.h)(r.AA,{"class":"taro-picker-view-container"},(0,r.h)("slot",null),(0,r.h)("div",{"class":"taro-picker-view-mask-container"},(0,r.h)("div",{"class":t,"style":o}),(0,r.h)("div",{"class":e,"style":s,"ref":e=>this.indicator=e}),(0,r.h)("div",{"class":i,"style":n})))}get"el"(){return this}static get"watchers"(){return{"value":["onPropsChange"]}}static get"style"(){return".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{pointer-events:none;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;position:absolute;inset:0}.taro-picker-view-mask-indicator{border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px;display:-ms-flexbox;display:flex}.taro-picker-view-mask-top{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6)));background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6));-ms-flex:1;flex:1}.taro-picker-view-mask-bottom{background:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));background:linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));-ms-flex:1;flex:1}"}},[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]);const X=function taro_picker_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-picker-view-core"].forEach((e=>{if("taro-picker-view-core"===e)customElements.get(e)||customElements.define(e,$)}))},Z=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}"render"(){const{"percent":e,"showInfo":t,"borderRadius":i,"fontSize":s,"strokeWidth":a,"activeColor":o,"backgroundColor":n,"active":l}=this,c=e>100?100:e<0?0:e,d={"height":a+"px","backgroundColor":n},p=l?"width 1s ease-in-out":"none",u={"width":`${c}%`,"transition":p,"WebkitTransition":p,"backgroundColor":o,"borderRadius":i?`${i}px`:"0px"};return(0,r.h)(r.AA,{"class":"weui-progress"},(0,r.h)("div",{"class":"weui-progress__bar","style":d},(0,r.h)("div",{"class":"weui-progress__inner-bar","style":u})),t&&(0,r.h)("div",{"class":"weui-progress__opr","style":{"font-size":`${s}px`}},(0,r.h)("span",null,c,"%")))}static get"style"(){return".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}"}},[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]);const Q=function taro_progress_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-progress-core"].forEach((e=>{if("taro-progress-core"===e)customElements.get(e)||customElements.define(e,Z)}))},U=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"radiochange",7),this.handleClick=e=>{e.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"watchChecked"(e){this.isWillLoadCalled&&e&&this.onChange.emit({"value":this.value})}"watchId"(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}"componentDidRender"(){this.id&&this.el.removeAttribute("id")}"componentWillLoad"(){this.isWillLoadCalled=!0}"render"(){const{"checked":e,"name":t,"value":i,"disabled":s,"nativeProps":a}=this;return(0,r.h)(r.AA,{"className":"weui-cells_checkbox","onClick":this.handleClick},(0,r.h)("input",Object.assign({"ref":e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},"type":"radio","name":t,"value":i,"class":"weui-check","checked":e,"disabled":s,"onChange":e=>e.stopPropagation()},a)),(0,r.h)("i",{"class":"weui-icon-checked"}),(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"checked":["watchChecked"],"id":["watchId"]}}},[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const J=function taro_radio_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-core"].forEach((e=>{if("taro-radio-core"===e)customElements.get(e)||customElements.define(e,U)}))};var K,taro_radio_group_core_classPrivateFieldSet=function(e,t,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(e,i):r?r.value=i:t.set(e,i),i},taro_radio_group_core_classPrivateFieldGet=function(e,t,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(e):s?s.value:t.get(e)};const ee=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.uniqueName=Date.now().toString(36),K.set(this,void 0),this.name=void 0}"function"(e){if(e.stopPropagation(),"TARO-RADIO-CORE"!==e.target.tagName)return;const t=e.target;if(t.checked){this.el.querySelectorAll("taro-radio-core").forEach((e=>{e!==t&&(e.checked=!1)})),taro_radio_group_core_classPrivateFieldSet(this,K,e.detail.value,"f"),this.onChange.emit({"value":taro_radio_group_core_classPrivateFieldGet(this,K,"f")})}}"componentDidLoad"(){this.el.querySelectorAll("taro-radio-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{"get":()=>{if(!taro_radio_group_core_classPrivateFieldGet(this,K,"f")){const e=this.el.querySelectorAll("taro-radio-core");taro_radio_group_core_classPrivateFieldSet(this,K,this.getValues(e),"f")}return taro_radio_group_core_classPrivateFieldGet(this,K,"f")},"configurable":!0})}"getValues"(e){let t="";return Array.from(e).forEach((e=>{const i=e.querySelector("input");(null==i?void 0:i.checked)&&(t=i.value||"")})),t}"render"(){return(0,r.h)(r.AA,{"class":"weui-cells_radiogroup"})}get"el"(){return this}},[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]);K=new WeakMap;const te=function taro_radio_group_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-radio-group-core"].forEach((e=>{if("taro-radio-group-core"===e)customElements.get(e)||customElements.define(e,ee)}))},ie=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.renderNode=e=>{if("type"in e&&"text"===e.type){return(e.text||"").replace(/ /g," ")}if("name"in e&&e.name){const{"name":t,"attrs":i,"children":s}=e,a={};let o=[];if(i&&"object"==typeof i)for(const e in i){const t=i[e];if("style"!==e||"string"!=typeof t)a[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),i={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,r]=t,a=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));i[a]=r})),Object.keys(i).length&&(a.style=i)}}return s&&s.length&&(o=s.map((e=>this.renderNode(e)))),(0,r.h)(t,a,o)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}"render"(){const{"nodes":e,"renderNode":t}=this;return Array.isArray(e)?(0,r.h)(r.AA,null,e.map((e=>t(e)))):(0,r.h)(r.AA,{"innerHTML":e})}static get"style"(){return"taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}"}},[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]);const se=function taro_rich_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-rich-text-core"].forEach((e=>{if("taro-rich-text-core"===e)customElements.get(e)||customElements.define(e,ie)}))};function easeOutScroll(e,t,i=500,s){if(e===t||"number"!=typeof e)return;const r=t-e,a=Date.now(),o=t>=e;!function step(){e=function linear(e,t,i,s){return i*e/s+t}(Date.now()-a,e,r,i),o&&e>=t||!o&&t>=e?s(t):(s(e),requestAnimationFrame(step))}()}const re=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onScroll=(0,r.yM)(this,"scroll",3),this.onScrollToUpper=(0,r.yM)(this,"scrolltoupper",3),this.onScrollToLower=(0,r.yM)(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=(0,C.d)((()=>{const{"offsetWidth":e,"offsetHeight":t,"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a}=this.el,o=Number(this.lowerThreshold),n=Number(this.upperThreshold);!isNaN(o)&&(this.scrollY&&t+s+o>=r||this.scrollX&&e+i+o>=a)&&this.onScrollToLower.emit({"direction":this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(n)&&(this.scrollY&&s<=n||this.scrollX&&i<=n)&&this.onScrollToUpper.emit({"direction":this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}"watchScrollLeft"(e){const t=Number(e),{"animated":i}=this;this.mpScrollToMethod({"left":t,"animated":i})}"watchScrollTop"(e){const t=Number(e),{"animated":i}=this;this.mpScrollToMethod({"top":t,"animated":i})}"watchScrollIntoView"(e){this.mpScrollIntoViewMethod(e)}"handleScroll"(e){var t;if(e instanceof CustomEvent)return;e.stopPropagation(),null===(t=e.stopImmediatePropagation)||void 0===t||t.call(e);const{"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a}=this.el;this._scrollLeft=i,this._scrollTop=s,this.upperAndLower(),this.onScroll.emit({"scrollLeft":i,"scrollTop":s,"scrollHeight":r,"scrollWidth":a})}"handleTouchMove"(e){e instanceof CustomEvent||e.stopPropagation()}async"mpScrollToMethod"(e){let{"top":t,"left":i,"duration":s,"animated":r=!1}=e;this.scrollY&&"number"==typeof t&&!isNaN(t)&&t!==this._scrollTop&&(r?easeOutScroll(this._scrollTop,t,s,(e=>this.el.scrollTop=e)):this.el.scrollTop=t,this._scrollTop=t),this.scrollX&&"number"==typeof i&&!isNaN(i)&&i!==this._scrollLeft&&(r?easeOutScroll(this._scrollLeft,i,s,(e=>this.el.scrollLeft=e)):this.el.scrollLeft=i,this._scrollLeft=i)}async"mpScrollIntoViewMethod"(e){var t;"string"==typeof e&&e&&(null===(t=document.querySelector(`#${e}`))||void 0===t||t.scrollIntoView({"behavior":this.animated?"smooth":"auto","block":this.scrollY&&this.mpScrollIntoViewAlignment||"center","inline":this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}"componentDidLoad"(){const e=Number(this.mpScrollTop),t=Number(this.mpScrollLeft),{"animated":i}=this;this.mpScrollToMethod({"top":e,"left":t,"animated":i})}"componentDidRender"(){(0,l.h)(this.el)}"render"(){const{"scrollX":e,"scrollY":t}=this,i=(0,a.c)({"taro-scroll-view__scroll-x":e,"taro-scroll-view__scroll-y":t});return(0,r.h)(r.AA,{"class":i},(0,r.h)("slot",null))}get"el"(){return this}static get"watchers"(){return{"mpScrollLeft":["watchScrollLeft"],"mpScrollTop":["watchScrollTop"],"mpScrollIntoView":["watchScrollIntoView"]}}static get"style"(){return"taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}"}},[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]);const ae=function taro_scroll_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-scroll-view-core"].forEach((e=>{if("taro-scroll-view-core"===e)customElements.get(e)||customElements.define(e,re)}))},oe=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.onChanging=(0,r.yM)(this,"changing",7),this.handleTouchStart=e=>{this.touching||this.disabled||(this.touching=!0,this.touchId=e.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=e.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=e=>{const{"disabled":t,"touching":i,"touchId":s,"totalWidth":r,"max":a,"min":o,"ogX":n,"ogPercent":l}=this;if(!i||t)return;if(e.targetTouches[0].identifier!==s)return;e.preventDefault();let c=(e.targetTouches[0].pageX-n)/r*100+l;c=this.handleValueUpdate(c,0,100);const d=o+.01*c*(a-o);this.updateByStep(d),this.onChanging.emit({"detail":e.detail,"value":this.value})},this.handleTouchEnd=e=>{const{"disabled":t,"touching":i}=this;i&&!t&&(this.percent!==this.ogPercent&&this.onChange.emit({"detail":e.detail,"value":this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(e,t=this.min,i=this.max)=>(e=isNaN(e)?0:e,Math.max(t,Math.min(e,i))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}"function"(e){if(!this.isWillLoadCalled)return;const{"max":t,"min":i}=this;if(null!==e){const s=this.handleValueUpdate(e,i,t);this.updateByStep(s)}}"componentDidLoad"(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}"componentWillLoad"(){this.isWillLoadCalled=!0;const{"value":e,"max":t,"min":i}=this,s=this.handleValueUpdate(e,i,t);this.updateByStep(s)}"updateByStep"(e){const{"max":t,"min":i,"step":s}=this,r=Math.floor((t-i)/s);for(let t=0;t<=r;t++){const a=i+s*t,o=t===r?null:i+s*(t+1);if(e===a)break;if(!o&&e>a&&(e=a),o&&e>a&&e100?100:o,p={"width":`${d}%`,"backgroundColor":i};l<12&&(l=12),l>28&&(l=28);const u={"left":`${d}%`,"width":`${l}px`,"height":`${l}px`,"backgroundColor":s,"marginTop":`-${Math.floor(l/2)}px`,"marginLeft":`-${Math.floor(l/2)}px`};return(0,r.h)(r.AA,{"class":"weui-slider-box"},(0,r.h)("div",{"class":"weui-slider"},(0,r.h)("div",{"class":"weui-slider__inner","style":c,"ref":e=>this.sliderInsRef=e},(0,r.h)("div",{"style":p,"class":"weui-slider__track"}),(0,r.h)("div",{"class":"weui-slider__handler","ref":e=>{e&&(this.handler=e)},"style":u}),(0,r.h)("input",{"type":"hidden","name":a,"value":n}))),e&&(0,r.h)("div",{"class":"weui-slider-box__value"},n))}get"el"(){return this}static get"watchers"(){return{"value":["function"]}}static get"style"(){return".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}"}},[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]);const ne=function taro_slider_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-slider-core"].forEach((e=>{if("taro-slider-core"===e)customElements.get(e)||customElements.define(e,oe)}))},le=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onChange=(0,r.yM)(this,"change",7),this.switchChange=e=>{e.stopPropagation();const t=e.target.checked;this.checked=t,this.onChange.emit({"value":t})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}"function"(e){this.isWillLoadCalled&&this.inputRef.checked!==e&&(this.inputRef.checked=e)}"componentWillLoad"(){this.isWillLoadCalled=!0}"componentDidLoad"(){Object.defineProperty(this.el,"value",{"get":()=>this.checked,"configurable":!0})}"render"(){const{"type":e,"color":t,"checked":i,"name":s,"disabled":a,"nativeProps":o}=this,n=i?{"borderColor":t||"04BE02","backgroundColor":t||"04BE02"}:{};return(0,r.h)("input",Object.assign({"ref":e=>{this.inputRef=e},"type":"checkbox","class":`weui-${e}`,"style":n,"checked":i,"name":s,"disabled":a,"onChange":this.switchChange},o))}get"el"(){return this}static get"watchers"(){return{"checked":["function"]}}static get"style"(){return'.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}'}},[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]);const ce=function taro_switch_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-switch-core"].forEach((e=>{if("taro-switch-core"===e)customElements.get(e)||customElements.define(e,le)}))},de=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}"render"(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),(0,r.h)(r.AA,{"style":e},(0,r.h)("slot",null))}static get"style"(){return"taro-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}"}},[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]);const pe=function taro_text_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-text-core"].forEach((e=>{if("taro-text-core"===e)customElements.get(e)||customElements.define(e,de)}))};function taro_textarea_core_fixControlledValue(e){return null!=e?e:""}const ue=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onInput=(0,r.yM)(this,"input",7),this.onFocus=(0,r.yM)(this,"focus",7),this.onBlur=(0,r.yM)(this,"blur",7),this.onConfirm=(0,r.yM)(this,"confirm",7),this.onChange=(0,r.yM)(this,"change",7),this.onLineChange=(0,r.yM)(this,"linechange",7),this.onKeyDown=(0,r.yM)(this,"keydown",7),this.handleInput=e=>{e.stopPropagation(),this.handleLineChange();const t=e.target.value||"";this.value=t,this.onInput.emit({"value":t,"cursor":t.length})},this.handleFocus=e=>{e.stopPropagation(),this.onFocus.emit({"value":e.target.value})},this.handleBlur=e=>{e.stopPropagation(),this.onBlur.emit({"value":e.target.value})},this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({"value":e.target.value})},this.handleLineChange=()=>{const e=this.getNumberOfLines();e!==this.line&&(this.line=e,this.onLineChange.emit({"height":this.textareaRef.clientHeight,"lineCount":this.line}))},this.handleKeyDown=e=>{e.stopPropagation();const{"value":t}=e.target,i=e.keyCode||e.code;this.onKeyDown.emit({"value":t,"cursor":t.length,"keyCode":i}),13===i&&this.onConfirm.emit({"value":t})},this.calculateContentHeight=(e,t)=>{let i=e.style.height,s=e.offsetHeight,r=e.scrollHeight,a=e.style.overflow,o=e.style.minHeight||null;if(!(s>=r))return r;if(e.style.minHeight=0,e.style.height=s+t+"px",e.style.overflow="hidden",r=e.scrollHeight;)e.style.height=(s-=t)+"px";for(;e.offsetHeight{const e=this.textareaRef,t=window.getComputedStyle?window.getComputedStyle(e):e.style,i=parseInt(t.lineHeight,10),s=this.calculateContentHeight(e,i);return Math.floor(s/i)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}"watchAutoFocus"(e,t){var i;!t&&e&&(null===(i=this.textareaRef)||void 0===i||i.focus())}"watchValue"(e){const t=taro_textarea_core_fixControlledValue(e);this.textareaRef.value!==t&&(this.textareaRef.value=t)}async"focus"(){this.textareaRef.focus()}"render"(){const{"value":e,"placeholder":t,"disabled":i,"maxlength":s,"autoFocus":a,"autoHeight":o,"name":n,"nativeProps":l,"handleInput":c,"handleFocus":d,"handleBlur":p,"handleChange":u}=this,h={};return o&&(h.rows=this.line),(0,r.h)("textarea",Object.assign({"ref":e=>{e&&(this.textareaRef=e,a&&e&&e.focus())},"class":"taro-textarea "+(o?"auto-height":""),"value":taro_textarea_core_fixControlledValue(e),"placeholder":t,"name":n,"disabled":i,"maxlength":s,"autofocus":a,"onInput":c,"onFocus":d,"onBlur":p,"onChange":u,"onKeyDown":this.handleKeyDown},l,h))}get"el"(){return this}static get"watchers"(){return{"autoFocus":["watchAutoFocus"],"value":["watchValue"]}}static get"style"(){return"taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}"}},[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]);const he=function taro_textarea_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-textarea-core"].forEach((e=>{if("taro-textarea-core"===e)customElements.get(e)||customElements.define(e,ue)}))},formatTime=e=>{if(!e)return"";const t=Math.round(e%60),i=Math.round((e-t)/60);return`${i<10?`0${i}`:i}:${t<10?`0${t}`:t}`},normalizeNumber=e=>Math.max(-1,Math.min(e,1));let me="default";const ge=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let s=0;const r=t.length,a={};for(;s{let t=e-this.progressDimensions.left;return t=Math.max(t,0),t=Math.min(t,this.progressDimensions.width),t/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=e=>{e.stopPropagation();const t=this.calcPercentage(e.pageX);this.seekFunc(t*this.duration),this.toggleVisibility(!0)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 0}"onDocumentTouchMove"(e){if(!this.isDraggingProgressBall)return;const t=e.touches[0].pageX;this.percentage=this.calcPercentage(t),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration)}"onDocumentTouchEnd"(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async"setProgressBall"(e){this.progressBallRef&&(this.progressBallRef.style.left=100*e+"%")}async"toggleVisibility"(e){const t=void 0===e?!this.visible:e;t?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!t}async"getIsDraggingProgressBall"(){return this.isDraggingProgressBall}async"setCurrentTime"(e){this.currentTimeRef.innerHTML=formatTime(e)}"render"(){const{"controls":e,"currentTime":t,"duration":i,"isPlaying":s,"pauseFunc":a,"playFunc":o,"showPlayBtn":n,"showProgress":l}=this,c=formatTime(i);let d;return d=n?s?(0,r.h)("div",{"class":"taro-video-control-button taro-video-control-button-pause","onClick":a}):(0,r.h)("div",{"class":"taro-video-control-button taro-video-control-button-play","onClick":o}):null,(0,r.h)(r.AA,{"class":"taro-video-bar taro-video-bar-full"},e&&(0,r.h)("div",{"class":"taro-video-controls"},d,l&&(0,r.h)("div",{"class":"taro-video-current-time","ref":e=>this.currentTimeRef=e},formatTime(t)),l&&(0,r.h)("div",{"class":"taro-video-progress-container","onClick":this.onClickProgress},(0,r.h)("div",{"class":"taro-video-progress","ref":e=>{if(!e)return;const t=e.getBoundingClientRect();this.progressDimensions.left=t.left,this.progressDimensions.width=t.width}},(0,r.h)("div",{"class":"taro-video-progress-buffered","style":{"width":"100%"}}),(0,r.h)("div",{"class":"taro-video-ball","ref":e=>this.progressBallRef=e,"onTouchStart":this.onDragProgressBallStart,"style":{"left":(c?this.currentTime/i*100:0)+"%"}},(0,r.h)("div",{"class":"taro-video-inner"})))),l&&(0,r.h)("div",{"class":"taro-video-duration"},c)),(0,r.h)("slot",null))}get"el"(){return this}},[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const be=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}"ensureProperties"(e){const t=Object.assign({},e);return"time"in e||(t.time=this.currentTime),t.key=Math.random(),t.bottom=90*Math.random()+5+"%",t}async"sendDanmu"(e=[]){if(Array.isArray(e))this.list=[...this.list,...e.map((e=>this.ensureProperties(e)))];else{const t=e;this.list=[...this.list,Object.assign({},this.ensureProperties(t))]}}async"tick"(e){if(this.currentTime=e,!this.enable)return;const t=this.list.filter((({"time":t})=>e-t<4&&e>t));let i=!1;const s=this.danmuList;i=t.length!==s.length||t.some((({"key":e})=>s.every((t=>e!==t.key)))),i&&(this.danmuList=t)}"componentDidUpdate"(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((e=>{e.style.left="0",e.style.webkitTransform="translateX(-100%)",e.style.transform="translateX(-100%)"}))}))}))}"render"(){return this.enable?(0,r.h)(r.AA,{"class":"taro-video-danmu"},this.danmuList.map((({"text":e,"color":t,"bottom":i,"key":s})=>(0,r.h)("p",{"class":"taro-video-danmu-item","key":s,"style":{"color":t,"bottom":i},"ref":e=>{e&&this.danmuElList.push(e)}},e)))):""}},[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]);const we=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onPlay=(0,r.yM)(this,"play",7),this.onPause=(0,r.yM)(this,"pause",7),this.onEnded=(0,r.yM)(this,"ended",7),this.onTimeUpdate=(0,r.yM)(this,"timeupdate",7),this.onError=(0,r.yM)(this,"error",7),this.onFullScreenChange=(0,r.yM)(this,"fullscreenchange",7),this.onProgress=(0,r.yM)(this,"progress",7),this.onLoadedMetaData=(0,r.yM)(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.analyzeGesture=e=>{var t;const i={"type":"none"},s=e.touches[0].screenX,r=e.touches[0].screenY,a=s-this.lastTouchScreenX,o=r-this.lastTouchScreenY,n=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if((l=a,c=o,Math.sqrt(Math.pow(l,2)+Math.pow(c,2)))<10)return i;if(Math.abs(o)>=Math.abs(a)){if(!n)return i;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(o){var e,t;this.videoRef&&(this.videoRef.src=this.src,null===(t=(e=this.videoRef).load)||void 0===t||t.call(e))},this.init=()=>{const{"src":e,"videoRef":t}=this;/\.(m3u8)($|\?)/i.test(e)?i.e(3041).then(i.bind(i,3041)).then((i=>{const s=i.default;this.HLS=s,s.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new s,this.hls.loadSource(e),this.hls.attachMedia(t),this.hls.on(s.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(s.Events.ERROR,((e,t)=>{this.handleError(t)}))):t.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=(0,C.t)((async e=>{var t,i;this.currentTime=this.videoRef.currentTime;const s=this.duration||this._duration,r=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(r||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/s),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({"duration":null===(t=e.target)||void 0===t?void 0:t.duration,"currentTime":null===(i=e.target)||void 0===i?void 0:i.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=e=>{var t,i;if(this.hls)switch(e.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({"errMsg":e.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({"errMsg":e.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else this.onError.emit({"errMsg":null===(i=null===(t=e.target)||void 0===t?void 0:t.error)||void 0===i?void 0:i.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=e=>{const t=e.target;this.onLoadedMetaData.emit({"width":t.videoWidth,"height":t.videoHeight,"duration":t.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=e=>{this.videoRef.currentTime=e},this.onTouchStartContainer=e=>{this.lastTouchScreenX=e.touches[0].screenX,this.lastTouchScreenY=e.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const e=Date.now();e-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=e}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=e=>{e.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=e=>{const t=(new Date).getTime();!e.detail&&this.isFullScreen&&!document[ge.fullscreenElement]&&t-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1,!0)},this.toggleFullScreen=(e=!this.isFullScreen,t=!1)=>{this.isFullScreen=e,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({"fullScreen":this.isFullScreen,"direction":"vertical"}),this.isFullScreen&&!document[ge.fullscreenElement]?setTimeout((()=>{this.videoRef[ge.requestFullscreen]({"navigationUI":"auto"}),_.ZP.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(t||document[ge.exitFullscreen](),_.ZP.eventCenter.trigger("__taroExitFullScreen",{}))},this.toggleMute=e=>{e.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=e=>{e.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}"componentWillLoad"(){this._enableDanmu=this.enableDanmu,this.isMute=this.muted}"componentDidLoad"(){var e,t;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(t=(e=this.danmuRef).sendDanmu)||void 0===t||t.call(e,this.danmuList),document.addEventListener&&document.addEventListener(ge.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===me&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}"componentDidRender"(){}"disconnectedCallback"(){document.removeEventListener&&document.removeEventListener(ge.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===me&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}"watchEnableDanmu"(e){this._enableDanmu=e}"watchSrc"(){this.init()}async"onDocumentTouchMove"(e){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const t=this.analyzeGesture(e);if("adjustVolume"===t.type){this.toastVolumeRef.style.visibility="visible";const e=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=e,this.toastVolumeBarRef.style.width=100*e+"%"}else if("adjustProgress"===t.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const e=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${formatTime(this.nextPercentage*e)} / ${formatTime(e)}`,this.toastProgressRef.style.visibility="visible"}}"onDocumentTouchEnd"(){var e;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(e=this.duration)&&void 0!==e?e:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async"getHlsObject"(){return this.hls}async"play"(){this._play()}async"pause"(){this._pause()}async"stop"(){this._stop()}async"seek"(e){this._seek(e)}async"requestFullScreen"(){this.toggleFullScreen(!0)}async"exitFullScreen"(){this.toggleFullScreen(!1)}"render"(){const{"controls":e,"autoplay":t,"loop":i,"muted":s,"poster":o,"objectFit":n,"isFirst":l,"isMute":c,"isFullScreen":d,"showCenterPlayBtn":p,"isPlaying":u,"_enableDanmu":h,"showMuteBtn":m,"danmuBtn":g,"showFullscreenBtn":f,"nativeProps":b}=this,w=this.duration||this._duration,v=formatTime(w);return(0,r.h)(r.AA,{"class":(0,a.c)("taro-video-container",{"taro-video-type-fullscreen":d}),"onTouchStart":this.onTouchStartContainer,"onClick":this.onClickContainer},(0,r.h)("video",Object.assign({"class":"taro-video-video","style":{"object-fit":n},"ref":e=>{e&&(this.videoRef=e)},"autoplay":t,"loop":i,"muted":s,"poster":e?o:void 0,"playsinline":!0,"webkit-playsinline":!0,"onPlay":this.handlePlay,"onPause":this.handlePause,"onEnded":this.handleEnded,"onTimeUpdate":this.handleTimeUpdate,"onError":this.handleError,"onDurationChange":this.handleDurationChange,"onProgress":this.handleProgress,"onLoadedMetaData":this.handleLoadedMetaData},b),"暂时不支持播放该视频"),(0,r.h)("taro-video-danmu",{"ref":e=>{e&&(this.danmuRef=e)},"enable":h}),l&&p&&!u&&(0,r.h)("div",{"class":"taro-video-cover"},(0,r.h)("div",{"class":"taro-video-cover-play-button","onClick":()=>this.play()}),(0,r.h)("p",{"class":"taro-video-cover-duration"},v)),(0,r.h)("taro-video-control",{"ref":e=>{e&&(this.controlsRef=e)},"controls":e,"currentTime":this.currentTime,"duration":w,"isPlaying":this.isPlaying,"pauseFunc":this._pause,"playFunc":this._play,"seekFunc":this._seek,"showPlayBtn":this.showPlayBtn,"showProgress":this.showProgress},m&&(0,r.h)("div",{"class":(0,a.c)("taro-video-mute",{"taro-video-type-mute":c}),"onClick":this.toggleMute}),g&&(0,r.h)("div",{"class":(0,a.c)("taro-video-danmu-button",{"taro-video-danmu-button-active":h}),"onClick":this.toggleDanmu},"弹幕"),f&&(0,r.h)("div",{"class":(0,a.c)("taro-video-fullscreen",{"taro-video-type-fullscreen":d}),"onClick":this.onClickFullScreenBtn})),(0,r.h)("div",{"class":"taro-video-toast taro-video-toast-volume","ref":e=>{e&&(this.toastVolumeRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-title"},"音量"),(0,r.h)("div",{"class":"taro-video-toast-icon"}),(0,r.h)("div",{"class":"taro-video-toast-value"},(0,r.h)("div",{"class":"taro-video-toast-value-content","ref":e=>{e&&(this.toastVolumeBarRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>(0,r.h)("div",{"class":"taro-video-toast-volume-grids-item"}))))))),(0,r.h)("div",{"class":"taro-video-toast taro-video-toast-progress","ref":e=>{e&&(this.toastProgressRef=e)}},(0,r.h)("div",{"class":"taro-video-toast-title","ref":e=>{e&&(this.toastProgressTitleRef=e)}})))}get"el"(){return this}static get"watchers"(){return{"enableDanmu":["watchEnableDanmu"],"src":["watchSrc"]}}static get"style"(){return'.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}'}},[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]]);const ve=function taro_video_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-video-core","taro-video-control","taro-video-danmu"].forEach((e=>{switch(e){case"taro-video-core":customElements.get(e)||customElements.define(e,we);break;case"taro-video-control":customElements.get(e)||function video_control_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-control"].forEach((e=>{"taro-video-control"===e&&(customElements.get(e)||customElements.define(e,fe))}))}();break;case"taro-video-danmu":customElements.get(e)||function video_danmu_defineCustomElement(){if("undefined"==typeof customElements)return;["taro-video-danmu"].forEach((e=>{"taro-video-danmu"===e&&(customElements.get(e)||customElements.define(e,be))}))}()}}))},Ae=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLongPress=(0,r.yM)(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}"onTouchStart"(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}"onTouchMove"(){clearTimeout(this.timeoutEvent)}"onTouchEnd"(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}"componentDidRender"(){(0,l.h)(this.el)}"render"(){const e=(0,a.c)({[`${this.hoverClass}`]:this.hover});let t={};return this.animation&&(t.animation=this.animation,t["data-animation"]=this.animation),(0,r.h)(r.AA,Object.assign({"class":e},t),(0,r.h)("slot",null))}get"el"(){return this}static get"style"(){return"taro-view-core{display:block}"}},[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);const ye=function taro_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-view-core"].forEach((e=>{if("taro-view-core"===e)customElements.get(e)||customElements.define(e,Ae)}))},xe=(0,r.GH)(class extends r.mv{"constructor"(){super(),this.__registerHost(),this.onLoad=(0,r.yM)(this,"load",7),this.onError=(0,r.yM)(this,"error",7),this.src=void 0}"render"(){const{"src":e,"onLoad":t,"onError":i}=this;return(0,r.h)("iframe",{"class":"taro-webview","onLoad":i=>{i.stopPropagation(),t.emit({"src":e})},"onError":t=>{t.stopPropagation(),i.emit({"src":e})},"src":e})}static get"style"(){return"iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}"}},[0,"taro-web-view-core",{"src":[1]}]);const Ee=function taro_web_view_core_defineCustomElement$1(){if("undefined"==typeof customElements)return;["taro-web-view-core"].forEach((e=>{if("taro-web-view-core"===e)customElements.get(e)||customElements.define(e,xe)}))};var Se=i(6883),Te=i(8028);function __rest(e,t){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(i[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(s=Object.getOwnPropertySymbols(e);rt=>{e.forEach((e=>{((e,t)=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})(e,t)}))},camelToDashCase=e=>e.replace(/([A-Z])/g,(e=>`-${e[0].toLowerCase()}`));var ke=i(3935);const arrayToMap=e=>{const t=new Map;return e.forEach((e=>t.set(e,e))),t};function getComponentName(e){return e.tagName.replace(/^TARO-/,"").replace(/-CORE$/,"")}function getControlledValue(e){const t=getComponentName(e);return["INPUT","TEXTAREA","SLIDER","PICKER"].includes(t)?"value":"SWITCH"===t?"checked":null}function finishedEventHandler(e){const t=getControlledValue(e);if(!t)return;(0,ke.flushSync)((()=>{}));const i=function getPropsAfterReactUpdate(e){const t=Object.keys(e).find((e=>e.includes("__reactProps")));return t?e[t]:null}(e);(null==i?void 0:i.hasOwnProperty(t))&&i[t]!==e[t]&&(e[t]=i[t],e.setAttribute(t,i[t]))}const syncEvent=(e,t,i)=>{const s=e.__events||(e.__events={}),r=s[t];if(i){if(r){if(r.fn===i)return;e.removeEventListener(t,r)}const a=s[t]=function(t){(0,ke.unstable_batchedUpdates)((()=>i.call(this,t))),finishedEventHandler(e)};a.fn=i,e.addEventListener(t,a)}else r&&e.removeEventListener(t,r)},attachProps=(e,t,i={})=>{if(e instanceof Element){Object.keys(i).forEach((i=>{if(!["style","children","ref","class","className","forwardedRef"].includes(i)&&!t.hasOwnProperty(i))if(/^on([A-Z].*)/.test(i)){const t=i.substring(2).toLowerCase();syncEvent(e,t)}else e[i]=null,e.removeAttribute(camelToDashCase(i))})),e.className=((e,t,i)=>{const s=t.className||t.class,r=i.className||i.class,a=arrayToMap(e),o=arrayToMap(s?s.split(" "):[]),n=arrayToMap(r?r.split(" "):[]),l=[];return a.forEach((e=>{o.has(e)?(l.push(e),o.delete(e)):n.has(e)||l.push(e)})),o.forEach((e=>l.push(e))),l.join(" ")})(e.classList,t,i),Object.keys(t).forEach((i=>{if(!("style"===i&&"string"!=typeof t[i]||["children","ref","class","className","forwardedRef"].includes(i)))if(/^on([A-Z].*)/.test(i)){const s=i.substring(2).toLowerCase();syncEvent(e,s,t[i])}else{e[i]=t[i];"string"===typeof t[i]&&e.setAttribute(camelToDashCase(i),t[i])}}));const s=getControlledValue(e);if(s&&t.hasOwnProperty(s)){const t=["INPUT","TEXTAREA"].includes(getComponentName(e))?"input":"change";e.__events||(e.__events={}),e.__events.hasOwnProperty(t)||syncEvent(e,t,(function(){}))}}};const createComponent_createReactComponent=(e,t,i,r)=>{void 0!==r&&r();const a=e.toLowerCase().split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("");const o=class extends s.Component{"constructor"(e){super(e),this.setComponentElRef=e=>{this.componentEl=e}}"componentDidMount"(){!function applyUnControlledDefaultValue(e,t){const i=getControlledValue(e);if(!i)return;const s="default"+i.charAt(0).toUpperCase()+i.slice(1);!t.hasOwnProperty(i)&&t.hasOwnProperty(s)&&(e[i]=t[s],e.setAttribute(i,t[s]))}(this.componentEl,this.props),this.componentDidUpdate(this.props)}"componentDidUpdate"(e){attachProps(this.componentEl,this.props,e)}"render"(){const t=this.props,{"children":r,"forwardedRef":a,"className":o,"ref":n,"style":l}=t,c=__rest(t,["children","forwardedRef","className","ref","style"]);let d=Object.keys(c).reduce(((e,t)=>{const i=c[t];if(0===t.indexOf("on")&&t[2]===t[2].toUpperCase()){t.substring(2).toLowerCase();0}else{["string","boolean","number"].includes(typeof i)&&(e[camelToDashCase(t)]=i)}return e}),{});i&&(d=i(this.props,d));const p=Object.assign(Object.assign({},d),{"ref":mergeRefs(a,this.setComponentElRef)});return(0,s.createElement)(e,p,r)}static get"displayName"(){return a}};return t&&(o.contextType=t),((e,t)=>{const forwardRef=(t,i)=>s.createElement(e,Object.assign({},t,{"forwardedRef":i}));return forwardRef.displayName=t,s.forwardRef(forwardRef)})(o,a)},Ce=createComponent_createReactComponent("taro-button-core",void 0,helper_manipulatePropsFunction,n),Me=createComponent_createReactComponent("taro-camera-core",void 0,helper_manipulatePropsFunction,d),Ie=createComponent_createReactComponent("taro-checkbox-core",void 0,helper_manipulatePropsFunction,u),Pe=createComponent_createReactComponent("taro-checkbox-group-core",void 0,helper_manipulatePropsFunction,g),Le=createComponent_createReactComponent("taro-form-core",void 0,helper_manipulatePropsFunction,w),_e=createComponent_createReactComponent("taro-icon-core",void 0,helper_manipulatePropsFunction,A),De=createComponent_createReactComponent("taro-image-core",void 0,helper_manipulatePropsFunction,x),Oe=createComponent_createReactComponent("taro-input-core",void 0,helper_manipulatePropsFunction,S),ze=createComponent_createReactComponent("taro-label-core",void 0,helper_manipulatePropsFunction,k),Be=createComponent_createReactComponent("taro-movable-area-core",void 0,helper_manipulatePropsFunction,I),Ne=createComponent_createReactComponent("taro-movable-view-core",void 0,helper_manipulatePropsFunction,L),Re=createComponent_createReactComponent("taro-navigator-core",void 0,helper_manipulatePropsFunction,O),Ge=createComponent_createReactComponent("taro-page-container-core",void 0,helper_manipulatePropsFunction,B),je=createComponent_createReactComponent("taro-picker-core",void 0,helper_manipulatePropsFunction,Y),Fe=createComponent_createReactComponent("taro-picker-view-column-core",void 0,helper_manipulatePropsFunction,V),He=createComponent_createReactComponent("taro-picker-view-core",void 0,helper_manipulatePropsFunction,X),Ye=createComponent_createReactComponent("taro-progress-core",void 0,helper_manipulatePropsFunction,Q),We=createComponent_createReactComponent("taro-radio-core",void 0,helper_manipulatePropsFunction,J),Ve=createComponent_createReactComponent("taro-radio-group-core",void 0,helper_manipulatePropsFunction,te),$e=createComponent_createReactComponent("taro-rich-text-core",void 0,helper_manipulatePropsFunction,se),Xe=createComponent_createReactComponent("taro-scroll-view-core",void 0,helper_manipulatePropsFunction,ae),Ze=createComponent_createReactComponent("taro-slider-core",void 0,helper_manipulatePropsFunction,ne),Qe=createComponent_createReactComponent("taro-swiper-core",void 0,helper_manipulatePropsFunction,Se.M),Ue=createComponent_createReactComponent("taro-swiper-item-core",void 0,helper_manipulatePropsFunction,Te.M),qe=createComponent_createReactComponent("taro-switch-core",void 0,helper_manipulatePropsFunction,ce),Je=createComponent_createReactComponent("taro-text-core",void 0,helper_manipulatePropsFunction,pe),Ke=createComponent_createReactComponent("taro-textarea-core",void 0,helper_manipulatePropsFunction,he),et=createComponent_createReactComponent("taro-video-core",void 0,helper_manipulatePropsFunction,ve),tt=createComponent_createReactComponent("taro-view-core",void 0,helper_manipulatePropsFunction,ye),it=createComponent_createReactComponent("taro-web-view-core",void 0,helper_manipulatePropsFunction,Ee)},"9515":function(e,t,i){"use strict";i.d(t,{"So":function(){return c},"xI":function(){return l}});var s=i(4165),r=i(7582),a=i(1795),o=i.n(a),n=i(4388),l=function getSystemInfoSync(){var e=function getWindowInfo(){return{"pixelRatio":window.devicePixelRatio,"screenWidth":window.screen.width,"screenHeight":window.screen.height,"windowWidth":document.documentElement.clientWidth,"windowHeight":document.documentElement.clientHeight,"statusBarHeight":NaN,"safeArea":{"bottom":0,"height":0,"left":0,"right":0,"top":0,"width":0}}}(),t=function getSystemSetting(){return{"bluetoothEnabled":!1,"locationEnabled":!1,"wifiEnabled":!1,"deviceOrientation":window.screen.width>=window.screen.height?"landscape":"portrait"}}(),i=function getDeviceInfo(){var e,t;return{"abi":"","deviceAbi":"","benchmarkLevel":-1,"brand":o().manufacturer||"unknown","model":o().product||"unknown","system":(null===(e=o().os)||void 0===e?void 0:e.toString())||"unknown","platform":(null===(t=o().os)||void 0===t?void 0:t.family)||"unknown","CPUType":""}}(),s=function getAppBaseInfo(){var e,t=!1;return(null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-color-scheme: dark)").matches)&&(t=!0),{"SDKVersion":"","enableDebug":!1,"language":navigator.language,"version":"","theme":t?"dark":"light"}}(),r={"albumAuthorized":"not determined","bluetoothAuthorized":"not determined","cameraAuthorized":"not determined","locationAuthorized":"not determined","locationReducedAccuracy":!1,"microphoneAuthorized":"not determined","notificationAuthorized":"not determined","notificationAlertAuthorized":"not determined","notificationBadgeAuthorized":"not determined","notificationSoundAuthorized":"not determined","phoneCalendarAuthorized":"not determined"};return delete i.abi,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),s),{"fontSizeSetting":NaN,"albumAuthorized":"authorized"===r.albumAuthorized,"cameraAuthorized":"authorized"===r.cameraAuthorized,"locationAuthorized":"authorized"===r.locationAuthorized,"microphoneAuthorized":"authorized"===r.microphoneAuthorized,"notificationAuthorized":"authorized"===r.notificationAuthorized,"notificationAlertAuthorized":"authorized"===r.notificationAlertAuthorized,"notificationBadgeAuthorized":"authorized"===r.notificationBadgeAuthorized,"notificationSoundAuthorized":"authorized"===r.notificationSoundAuthorized,"phoneCalendarAuthorized":"authorized"===r.phoneCalendarAuthorized,"locationReducedAccuracy":r.locationReducedAccuracy,"environment":""})},c=function getSystemInfo(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.Z)().mark((function _callee2(){var t,i,r,a,o;return(0,s.Z)().wrap((function _callee2$(s){for(;;)switch(s.prev=s.next){case 0:return t=e.success,i=e.fail,r=e.complete,a=new n.N({"name":"getSystemInfo","success":t,"fail":i,"complete":r}),s.prev=2,s.next=5,l();case 5:return o=s.sent,s.abrupt("return",a.success(o));case 9:return s.prev=9,s.t0=s.catch(2),s.abrupt("return",a.fail({"errMsg":s.t0}));case 12:case"end":return s.stop()}}),_callee2,null,[[2,9]])}))()}))}},"8862":function(e,t,i){"use strict";i.d(t,{"$":function(){return a},"a":function(){return r}});var s=i(7255),r=(0,s.tA)("openSetting"),a=(0,s.tA)("getSetting")},"4371":function(e,t,i){"use strict";i.d(t,{"Zk":function(){return y},"Cy":function(){return E},"QP":function(){return A},"K4":function(){return x},"CF":function(){return v}});var s=i(4165),r=i(7582),a=i(498),o=i(2017),n=i(7255),l=i(4388),c=i(5671),d=i(3144),p=function noop(){},u=function(){return(0,d.Z)((function ActionSheet(){(0,c.Z)(this,ActionSheet),this.options={"alertText":"","itemList":[],"itemColor":"#000000","success":p,"fail":p,"complete":p},this.style={"maskStyle":{"position":"fixed","z-index":"1000","top":"0","right":"0","left":"0","bottom":"0","background":"rgba(0,0,0,0.6)"},"actionSheetStyle":{"z-index":"4999","position":"fixed","left":"0","bottom":"0","-webkit-transform":"translate(0, 100%)","transform":"translate(0, 100%)","width":"100%","line-height":"1.6","background":"#EFEFF4","-webkit-transition":"-webkit-transform .3s","transition":"transform .3s","border-radius":"15px 15px 0 0"},"menuStyle":{"background-color":"#FCFCFD","border-radius":"15px 15px 0 0"},"cellStyle":{"position":"relative","padding":"10px 0","text-align":"center","font-size":"18px"},"titleStyle":{"position":"relative","padding":"10px 0","text-align":"center","font-size":"16px","color":"rgba(0,0,0,0.8)","display":"none"},"cancelStyle":{"margin-top":"6px","padding":"10px 0","text-align":"center","font-size":"18px","color":"#000000","background-color":"#FCFCFD"}},this.lastConfig={}}),[{"key":"create","value":function create(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s=e.style,r=s.maskStyle,a=s.actionSheetStyle,o=s.menuStyle,l=s.cellStyle,c=s.titleStyle,d=s.cancelStyle,p=Object.assign(Object.assign({},e.options),t);e.lastConfig=p,e.el=document.createElement("div"),e.el.className="taro__actionSheet",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear",e.mask=document.createElement("div"),e.mask.setAttribute("style",(0,n.b9)(r)),e.actionSheet=document.createElement("div"),e.actionSheet.setAttribute("style",(0,n.b9)(a)),e.menu=document.createElement("div"),e.menu.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},o),{"color":p.itemColor}))),e.cells=p.itemList.map((function(t,s){var r=document.createElement("div");return r.className="taro-actionsheet__cell",r.setAttribute("style",(0,n.b9)(l)),r.textContent=t,r.dataset.tapIndex="".concat(s),r.onclick=function(t){e.hide();var s=t.currentTarget,r=Number(null==s?void 0:s.dataset.tapIndex)||0;i(r)},r})),e.title=document.createElement("div"),e.title.setAttribute("style",(0,n.b9)(c)),e.title.className="taro-actionsheet__cell",e.title.textContent=p.alertText,e.title.style.display=p.alertText?"block":"none",e.cancel=document.createElement("div"),e.cancel.setAttribute("style",(0,n.b9)(d)),e.cancel.textContent="取消",e.menu.appendChild(e.title),e.cells.forEach((function(t){return e.menu.appendChild(t)})),e.actionSheet.appendChild(e.menu),e.actionSheet.appendChild(e.cancel),e.el.appendChild(e.mask),e.el.appendChild(e.actionSheet);var u=function cb(){e.hide(),i("cancel")};e.mask.onclick=u,e.cancel.onclick=u,document.body.appendChild(e.el),setTimeout((function(){e.el.style.opacity="1",(0,n.B2)(e.actionSheet,"translate(0, 0)")}),0)}))}},{"key":"show","value":function show(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s=Object.assign(Object.assign({},e.options),t);e.lastConfig=s,e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer),s.itemColor&&(e.menu.style.color=s.itemColor);var r=e.style.cellStyle;s.itemList.forEach((function(t,s){var a;e.cells[s]?a=e.cells[s]:((a=document.createElement("div")).className="taro-actionsheet__cell",a.setAttribute("style",(0,n.b9)(r)),a.dataset.tapIndex="".concat(s),e.cells.push(a),e.menu.appendChild(a)),a.textContent=t,a.onclick=function(t){e.hide();var s=t.currentTarget,r=Number(null==s?void 0:s.dataset.tapIndex)||0;i(r)}}));var a=e.cells.length,o=s.itemList.length;if(a>o){for(var l=o;l0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s,r,a=e.style,l=a.maskStyle,c=a.modalStyle,d=a.titleStyle,p=a.textStyle,u=a.footStyle,h=a.btnStyle,m=Object.assign(Object.assign({},e.options),t);e.el=document.createElement("div"),e.el.className="taro__modal",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear";var g=function eventHandler(e){e.stopPropagation(),e.preventDefault()},f=document.createElement("div");f.className="taro-modal__mask",f.setAttribute("style",(0,n.b9)(l)),f.ontouchmove=g;var b=document.createElement("div");b.className="taro-modal__content",b.setAttribute("style",(0,n.b9)(c)),b.ontouchmove=g;var w=m.title?d:Object.assign(Object.assign({},d),{"display":"none"});e.title=document.createElement("div"),e.title.className="taro-modal__title",e.title.setAttribute("style",(0,n.b9)(w)),e.title.textContent=m.title;var v=m.title?p:Object.assign(Object.assign({},p),{"padding":"40px 20px 26px","color":"#353535"});e.text=document.createElement("div"),e.text.className="taro-modal__text",e.text.setAttribute("style",(0,n.b9)(v)),e.text.textContent=m.content;var A=document.createElement("div");A.className="taro-modal__foot",A.setAttribute("style",(0,n.b9)(u));var y=Object.assign(Object.assign({},h),{"color":m.cancelColor,"display":m.showCancel?"block":"none"});e.cancel=document.createElement("div"),e.cancel.className="taro-model__btn taro-model__cancel",e.cancel.setAttribute("style",(0,n.b9)(y)),e.cancel.textContent=m.cancelText,e.cancel.onclick=function(){e.hide(),i("cancel")},e.confirm=document.createElement("div"),e.confirm.className="taro-model__btn taro-model__confirm",e.confirm.setAttribute("style",(0,n.b9)(h)),e.confirm.style.color=m.confirmColor,e.confirm.textContent=m.confirmText,e.confirm.onclick=function(){e.hide(),i("confirm")},A.appendChild(e.cancel),A.appendChild(e.confirm),b.appendChild(e.title),b.appendChild(e.text),b.appendChild(A),e.el.appendChild(f),e.el.appendChild(b),document.body.appendChild(e.el),setTimeout((function(){e.el.style.opacity="1"}),0),e.currentPath=null!==(r=null===(s=o.G.page)||void 0===s?void 0:s.path)&&void 0!==r?r:(0,n.Jz)()}))}},{"key":"show","value":function show(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(i){var s,r,a=Object.assign(Object.assign({},e.options),t);e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer);var l=e.style.textStyle;if(a.title)e.title.textContent=a.title,e.title.style.display="block",e.text.setAttribute("style",(0,n.b9)(l));else{e.title.textContent="",e.title.style.display="none";var c=Object.assign(Object.assign({},l),{"padding":"40px 20px 26px","color":"#353535"});e.text.setAttribute("style",(0,n.b9)(c))}e.text.textContent=a.content||"",e.cancel.style.display=a.showCancel?"block":"none",e.cancel.textContent=a.cancelText||"",e.cancel.style.color=a.cancelColor||"",e.confirm.textContent=a.confirmText||"",e.confirm.style.color=a.confirmColor||"",e.cancel.onclick=function(){e.hide(),i("cancel")},e.confirm.onclick=function(){e.hide(),i("confirm")},e.el.style.display="block",setTimeout((function(){e.el.style.opacity="1"}),0),e.currentPath=null!==(r=null===(s=o.G.page)||void 0===s?void 0:s.path)&&void 0!==r?r:(0,n.Jz)()}))}},{"key":"hide","value":function hide(){var e=this;this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout((function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout((function(){e.el.style.display="none"}),200)}),0)}}])}(),m=function(){return(0,d.Z)((function Toast(){(0,c.Z)(this,Toast),this.options={"title":"","icon":"none","image":"","duration":1500,"mask":!1},this.style={"maskStyle":{"position":"fixed","z-index":"1000","top":"0","right":"0","left":"0","bottom":"0"},"toastStyle":{"z-index":"5000","box-sizing":"border-box","display":"flex","flex-direction":"column","justify-content":"center","-webkit-justify-content":"center","position":"fixed","top":"50%","left":"50%","min-width":"120px","max-width":"200px","min-height":"120px","padding":"15px","transform":"translate(-50%, -50%)","border-radius":"5px","text-align":"center","line-height":"1.6","color":"#FFFFFF","background":"rgba(17, 17, 17, 0.7)"},"successStyle":{"margin":"6px auto","width":"38px","height":"38px","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTQ4OTYzMjA0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQzNDgiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMjE5Ljk1MiA1MTIuNTc2bDIxMC40MzIgMjEwLjQzMi00NS4yNDggNDUuMjU2LTIxMC40MzItMjEwLjQzMnoiIHAtaWQ9IjQzNDkiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNNzk5LjY3MiAyNjIuMjY0bDQ1LjI1NiA0NS4yNTYtNDYwLjQ2NCA0NjAuNDY0LTQ1LjI1Ni00NS4yNTZ6IiBwLWlkPSI0MzUwIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},"errrorStyle":{"margin":"6px auto","width":"38px","height":"38px","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTUxMDU1MTgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE0MDc2IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNTggNjQgNjQgMjY0LjU4IDY0IDUxMnMyMDAuNTggNDQ4IDQ0OCA0NDggNDQ4LTIwMC41OCA0NDgtNDQ4Uzc1OS40MiA2NCA1MTIgNjR6IG0wIDc1MmEzNiAzNiAwIDEgMSAzNi0zNiAzNiAzNiAwIDAgMS0zNiAzNnogbTUxLjgzLTU1MS45NUw1NDggNjM2YTM2IDM2IDAgMCAxLTcyIDBsLTE1LjgzLTM3MS45NWMtMC4xLTEuMzMtMC4xNy0yLjY4LTAuMTctNC4wNWE1MiA1MiAwIDAgMSAxMDQgMGMwIDEuMzctMC4wNyAyLjcyLTAuMTcgNC4wNXoiIHAtaWQ9IjE0MDc3IiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},"loadingStyle":{"margin":"6px auto","width":"38px","height":"38px","-webkit-animation":"taroLoading 1s steps(12, end) infinite","animation":"taroLoading 1s steps(12, end) infinite","background":"transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat","background-size":"100%"},"imageStyle":{"margin":"6px auto","width":"40px","height":"40px","background":"transparent no-repeat","background-size":"100%"},"textStyle":{"margin":"0","font-size":"16px"}}}),[{"key":"create","value":function create(){var e,t,i=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",a=this.style,l=a.maskStyle,c=a.toastStyle,d=a.successStyle,p=a.errrorStyle,u=a.loadingStyle,h=a.imageStyle,m=a.textStyle,g=Object.assign(Object.assign(Object.assign({},this.options),s),{"_type":r});if(this.el=document.createElement("div"),this.el.className="taro__toast",this.el.style.opacity="0",this.el.style.transition="opacity 0.1s linear",this.el.ontouchmove=function(e){e.stopPropagation(),e.preventDefault()},this.mask=document.createElement("div"),this.mask.setAttribute("style",(0,n.b9)(l)),this.mask.style.display=g.mask?"block":"none",this.icon=document.createElement("p"),g.image)this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},h),{"background-image":"url(".concat(g.image,")")})));else{var f="loading"===g.icon?u:"error"===g.icon?p:d;this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},f),"none"===g.icon?{"display":"none"}:{})))}return this.toast=document.createElement("div"),this.toast.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},c),"none"===g.icon?{"min-height":"0","padding":"10px 15px"}:{}))),this.title=document.createElement("p"),this.title.setAttribute("style",(0,n.b9)(m)),this.title.textContent=g.title,this.toast.appendChild(this.icon),this.toast.appendChild(this.title),this.el.appendChild(this.mask),this.el.appendChild(this.toast),document.body.appendChild(this.el),setTimeout((function(){i.el.style.opacity="1"}),0),this.type=g._type,g.duration>=0&&this.hide(g.duration,this.type),this.currentPath=null!==(t=null===(e=o.G.page)||void 0===e?void 0:e.path)&&void 0!==t?t:(0,n.Jz)(),""}},{"key":"show","value":function show(){var e,t,i=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",a=Object.assign(Object.assign(Object.assign({},this.options),s),{"_type":r});this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.title.textContent=a.title||"",this.mask.style.display=a.mask?"block":"none";var l=this.style,c=l.toastStyle,d=l.successStyle,p=l.errrorStyle,u=l.loadingStyle,h=l.imageStyle;if(a.image)this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},h),{"background-image":"url(".concat(a.image,")")})));else if(!a.image&&a.icon){var m="loading"===a.icon?u:"error"===a.icon?p:d;this.icon.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},m),"none"===a.icon?{"display":"none"}:{})))}return this.toast.setAttribute("style",(0,n.b9)(Object.assign(Object.assign({},c),"none"===a.icon?{"min-height":"0","padding":"10px 15px"}:{}))),this.el.style.display="block",setTimeout((function(){i.el.style.opacity="1"}),0),this.type=a._type,a.duration>=0&&this.hide(a.duration,this.type),this.currentPath=null!==(t=null===(e=o.G.page)||void 0===e?void 0:e.path)&&void 0!==t?t:(0,n.Jz)(),""}},{"key":"hide","value":function hide(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";i&&i!==this.type||(this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout((function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout((function(){e.el.style.display="none"}),100)}),t))}}])}(),g="default";function init(e){if("ready"!==g){var t=e.createElement("style");t.textContent='@font-face{font-weight:normal;font-style:normal;font-family:"taro";src:url("data:application/x-font-ttf;charset=utf-8;base64, AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJWs0t/AAABfAAAAFZjbWFwqVgGvgAAAeAAAAGGZ2x5Zph7qG0AAANwAAAAdGhlYWQRFoGhAAAA4AAAADZoaGVhCCsD7AAAALwAAAAkaG10eAg0AAAAAAHUAAAADGxvY2EADAA6AAADaAAAAAhtYXhwAQ4AJAAAARgAAAAgbmFtZYrphEEAAAPkAAACVXBvc3S3shtSAAAGPAAAADUAAQAAA+gAAABaA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAAMAAQAAAAEAAADih+FfDzz1AAsD6AAAAADXB57LAAAAANcHnssAAP/sA+gDOgAAAAgAAgAAAAAAAAABAAAAAwAYAAEAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQK8AZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAAHjqCAPoAAAAWgPoABQAAAABAAAAAAAAA+gAAABkAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAV4AAQAAAAAAWAADAAEAAAAsAAMACgAAAV4ABAAsAAAABgAEAAEAAgB46gj//wAAAHjqCP//AAAAAAABAAYABgAAAAEAAgAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAKAAAAAAAAAACAAAAeAAAAHgAAAABAADqCAAA6ggAAAACAAAAAAAAAAwAOgABAAD/7AAyABQAAgAANzMVFB4UKAAAAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAAAEgDeAAEAAAAAAAAAHQAAAAEAAAAAAAEABAAdAAEAAAAAAAIABwAhAAEAAAAAAAMABAAoAAEAAAAAAAQABAAsAAEAAAAAAAUACwAwAAEAAAAAAAYABAA7AAEAAAAAAAoAKwA/AAEAAAAAAAsAEwBqAAMAAQQJAAAAOgB9AAMAAQQJAAEACAC3AAMAAQQJAAIADgC/AAMAAQQJAAMACADNAAMAAQQJAAQACADVAAMAAQQJAAUAFgDdAAMAAQQJAAYACADzAAMAAQQJAAoAVgD7AAMAAQQJAAsAJgFRCiAgQ3JlYXRlZCBieSBmb250LWNhcnJpZXIKICB3ZXVpUmVndWxhcndldWl3ZXVpVmVyc2lvbiAxLjB3ZXVpR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgAgACAAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGYAbwBuAHQALQBjAGEAcgByAGkAZQByAAoAIAAgAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwECAQMBBAABeAd1bmlFQTA4AAAAAAA=") format("truetype");}@-webkit-keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}@keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}.taro-modal__foot:after {content: "";position: absolute;left: 0;top: 0;right: 0;height: 1px;border-top: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);} .taro-model__btn:active {background-color: #EEEEEE}.taro-model__btn:not(:first-child):after {content: "";position: absolute;left: 0;top: 0;width: 1px;bottom: 0;border-left: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleX(0.5);transform: scaleX(0.5);}.taro-actionsheet__cell:not(:last-child):after {content: "";position: absolute;left: 0;bottom: 0;right: 0;height: 1px;border-top: 1px solid #e5e5e5;color: #e5e5e5;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}',e.querySelector("head").appendChild(t),g="ready"}}var f=new m,b=new h,w=new u,v=function showToast(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{"title":""};init(document);var t=e=Object.assign({"title":"","icon":"success","image":"","duration":1500,"mask":!1},e),i=t.success,s=t.fail,r=t.complete,a=new l.N({"name":"showToast","success":i,"fail":s,"complete":r});if("string"!=typeof e.title)return a.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})});if("number"!=typeof e.duration)return a.fail({"errMsg":(0,n.Hl)({"para":"duration","correct":"Number","wrong":e.duration})});e.image&&"string"!=typeof e.image&&(e.image=""),e.mask=!!e.mask;var o="";return o=f.el?f.show(e,"toast"):f.create(e,"toast"),a.success({"errMsg":o})},A=function showLoading(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{"title":""};init(document);var t=e=Object.assign({"title":"","mask":!1},e),i=t.success,s=t.fail,r=t.complete,a=new l.N({"name":"showLoading","success":i,"fail":s,"complete":r});if("string"!=typeof(e=Object.assign({},e,{"icon":"loading","image":"","duration":-1})).title)return a.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})});e.mask=!!e.mask;var o="";return o=f.el?f.show(e,"loading"):f.create(e,"loading"),a.success({"errMsg":o})},y=function hideLoading(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,i=void 0!==t&&t,s=e.success,r=e.fail,a=e.complete,o=new l.N({"name":"hideLoading","success":s,"fail":r,"complete":a});return f.el?(f.hide(0,i?"loading":""),o.success()):o.success()},x=function showModal(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.Z)().mark((function _callee(){var t,i,r,a,o,c,d;return(0,s.Z)().wrap((function _callee$(s){for(;;)switch(s.prev=s.next){case 0:if(init(document),e=Object.assign({"title":"","content":"","showCancel":!0,"cancelText":"取消","cancelColor":"#000000","confirmText":"确定","confirmColor":"#3CC51F"},e),i=(t=e).success,r=t.fail,a=t.complete,o=new l.N({"name":"showModal","success":i,"fail":r,"complete":a}),"string"==typeof e.title){s.next=6;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"title","correct":"String","wrong":e.title})}));case 6:if("string"==typeof e.content){s.next=8;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"content","correct":"String","wrong":e.content})}));case 8:if("string"==typeof e.cancelText){s.next=10;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"cancelText","correct":"String","wrong":e.cancelText})}));case 10:if(!(e.cancelText.replace(/[\u0391-\uFFE5]/g,"aa").length>8)){s.next=12;break}return s.abrupt("return",o.fail({"errMsg":"cancelText length should not larger then 4 Chinese characters"}));case 12:if("string"==typeof e.confirmText){s.next=14;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"confirmText","correct":"String","wrong":e.confirmText})}));case 14:if(!(e.confirmText.replace(/[\u0391-\uFFE5]/g,"aa").length>8)){s.next=16;break}return s.abrupt("return",o.fail({"errMsg":"confirmText length should not larger then 4 Chinese characters"}));case 16:if("string"==typeof e.cancelColor){s.next=18;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"cancelColor","correct":"String","wrong":e.cancelColor})}));case 18:if("string"==typeof e.confirmColor){s.next=20;break}return s.abrupt("return",o.fail({"errMsg":(0,n.Hl)({"para":"confirmColor","correct":"String","wrong":e.confirmColor})}));case 20:if(e.showCancel=!!e.showCancel,c="",b.el){s.next=28;break}return s.next=25,b.create(e);case 25:c=s.sent,s.next=31;break;case 28:return s.next=30,b.show(e);case 30:c=s.sent;case 31:return(d={"cancel":!1,"confirm":!1})[c]=!0,s.abrupt("return",o.success(d));case 34:case"end":return s.stop()}}),_callee)}))()}))};var E=function showActionSheet(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{"itemList":[]},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"showActionSheet";return(0,s.Z)().mark((function _callee2(){var i,r,a,o,c,d,p;return(0,s.Z)().wrap((function _callee2$(s){for(;;)switch(s.prev=s.next){case 0:if(init(document),e=Object.assign({"itemColor":"#000000","itemList":[]},e),r=(i=e).success,a=i.fail,o=i.complete,c=new l.N({"name":t,"success":r,"fail":a,"complete":o}),Array.isArray(e.itemList)){s.next=6;break}return s.abrupt("return",c.fail({"errMsg":(0,n.Hl)({"para":"itemList","correct":"Array","wrong":e.itemList})}));case 6:if(!(e.itemList.length<1)){s.next=8;break}return s.abrupt("return",c.fail({"errMsg":"parameter error: parameter.itemList should have at least 1 item"}));case 8:if(!(e.itemList.length>6)){s.next=10;break}return s.abrupt("return",c.fail({"errMsg":"parameter error: parameter.itemList should not be large than 6"}));case 10:d=0;case 11:if(!(d0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,i=void 0!==t&&t,s=e.success,r=e.fail,a=e.complete,o=new l.N({"name":"hideToast","success":s,"fail":r,"complete":a});f.el?(f.hide(0,i?"toast":""),o.success()):o.success()}(),y()),b.currentPath&&b.currentPath!==(null===(t=o.G.page)||void 0===t?void 0:t.path)&&function hideModal(){b.el&&b.hide()}()}))},"8931":function(e,t,i){"use strict";i.r(t),i.d(t,{"default":function(){return P}});var s=i(5671),r=i(3144),a=i(8361),o=i(9340),n=i(7294),l=i(9515),c=i(4536),d=i(4385),p=JSON.parse('{"i8":"4.0.7-canary.3"}'),u="0.73.11",h=i(4898),m=i(4046),g=i(9845),f=i(5893),b=(0,l.xI)(),w=b.version,v=b.platform,A=!!i.g.HermesInternal,y={"name":"隐私政策","onPress":function onPress(){(0,h.Ib)({"url":"https://api.fang.anjuke.com/wlk/message?id=2049","title":"隐私政策","right":"下载","open":"https://wos2.58cdn.com.cn/DeFazYxWvDti/frsupload/df70db603b651daa09a31b72f2b1b1f9.pdf"})}},x={"name":"版本更新","onPress":function onPress(){h.Fj&&"ios"===v?c.ZP.openUrl({"url":"https://apps.apple.com/cn/app/taro-playground/id1576830673"}):(0,h.Ib)({"url":"https://github.com/wuba/taro-playground/releases","title":"版本变更","certified":h.Fj})}},E={"name":"项目源码","onPress":function onPress(){(0,h.Ib)({"url":"https://github.com/wuba/taro-playground","title":"项目源码","certified":h.Fj})}},S={"name":"官方网站","onPress":function onPress(){(0,h.Ib)({"url":"https://docs.taro.zone","title":"官方网站","certified":h.Fj})}},T={"name":"Web 版本","onPress":function onPress(){(0,h.Ib)({"url":"https://wuba.github.io/taro-playground/","title":"Web 版本","certified":h.Fj})}},k={"name":"小程序版本","onPress":function onPress(){(0,h.tT)({"url":"https://pic3.58cdn.com.cn/nowater/frs/n_v23ec2613515c6458aaa44f01d459cea8b.jpg"})}},C={"name":"React Native 版本","onPress":function onPress(){(0,h.ff)({"android":"https://pic3.58cdn.com.cn/nowater/fangfe/n_v295dd481b6b2f446592350e3187716d03.png","ios":"https://pic1.58cdn.com.cn/nowater/fangfe/n_v224532e5560314106b6ab32b0a1534a9d.png"})}},M=h.Fj?[C,T,k,x]:h.$L?[C,k,x]:[C,T,x],I=h.Fj?[E,S,y]:[E,S],P=function(e){function Index(){return(0,s.Z)(this,Index),(0,a.Z)(this,Index,arguments)}return(0,o.Z)(Index,e),(0,r.Z)(Index,[{"key":"render","value":function render(){return(0,f.jsxs)(d.G7,{"className":"page","children":[(0,f.jsxs)(d.G7,{"className":"page-header","children":[(0,f.jsx)(d.Ee,{"src":g,"className":"page-header-img"}),(0,f.jsx)(d.G7,{"className":"page-header-desc","children":"Taro 是一个开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发 微信 / 京东 / 百度 / 支付宝 / 字节跳动 / QQ 小程序 / H5 / RN 等应用。"})]}),(0,f.jsx)(m.Z,{"title":"版本信息","data":M.map((function(e){return{"title":e.name}})),"handleItemClick":function handleItemClick(e,t){M[t].onPress()}}),(0,f.jsx)(m.Z,{"title":"相关链接","data":I.map((function(e){return{"title":e.name}})),"handleItemClick":function handleItemClick(e,t){I[t].onPress()}}),h.Fj?(0,f.jsxs)(d.G7,{"className":"page-footer","onClick":function onClick(){c.ZP.navigateTo({"url":"/pages/about/dep"})},"children":[(0,f.jsxs)(d.xv,{"className":"page-footer-text","children":["Taro: ",p.i8,", React Native: ",u,", Taro Playground: ",w]}),A&&(0,f.jsx)(d.xv,{"className":"page-footer-text","children":"Engine: Hermes"})]}):(0,f.jsx)(d.G7,{"className":"page-footer","children":(0,f.jsxs)(d.xv,{"className":"page-footer-text","children":["Taro: ",p.i8]})})]})}}])}(n.Component)},"4046":function(e,t,i){"use strict";i.d(t,{"Z":function(){return List}});var s=i(4385),r=i(7294),a=i(6146),o=i(6481),n=i(152),l=i(5893),c=function Divider(){return(0,l.jsx)(s.G7,{"style":{"height":a.WI,"backgroundColor":"#e5e5e5"}})};function List(e){var t=e.data,i=e.title,d=e.desc,p=e.handleClick,u=e.handleItemClick,h=e.handleInfoClick,m=t.length;return 0===m?null:(0,l.jsxs)(l.Fragment,{"children":[(0,l.jsxs)(s.G7,{"className":"list-header","children":[(0,l.jsx)(s.xv,{"className":"list-header-text","children":i}),(0,l.jsx)(s.xv,{"className":"list-header-text","onClick":p,"children":d})]}),(0,l.jsx)(c,{}),t.map((function(e,t){var i=e.image,c=e.title,d=e.showRightArrow,p=void 0===d||d,g=e.showInfo,f=void 0!==g&&g,b=e.data;return(0,l.jsx)(r.Fragment,{"children":(0,l.jsxs)(s.G7,{"hoverClass":"list-item-hover","hoverStyle":{"backgroundColor":"#fafafa"},"className":"list-item","onClick":function onClick(){null==u||u(b,t)},"children":[i&&(0,l.jsx)(s.Ee,{"className":"list-item-img","src":i}),(0,l.jsxs)(s.G7,{"className":"list-item-body","style":{"borderBottomWidth":t!=m-1?a.WI:0},"children":[(0,l.jsx)(s.G7,{"className":"list-item-content","children":(0,l.jsx)(s.xv,{"className":"list-item-title","ellipsizeMode":"tail","numberOfLines":1,"children":c})}),f&&(0,l.jsx)(s.G7,{"onClick":function onClick(e){var i;null===(i=e.stopPropagation)||void 0===i||i.call(e),null==h||h(b,t)},"className":"list-item-info","children":(0,l.jsx)(s.Ee,{"src":n,"className":"list-item-icon"})}),p&&(0,l.jsx)(s.G7,{"className":"list-item-box","children":(0,l.jsx)(s.Ee,{"src":o,"className":"list-item-icon"})})]})]})},t)})),(0,l.jsx)(c,{})]})}},"4898":function(e,t,i){"use strict";i.d(t,{"$L":function(){return o},"Fj":function(){return n},"Ib":function(){return loadWeb},"tT":function(){return loadMini},"ff":function(){return loadRn},"D5":function(){return hadlePermissionsDeny},"P2":function(){return throttle},"p":function(){return randomColor}});var s=i(4536),r=i(4371),a=i(8862),o=(0,s.dU)()===s.Q4.WEB,n=(0,s.dU)()===s.Q4.RN;function loadWeb(e){var t=e.url,i=e.title,r=e.right,a=e.open,n=e.certified,l=void 0===n||n;o?window.location.href=t:s.ZP.navigateTo({"url":"/pages/webview/index?certified=".concat(l,"&title=").concat(i,"&link=").concat(encodeURIComponent(t)).concat(r?"&right=".concat(r):"").concat(a?"&open=".concat(encodeURIComponent(a)):"")})}function loadMini(e){var t=e.url;s.ZP.navigateTo({"url":"/pages/about/mini?src="+encodeURIComponent(t)})}function loadRn(e){var t=e.android,i=e.ios;s.ZP.navigateTo({"url":"/pages/about/rn?android="+encodeURIComponent(t)+"&ios="+encodeURIComponent(i)})}function hadlePermissionsDeny(e){var t=e.perssionText;(0,r.K4)({"title":"提示","content":"请在“设置-隐私-".concat(t,"”选项中,允许 Taro 访问你的").concat(t,"。"),"confirmColor":"#6190E8","success":function success(e){e.confirm&&(0,a.a)()}})}function throttle(e,t){var i=0;return function(){var s=Date.now(),r=arguments;s-i>t&&(e.apply(this,r),i=s)}}function randomColor(){return"#".concat(Math.floor(16777215*Math.random()).toString(16))}},"6146":function(e,t,i){"use strict";i.d(t,{"WI":function(){return s},"vZ":function(){return r}});var s="0.5px",r=void 0},"1795":function(e,t,i){var s;e=i.nmd(e),function(){"use strict";var r={"function":!0,"object":!0},a=r[typeof window]&&window||this,o=r[typeof t]&&t,n=r.object&&e&&!e.nodeType&&e,l=o&&n&&"object"==typeof i.g&&i.g;!l||l.global!==l&&l.window!==l&&l.self!==l||(a=l);var c=Math.pow(2,53)-1,d=/\bOpera/,p=Object.prototype,u=p.hasOwnProperty,h=p.toString;function capitalize(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function format(e){return e=trim(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:capitalize(e)}function forOwn(e,t){for(var i in e)u.call(e,i)&&t(e[i],i,e)}function getClassOf(e){return null==e?capitalize(e):h.call(e).slice(8,-1)}function qualify(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function reduce(e,t){var i=null;return function each(e,t){var i=-1,s=e?e.length:0;if("number"==typeof s&&s>-1&&s<=c)for(;++i3?"WebKit":/\bOpera\b/.test(I)&&(/\bOPR\b/.test(e)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(M)&&"WebKit"||!M&&/\bMSIE\b/i.test(e)&&("Mac OS"==_?"Tasman":"Trident")||"WebKit"==M&&/\bPlayStation\b(?! Vita\b)/i.test(I)&&"NetFront")&&(M=[o]),"IE"==I&&(o=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(I+=" Mobile",_="Windows Phone "+(/\+$/.test(o)?o:o+".x"),S.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(I="IE Mobile",_="Windows Phone 8.x",S.unshift("desktop mode"),C||(C=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=I&&"Trident"==M&&(o=/\brv:([\d.]+)/.exec(e))&&(I&&S.push("identifying as "+I+(C?" "+C:"")),I="IE",C=o[1]),k){if(function isHostType(e,t){var i=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!e[t])}(t,"global"))if(f&&(E=(o=f.lang.System).getProperty("os.arch"),_=_||o.getProperty("os.name")+" "+o.getProperty("os.version")),b){try{C=t.require("ringo/engine").version.join("."),I="RingoJS"}catch(e){(o=t.system)&&o.global.system==t.system&&(I="Narwhal",_||(_=o[0].os||null))}I||(I="Rhino")}else"object"==typeof t.process&&!t.process.browser&&(o=t.process)&&("object"==typeof o.versions&&("string"==typeof o.versions.electron?(S.push("Node "+o.versions.node),I="Electron",C=o.versions.electron):"string"==typeof o.versions.nw&&(S.push("Chromium "+C,"Node "+o.versions.node),I="NW.js",C=o.versions.nw)),I||(I="Node.js",E=o.arch,_=o.platform,C=(C=/[\d.]+/.exec(o.version))?C[0]:null));else getClassOf(o=t.runtime)==p?(I="Adobe AIR",_=o.flash.system.Capabilities.os):getClassOf(o=t.phantom)==g?(I="PhantomJS",C=(o=o.version||null)&&o.major+"."+o.minor+"."+o.patch):"number"==typeof A.documentMode&&(o=/\bTrident\/(\d+)/i.exec(e))?(C=[C,A.documentMode],(o=+o[1]+4)!=C[1]&&(S.push("IE "+C[1]+" mode"),M&&(M[1]=""),C[1]=o),C="IE"==I?String(C[1].toFixed(1)):C[0]):"number"==typeof A.documentMode&&/^(?:Chrome|Firefox)\b/.test(I)&&(S.push("masking as "+I+" "+C),I="IE",C="11.0",M=["Trident"],_="Windows");_=_&&format(_)}if(C&&(o=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(C)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(k&&s.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(T=/b/i.test(o)?"beta":"alpha",C=C.replace(RegExp(o+"\\+?$"),"")+("beta"==T?v:w)+(/\d+\+?/.exec(o)||"")),"Fennec"==I||"Firefox"==I&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(_))I="Firefox Mobile";else if("Maxthon"==I&&C)C=C.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(P))"Xbox 360"==P&&(_=null),"Xbox 360"==P&&/\bIEMobile\b/.test(e)&&S.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(I)&&(!I||P||/Browser|Mobi/.test(I))||"Windows CE"!=_&&!/Mobi/i.test(e))if("IE"==I&&k)try{null===t.external&&S.unshift("platform preview")}catch(e){S.unshift("embedded")}else(/\bBlackBerry\b/.test(P)||/\bBB10\b/.test(e))&&(o=(RegExp(P.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||C)?(_=((o=[o,/BB10/.test(e)])[1]?(P=null,L="BlackBerry"):"Device Software")+" "+o[0],C=null):this!=forOwn&&"Wii"!=P&&(k&&y||/Opera/.test(I)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==I&&/\bOS X (?:\d+\.){2,}/.test(_)||"IE"==I&&(_&&!/^Win/.test(_)&&C>5.5||/\bWindows XP\b/.test(_)&&C>8||8==C&&!/\bTrident\b/.test(e)))&&!d.test(o=parse.call(forOwn,e.replace(d,"")+";"))&&o.name&&(o="ing as "+o.name+((o=o.version)?" "+o:""),d.test(I)?(/\bIE\b/.test(o)&&"Mac OS"==_&&(_=null),o="identify"+o):(o="mask"+o,I=x?format(x.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(o)&&(_=null),k||(C=null)),M=["Presto"],S.push(o));else I+=" Mobile";(o=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(o=[parseFloat(o.replace(/\.(\d)$/,".0$1")),o],"Safari"==I&&"+"==o[1].slice(-1)?(I="WebKit Nightly",T="alpha",C=o[1].slice(0,-1)):C!=o[1]&&C!=(o[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(C=null),o[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1],537.36==o[0]&&537.36==o[2]&&parseFloat(o[1])>=28&&"WebKit"==M&&(M=["Blink"]),k&&(l||o[1])?(M&&(M[1]="like Chrome"),o=o[1]||((o=o[0])<530?1:o<532?2:o<532.05?3:o<533?4:o<534.03?5:o<534.07?6:o<534.1?7:o<534.13?8:o<534.16?9:o<534.24?10:o<534.3?11:o<535.01?12:o<535.02?"13+":o<535.07?15:o<535.11?16:o<535.19?17:o<536.05?18:o<536.1?19:o<537.01?20:o<537.11?"21+":o<537.13?23:o<537.18?24:o<537.24?25:o<537.36?26:"Blink"!=M?"27":"28")):(M&&(M[1]="like Safari"),o=(o=o[0])<400?1:o<500?2:o<526?3:o<533?4:o<534?"4+":o<535?5:o<537?6:o<538?7:o<601?8:o<602?9:o<604?10:o<606?11:o<608?12:"12"),M&&(M[1]+=" "+(o+="number"==typeof o?".x":/[.+]/.test(o)?"":"+")),"Safari"==I&&(!C||parseInt(C)>45)?C=o:"Chrome"==I&&/\bHeadlessChrome/i.test(e)&&S.unshift("headless")),"Opera"==I&&(o=/\bzbov|zvav$/.exec(_))?(I+=" ",S.unshift("desktop mode"),"zvav"==o?(I+="Mini",C=null):I+="Mobile",_=_.replace(RegExp(" *"+o+"$"),"")):"Safari"==I&&/\bChrome\b/.exec(M&&M[1])?(S.unshift("desktop mode"),I="Chrome Mobile",C=null,/\bOS X\b/.test(_)?(L="Apple",_="iOS 4.3+"):_=null):/\bSRWare Iron\b/.test(I)&&!C&&(C=getVersion("Chrome")),C&&0==C.indexOf(o=/[\d.]+$/.exec(_))&&e.indexOf("/"+o+"-")>-1&&(_=trim(_.replace(o,""))),_&&-1!=_.indexOf(I)&&!RegExp(I+" OS").test(_)&&(_=_.replace(RegExp(" *"+qualify(I)+" *"),"")),M&&!/\b(?:Avant|Nook)\b/.test(I)&&(/Browser|Lunascape|Maxthon/.test(I)||"Safari"!=I&&/^iOS/.test(_)&&/\bSafari\b/.test(M[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(I)&&M[1])&&(o=M[M.length-1])&&S.push(o),S.length&&(S=["("+S.join("; ")+")"]),L&&P&&P.indexOf(L)<0&&S.push("on "+L),P&&S.push((/^on /.test(S[S.length-1])?"":"on ")+P),_&&(o=/ ([\d.+]+)$/.exec(_),n=o&&"/"==_.charAt(_.length-o[0].length-1),_={"architecture":32,"family":o&&!n?_.replace(o[0],""):_,"version":o?o[1]:null,"toString":function(){var e=this.version;return this.family+(e&&!n?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(o=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(E))&&!/\bi686\b/i.test(E)?(_&&(_.architecture=64,_.family=_.family.replace(RegExp(" *"+o),"")),I&&(/\bWOW64\b/i.test(e)||k&&/\w(?:86|32)$/.test(s.cpuClass||s.platform)&&!/\bWin64; x64\b/i.test(e))&&S.unshift("32-bit")):_&&/^OS X/.test(_.family)&&"Chrome"==I&&parseFloat(C)>=39&&(_.architecture=64),e||(e=null);var D={};return D.description=e,D.layout=M&&M[0],D.manufacturer=L,D.name=I,D.prerelease=T,D.product=P,D.ua=e,D.version=I&&C,D.os=_||{"architecture":null,"family":null,"version":null,"toString":function(){return"null"}},D.parse=parse,D.toString=function toStringPlatform(){return this.description||""},D.version&&S.unshift(C),D.name&&S.unshift(I),_&&I&&(_!=String(_).split(" ")[0]||_!=I.split(" ")[0]&&!P)&&S.push(P?"("+_+")":"on "+_),S.length&&(D.description=S.join(" ")),D}();a.platform=m,void 0===(s=function(){return m}.call(t,i,t,e))||(e.exports=s)}.call(this)},"5251":function(e,t,i){"use strict";var s=i(7294),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,n=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={"key":!0,"ref":!0,"__self":!0,"__source":!0};function q(e,t,i){var s,a={},c=null,d=null;for(s in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)o.call(t,s)&&!l.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{"$$typeof":r,"type":e,"key":c,"ref":d,"props":a,"_owner":n.current}}t.Fragment=a,t.jsx=q,t.jsxs=q},"5893":function(e,t,i){"use strict";e.exports=i(5251)},"9845":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/common/taro_logo.jpg"},"152":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/iconpark/info.png"},"6481":function(e,t,i){"use strict";e.exports=i.p+"static/images/assets/iconpark/right.png"}}]); \ No newline at end of file