!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}(),function(e){e.Hilo||(e.Hilo={});var t=function(){var t=navigator.userAgent,n=document,i=e,o=n.documentElement,r={iphone:/iphone/i.test(t),ipad:/ipad/i.test(t),ipod:/ipod/i.test(t),ios:/iphone|ipad|ipod/i.test(t),android:/android/i.test(t),webkit:/webkit/i.test(t),chrome:/chrome/i.test(t),safari:/safari/i.test(t),firefox:/firefox/i.test(t),ie:/msie/i.test(t),opera:/opera/i.test(t),supportTouch:"ontouchstart"in i,supportCanvas:null!=n.createElement("canvas").getContext,supportStorage:!1,supportOrientation:"orientation"in i||"orientation"in i.screen,supportDeviceMotion:"ondevicemotion"in i};try{var s="hilo";localStorage.setItem(s,s),localStorage.removeItem(s),r.supportStorage=!0}catch(v){}var a=r.jsVendor=r.webkit||r.firefox?"webkit":r.opera?"o":r.ie?"ms":"",l=r.cssVendor="-"+a+"-",c=n.createElement("div"),u=c.style,d=null!=u[a+"Transform"],h=null!=u[a+"Perspective"];h&&(c.id="test3d",(u=n.createElement("style")).textContent="@media ("+l+"transform-3d){#test3d{height:3px}}",n.head.appendChild(u),o.appendChild(c),h=3==c.offsetHeight,n.head.removeChild(u),o.removeChild(c)),r.supportTransform=d,r.supportTransform3D=h;var f=r.supportTouch,p=f?"touchstart":"mousedown",g=f?"touchmove":"mousemove",m=f?"touchend":"mouseup";return r.POINTER_START=p,r.POINTER_MOVE=g,r.POINTER_END=m,r}();e.Hilo.browser=t}(window),function(e){e.Hilo||(e.Hilo={});e.Hilo.util={copy:function(e,t,n){for(var i in t)n&&!e.hasOwnProperty(i)&&void 0===e[i]||(e[i]=t[i]);return e}}}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.browser,n=e.Hilo.util,i=e,o=document,r=o.documentElement,s=0,a={},l={version:"2.0.2",getUid:function(e){var t=++s;if(e){var n=e.charCodeAt(e.length-1);return n>=48&&n<=57&&(e+="_"),e+t}return t},viewToString:function(e){for(var t,n=e;n;)t=t?n.id+"."+t:n.id,n=n.parent;return t},copy:function(e,t,i){return n.copy(e,t,i),a.copy||(a.copy=!0,console.warn("Hilo.copy has been Deprecated! Use Hilo.util.copy instead.")),e},browser:t,event:{POINTER_START:t.POINTER_START,POINTER_MOVE:t.POINTER_MOVE,POINTER_END:t.POINTER_END},align:{TOP_LEFT:"TL",TOP:"T",TOP_RIGHT:"TR",LEFT:"L",CENTER:"C",RIGHT:"R",BOTTOM_LEFT:"BL",BOTTOM:"B",BOTTOM_RIGHT:"BR"},getElementRect:function(e){var t;try{t=e.getBoundingClientRect()}catch(p){t={top:e.offsetTop,left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight}}var n=(i.pageXOffset||r.scrollLeft)-(r.clientLeft||0)||0,o=(i.pageYOffset||r.scrollTop)-(r.clientTop||0)||0,s=i.getComputedStyle?getComputedStyle(e):e.currentStyle,a=parseInt,l=a(s.paddingLeft)+a(s.borderLeftWidth)||0,c=a(s.paddingTop)+a(s.borderTopWidth)||0,u=a(s.paddingRight)+a(s.borderRightWidth)||0,d=a(s.paddingBottom)+a(s.borderBottomWidth)||0,h=t.top||0,f=t.left||0;return{left:f+n+l,top:h+o+c,width:(t.right||0)-u-f-l,height:(t.bottom||0)-d-h-c}},createElement:function(e,t){var n,i,r,s=o.createElement(e);for(n in t)if(i=t[n],"style"===n)for(r in i)s.style[r]=i[r];else s[n]=i;return s},getElement:function(e){return o.getElementById(e)},setElementStyleByView:function(e){var t=e.drawable,n=t.domElement.style,i=e._stateCache||(e._stateCache={}),o=l.browser.jsVendor,r="px",s=!1;if(this.cacheStateIfChanged(e,["visible"],i)&&(n.display=e.visible?"":"none"),this.cacheStateIfChanged(e,["alpha"],i)&&(n.opacity=e.alpha),e.visible&&!(e.alpha<=0)){if(this.cacheStateIfChanged(e,["width"],i)&&(n.width=e.width+r),this.cacheStateIfChanged(e,["height"],i)&&(n.height=e.height+r),this.cacheStateIfChanged(e,["depth"],i)&&(n.zIndex=e.depth+1),e.transform){var a=e.transform;(s=this.cacheStateIfChanged(e,["pivotX","pivotY"],i))&&(n[o+"TransformOrigin"]="0 0"),n[o+"Transform"]="matrix3d("+a.a+", "+a.b+", 0, 0, "+a.c+", "+a.d+", 0, 0, 0, 0, 1, 0, "+a.tx+", "+a.ty+", 0, 1)"}else(s=this.cacheStateIfChanged(e,["pivotX","pivotY"],i))&&(n[o+"TransformOrigin"]=e.pivotX+r+" "+e.pivotY+r),(this.cacheStateIfChanged(e,["x","y","rotation","scaleX","scaleY"],i)||s)&&(n[o+"Transform"]=this.getTransformCSS(e));this.cacheStateIfChanged(e,["background"],i)&&(n.backgroundColor=e.background),n.pointerEvents||(n.pointerEvents="none");var c=t.image;if(c){var u=c.src;u!==i.image&&(i.image=u,n.backgroundImage="url("+u+")");var d=t.rect;if(d){var h=d[0],f=d[1];h!==i.sx&&(i.sx=h,n.backgroundPositionX=-h+r),f!==i.sy&&(i.sy=f,n.backgroundPositionY=-f+r)}}var p=e.mask;if(p){var g=p.drawable.domElement.style.backgroundImage;g!==i.maskImage&&(i.maskImage=g,n[o+"MaskImage"]=g,n[o+"MaskRepeat"]="no-repeat");var m=p.x,v=p.y;m===i.maskX&&v===i.maskY||(i.maskX=m,i.maskY=v,n[o+"MaskPosition"]=m+r+" "+v+r)}}},cacheStateIfChanged:function(e,t,n){var i,o,r,s,a=!1;for(i=0,o=t.length;i=6?(t=a[0],n=a[1],i=a[2],o=a[3],r=a[4],s=a[5]):(t=e.a,n=e.b,i=e.c,o=e.d,r=e.tx,s=e.ty),this.a=l*t+c*i,this.b=l*n+c*o,this.c=u*t+d*i,this.d=u*n+d*o,this.tx=h*t+f*i+r,this.ty=h*n+f*o+s,this},rotate:function(e){var t=Math.sin(e),n=Math.cos(e),i=this.a,o=this.b,r=this.c,s=this.d,a=this.tx,l=this.ty;return this.a=i*n-o*t,this.b=i*t+o*n,this.c=r*n-s*t,this.d=r*t+s*n,this.tx=a*n-l*t,this.ty=a*t+l*n,this},scale:function(e,t){return this.a*=e,this.d*=t,this.c*=e,this.b*=t,this.tx*=e,this.ty*=t,this},translate:function(e,t){return this.tx+=e,this.ty+=t,this},identity:function(){return this.a=this.d=1,this.b=this.c=this.tx=this.ty=0,this},invert:function(){var e=this.a,t=this.b,n=this.c,i=this.d,o=this.tx,r=e*i-t*n;return this.a=i/r,this.b=-t/r,this.c=-n/r,this.d=e/r,this.tx=(n*this.ty-i*o)/r,this.ty=-(e*this.ty-t*o)/r,this},transformPoint:function(e,t,n){var i=e.x*this.a+e.y*this.c+this.tx,o=e.x*this.b+e.y*this.d+this.ty;return t&&(i=i+.5>>0,o=o+.5>>0),n?{x:i,y:o}:(e.x=i,e.y=o,e)}});e.Hilo.Matrix=t}(window),function(e){e.Hilo||(e.Hilo={});var t={_listeners:null,on:function(e,t,n){for(var i=this._listeners=this._listeners||{},o=i[e]=i[e]||[],r=0,s=o.length;r-1&&s.splice(u,1)}}return 0==s.length&&delete r[o],!0}return!1}},n=e.Hilo.Class.create({constructor:function(e,t,n){this.type=e,this.target=t,this.detail=n,this.timeStamp=+new Date},type:null,target:null,detail:null,timeStamp:0,stopImmediatePropagation:function(){this._stopped=!0}}),i=e.Event;if(i){var o=i.prototype,r=o.stopImmediatePropagation;o.stopImmediatePropagation=function(){r&&r.call(this),this._stopped=!0}}e.Hilo.EventMixin=t}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo.util,i=t.create({constructor:function(e){this.init(e)},image:null,rect:null,init:function(e){var t=this,o=t.image;i.isDrawable(e)?t.image=e:n.copy(t,e,!0);var r=t.image;if("string"==typeof r){if(!o||r!==o.getAttribute("src")){t.image=null;var s=new Image;return e.crossOrigin&&(s.crossOrigin="Anonymous"),s.onload=function(){s.onload=null,t.init(s)},void(s.src=r)}r=t.image=o}r&&!t.rect&&(t.rect=[0,0,r.width,r.height])},Statics:{isDrawable:function(e){if(!e||!e.tagName)return!1;var t=e.tagName.toLowerCase();return"img"===t||"canvas"===t||"video"===t}}});e.Hilo.Drawable=i}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo.util,i=t.create({constructor:function(e){e=e||{},n.copy(this,e,!0)},renderType:null,canvas:null,stage:null,blendMode:"source-over",startDraw:function(e){},draw:function(e){},endDraw:function(e){},transform:function(){},hide:function(){},remove:function(e){},clear:function(e,t,n,i){},resize:function(e,t){}});e.Hilo.Renderer=i}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo,i=e.Hilo.Renderer,o=t.create({Extends:i,constructor:function(e){o.superclass.constructor.call(this,e),this.context=this.canvas.getContext("2d")},renderType:"canvas",context:null,startDraw:function(e){return!!(e.visible&&e.alpha>0)&&(e===this.stage&&this.context.clearRect(0,0,e.width,e.height),e.blendMode!==this.blendMode&&(this.context.globalCompositeOperation=this.blendMode=e.blendMode),this.context.save(),!0)},draw:function(e){var t=this.context,n=e.width,i=e.height,o=e.background;o&&(t.fillStyle=o,t.fillRect(0,0,n,i));var r=e.drawable,s=r&&r.image;if(s){var a=r.rect,l=a[2],c=a[3],u=a[4],d=a[5];if(!l||!c)return;n||i||(n=e.width=l,i=e.height=c),(u||d)&&t.translate(u-.5*l,d-.5*c),t.drawImage(s,a[0],a[1],l,c,0,0,n,i)}},endDraw:function(e){this.context.restore()},transform:function(e){var t=e.drawable;if(t&&t.domElement)n.setElementStyleByView(e);else{var i=this.context,o=e.scaleX,r=e.scaleY;if(e===this.stage){var s=this.canvas.style,a=e._scaleX,l=e._scaleY,c=!1;(!a&&1!=o||a&&a!=o)&&(e._scaleX=o,s.width=o*e.width+"px",c=!0),(!l&&1!=r||l&&l!=r)&&(e._scaleY=r,s.height=r*e.height+"px",c=!0),c&&e.updateViewport()}else{var u=e.x,d=e.y,h=e.pivotX,f=e.pivotY,p=e.rotation%360,g=e.transform,m=e.mask;if(m&&(m._render(this),i.clip()),e.align){var v=e.getAlignPosition();u=v.x,d=v.y}g?i.transform(g.a,g.b,g.c,g.d,g.tx,g.ty):(0==u&&0==d||i.translate(u,d),0!=p&&i.rotate(p*Math.PI/180),1==o&&1==r||i.scale(o,r),0==h&&0==f||i.translate(-h,-f))}e.alpha>0&&(i.globalAlpha*=e.alpha)}},remove:function(e){var t=e.drawable,n=t&&t.domElement;if(n){var i=n.parentNode;i&&i.removeChild(n)}},clear:function(e,t,n,i){this.context.clearRect(e,t,n,i)},resize:function(e,t){var n=this.canvas,i=this.stage,o=n.style;n.width=e,n.height=t,o.width=i.width*i.scaleX+"px",o.height=i.height*i.scaleY+"px"}});e.Hilo.CanvasRenderer=o}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo,i=e.Hilo.Renderer,o=e.Hilo.Drawable,r=t.create({Extends:i,constructor:function(e){r.superclass.constructor.call(this,e)},renderType:"dom",startDraw:function(e){var t=e.drawable=e.drawable||new o;return t.domElement=t.domElement||function(e,t){var i=e.tagName||"div",o=t.image,r=e.width||o&&o.width,s=e.height||o&&o.height,a=n.createElement(i),l=a.style;if(e.id&&(a.id=e.id),l.position="absolute",l.left=(e.left||0)+"px",l.top=(e.top||0)+"px",l.width=r+"px",l.height=s+"px","canvas"==i){if(a.width=r,a.height=s,o){var c=a.getContext("2d"),u=t.rect||[0,0,r,s];c.drawImage(o,u[0],u[1],u[2],u[3],e.x||0,e.y||0,e.width||u[2],e.height||u[3])}}else if(l.opacity=null!=e.alpha?e.alpha:1,(e===this.stage||e.clipChildren)&&(l.overflow="hidden"),o&&o.src){l.backgroundImage="url("+o.src+")";var d=e.rectX||0,h=e.rectY||0;l.backgroundPosition=-d+"px "+-h+"px"}return a}(e,t),!0},draw:function(e){var t=e.parent,n=e.drawable.domElement,i=n.parentNode;if(t){var o=t.drawable.domElement;if(o!=i&&o.appendChild(n),!e.width&&!e.height){var r=e.drawable.rect;r&&(r[2]||r[3])&&(e.width=r[2],e.height=r[3])}}else e!==this.stage||i||(n.style.overflow="hidden",this.canvas.appendChild(n))},transform:function(e){if(n.setElementStyleByView(e),e===this.stage){var t=this.canvas.style,i=e._scaleX,o=e._scaleY,r=e.scaleX,s=e.scaleY;(!i&&1!=r||i&&i!=r)&&(e._scaleX=r,t.width=r*e.width+"px"),(!o&&1!=s||o&&o!=s)&&(e._scaleY=s,t.height=s*e.height+"px")}},remove:function(e){var t=e.drawable,n=t&&t.domElement;if(n){var i=n.parentNode;i&&i.removeChild(n)}},hide:function(e){var t=e.drawable&&e.drawable.domElement;t&&(t.style.display="none")},resize:function(e,t){var n=this.canvas.style;n.width=e+"px",n.height=t+"px","absolute"!=n.position&&(n.position="relative")}});e.Hilo.DOMRenderer=r}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo,i=e.Hilo.Renderer,o=e.Hilo.Matrix,r=Math.PI/180,s=t.create({Extends:i,Statics:{MAX_BATCH_NUM:2e3,ATTRIBUTE_NUM:5,isSupport:function(){if(null==this._isSupported){var e=document.createElement("canvas");e.getContext&&(e.getContext("webgl")||e.getContext("experimental-webgl"))?this._isSupported=!0:this._isSupported=!1}return this._isSupported},contextOptions:null},renderType:"webgl",gl:null,_isContextLost:!1,_cacheTexture:{},constructor:function(e){s.superclass.constructor.call(this,e);var t=this,n=s.contextOptions||{};this.gl=this.canvas.getContext("webgl",n)||this.canvas.getContext("experimental-webgl",n),this.maxBatchNum=s.MAX_BATCH_NUM,this.positionStride=4*s.ATTRIBUTE_NUM;var i=this.maxBatchNum*s.ATTRIBUTE_NUM*4,o=6*this.maxBatchNum;this.arrayBuffer=new ArrayBuffer(4*i),this.float32Array=new Float32Array(this.arrayBuffer),this.uint32Array=new Uint32Array(this.arrayBuffer),this.indexs=new Uint16Array(o);for(var r=0,a=0;r0)&&(e===this.stage&&this.clear(),!0)},draw:function(e){var t=e.width,n=e.height,i=(e.background,e.drawable),o=i&&i.image;if(o){var r=i.rect,s=r[2],a=r[3];t||n||(t=e.width=s,n=e.height=a),this.batchIndex>=this.maxBatchNum&&this._renderBatches();var l=this._createVertexs(o,r[0],r[1],s,a,0,0,t,n),c=this.batchIndex*this.positionStride,u=this.float32Array,d=this.uint32Array,h=(e.tint>>16)+(65280&e.tint)+((255&e.tint)<<16)+(255*e.__webglRenderAlpha<<24);u[c+0]=l[0],u[c+1]=l[1],u[c+2]=l[2],u[c+3]=l[3],d[c+4]=h,u[c+5]=l[4],u[c+6]=l[5],u[c+7]=l[6],u[c+8]=l[7],d[c+9]=h,u[c+10]=l[8],u[c+11]=l[9],u[c+12]=l[10],u[c+13]=l[11],d[c+14]=h,u[c+15]=l[12],u[c+16]=l[13],u[c+17]=l[14],u[c+18]=l[15],d[c+19]=h;for(var f=e.__webglWorldMatrix,p=0;p<4;p++){var g=u[c+5*p],m=u[c+5*p+1];u[c+5*p]=f.a*g+f.c*m+f.tx,u[c+5*p+1]=f.b*g+f.d*m+f.ty}e.__textureImage=o,this.sprites[this.batchIndex++]=e}},endDraw:function(e){e===this.stage&&this._renderBatches()},transform:function(e){var t=e.drawable;if(t&&t.domElement)n.setElementStyleByView(e);else{var i=e.scaleX,r=e.scaleY;if(e===this.stage){var s=this.canvas.style,a=e._scaleX,l=e._scaleY,c=!1;(!a&&1!=i||a&&a!=i)&&(e._scaleX=i,s.width=i*e.width+"px",c=!0),(!l&&1!=r||l&&l!=r)&&(e._scaleY=r,s.height=r*e.height+"px",c=!0),c&&e.updateViewport(),e.__webglWorldMatrix=e.__webglWorldMatrix||new o(1,0,0,1,0,0)}else e.parent&&(e.__webglWorldMatrix=e.__webglWorldMatrix||new o(1,0,0,1,0,0),this._setConcatenatedMatrix(e,e.parent));e.alpha>0&&(e.parent&&e.parent.__webglRenderAlpha?e.__webglRenderAlpha=e.alpha*e.parent.__webglRenderAlpha:e.__webglRenderAlpha=e.alpha)}},remove:function(e){var t=e.drawable,n=t&&t.domElement;if(n){var i=n.parentNode;i&&i.removeChild(n)}},clear:function(e,t,n,i){this.gl.clear(this.gl.COLOR_BUFFER_BIT)},resize:function(e,t){if(this.width!==e||this.height!==t){var n=this.canvas,i=this.stage,o=n.style;this.width=n.width=e,this.height=n.height=t,o.width=i.width*i.scaleX+"px",o.height=i.height*i.scaleY+"px",this.gl.viewport(0,0,e,t),this.canvasHalfWidth=.5*e,this.canvasHalfHeight=.5*t,this._uploadProjectionTransform(!0)}},_renderBatches:function(){var e=this.gl;e.bufferSubData(e.ARRAY_BUFFER,0,this.uint32Array.subarray(0,this.batchIndex*this.positionStride));for(var t=0,n=null,i=0;i0&&(n.bindTexture(n.TEXTURE_2D,this._getTexture(this.sprites[e])),n.drawElements(n.TRIANGLES,6*i,n.UNSIGNED_SHORT,6*e*2))},_uploadProjectionTransform:function(e){this._projectionTransformElements&&!e||(this._projectionTransformElements=new Float32Array([1/this.canvasHalfWidth,0,0,0,-1/this.canvasHalfHeight,0,-1,1,1])),this.gl.uniformMatrix3fv(this.u_projectionTransform,!1,this._projectionTransformElements)},_initShaders:function(){this.defaultShader=new a(this,{v:" attribute vec2 a_position;\n attribute vec2 a_TexCoord;\n attribute vec4 a_tint;\n uniform mat3 u_projectionTransform;\n varying vec2 v_TexCoord;\n varying vec4 v_tint;\n void main(){\n gl_Position = vec4((u_projectionTransform * vec3(a_position, 1.0)).xy, 1.0, 1.0);\n v_TexCoord = a_TexCoord;\n v_tint = vec4(a_tint.rgb * a_tint.a, a_tint.a);\n }\n ",f:"\n precision mediump float;\n uniform sampler2D u_Sampler;\n varying vec2 v_TexCoord;\n varying vec4 v_tint;\n void main(){\n gl_FragColor = texture2D(u_Sampler, v_TexCoord) * v_tint;\n }\n "},{attributes:["a_position","a_TexCoord","a_tint"],uniforms:["u_projectionTransform","u_Sampler"]})},_createVertexs:function(e,t,n,i,o,r,s,a,l){var c=this.__tempVertexs||[],u=e.width,d=e.height;(i/=u)+(t/=u)>1&&(i=1-t),(o/=d)+(n/=d)>1&&(o=1-n);var h=0;return c[h++]=r,c[h++]=s,c[h++]=t,c[h++]=n,c[h++]=r+a,c[h++]=s,c[h++]=t+i,c[h++]=n,c[h++]=r,c[h++]=s+l,c[h++]=t,c[h++]=n+o,c[h++]=r+a,c[h++]=s+l,c[h++]=t+i,c[h++]=n+o,c},_setConcatenatedMatrix:function(e,t){var n=e.__webglWorldMatrix,i=1,o=0,s=e.rotation%360,a=e.pivotX,l=e.pivotY,c=e.scaleX,u=e.scaleY,d=e.transform;if(d)n.copy(d);else{if(s){var h=s*r;i=Math.cos(h),o=Math.sin(h)}var f=e.getAlignPosition();n.a=i*c,n.b=o*c,n.c=-o*u,n.d=i*u,n.tx=f.x-n.a*a-n.c*l,n.ty=f.y-n.b*a-n.d*l}n.concat(t.__webglWorldMatrix)},_getTexture:function(e){var t=e.__textureImage,n=this._cacheTexture[t.src];return n||(n=this.activeShader.uploadTexture(t)),n}}),a=function(e,t,n){this.renderer=e,this.gl=e.gl,this.program=this._createProgram(this.gl,t.v,t.f),n=n||{},this.attributes=n.attributes||[],this.uniforms=n.uniforms||[]};a.prototype={active:function(){var e=this,t=e.renderer,n=e.gl,i=e.program;i&&n&&(t.activeShader=e,n.useProgram(i),e.attributes.forEach((function(e){t[e]=n.getAttribLocation(i,e),n.enableVertexAttribArray(t[e])})),e.uniforms.forEach((function(e){t[e]=n.getUniformLocation(i,e)})),e.width===t.width&&e.height===t.height||(e.width=t.width,e.height=t.height,t._uploadProjectionTransform()))},uploadTexture:function(e){var t=this.gl,n=this.renderer,i=t.createTexture(),o=n.u_Sampler;return t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,i),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.uniform1i(o,0),t.bindTexture(t.TEXTURE_2D,null),this.renderer._cacheTexture[e.src]=i,i},_createProgram:function(e,t,n){var i=this._createShader(e,e.VERTEX_SHADER,t),o=this._createShader(e,e.FRAGMENT_SHADER,n);if(!i||!o)return null;var r=e.createProgram();if(r&&(e.attachShader(r,i),e.attachShader(r,o),e.linkProgram(r),e.deleteShader(o),e.deleteShader(i),!e.getProgramParameter(r,e.LINK_STATUS))){var s=e.getProgramInfoLog(r);return console.log("Failed to link program: "+s),e.deleteProgram(r),null}return r},_createShader:function(e,t,n){var i=e.createShader(t);if(i&&(e.shaderSource(i,n),e.compileShader(i),!e.getShaderParameter(i,e.COMPILE_STATUS))){var o=e.getShaderInfoLog(i);return console.log("Failed to compile shader: "+o),e.deleteShader(i),null}return i}},e.Hilo.WebGLRenderer=s}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo,n=e.Hilo.Class,i=e.Hilo.EventMixin,o=e.Hilo.Matrix,r=e.Hilo.util,s=function(){function e(e,t,n){for(var i,o,r,s,a,l,c,u,d,h=e.length,f=t.length,p={x:0,y:0},g=0;ga?a=u:uc?c=u:u=0)return!1;d>n.overlap&&(n.overlap=d,n.normal.x=p.x,n.normal.y=p.y)}return n}return n.create({Mixes:i,constructor:function(e){e=e||{},this.id=this.id||e.id||t.getUid("View"),r.copy(this,e,!0)},tint:16777215,id:null,x:0,y:0,width:0,height:0,alpha:1,rotation:0,visible:!0,pivotX:0,pivotY:0,scaleX:1,scaleY:1,pointerEnabled:!0,background:null,mask:null,align:null,drawable:null,boundsArea:null,parent:null,depth:-1,transform:null,blendMode:"source-over",getStage:function(){for(var e,t=this;e=t.parent;)t=e;return t.canvas?t:null},getScaledWidth:function(){return this.width*this.scaleX},getScaledHeight:function(){return this.height*this.scaleY},addTo:function(e,t){return"number"==typeof t?e.addChildAt(this,t):e.addChild(this),this},removeFromParent:function(){var e=this.parent;return e&&e.removeChild(this),this},getBounds:function(){for(var e,t,n,i,o,r,s,a=this.width,l=this.height,c=this.getConcatenatedMatrix(),u=this.boundsArea||[{x:0,y:0},{x:a,y:0},{x:a,y:l},{x:0,y:l}],d=[],h=0,f=u.length;ht?i=t:on?r=n:s>1,i=0;break;case"TR":n=s-o,i=0;break;case"L":n=0,i=a-r>>1;break;case"C":n=s-o>>1,i=a-r>>1;break;case"R":n=s-o,i=a-r>>1;break;case"BL":n=0,i=a-r;break;case"B":n=s-o>>1,i=a-r;break;case"BR":n=s-o,i=a-r}}return{x:n,y:i}},hitTestPoint:function(e,t,n){var i=this.getBounds(),o=e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height;return o&&n&&(o=function(e,t,n){for(var i,o,r,s,a=0,l=!1,c=0,u=n.length;ch.x?(i=h.x,o=d.x):(i=d.x,o=h.x),e>=i&&e<=o))l=!0;else if(d.y>h.y?(r=h.y,s=d.y):(r=d.y,s=h.y),!(ts)){var f=(t-d.y)*(h.x-d.x)/(h.y-d.y)+d.x;if(f>e?a++:f==e&&(l=!0),d.x>e&&d.y==t){var p=n[(u+c-1)%u];(p.yt||p.y>t&&h.yi?i:t;var r=this.getChildIndex(e);if(r==t)return this;if(r>=0?(n.splice(r,1),t=t==i?i-1:t):o&&o.removeChild(e),n.splice(t,0,e),r<0)this._updateChildren(t);else{var s=r=t.length)return null;var n=t[e];if(n){if(!n.__renderer)for(var i=n;i=i.parent;){if(i.renderer){n.__renderer=i.renderer;break}if(i.__renderer){n.__renderer=i.__renderer;break}}n.__renderer&&n.__renderer.remove(n),n.parent=null,n.depth=-1}return t.splice(e,1),this._updateChildren(e),n},removeChild:function(e){return this.removeChildAt(this.getChildIndex(e))},removeChildById:function(e){for(var t,n=this.children,i=0,o=n.length;i=t.length?null:t[e]},getChildById:function(e){for(var t,n=this.children,i=0,o=n.length;i=0&&i!=t){var o=n.length;t=t<0?0:t>=o?o-1:t,n.splice(i,1),n.splice(t,0,e),this._updateChildren()}return this},swapChildren:function(e,t){var n=this.children,i=this.getChildIndex(e),o=this.getChildIndex(t);e.depth=o,n[o]=e,t.depth=i,n[i]=t},swapChildrenAt:function(e,t){var n=this.children,i=this.getChildAt(e),o=this.getChildAt(t);i.depth=t,n[t]=i,o.depth=e,n[e]=o},sortChildren:function(e){var t=e,n=this.children;if("string"==typeof t){var i=t;t=function(e,t){return t[i]-e[i]}}n.sort(t),this._updateChildren()},_updateChildren:function(e,t){var n,i=this.children;e=e||0,t=t||i.length;for(var o=e;o=0;c--)if(!(!(r=l[c])||!r.visible||r.alpha<=0||o&&!r.pointerEnabled))if(r.children&&r.children.length&&(!o||r.pointerChildren)&&(s=r.getViewAtPoint(e,t,n,i,o)),s){if(!i)return s;s.length&&(a=a.concat(s))}else if(r.hitTestPoint(e,t,n)){if(!i)return r;a.push(r)}return i&&a.length?a:null},render:function(e,t){o.superclass.render.call(this,e,t);var n,i,r,s=this.children.slice(0);for(n=0,i=s.length;ni?i:t]=e,e.name&&(this._frameNames[e.name]=e),(0!=t||this.width)&&this.height||(this.width=e.rect[2],this.height=e.rect[3]),this},getFrame:function(e){if("number"==typeof e){var t=this._frames;return e<0||e>=t.length?null:t[e]}return this._frameNames[e]},getFrameIndex:function(e){var t=this._frames,n=t.length,i=-1;if("number"==typeof e)i=e;else{var o="string"==typeof e?this._frameNames[e]:e;if(o)for(var r=0;r=n?n-1:i,this.paused=t,this._firstRender=!0,this},_render:function(e,t){var n,i=this.currentFrame;if(this._firstRender?(n=i,this._firstRender=!1):n=this._nextFrame(t),n!=i){this.currentFrame=n;var o=this._frames[n].callback;o&&o.call(this)}this.onEnterFrame&&this.onEnterFrame(n),this.drawable.init(this._frames[n]),r.superclass._render.call(this,e,t)},_nextFrame:function(e){var t=this._frames,n=t.length,i=this.currentFrame,o=t[i],r=o.duration||this.interval,s=this._frameElapsed,a=0!=i||this.drawable?s+(this.timeBased?e:1):0;return s=this._frameElapsed=a=n-1)&&this.stop(),this.paused||0!=s||(null!=o.next?i=this.getFrameIndex(o.next):i>=n-1?i=0:this.drawable&&i++),i},setFrameCallback:function(e,t){return(e=this.getFrame(e))&&(e.callback=t),this},onEnterFrame:null});e.Hilo.Sprite=r}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo,n=e.Hilo.Class,i=e.Hilo.View,o=e.Hilo.Drawable,r=n.create({Extends:i,constructor:function(e){e=e||{},this.id=this.id||e.id||t.getUid("DOMElement"),r.superclass.constructor.call(this,e),this.drawable=new o;var n=this.drawable.domElement=e.element||t.createElement("div");n.id=this.id,this.pointerEnabled&&!n.style.pointerEvents&&(n.style.pointerEvents="visible")},_render:function(e,t){this.onUpdate&&!1===this.onUpdate(t)||(e.transform(this),this.visible&&this.alpha>0&&this.render(e,t))},render:function(e,n){if("dom"!==e.renderType){var i=e.canvas,o=this.parent,r=e._domElementContainer;e._domElementContainer||(r=e._domElementContainer=t.createElement("div",{style:{position:"absolute",transform:"scale3d("+o.scaleX+","+o.scaleY+", 1)",transformOrigin:"0 0",zIndex:"1"}}),i.parentNode.insertBefore(e._domElementContainer,i.nextSibling));var s,a=this.drawable.domElement,l=this.depth,c=r.childNodes[0];if(a.parentNode)return;for(;c&&3!=c.nodeType&&!((s=parseInt(c.style.zIndex)||0)<=0||s>l);)c=c.nextSibling;r.insertBefore(this.drawable.domElement,c)}else e.draw(this)}});e.Hilo.DOMElement=r}(window),function(e){e.Hilo||(e.Hilo={});var t,n,i=e.Hilo,o=e.Hilo.Class,r=e.Hilo.View,s=e.Hilo.CacheMixin,a=(t=document.createElement("canvas"),n=t.getContext&&t.getContext("2d"),o.create({Extends:r,Mixes:s,constructor:function(e){e=e||{},this.id=this.id||e.id||i.getUid("Graphics"),a.superclass.constructor.call(this,e),this._actions=[]},lineWidth:1,lineAlpha:1,lineCap:null,lineJoin:null,miterLimit:10,hasStroke:!1,strokeStyle:"0",hasFill:!1,fillStyle:"0",fillAlpha:0,lineStyle:function(e,t,n,i,o,r){var s=this,a=s._addAction;return a.call(s,["lineWidth",s.lineWidth=e||1]),a.call(s,["strokeStyle",s.strokeStyle=t||"0"]),a.call(s,["lineAlpha",s.lineAlpha=n||1]),null!=i&&a.call(s,["lineCap",s.lineCap=i]),null!=o&&a.call(s,["lineJoin",s.lineJoin=o]),null!=r&&a.call(s,["miterLimit",s.miterLimit=r]),s.hasStroke=!0,s},setLineDash:function(e){return this._addAction(["setLineDash",e])},beginFill:function(e,t){var n=this,i=n._addAction;return i.call(n,["fillStyle",n.fillStyle=e]),i.call(n,["fillAlpha",n.fillAlpha=t||1]),n.hasFill=!0,n},endFill:function(){var e=this,t=e._addAction;return e.hasStroke&&t.call(e,["stroke"]),e.hasFill&&t.call(e,["fill"]),e.setCacheDirty(!0),e},beginLinearGradientFill:function(e,t,i,o,r,s){for(var a=this,l=n.createLinearGradient(e,t,i,o),c=0,u=r.length;c1?o.slice(1):null;"function"==typeof e[r]?e[r].apply(e,s):e[r]=o[1]}},render:function(e,t){var n=this;"canvas"===e.renderType?n._draw(e.context):(n.cache(),e.draw(n))},clear:function(){var e=this;return e._actions.length=0,e.lineWidth=1,e.lineAlpha=1,e.lineCap=null,e.lineJoin=null,e.miterLimit=10,e.hasStroke=!1,e.strokeStyle="0",e.hasFill=!1,e.fillStyle="0",e.fillAlpha=1,e.setCacheDirty(!0),e},_addAction:function(e){return this._actions.push(e),this}}));e.Hilo.Graphics=a}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo,i=e.Hilo.View,o=e.Hilo.CacheMixin,r=t.create({Extends:i,Mixes:o,constructor:function(e){e=e||{},this.id=this.id||e.id||n.getUid("Text"),r.superclass.constructor.call(this,e),e.font||(this.font="12px arial"),this._fontHeight=r.measureFontHeight(this.font)},text:"",color:"#000",textAlign:null,textVAlign:null,outline:!1,lineSpacing:0,maxWidth:200,font:null,textWidth:0,textHeight:0,setFont:function(e){var t=this;return t.font!==e&&(t.font=e,t._fontHeight=r.measureFontHeight(e)),t},render:function(e,t){var n=this;if("canvas"===e.renderType)this.drawable?e.draw(n):n._draw(e.context);else if("dom"===e.renderType){var i=n.drawable.domElement,o=i.style;o.font=n.font,o.textAlign=n.textAlign,o.color=n.color,o.width=n.width+"px",o.height=n.height+"px",o.lineHeight=n._fontHeight+n.lineSpacing+"px",i.innerHTML=n.text,e.draw(this)}else n.cache(),e.draw(n)},_draw:function(e){var t=this,n=t.text.toString();if(n){e.font=t.font,e.textAlign=t.textAlign,e.textBaseline="top";var i,o,r,s,a,l=n.split(/\r\n|\r|\n|/),c=0,u=0,d=t._fontHeight+t.lineSpacing,h=[];for(i=0,s=l.length;it.maxWidth?(h.push({text:m,y:u}),c>1;break;case"bottom":y=t.height-t.textHeight}var _=t.background;for(_&&(e.fillStyle=_,e.fillRect(0,0,t.width,t.height)),t.outline?e.strokeStyle=t.color:e.fillStyle=t.color,i=0;i>1;break;case"right":case"end":o=r}i.outline?e.strokeText(t,o,n):e.fillText(t,o,n)},Statics:{measureFontHeight:function(e){var t,i=document.documentElement,o=n.createElement("div",{style:{font:e,position:"absolute"},innerHTML:"M"});return i.appendChild(o),t=o.offsetHeight,i.removeChild(o),t}}});e.Hilo.Text=r}(window),function(e){e.Hilo||(e.Hilo={});var t=e.Hilo.Class,n=e.Hilo,i=e.Hilo.Container,o=e.Hilo.Bitmap,r=t.create({Extends:i,constructor:function(e){e=e||{},this.id=this.id||e.id||n.getUid("BitmapText"),r.superclass.constructor.call(this,e);var t=e.text+"";t&&(this.text="",this.setText(t)),this.pointerChildren=!1},glyphs:null,letterSpacing:0,text:"",textAlign:"left",setText:function(e){var t=this,n=e.toString(),i=n.length;if(t.text!=n){t.text=n;var o,r,s,a,l=0,c=0,u=0;for(o=0;o0?t.letterSpacing:0),t.children[o]?(a=t.children[o]).setImage(s.image,s.rect):(a=t._createBitmap(s),t.addChild(a)),a.x=u,l=u+s.rect[2],c=Math.max(c,s.rect[3]));for(o=t.children.length-1;o>=i;o--)t._releaseBitmap(t.children[o]),t.children[o].removeFromParent();return t.width=l,t.height=c,this.setTextAlign(),t}},_createBitmap:function(e){var t;return r._pool.length?(t=r._pool.pop()).setImage(e.image,e.rect):t=new o({image:e.image,rect:e.rect}),t},_releaseBitmap:function(e){r._pool.push(e)},setTextAlign:function(e){switch(this.textAlign=e||this.textAlign,this.textAlign){case"center":this.pivotX=.5*this.width;break;case"right":this.pivotX=this.width;break;default:this.pivotX=0}return this},hasGlyphs:function(e){var t=this.glyphs;if(!t)return!1;var n,i=(e=e.toString()).length;for(n=0;n=this._targetFPS?(this._measuredFPS=1e3/(this._tickTime/this._tickCount)+.5>>0,this._tickCount=0,this._tickTime=0):this._tickTime+=e-this._lastTime,this._lastTime=e;for(var i=n.slice(0),o=0,r=i.length;o=0&&t.splice(n,1)},nextTick:function(e){var t=this,n={tick:function(i){t.removeTick(n),e()}};return t.addTick(n),n},timeout:function(e,t){var n=this,i=(new Date).getTime()+t,o={tick:function(){(new Date).getTime()-i>=0&&(n.removeTick(o),e())}};return n.addTick(o),o},interval:function(e,t){var n=(new Date).getTime()+t,i={tick:function(){var i=(new Date).getTime(),o=i-n;o>=0&&(o=i)return-1;for(t<0&&(t=i+t),n=t;n=1?1:a;var l=o.ease?o.ease(a):a;o.reverse&&o.isStart&&(o._reverseFlag<0&&(a=1-a,l=1-l),a<1e-7&&(o.repeat>0&&o._repeatCount++>=o.repeat||0==o.repeat&&!o.loop?o.isComplete=!0:(o._startTime=e(),o._pausedTime=0,o._reverseFlag*=-1))),o.isStart||(o.setProps(o._fromProps,o._toProps),o.isStart=!0,o.onStart&&o.onStart.call(o,o)),o.time=r,o._render(l),(s=o.onUpdate)&&s.call(o,l,o),a>=1&&(o.reverse?(o._startTime=e(),o._pausedTime=0,o._reverseFlag*=-1):o.loop||o.repeat>0&&o._repeatCount++0&&u<=t?(c._render(a),c.time=r,n.add(c)):o.isComplete&&(u<0||u>t)&&c.start()}return o.isComplete?((s=o.onComplete)&&s.call(o,o),!0):void 0}}},Statics:{_tweens:[],tick:function(){var t,i,o=n._tweens,r=o.length;for(i=0;i-1&&o.splice(t,1);else for(t=0;t=n)e.fire("complete");else if(e._currentIndex=this._emitTime&&(this._currentRunTime=0,this._emitTime=e(this.emitTime,this.emitTimeVar),this._emit()),this._totalRunTime>=this.totalTime&&this.stop())},_emit:function(){for(var t=e(this.emitNum,this.emitNumVar)>>0,n=0;n=0;t--)this.children[t].destroy()}}),g=n.create({Extends:i,constructor:function(e){this.id=this.id||e.id||t.getUid("Particle"),g.superclass.constructor.call(this,e),this.init(e)},onUpdate:function(e){if(e*=.001,this._died)return!1;var t=this.ax+this.system.gx,n=this.ay+this.system.gy;return this.vx+=t*e,this.vy+=n*e,this.x+=this.vx*e,this.y+=this.vy*e,this.rotation+=this.rotationV,this._time>.1&&(this.alpha+=this.alphaV),this.scale+=this.scaleV,this.scaleX=this.scaleY=this.scale,this._time+=e,this._time>=this.life||this.alpha<=0?(this.destroy(),!1):void 0},setImage:function(e,t){this.drawable=this.drawable||new r,t=t||[0,0,e.width,e.height],this.width=t[2],this.height=t[3],this.drawable.rect=t,this.drawable.image=e},destroy:function(){this._died=!0,this.alpha=0,this.removeFromParent(),f.push(this)},init:function(t){this.system=t.system,this._died=!1,this._time=0,this.alpha=1;for(var n=0,i=l.length;n>0]),this.setImage(t.image,s),void 0!==t.pivotX&&(this.pivotX=t.pivotX*s[2]),void 0!==t.pivotY&&(this.pivotY=t.pivotY*s[3])}},Statics:{create:function(e){if(f.length>0){var t=f.pop();return t.init(e),t}return new g(e)}}});return p}();e.Hilo.ParticleSystem=a}(window);const e={},t=function(t,n,i){if(!n||0===n.length)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map((t=>{if((t=function(e){return"/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(!!i)for(let e=o.length-1;e>=0;e--){const i=o[e];if(i.href===t&&(!n||"stylesheet"===i.rel))return}else if(document.querySelector(`link[href="${t}"]${r}`))return;const s=document.createElement("link");return s.rel=n?"stylesheet":"modulepreload",n||(s.as="script",s.crossOrigin=""),s.href=t,document.head.appendChild(s),n?new Promise(((e,n)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0}))).then((()=>t()))};function n(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}function i(e){if(x(e)){const t={};for(let n=0;n{if(e){const n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function l(e){let t="";if(E(e))t=e;else if(x(e))for(let n=0;n{},p=()=>!1,g=/^on[^a-z]/,m=e=>g.test(e),v=e=>e.startsWith("onUpdate:"),y=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},b=Object.prototype.hasOwnProperty,w=(e,t)=>b.call(e,t),x=Array.isArray,T=e=>"[object Map]"===P(e),C=e=>"[object Set]"===P(e),S=e=>"function"==typeof e,E=e=>"string"==typeof e,k=e=>"symbol"==typeof e,A=e=>null!==e&&"object"==typeof e,O=e=>A(e)&&S(e.then)&&S(e.catch),M=Object.prototype.toString,P=e=>M.call(e),I=e=>P(e).slice(8,-1),L=e=>"[object Object]"===P(e),R=e=>E(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),H=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,B=H((e=>e.replace(N,((e,t)=>t?t.toUpperCase():"")))),F=/\B([A-Z])/g,D=H((e=>e.replace(F,"-$1").toLowerCase())),j=H((e=>e.charAt(0).toUpperCase()+e.slice(1))),V=H((e=>e?`on${j(e)}`:"")),z=(e,t)=>!Object.is(e,t),U=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},X=e=>{const t=parseFloat(e);return isNaN(t)?e:t},q=e=>{const t=E(e)?Number(e):NaN;return isNaN(t)?e:t};let Y;const G=()=>Y||(Y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),K=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e));const Z="\n",Q=44,J=50,ee="UNI_LOCALE",te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/,ie="WEB_INVOKE_APPSERVICE",oe="onShow",re="onHide",se="onLaunch",ae="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",he="onUnload",fe="onInit",pe="onSaveExitState",ge="onResize",me="onBackPress",ve="onPageScroll",ye="onTabItemTap",_e="onReachBottom",be="onPullDownRefresh",we="onShareTimeline",xe="onAddToFavorites",Te="onShareAppMessage",Ce="onNavigationBarButtonTap",Se="onNavigationBarChange",Ee="onNavigationBarSearchInputClicked",ke="onNavigationBarSearchInputChanged",Ae="onNavigationBarSearchInputConfirmed",Oe="onNavigationBarSearchInputFocusChanged",Me="onAppEnterForeground",Pe="onAppEnterBackground",Ie="onWebInvokeAppService";function Le(e){return e&&(e.appContext?e.proxy:e)}function Re(e){if(!e)return;let t=e.type.name;for(;t&&(n=D(t),-1!==K.indexOf("uni-"+n.replace("v-uni-","")));)t=(e=e.parent).type.name;var n;return e.proxy}function $e(e){return 1===e.nodeType}function He(e){return 0===e.indexOf("/")}function Ne(e){return He(e)?e:"/"+e}const Be=(e,t)=>{let n;for(let i=0;i(e&&(n=e.apply(t,i),e=null),n)}function De(e){return B(e.substring(5))}const je=Fe((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[De(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[De(e)],n.call(this,e)}}));function Ve(e){return y({},e.dataset,e.__uniDataset)}const ze=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Ue(e){return{passive:e}}function We(e){const{id:t,offsetTop:n,offsetLeft:i}=e;return{id:t,dataset:Ve(e),offsetTop:n,offsetLeft:i}}function Xe(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function qe(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Xe(e[n])}catch(i){t[n]=e[n]}})),t}const Ye=/\+/g;function Ge(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let i=0;i{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let i=0;i{if(S(e._component.onError))return t(e)})),nt=function(){};nt.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var i=this;function o(){i.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,o=n.length;i{let s=e[r];o[r]=(()=>{if(L(s))return rt(s,t,n);if(x(s))return s.map((e=>L(e)?rt(e,t,n):e));if(E(s)&&s.startsWith("@")){const t=s.replace("@","");let n=i[t]||s;switch(r){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in ot?ot[e]:e}return n}var e;return s})()})),o):e}let st;class at{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=st,!e&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=st;try{return st=this,e()}finally{st=t}}}on(){st=this}off(){st=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},ht=e=>(e.w&mt)>0,ft=e=>(e.n&mt)>0,pt=new WeakMap;let gt=0,mt=1;const vt=30;let yt;const _t=Symbol(""),bt=Symbol("");class wt{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=st){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=yt,t=Tt;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=yt,yt=this,Tt=!0,mt=1<<++gt,gt<=vt?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{("length"===n||n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":x(e)?R(n)&&a.push(s.get("length")):(a.push(s.get(_t)),T(e)&&a.push(s.get(bt)));break;case"delete":x(e)||(a.push(s.get(_t)),T(e)&&a.push(s.get(bt)));break;case"set":T(e)&&a.push(s.get(_t))}if(1===a.length)a[0]&&Mt(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Mt(dt(e))}}function Mt(e,t){const n=x(e)?e:[...e];for(const i of n)i.computed&&Pt(i);for(const i of n)i.computed||Pt(i)}function Pt(e,t){(e!==yt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const It=n("__proto__,__v_isRef,__isVue"),Lt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(k)),Rt=Dt(),$t=Dt(!1,!0),Ht=Dt(!0),Nt=Bt();function Bt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Sn(this);for(let t=0,o=this.length;t{e[t]=function(...e){St();const n=Sn(this)[t].apply(this,e);return Et(),n}})),e}function Ft(e){const t=Sn(this);return kt(t,0,e),t.hasOwnProperty(e)}function Dt(e=!1,t=!1){return function(n,i,o){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_isShallow"===i)return t;if("__v_raw"===i&&o===(e?t?mn:gn:t?pn:fn).get(n))return n;const r=x(n);if(!e){if(r&&w(Nt,i))return Reflect.get(Nt,i,o);if("hasOwnProperty"===i)return Ft}const s=Reflect.get(n,i,o);return(k(i)?Lt.has(i):It(i))?s:(e||kt(n,0,i),t?s:Pn(s)?r&&R(i)?s:s.value:A(s)?e?_n(s):vn(s):s)}}function jt(e=!1){return function(t,n,i,o){let r=t[n];if(xn(r)&&Pn(r)&&!Pn(i))return!1;if(!e&&(Tn(i)||xn(i)||(r=Sn(r),i=Sn(i)),!x(t)&&Pn(r)&&!Pn(i)))return r.value=i,!0;const s=x(t)&&R(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ut=y({},Vt,{get:$t,set:jt(!0)}),Wt=e=>e,Xt=e=>Reflect.getPrototypeOf(e);function qt(e,t,n=!1,i=!1){const o=Sn(e=e.__v_raw),r=Sn(t);n||(t!==r&&kt(o,0,t),kt(o,0,r));const{has:s}=Xt(o),a=i?Wt:n?An:kn;return s.call(o,t)?a(e.get(t)):s.call(o,r)?a(e.get(r)):void(e!==o&&e.get(t))}function Yt(e,t=!1){const n=this.__v_raw,i=Sn(n),o=Sn(e);return t||(e!==o&&kt(i,0,e),kt(i,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Gt(e,t=!1){return e=e.__v_raw,!t&&kt(Sn(e),0,_t),Reflect.get(e,"size",e)}function Kt(e){e=Sn(e);const t=Sn(this);return Xt(t).has.call(t,e)||(t.add(e),Ot(t,"add",e,e)),this}function Zt(e,t){t=Sn(t);const n=Sn(this),{has:i,get:o}=Xt(n);let r=i.call(n,e);r||(e=Sn(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?z(t,s)&&Ot(n,"set",e,t):Ot(n,"add",e,t),this}function Qt(e){const t=Sn(this),{has:n,get:i}=Xt(t);let o=n.call(t,e);o||(e=Sn(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&Ot(t,"delete",e,void 0),r}function Jt(){const e=Sn(this),t=0!==e.size,n=e.clear();return t&&Ot(e,"clear",void 0,void 0),n}function en(e,t){return function(n,i){const o=this,r=o.__v_raw,s=Sn(r),a=t?Wt:e?An:kn;return!e&&kt(s,0,_t),r.forEach(((e,t)=>n.call(i,a(e),a(t),o)))}}function tn(e,t,n){return function(...i){const o=this.__v_raw,r=Sn(o),s=T(r),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=o[e](...i),u=n?Wt:t?An:kn;return!t&&kt(r,0,l?bt:_t),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function nn(e){return function(...t){return"delete"!==e&&this}}function on(){const e={get(e){return qt(this,e)},get size(){return Gt(this)},has:Yt,add:Kt,set:Zt,delete:Qt,clear:Jt,forEach:en(!1,!1)},t={get(e){return qt(this,e,!1,!0)},get size(){return Gt(this)},has:Yt,add:Kt,set:Zt,delete:Qt,clear:Jt,forEach:en(!1,!0)},n={get(e){return qt(this,e,!0)},get size(){return Gt(this,!0)},has(e){return Yt.call(this,e,!0)},add:nn("add"),set:nn("set"),delete:nn("delete"),clear:nn("clear"),forEach:en(!0,!1)},i={get(e){return qt(this,e,!0,!0)},get size(){return Gt(this,!0)},has(e){return Yt.call(this,e,!0)},add:nn("add"),set:nn("set"),delete:nn("delete"),clear:nn("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),i[o]=tn(o,!0,!0)})),[e,n,t,i]}const[rn,sn,an,ln]=on();function cn(e,t){const n=t?e?ln:an:e?sn:rn;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(w(n,i)&&i in t?n:t,i,o)}const un={get:cn(!1,!1)},dn={get:cn(!1,!0)},hn={get:cn(!0,!1)},fn=new WeakMap,pn=new WeakMap,gn=new WeakMap,mn=new WeakMap;function vn(e){return xn(e)?e:bn(e,!1,Vt,un,fn)}function yn(e){return bn(e,!1,Ut,dn,pn)}function _n(e){return bn(e,!0,zt,hn,gn)}function bn(e,t,n,i,o){if(!A(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(I(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?i:n);return o.set(e,l),l}function wn(e){return xn(e)?wn(e.__v_raw):!(!e||!e.__v_isReactive)}function xn(e){return!(!e||!e.__v_isReadonly)}function Tn(e){return!(!e||!e.__v_isShallow)}function Cn(e){return wn(e)||xn(e)}function Sn(e){const t=e&&e.__v_raw;return t?Sn(t):e}function En(e){return W(e,"__v_skip",!0),e}const kn=e=>A(e)?vn(e):e,An=e=>A(e)?_n(e):e;function On(e){Tt&&yt&&At((e=Sn(e)).dep||(e.dep=dt()))}function Mn(e,t){const n=(e=Sn(e)).dep;n&&Mt(n)}function Pn(e){return!(!e||!0!==e.__v_isRef)}function In(e){return Rn(e,!1)}function Ln(e){return Rn(e,!0)}function Rn(e,t){return Pn(e)?e:new $n(e,t)}class $n{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Sn(e),this._value=t?e:kn(e)}get value(){return On(this),this._value}set value(e){const t=this.__v_isShallow||Tn(e)||xn(e);e=t?e:Sn(e),z(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:kn(e),Mn(this))}}function Hn(e){return Pn(e)?e.value:e}const Nn={get:(e,t,n)=>Hn(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Pn(o)&&!Pn(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function Bn(e){return wn(e)?e:new Proxy(e,Nn)}function Fn(e){const t=x(e)?new Array(e.length):{};for(const n in e)t[n]=jn(e,n);return t}class Dn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Sn(this._object),t=this._key,null===(n=pt.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function jn(e,t,n){const i=e[t];return Pn(i)?i:new Dn(e,t,n)}var Vn;class zn{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Vn]=!1,this._dirty=!0,this.effect=new wt(e,(()=>{this._dirty||(this._dirty=!0,Mn(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Sn(this);return On(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Un(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){Xn(r,t,n)}return o}function Wn(e,t,n,i){if(S(e)){const o=Un(e,t,n,i);return o&&O(o)&&o.catch((e=>{Xn(e,t,n)})),o}const o=[];for(let r=0;r>>1;ai(Gn[i])ai(e)-ai(t))),Jn=0;Jnnull==e.id?1/0:e.id,li=(e,t)=>{const n=ai(e)-ai(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ci(e){Yn=!1,qn=!0,Gn.sort(li);try{for(Kn=0;KnE(e)?e.trim():e))),t&&(o=n.map(X))}let a,l=i[a=V(t)]||i[a=V(B(t))];!l&&r&&(l=i[a=V(D(t))]),l&&Wn(l,e,6,di(e,l,o));const c=i[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Wn(c,e,6,di(e,c,o))}}function di(e,t,n){if(1!==n.length)return n;if(S(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const i=n[0];if(i&&w(i,"type")&&w(i,"timeStamp")&&w(i,"target")&&w(i,"currentTarget")&&w(i,"detail")){const t=e.proxy,i=t.$gcd(t,!0);i&&n.push(i)}return n}function hi(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(void 0!==o)return o;const r=e.emits;let s={},a=!1;if(!S(e)){const i=e=>{const n=hi(e,t,!0);n&&(a=!0,y(s,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return r||a?(x(r)?r.forEach((e=>s[e]=null)):y(s,r),A(e)&&i.set(e,s),s):(A(e)&&i.set(e,null),null)}function fi(e,t){return!(!e||!m(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,D(t))||w(e,t))}let pi=null,gi=null;function mi(e){const t=pi;return pi=e,gi=e&&e.type.__scopeId||null,t}function vi(e,t=pi,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&_r(-1);const o=mi(t);let r;try{r=e(...n)}finally{mi(o),i._d&&_r(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function yi(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:f,ctx:p,inheritAttrs:g}=e;let m,y;const _=mi(e);try{if(4&n.shapeFlag){const e=o||i;m=Ir(u.call(e,e,d,r,f,h,p)),y=l}else{const e=t;0,m=Ir(e.length>1?e(r,{attrs:l,slots:a,emit:c}):e(r,null)),y=t.props?l:_i(l)}}catch(w){gr.length=0,Xn(w,e,1),m=Ar(fr)}let b=m;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(v)&&(y=bi(y,s)),b=Or(b,y))}return n.dirs&&(b=Or(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),m=b,mi(_),m}const _i=e=>{let t;for(const n in e)("class"===n||"style"===n||m(n))&&((t||(t={}))[n]=e[n]);return t},bi=(e,t)=>{const n={};for(const i in e)v(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function wi(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;function Ti(e,t){if(Fr){let n=Fr.provides;const i=Fr.parent&&Fr.parent.provides;i===n&&(n=Fr.provides=Object.create(i)),n[e]=t,"app"===Fr.type.mpType&&Fr.appContext.app.provide(e,t)}else;}function Ci(e,t,n=!1){const i=Fr||pi;if(i){const o=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&S(t)?t.call(i.proxy):t}}function Si(e,t){return Ai(e,null,t)}const Ei={};function ki(e,t,n){return Ai(e,t,n)}function Ai(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=d){const a=ct()===(null==Fr?void 0:Fr.scope)?Fr:null;let l,c,u=!1,h=!1;if(Pn(e)?(l=()=>e.value,u=Tn(e)):wn(e)?(l=()=>e,i=!0):x(e)?(h=!0,u=e.some((e=>wn(e)||Tn(e))),l=()=>e.map((e=>Pn(e)?e.value:wn(e)?Pi(e):S(e)?Un(e,a,2):void 0))):l=S(e)?t?()=>Un(e,a,2):()=>{if(!a||!a.isUnmounted)return c&&c(),Wn(e,a,3,[g])}:f,t&&i){const e=l;l=()=>Pi(e())}let p,g=e=>{c=b.onStop=()=>{Un(e,a,4)}};if(Wr){if(g=f,t?n&&Wn(t,a,3,[l(),h?[]:void 0,g]):l(),"sync"!==o)return f;{const e=Jr();p=e.__watcherHandles||(e.__watcherHandles=[])}}let m=h?new Array(e.length).fill(Ei):Ei;const v=()=>{if(b.active)if(t){const e=b.run();(i||u||(h?e.some(((e,t)=>z(e,m[t]))):z(e,m)))&&(c&&c(),Wn(t,a,3,[e,m===Ei?void 0:h&&m[0]===Ei?[]:m,g]),m=e)}else b.run()};let y;v.allowRecurse=!!t,"sync"===o?y=v:"post"===o?y=()=>ar(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>ii(v));const b=new wt(l,y);t?n?v():m=b.run():"post"===o?ar(b.run.bind(b),a&&a.suspense):b.run();const w=()=>{b.stop(),a&&a.scope&&_(a.scope.effects,b)};return p&&p.push(w),w}function Oi(e,t,n){const i=this.proxy,o=E(e)?e.includes(".")?Mi(i,e):()=>i[e]:e.bind(i,i);let r;S(t)?r=t:(r=t.handler,n=t);const s=Fr;jr(this);const a=Ai(o,r.bind(i),n);return s?jr(s):Vr(),a}function Mi(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Pi(e,t)}));else if(L(e))for(const n in e)Pi(e[n],t);return e}const Ii=[Function,Array],Li={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ii,onEnter:Ii,onAfterEnter:Ii,onEnterCancelled:Ii,onBeforeLeave:Ii,onLeave:Ii,onAfterLeave:Ii,onLeaveCancelled:Ii,onBeforeAppear:Ii,onAppear:Ii,onAfterAppear:Ii,onAppearCancelled:Ii},Ri={name:"BaseTransition",props:Li,setup(e,{slots:t}){const n=Dr(),i=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return lo((()=>{e.isMounted=!0})),ho((()=>{e.isUnmounting=!0})),e}();let o;return()=>{const r=t.default&&Di(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1)for(const e of r)if(e.type!==fr){s=e;break}const a=Sn(e),{mode:l}=a;if(i.isLeaving)return Ni(s);const c=Bi(s);if(!c)return Ni(s);const u=Hi(c,a,i,n);Fi(c,u);const d=n.subTree,h=d&&Bi(d);let f=!1;const{getTransitionKey:p}=c.type;if(p){const e=p();void 0===o?o=e:e!==o&&(o=e,f=!0)}if(h&&h.type!==fr&&(!Tr(c,h)||f)){const e=Hi(h,a,i,n);if(Fi(h,e),"out-in"===l)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},Ni(s);"in-out"===l&&c.type!==fr&&(e.delayLeave=(e,t,n)=>{$i(i,h)[String(h.key)]=h,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function $i(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Hi(e,t,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=$i(n,e),w=(e,t)=>{e&&Wn(e,i,9,t)},T=(e,t)=>{const n=t[1];w(e,t),x(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:r,persisted:s,beforeEnter(t){let i=a;if(!n.isMounted){if(!o)return;i=g||a}t._leaveCb&&t._leaveCb(!0);const r=b[_];r&&Tr(e,r)&&r.el._leaveCb&&r.el._leaveCb(),w(i,[t])},enter(e){let t=l,i=c,r=u;if(!n.isMounted){if(!o)return;t=m||l,i=v||c,r=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,w(t?r:i,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?T(t,[e,a]):a()},leave(t,i){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return i();w(d,[t]);let r=!1;const s=t._leaveCb=n=>{r||(r=!0,i(),w(n?p:f,[t]),t._leaveCb=void 0,b[o]===e&&delete b[o])};b[o]=e,h?T(h,[t,s]):s()},clone:e=>Hi(e,t,n,i)};return C}function Ni(e){if(Wi(e))return(e=Or(e)).children=null,e}function Bi(e){return Wi(e)?e.children?e.children[0]:void 0:e}function Fi(e,t){6&e.shapeFlag&&e.component?Fi(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Di(e,t=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function zi(e){S(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:o=200,timeout:r,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return ji({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Fr;if(l)return()=>Ui(l,e);const t=t=>{c=null,Xn(t,e,13,!i)};if(s&&e.suspense||Wr)return d().then((t=>()=>Ui(t,e))).catch((e=>(t(e),()=>i?Ar(i,{error:e}):null)));const a=In(!1),u=In(),h=In(!!o);return o&&setTimeout((()=>{h.value=!1}),o),null!=r&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}}),r),d().then((()=>{a.value=!0,e.parent&&Wi(e.parent.vnode)&&ii(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?Ui(l,e):u.value&&i?Ar(i,{error:u.value}):n&&!h.value?Ar(n):void 0}})}function Ui(e,t){const{ref:n,props:i,children:o,ce:r}=t.vnode,s=Ar(e,i,o);return s.ref=n,s.ce=r,delete t.vnode.ce,s}const Wi=e=>e.type.__isKeepAlive;class Xi{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:i}=this,o=t.get(e);if(o)n.delete(e),n.add(e);else if(n.add(e),i&&n.size>i){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return o}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const qi={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=Dr(),i=n.ctx;if(!i.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=e.cache||new Xi(e.max);o.pruneCacheEntry=s;let r=null;function s(t){var i;!r||!Tr(t,r)||"key"===e.matchBy&&t.key!==r.key?(eo(i=t),u(i,n,a,!0)):r&&eo(r)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=i,h=d("div");function f(t){o.forEach(((n,i)=>{const r=no(n,e.matchBy);!r||t&&t(r)||(o.delete(i),s(n))}))}i.activate=(e,t,n,i,o)=>{const r=e.component;if(r.ba){const e=r.isDeactivated;r.isDeactivated=!1,U(r.ba),r.isDeactivated=e}c(e,t,n,0,a),l(r.vnode,e,t,n,r,a,i,e.slotScopeIds,o),ar((()=>{r.isDeactivated=!1,r.a&&U(r.a);const t=e.props&&e.props.onVnodeMounted;t&&Hr(t,r.parent,e)}),a)},i.deactivate=e=>{const t=e.component;t.bda&&io(t.bda),c(e,h,null,1,a),ar((()=>{t.bda&&oo(t.bda),t.da&&U(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Hr(n,t.parent,e),t.isDeactivated=!0}),a)},ki((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Gi(e,t))),t&&f((e=>!Gi(t,e)))}),{flush:"post",deep:!0});let p=null;const g=()=>{null!=p&&o.set(p,to(n.subTree))};return lo(g),uo(g),ho((()=>{o.forEach(((t,i)=>{o.delete(i),s(t);const{subTree:r,suspense:a}=n,l=to(r);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&U(l.component.bda),eo(l);const e=l.component.da;e&&ar(e,a)}}))})),()=>{if(p=null,!t.default)return null;const n=t.default(),i=n[0];if(n.length>1)return r=null,n;if(!xr(i)||!(4&i.shapeFlag)&&!xi(i.type))return r=null,i;let s=to(i);const a=s.type,l=no(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Gi(c,l))||u&&l&&Gi(u,l))return r=s,i;const d=null==s.key?a:s.key,h=o.get(d);return s.el&&(s=Or(s),xi(i.type)&&(i.ssContent=s)),p=d,h&&(s.el=h.el,s.component=h.component,s.transition&&Fi(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,r=s,xi(i.type)?i:s}}},Yi=qi;function Gi(e,t){return x(e)?e.some((e=>Gi(e,t))):E(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Ki(e,t){Qi(e,"a",t)}function Zi(e,t){Qi(e,"da",t)}function Qi(e,t,n=Fr){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(i.__called=!1,ro(t,i,n),n){let e=n.parent;for(;e&&e.parent;)Wi(e.parent.vnode)&&Ji(i,t,n,e),e=e.parent}}function Ji(e,t,n,i){const o=ro(t,e,i,!0);fo((()=>{_(i[t],o)}),n)}function eo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function to(e){return xi(e.type)?e.ssContent:e}function no(e,t){if("name"===t){const t=e.type;return Gr(Vi(e)?t.__asyncResolved||{}:t)}return String(e.key)}function io(e){for(let t=0;te.__called=!1))}function ro(e,t,n=Fr,i=!1){if(n){if(o=e,Ze.indexOf(o)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return Qe.indexOf(e)>-1}(e))){const i=n.proxy;Wn(t.bind(i),n,e,de===e?[i.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;St(),jr(n);const o=Wn(t,n,e,i);return Vr(),Et(),o});return i?r.unshift(s):r.push(s),s}var o}const so=e=>(t,n=Fr)=>(!Wr||"sp"===e)&&ro(e,((...e)=>t(...e)),n),ao=so("bm"),lo=so("m"),co=so("bu"),uo=so("u"),ho=so("bum"),fo=so("um"),po=so("sp"),go=so("rtg"),mo=so("rtc");function vo(e,t=Fr){ro("ec",e,t)}function yo(e,t){const n=pi;if(null===n)return e;const i=Yr(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r!xr(e)||e.type!==fr&&!(e.type===dr&&!ko(e.children))))?e:null}const Ao=e=>e?zr(e)?Yr(e)||e.proxy:Ao(e.parent):null,Oo=y(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ao(e.parent),$root:e=>Ao(e.root),$emit:e=>e.emit,$options:e=>Ho(e),$forceUpdate:e=>e.f||(e.f=()=>ii(e.update)),$nextTick:e=>e.n||(e.n=ni.bind(e.proxy)),$watch:e=>Oi.bind(e)}),Mo=(e,t)=>e!==d&&!e.__isScriptSetup&&w(e,t),Po={get({_:e},t){const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Mo(i,t))return s[t]=1,i[t];if(o!==d&&w(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&w(c,t))return s[t]=3,r[t];if(n!==d&&w(n,t))return s[t]=4,n[t];Io&&(s[t]=0)}}const u=Oo[t];let h,f;return u?("$attrs"===t&&kt(e,0,t),u(e)):(h=a.__cssModules)&&(h=h[t])?h:n!==d&&w(n,t)?(s[t]=4,n[t]):(f=l.config.globalProperties,w(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return Mo(o,t)?(o[t]=n,!0):i!==d&&w(i,t)?(i[t]=n,!0):!w(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(r[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},s){let a;return!!n[s]||e!==d&&w(e,s)||Mo(t,s)||(a=r[0])&&w(a,s)||w(i,s)||w(Oo,s)||w(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:w(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Io=!0;function Lo(e){const t=Ho(e),n=e.proxy,i=e.ctx;Io=!1,t.beforeCreate&&Ro(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:g,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:b,unmounted:w,render:T,renderTracked:C,renderTriggered:E,errorCaptured:k,serverPrefetch:O,expose:M,inheritAttrs:P,components:I,directives:L,filters:R}=t;if(c&&function(e,t,n=f,i=!1){x(e)&&(e=Do(e));for(const o in e){const n=e[o];let r;r=A(n)?"default"in n?Ci(n.from||o,n.default,!0):Ci(n.from||o):Ci(n),Pn(r)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(c,i,null,e.appContext.config.unwrapInjectedRef),s)for(const f in s){const e=s[f];S(e)&&(i[f]=e.bind(n))}if(o){const t=o.call(n,n);A(t)&&(e.data=vn(t))}if(Io=!0,r)for(const x in r){const e=r[x],t=S(e)?e.bind(n,n):S(e.get)?e.get.bind(n,n):f,o=!S(e)&&S(e.set)?e.set.bind(n):f,s=Kr({get:t,set:o});Object.defineProperty(i,x,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const f in a)$o(a[f],i,n,f);if(l){const e=S(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{Ti(t,e[t])}))}function $(e,t){x(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&Ro(u,e,"c"),$(ao,d),$(lo,h),$(co,p),$(uo,g),$(Ki,m),$(Zi,v),$(vo,k),$(mo,C),$(go,E),$(ho,_),$(fo,w),$(po,O),x(M))if(M.length){const t=e.exposed||(e.exposed={});M.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===f&&(e.render=T),null!=P&&(e.inheritAttrs=P),I&&(e.components=I),L&&(e.directives=L);const H=e.appContext.config.globalProperties.$applyOptions;H&&H(t,e,n)}function Ro(e,t,n){Wn(x(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function $o(e,t,n,i){const o=i.includes(".")?Mi(n,i):()=>n[i];if(E(e)){const n=t[e];S(n)&&ki(o,n)}else if(S(e))ki(o,e.bind(n));else if(A(e))if(x(e))e.forEach((e=>$o(e,t,n,i)));else{const i=S(e.handler)?e.handler.bind(n):t[e.handler];S(i)&&ki(o,i,e)}}function Ho(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let l;return a?l=a:o.length||n||i?(l={},o.length&&o.forEach((e=>No(l,e,s,!0))),No(l,t,s)):l=t,A(t)&&r.set(t,l),l}function No(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&No(e,r,n,!0),o&&o.forEach((t=>No(e,t,n,!0)));for(const s in t)if(i&&"expose"===s);else{const i=Bo[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Bo={data:Fo,props:Vo,emits:Vo,methods:Vo,computed:Vo,beforeCreate:jo,created:jo,beforeMount:jo,mounted:jo,beforeUpdate:jo,updated:jo,beforeDestroy:jo,beforeUnmount:jo,destroyed:jo,unmounted:jo,activated:jo,deactivated:jo,errorCaptured:jo,serverPrefetch:jo,components:Vo,directives:Vo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=y(Object.create(null),e);for(const i in t)n[i]=jo(e[i],t[i]);return n},provide:Fo,inject:function(e,t){return Vo(Do(e),Do(t))}};function Fo(e,t){return t?e?function(){return y(S(e)?e.call(this,this):e,S(t)?t.call(this,this):t)}:t:e}function Do(e){if(x(e)){const t={};for(let n=0;n{l=!0;const[n,i]=Wo(e,t,!0);y(s,n),i&&a.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!r&&!l)return A(e)&&i.set(e,h),h;if(x(r))for(let u=0;u-1,n[1]=i<0||t-1||w(n,"default"))&&a.push(e)}}}const c=[s,a];return A(e)&&i.set(e,c),c}function Xo(e){return"$"!==e[0]}function qo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function Yo(e,t){return qo(e)===qo(t)}function Go(e,t){return x(t)?t.findIndex((t=>Yo(t,e))):S(t)&&Yo(t,e)?0:-1}const Ko=e=>"_"===e[0]||"$stable"===e,Zo=e=>x(e)?e.map(Ir):[Ir(e)],Qo=(e,t,n)=>{if(t._n)return t;const i=vi(((...e)=>Zo(t(...e))),n);return i._c=!1,i},Jo=(e,t,n)=>{const i=e._ctx;for(const o in e){if(Ko(o))continue;const n=e[o];if(S(n))t[o]=Qo(0,n,i);else if(null!=n){const e=Zo(n);t[o]=()=>e}}},er=(e,t)=>{const n=Zo(t);e.slots.default=()=>n},tr=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Sn(t),W(t,"_",n)):Jo(t,e.slots={})}else e.slots={},t&&er(e,t);W(e.slots,Cr,1)},nr=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=d;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:(y(o,t),n||1!==e||delete o._):(r=!t.$stable,Jo(t,o)),s=t}else t&&(er(e,t),s={default:1});if(r)for(const a in o)Ko(a)||a in s||delete o[a]};function ir(){return{app:null,config:{isNativeTag:p,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let or=0;function rr(e,t){return function(n,i=null){S(n)||(n=Object.assign({},n)),null==i||A(i)||(i=null);const o=ir(),r=new Set;let s=!1;const a=o.app={_uid:or++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:es,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&S(e.install)?(r.add(e),e.install(a,...t)):S(e)&&(r.add(e),e(a,...t))),a),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(r,l,c){if(!s){const u=Ar(n,i);return u.appContext=o,l&&t?t(u,r):e(u,r,c),s=!0,a._container=r,r.__vue_app__=a,a._instance=u.component,Yr(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a)};return a}}function sr(e,t,n,i,o=!1){if(x(e))return void e.forEach(((e,r)=>sr(e,t&&(x(t)?t[r]:t),n,i,o)));if(Vi(i)&&!o)return;const r=4&i.shapeFlag?Yr(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===d?a.refs={}:a.refs,h=a.setupState;if(null!=c&&c!==l&&(E(c)?(u[c]=null,w(h,c)&&(h[c]=null)):Pn(c)&&(c.value=null)),S(l))Un(l,a,12,[s,u]);else{const t=E(l),i=Pn(l);if(t||i){const a=()=>{if(e.f){const n=t?w(h,l)?h[l]:u[l]:l.value;o?x(n)&&_(n,r):x(n)?n.includes(r)||n.push(r):t?(u[l]=[r],w(h,l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,w(h,l)&&(h[l]=s)):i&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,ar(a,n)):a()}}}const ar=function(e,t){var n;t&&t.pendingBranch?x(e)?t.effects.push(...e):t.effects.push(e):(x(n=e)?Zn.push(...n):Qn&&Qn.includes(n,n.allowRecurse?Jn+1:Jn)||Zn.push(n),oi())};function lr(e){return function(e,t){G().__VUE__=!0;const{insert:n,remove:i,patchProp:o,forcePatchProp:r,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:p,nextSibling:g,setScopeId:m=f,insertStaticContent:v}=e,y=(e,t,n,i=null,o=null,r=null,s=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Tr(e,t)&&(i=ee(e),Y(e,o,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case hr:_(e,t,n,i);break;case fr:b(e,t,n,i);break;case pr:null==e&&x(t,n,i,s);break;case dr:L(e,t,n,i,o,r,s,a,l);break;default:1&d?S(e,t,n,i,o,r,s,a,l):6&d?R(e,t,n,i,o,r,s,a,l):(64&d||128&d)&&c.process(e,t,n,i,o,r,s,a,l,ne)}null!=u&&o&&sr(u,e&&e.ref,r,t||e,!t)},_=(e,t,i,o)=>{if(null==e)n(t.el=a(t.children),i,o);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},b=(e,t,i,o)=>{null==e?n(t.el=l(t.children||""),i,o):t.el=e.el},x=(e,t,n,i)=>{[e.el,e.anchor]=v(e.children,t,n,i,e.el,e.anchor)},T=({el:e,anchor:t},i,o)=>{let r;for(;e&&e!==t;)r=g(e),n(e,i,o),e=r;n(t,i,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),i(e),e=n;i(t)},S=(e,t,n,i,o,r,s,a,l)=>{s=s||"svg"===t.type,null==e?E(t,n,i,o,r,s,a,l):M(e,t,o,r,s,a,l)},E=(e,t,i,r,a,l,c,d)=>{let h,f;const{type:p,props:g,shapeFlag:m,transition:v,dirs:y}=e;if(h=e.el=s(e.type,l,g&&g.is,g),8&m?u(h,e.children):16&m&&A(e.children,h,null,r,a,l&&"foreignObject"!==p,c,d),y&&_o(e,null,r,"created"),k(h,e,e.scopeId,c,r),g){for(const t in g)"value"===t||$(t)||o(h,t,null,g[t],l,e.children,r,a,J);"value"in g&&o(h,"value",null,g.value),(f=g.onVnodeBeforeMount)&&Hr(f,r,e)}Object.defineProperty(h,"__vueParentComponent",{value:r,enumerable:!1}),y&&_o(e,null,r,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(h),n(h,t,i),((f=g&&g.onVnodeMounted)||_||y)&&ar((()=>{f&&Hr(f,r,e),_&&v.enter(h),y&&_o(e,null,r,"mounted")}),a)},k=(e,t,n,i,o)=>{if(n&&m(e,n),i)for(let r=0;r{for(let c=l;c{const c=t.el=e.el;let{patchFlag:h,dynamicChildren:f,dirs:p}=t;h|=16&e.patchFlag;const g=e.props||d,m=t.props||d;let v;n&&cr(n,!1),(v=m.onVnodeBeforeUpdate)&&Hr(v,n,t,e),p&&_o(t,e,n,"beforeUpdate"),n&&cr(n,!0);const y=s&&"foreignObject"!==t.type;if(f?P(e.dynamicChildren,f,c,n,i,y,a):l||V(e,t,c,null,n,i,y,a,!1),h>0){if(16&h)I(c,t,g,m,n,i,s);else if(2&h&&g.class!==m.class&&o(c,"class",null,m.class,s),4&h&&o(c,"style",g.style,m.style,s),8&h){const a=t.dynamicProps;for(let t=0;t{v&&Hr(v,n,t,e),p&&_o(t,e,n,"updated")}),i)},P=(e,t,n,i,o,r,s)=>{for(let a=0;a{if(n!==i){if(n!==d)for(const r in n)$(r)||r in i||o(e,r,n[r],null,l,t.children,s,a,J);for(const c in i){if($(c))continue;const u=i[c],d=n[c];(u!==d&&"value"!==c||r&&r(e,c))&&o(e,c,d,u,l,t.children,s,a,J)}"value"in i&&o(e,"value",n.value,i.value)}},L=(e,t,i,o,r,s,l,c,u)=>{const d=t.el=e?e.el:a(""),h=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(d,i,o),n(h,i,o),A(t.children,i,h,r,s,l,c,u)):f>0&&64&f&&p&&e.dynamicChildren?(P(e.dynamicChildren,p,i,r,s,l,c),(null!=t.key||r&&t===r.subTree)&&ur(e,t,!0)):V(e,t,i,h,r,s,l,c,u)},R=(e,t,n,i,o,r,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,i,s,l):H(t,n,i,o,r,s,l):N(e,t,l)},H=(e,t,n,i,o,r,s)=>{const a=e.component=function(e,t,n){const i=e.type,o=(t?t.appContext:e.appContext)||Nr,r={uid:Br++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new at(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wo(i,o),emitsOptions:hi(i,o),emit:null,emitted:null,propsDefaults:d,inheritAttrs:i.inheritAttrs,ctx:d,data:d,props:d,attrs:d,slots:d,refs:d,setupState:d,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};r.ctx={_:r},r.root=t?t.root:r,r.emit=ui.bind(null,r),r.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(r);return r}(e,i,o);if(Wi(e)&&(a.ctx.renderer=ne),function(e,t=!1){Wr=t;const{props:n,children:i}=e.vnode,o=zr(e);(function(e,t,n,i=!1){const o={},r={};W(r,Cr,1),e.propsDefaults=Object.create(null),zo(e,t,o,r);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=i?o:yn(o):e.type.props?e.props=o:e.props=r,e.attrs=r})(e,n,o,t),tr(e,i);const r=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=En(new Proxy(e.ctx,Po));const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(kt(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;jr(e),St();const o=Un(i,e,0,[e.props,n]);if(Et(),Vr(),O(o)){if(o.then(Vr,Vr),t)return o.then((n=>{Xr(e,n,t)})).catch((t=>{Xn(t,e,0)}));e.asyncDep=o}else Xr(e,o,t)}else qr(e,t)}(e,t):void 0;Wr=!1}(a),a.asyncDep){if(o&&o.registerDep(a,F),!e.el){const e=a.subTree=Ar(fr);b(null,e,t,n)}}else F(a,e,t,n,o,r,s)},N=(e,t,n)=>{const i=t.component=e.component;if(function(e,t,n){const{props:i,children:o,component:r}=e,{props:s,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||i!==s&&(i?!s||wi(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?wi(i,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tKn&&Gn.splice(t,1)}(i.update),i.update()}else t.el=e.el,i.vnode=t},F=(e,t,n,i,o,r,s)=>{const a=()=>{if(e.isMounted){let t,{next:n,bu:i,u:a,parent:l,vnode:c}=e,u=n;cr(e,!1),n?(n.el=c.el,j(e,n,s)):n=c,i&&U(i),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Hr(t,l,n,c),cr(e,!0);const d=yi(e),h=e.subTree;e.subTree=d,y(h,d,p(h.el),ee(h),e,o,r),n.el=d.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,d.el),a&&ar(a,o),(t=n.props&&n.props.onVnodeUpdated)&&ar((()=>Hr(t,l,n,c)),o)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,h=Vi(t);if(cr(e,!1),c&&U(c),!h&&(s=l&&l.onVnodeBeforeMount)&&Hr(s,d,t),cr(e,!0),a&&oe){const n=()=>{e.subTree=yi(e),oe(a,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=yi(e);y(null,s,n,i,e,o,r),t.el=s.el}if(u&&ar(u,o),!h&&(s=l&&l.onVnodeMounted)){const e=t;ar((()=>Hr(s,d,e)),o)}const{ba:f,a:p}=e;(256&t.shapeFlag||d&&Vi(d.vnode)&&256&d.vnode.shapeFlag)&&(f&&io(f),p&&ar(p,o),f&&ar((()=>oo(f)),o)),e.isMounted=!0,t=n=i=null}},l=e.effect=new wt(a,(()=>ii(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,cr(e,!0),c()},j=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:o,attrs:r,vnode:{patchFlag:s}}=e,a=Sn(o),[l]=e.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;zo(e,t,o,r)&&(c=!0);for(const r in a)t&&(w(t,r)||(i=D(r))!==r&&w(t,i))||(l?!n||void 0===n[r]&&void 0===n[i]||(o[r]=Uo(l,a,r,void 0,e,!0)):delete o[r]);if(r!==a)for(const e in r)t&&w(t,e)||(delete r[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let i=0;i{const c=e&&e.children,d=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void X(c,h,n,i,o,r,s,a,l);if(256&f)return void z(c,h,n,i,o,r,s,a,l)}8&p?(16&d&&J(c,o,r),h!==c&&u(n,h)):16&d?16&p?X(c,h,n,i,o,r,s,a,l):J(c,o,r,!0):(8&d&&u(n,""),16&p&&A(h,n,i,o,r,s,a,l))},z=(e,t,n,i,o,r,s,a,l)=>{t=t||h;const c=(e=e||h).length,u=t.length,d=Math.min(c,u);let f;for(f=0;fu?J(e,o,r,!0,!1,d):A(t,n,i,o,r,s,a,l,d)},X=(e,t,n,i,o,r,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,f=u-1;for(;c<=d&&c<=f;){const i=e[c],u=t[c]=l?Lr(t[c]):Ir(t[c]);if(!Tr(i,u))break;y(i,u,n,null,o,r,s,a,l),c++}for(;c<=d&&c<=f;){const i=e[d],c=t[f]=l?Lr(t[f]):Ir(t[f]);if(!Tr(i,c))break;y(i,c,n,null,o,r,s,a,l),d--,f--}if(c>d){if(c<=f){const e=f+1,d=ef)for(;c<=d;)Y(e[c],o,r,!0),c++;else{const p=c,g=c,m=new Map;for(c=g;c<=f;c++){const e=t[c]=l?Lr(t[c]):Ir(t[c]);null!=e.key&&m.set(e.key,c)}let v,_=0;const b=f-g+1;let w=!1,x=0;const T=new Array(b);for(c=0;c=b){Y(i,o,r,!0);continue}let u;if(null!=i.key)u=m.get(i.key);else for(v=g;v<=f;v++)if(0===T[v-g]&&Tr(i,t[v])){u=v;break}void 0===u?Y(i,o,r,!0):(T[u-g]=c+1,u>=x?x=u:w=!0,y(i,t[u],n,null,o,r,s,a,l),_++)}const C=w?function(e){const t=e.slice(),n=[0];let i,o,r,s,a;const l=e.length;for(i=0;i>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}r=n.length,s=n[r-1];for(;r-- >0;)n[r]=s,s=t[s];return n}(T):h;for(v=C.length-1,c=b-1;c>=0;c--){const e=g+c,d=t[e],h=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void q(e.component.subTree,t,i,o);if(128&u)return void e.suspense.move(t,i,o);if(64&u)return void a.move(e,t,i,ne);if(a===dr){n(s,t,i);for(let e=0;el.enter(s)),r);else{const{leave:e,delayLeave:o,afterLeave:r}=l,a=()=>n(s,t,i),c=()=>{e(s,(()=>{a(),r&&r()}))};o?o(s,a,c):c()}else n(s,t,i)},Y=(e,t,n,i=!1,o=!1)=>{const{type:r,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=a&&sr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&h,p=!Vi(e);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&Hr(g,t,e),6&u)Q(e.component,n,i);else{if(128&u)return void e.suspense.unmount(n,i);f&&_o(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,ne,i):c&&(r!==dr||d>0&&64&d)?J(c,t,n,!1,!0):(r===dr&&384&d||!o&&16&u)&&J(l,t,n),i&&K(e)}(p&&(g=s&&s.onVnodeUnmounted)||f)&&ar((()=>{g&&Hr(g,t,e),f&&_o(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===dr)return void Z(n,o);if(t===pr)return void C(e);const s=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:i}=r,o=()=>t(n,s);i?i(e.el,s,o):o()}else s()},Z=(e,t)=>{let n;for(;e!==t;)n=g(e),i(e),e=n;i(t)},Q=(e,t,n)=>{const{bum:i,scope:o,update:r,subTree:s,um:a}=e;i&&U(i),o.stop(),r&&(r.active=!1,Y(s,e,t,n)),a&&ar(a,t),ar((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},J=(e,t,n,i=!1,o=!1,r=0)=>{for(let s=r;s6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():g(e.anchor||e.el),te=(e,t,n)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),ri(),si(),t._vnode=e},ne={p:y,um:Y,m:q,r:K,mt:H,mc:A,pc:V,pbc:P,n:ee,o:e};let ie,oe;t&&([ie,oe]=t(ne));return{render:te,hydrate:ie,createApp:rr(te,ie)}}(e)}function cr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ur(e,t,n=!1){const i=e.children,o=t.children;if(x(i)&&x(o))for(let r=0;r0?mr||h:null,gr.pop(),mr=gr[gr.length-1]||null,yr>0&&mr&&mr.push(e),e}function wr(e,t,n,i,o){return br(Ar(e,t,n,i,o,!0))}function xr(e){return!!e&&!0===e.__v_isVNode}function Tr(e,t){return e.type===t.type&&e.key===t.key}const Cr="__vInternal",Sr=({key:e})=>null!=e?e:null,Er=({ref:e,ref_key:t,ref_for:n})=>null!=e?E(e)||Pn(e)||S(e)?{i:pi,r:e,k:t,f:!!n}:e:null;function kr(e,t=null,n=null,i=0,o=null,r=(e===dr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sr(t),ref:t&&Er(t),scopeId:gi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:pi};return a?(Rr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=E(n)?8:16),yr>0&&!s&&mr&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&mr.push(l),l}const Ar=function(e,t=null,n=null,o=0,r=null,s=!1){e&&e!==xo||(e=fr);if(xr(e)){const i=Or(e,t,!0);return n&&Rr(i,n),yr>0&&!s&&mr&&(6&i.shapeFlag?mr[mr.indexOf(e)]=i:mr.push(i)),i.patchFlag|=-2,i}a=e,S(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?Cn(e)||Cr in e?y({},e):e:null}(t);let{class:e,style:n}=t;e&&!E(e)&&(t.class=l(e)),A(n)&&(Cn(n)&&!x(n)&&(n=y({},n)),t.style=i(n))}const c=E(e)?1:xi(e)?128:(e=>e.__isTeleport)(e)?64:A(e)?4:S(e)?2:0;return kr(e,t,n,o,r,c,s,!0)};function Or(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?$r(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Sr(a),ref:t&&t.ref?n&&o?x(o)?o.concat(Er(t)):[o,Er(t)]:Er(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dr?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mr(e=" ",t=0){return Ar(hr,null,e,t)}function Pr(e="",t=!1){return t?(vr(),wr(fr,null,e)):Ar(fr,null,e)}function Ir(e){return null==e||"boolean"==typeof e?Ar(fr):x(e)?Ar(dr,null,e.slice()):"object"==typeof e?Lr(e):Ar(hr,null,String(e))}function Lr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Or(e)}function Rr(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if(x(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),Rr(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||Cr in t?3===i&&pi&&(1===pi.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=pi}}else S(t)?(t={default:t,_ctx:pi},n=32):(t=String(t),64&i?(n=16,t=[Mr(t)]):n=8);e.children=t,e.shapeFlag|=n}function $r(...e){const t={};for(let n=0;nFr||pi,jr=e=>{Fr=e,e.scope.on()},Vr=()=>{Fr&&Fr.scope.off(),Fr=null};function zr(e){return 4&e.vnode.shapeFlag}let Ur,Wr=!1;function Xr(e,t,n){S(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:A(t)&&(e.setupState=Bn(t)),qr(e,n)}function qr(e,t,n){const i=e.type;if(!e.render){if(!t&&Ur&&!i.render){const t=i.template||Ho(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:s}=i,a=y(y({isCustomElement:n,delimiters:r},o),s);i.render=Ur(t,a)}}e.render=i.render||f}jr(e),St(),Lo(e),Et(),Vr()}function Yr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bn(En(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Oo?Oo[n](e):void 0,has:(e,t)=>t in e||t in Oo}))}function Gr(e,t=!0){return S(e)?e.displayName||e.name:e.name||t&&e.__name}const Kr=(e,t)=>function(e,t,n=!1){let i,o;const r=S(e);return r?(i=e,o=f):(i=e.get,o=e.set),new zn(i,o,r||!o,n)}(e,0,Wr);function Zr(e,t,n){const i=arguments.length;return 2===i?A(t)&&!x(t)?xr(t)?Ar(e,null,[t]):Ar(e,t):Ar(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&xr(n)&&(n=[n]),Ar(e,t,n))}const Qr=Symbol(""),Jr=()=>Ci(Qr),es="3.2.47",ts="undefined"!=typeof document?document:null,ns=ts&&ts.createElement("template"),is={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?ts.createElementNS("http://www.w3.org/2000/svg",e):ts.createElement(e,n?{is:n}:void 0);return"select"===e&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:e=>ts.createTextNode(e),createComment:e=>ts.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ts.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==r&&(o=o.nextSibling););else{ns.innerHTML=i?`${e}`:e;const o=ns.content;if(i){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const os=/\s*!important$/;function rs(e,t,n){if(x(n))n.forEach((n=>rs(e,t,n)));else if(null==n&&(n=""),n=gs(n),t.startsWith("--"))e.setProperty(t,n);else{const i=function(e,t){const n=as[t];if(n)return n;let i=B(t);if("filter"!==i&&i in e)return as[t]=i;i=j(i);for(let o=0;oe.replace(ze,((e,t)=>{if(!t)return e;if(1===fs)return`${t}${hs}`;const n=function(e,t){const n=Math.pow(10,t+1),i=Math.floor(e*n);return 10*Math.round(i/10)/n}(parseFloat(t)*fs,ps);return 0===n?"0":`${n}${hs}`})));var hs,fs,ps;const gs=e=>E(e)?ds(e):e,ms="http://www.w3.org/1999/xlink";function vs(e,t,n,i,o=null){const r=e._vei||(e._vei={}),s=r[t];if(i&&s)s.value=i;else{const[n,a]=function(e){let t;if(ys.test(e)){let n;for(t={};n=e.match(ys);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):D(e.slice(2));return[n,t]}(t);if(i){const s=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const i=t&&t.proxy,o=i&&i.$nne,{value:r}=n;if(o&&x(r)){const n=xs(e,r);for(let i=0;i_s||(bs.then((()=>_s=0)),_s=Date.now());function xs(e,t){if(x(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const Ts=/^on[a-z]/;const Cs="transition",Ss="animation",Es=(e,{slots:t})=>Zr(Ri,function(e){const t={};for(const y in e)y in ks||(t[y]=e[y]);if(!1===e.css)return t;const{name:n="v",type:i,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,p=function(e){if(null==e)return null;if(A(e))return[Ms(e.enter),Ms(e.leave)];{const t=Ms(e);return[t,t]}}(o),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:b,onLeave:w,onLeaveCancelled:x,onBeforeAppear:T=v,onAppear:C=_,onAppearCancelled:S=b}=t,E=(e,t,n)=>{Is(e,t?u:a),Is(e,t?c:s),n&&n()},k=(e,t)=>{e._isLeaving=!1,Is(e,d),Is(e,f),Is(e,h),t&&t()},O=e=>(t,n)=>{const o=e?C:_,s=()=>E(t,e,n);As(o,[t,s]),Ls((()=>{Is(t,e?l:r),Ps(t,e?u:a),Os(o)||$s(t,i,g,s)}))};return y(t,{onBeforeEnter(e){As(v,[e]),Ps(e,r),Ps(e,s)},onBeforeAppear(e){As(T,[e]),Ps(e,l),Ps(e,c)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);Ps(e,d),document.body.offsetHeight,Ps(e,h),Ls((()=>{e._isLeaving&&(Is(e,d),Ps(e,f),Os(w)||$s(e,i,m,n))})),As(w,[e,n])},onEnterCancelled(e){E(e,!1),As(b,[e])},onAppearCancelled(e){E(e,!0),As(S,[e])},onLeaveCancelled(e){k(e),As(x,[e])}})}(e),t);Es.displayName="Transition";const ks={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Es.props=y({},Li,ks);const As=(e,t=[])=>{x(e)?e.forEach((e=>e(...t))):e&&e(...t)},Os=e=>!!e&&(x(e)?e.some((e=>e.length>1)):e.length>1);function Ms(e){return q(e)}function Ps(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Is(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ls(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Rs=0;function $s(e,t,n,i){const o=e._endId=++Rs,r=()=>{o===e._endId&&i()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),i=e=>(n[e]||"").split(", "),o=i(`${Cs}Delay`),r=i(`${Cs}Duration`),s=Hs(o,r),a=i(`${Ss}Delay`),l=i(`${Ss}Duration`),c=Hs(a,l);let u=null,d=0,h=0;t===Cs?s>0&&(u=Cs,d=s,h=r.length):t===Ss?c>0&&(u=Ss,d=c,h=l.length):(d=Math.max(s,c),u=d>0?s>c?Cs:Ss:null,h=u?u===Cs?r.length:l.length:0);const f=u===Cs&&/\b(transform|all)(,|$)/.test(i(`${Cs}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}(e,t);if(!s)return i();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uNs(t)+Ns(e[n]))))}function Ns(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const Bs=["ctrl","shift","alt","meta"],Fs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Bs.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ds=(e,t)=>(n,...i)=>{for(let e=0;e{Vs(e,!1)})):Vs(e,t))},beforeUnmount(e,{value:t}){Vs(e,t)}};function Vs(e,t){e.style.display=t?e._vod:"none"}const zs=y({patchProp:(e,t,n,i,o=!1,r,s,a,l)=>{if(0===t.indexOf("change:"))return function(e,t,n,i=null){if(!n||!i)return;const o=t.replace("change:",""),{attrs:r}=i,s=r[o],a=(e.__wxsProps||(e.__wxsProps={}))[o];if(a===s)return;e.__wxsProps[o]=s;const l=i.proxy;ni((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,i,s);"class"===t?function(e,t,n){const{__wxsAddClass:i,__wxsRemoveClass:o}=e;o&&o.length&&(t=(t||"").split(/\s+/).filter((e=>-1===o.indexOf(e))).join(" "),o.length=0),i&&i.length&&(t=(t||"")+" "+i.join(" "));const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,i,o):"style"===t?function(e,t,n){const i=e.style,o=E(n);if(n&&!o){if(t&&!E(t))for(const e in t)null==n[e]&&rs(i,e,"");for(const e in n)rs(i,e,n[e])}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}const{__wxsStyle:r}=e;if(r)for(const s in r)rs(i,s,r[s])}(e,n,i):m(t)?v(t)||vs(e,t,0,i,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,i){if(i)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ts.test(t)&&S(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Ts.test(t)&&E(n))return!1;return t in e}(e,t,i,o))?function(e,t,n,i,o,r,s){if("innerHTML"===t||"textContent"===t)return i&&s(i,o,r),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const i=null==n?"":n;return e.value===i&&"OPTION"!==e.tagName||(e.value=i),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const i=typeof e[t];"boolean"===i?n=u(n):null==n&&"string"===i?(n="",a=!0):"number"===i&&(n=0,a=!0)}try{e[t]=n}catch(l){}a&&e.removeAttribute(t)}(e,t,i,r,s,a,l):("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),function(e,t,n,i,o){if(i&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ms,t.slice(6,t.length)):e.setAttributeNS(ms,t,n);else{const i=c(t);null==n||i&&!u(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}(e,t,i,o))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},is);let Us;const Ws=(...e)=>{const t=(Us||(Us=lr(zs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const i=function(e){if(E(e)){return document.querySelector(e)}return e}(e);if(!i)return;const o=t._component;S(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};const Xs=["{","}"];const qs=/^(?:\d)+/,Ys=/^(?:\w)+/;const Gs="zh-Hans",Ks="zh-Hant",Zs="en",Qs="fr",Js="es",ea=Object.prototype.hasOwnProperty,ta=(e,t)=>ea.call(e,t),na=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Xs){if(!t)return[e];let i=this._caches[e];return i||(i=function(e,[t,n]){const i=[];let o=0,r="";for(;o-1?Gs:e.indexOf("-hant")>-1?Ks:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?Ks:Gs);var n;let i=[Zs,Qs,Js];t&&Object.keys(t).length>0&&(i=Object.keys(t));const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,i);return o||void 0}class oa{constructor({locale:e,fallbackLocale:t,messages:n,watcher:i,formater:o}){this.locale=Zs,this.fallbackLocale=Zs,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||na,this.messages=n||{},this.setLocale(e||Zs),i&&this.watchLocale(i)}setLocale(e){const t=this.locale;this.locale=ia(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const i=this.messages[e];i?n?Object.assign(i,t):Object.keys(t).forEach((e=>{ta(i,e)||(i[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let i=this.message;return"string"==typeof t?(t=ia(t,this.messages))&&(i=this.messages[t]):n=t,ta(i,e)?this.formater.interpolate(i[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ra(e,t={},n,i){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&ih?ih():"undefined"!=typeof global&&global.getLocale?global.getLocale():Zs),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Zs);const o=new oa({locale:e,fallbackLocale:n,messages:t,watcher:i});let r=(e,t)=>{{let e=!1;r=function(t,n){const i=gp().$vm;return i&&(i.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(i,o))),o.t(t,n)}}return r(e,t)};return{i18n:o,f:(e,t,n)=>o.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>o.add(e,t,n),watch:e=>o.watchLocale(e),getLocale:()=>o.getLocale(),setLocale:e=>o.setLocale(e)}} /*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT */const sa="undefined"!=typeof window;const aa=Object.assign;function la(e,t){const n={};for(const i in t){const o=t[i];n[i]=ua(o)?o.map(e):e(o)}return n}const ca=()=>{},ua=Array.isArray,da=/\/$/,ha=e=>e.replace(da,"");function fa(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(i=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(i=i||t.slice(0,a),s=t.slice(a,t.length)),i=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let r,s,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}(null!=i?i:t,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:s}}function pa(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ga(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ma(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!va(e[n],t[n]))return!1;return!0}function va(e,t){return ua(e)?ya(e,t):ua(t)?ya(t,e):e===t}function ya(e,t){return ua(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var _a,ba,wa,xa;(ba=_a||(_a={})).pop="pop",ba.push="push",(xa=wa||(wa={})).back="back",xa.forward="forward",xa.unknown="";const Ta=/^[^#]+#/;function Ca(e,t){return e.replace(Ta,"#")+t}const Sa=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ea(e){let t;if("el"in e){const n=e.el,i="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function ka(e,t){return(history.state?history.state.position-t:-1)+e}const Aa=new Map;let Oa=()=>location.protocol+"//"+location.host;function Ma(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let t=o.includes(e.slice(r))?e.slice(r).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),pa(n,"")}return pa(n,e)+i+o}function Pa(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?Sa():null}}function Ia(e){const t=function(e){const{history:t,location:n}=window,i={value:Ma(e,n)},o={value:t.state};function r(i,r,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+i:Oa()+e+i;try{t[s?"replaceState":"pushState"](r,"",l),o.value=r}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:function(e,n){const s=aa({},o.value,t.state,{forward:e,scroll:Sa()});r(s.current,s,!0),r(e,aa({},Pa(i.value,e,null),{position:s.position+1},n),!1),i.value=e},replace:function(e,n){r(e,aa({},t.state,Pa(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=e}}}(e=function(e){if(!e)if(sa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),ha(e)}(e)),n=function(e,t,n,i){let o=[],r=[],s=null;const a=({state:r})=>{const a=Ma(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=a,t.value=r,s&&s===l)return void(s=null);u=c?r.position-c.position:0}else i(a);o.forEach((e=>{e(n.value,l,{delta:u,type:_a.pop,direction:u?u>0?wa.forward:wa.back:wa.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(aa({},e.state,{scroll:Sa()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const i=aa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ca.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function La(e){return"string"==typeof e||"symbol"==typeof e}const Ra={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$a=Symbol("");var Ha,Na;function Ba(e,t){return aa(new Error,{type:e,[$a]:!0},t)}function Fa(e,t){return e instanceof Error&&$a in e&&(null==t||!!(e.type&t))}(Na=Ha||(Ha={}))[Na.aborted=4]="aborted",Na[Na.cancelled=8]="cancelled",Na[Na.duplicated=16]="duplicated";const Da="[^/]+?",ja={sensitive:!1,strict:!1,start:!0,end:!0},Va=/[.+*?^${}()[\]/\\]/g;function za(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Ua(e,t){let n=0;const i=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Xa={type:0,value:""},qa=/[a-zA-Z0-9_]/;function Ya(e,t,n){const i=function(e,t){const n=aa({},ja,t),i=[];let o=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l{r(h)}:ca}function r(e){if(La(e)){const t=i.get(e);t&&(i.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&i.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!tl(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Qa(e)&&i.set(e.record.name,e)}return t=el({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,r,s,a={};if("name"in e&&e.name){if(o=i.get(e.name),!o)throw Ba(1,{location:e});s=o.record.name,a=aa(Ka(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Ka(e.params,o.keys.map((e=>e.name)))),r=o.stringify(a)}else if("path"in e)r=e.path,o=n.find((e=>e.re.test(r))),o&&(a=o.parse(r),s=o.record.name);else{if(o=t.name?i.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw Ba(1,{location:e,currentLocation:t});s=o.record.name,a=aa({},t.params,e.params),r=o.stringify(a)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:r,params:a,matched:l,meta:Ja(l)}},removeRoute:r,getRoutes:function(){return n},getRecordMatcher:function(e){return i.get(e)}}}function Ka(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Za(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]="object"==typeof n?n[i]:n;return t}function Qa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ja(e){return e.reduce(((e,t)=>aa(e,t.meta)),{})}function el(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function tl(e,t){return t.children.some((t=>t===e||tl(e,t)))}const nl=/#/g,il=/&/g,ol=/\//g,rl=/=/g,sl=/\?/g,al=/\+/g,ll=/%5B/g,cl=/%5D/g,ul=/%5E/g,dl=/%60/g,hl=/%7B/g,fl=/%7C/g,pl=/%7D/g,gl=/%20/g;function ml(e){return encodeURI(""+e).replace(fl,"|").replace(ll,"[").replace(cl,"]")}function vl(e){return ml(e).replace(al,"%2B").replace(gl,"+").replace(nl,"%23").replace(il,"%26").replace(dl,"`").replace(hl,"{").replace(pl,"}").replace(ul,"^")}function yl(e){return null==e?"":function(e){return ml(e).replace(nl,"%23").replace(sl,"%3F")}(e).replace(ol,"%2F")}function _l(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function bl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let i=0;ie&&vl(e))):[i&&vl(i)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function xl(e){const t={};for(const n in e){const i=e[n];void 0!==i&&(t[n]=ua(i)?i.map((e=>null==e?null:""+e)):null==i?i:""+i)}return t}const Tl=Symbol(""),Cl=Symbol(""),Sl=Symbol(""),El=Symbol(""),kl=Symbol("");function Al(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ol(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise(((s,a)=>{const l=e=>{var l;!1===e?a(Ba(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(l=e)||l&&"object"==typeof l?a(Ba(2,{from:t,to:e})):(r&&i.enterCallbacks[o]===r&&"function"==typeof e&&r.push(e),s())},c=e.call(i&&i.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>a(e)))}))}function Ml(e,t,n,i){const o=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(r=a)||"displayName"in r||"props"in r||"__vccOpts"in r){const r=(a.__vccOpts||a)[t];r&&o.push(Ol(r,n,i,s,e))}else{let r=a();o.push((()=>r.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const r=(a=o).__esModule||"Module"===a[Symbol.toStringTag]?o.default:o;var a;s.components[e]=r;const l=(r.__vccOpts||r)[t];return l&&Ol(l,n,i,s,e)()}))))}}var r;return o}function Pl(e){const t=Ci(Sl),n=Ci(El),i=Kr((()=>t.resolve(Hn(e.to)))),o=Kr((()=>{const{matched:e}=i.value,{length:t}=e,o=e[t-1],r=n.matched;if(!o||!r.length)return-1;const s=r.findIndex(ga.bind(null,o));if(s>-1)return s;const a=Ll(e[t-2]);return t>1&&Ll(o)===a&&r[r.length-1].path!==a?r.findIndex(ga.bind(null,e[t-2])):s})),r=Kr((()=>o.value>-1&&function(e,t){for(const n in t){const i=t[n],o=e[n];if("string"==typeof i){if(i!==o)return!1}else if(!ua(o)||o.length!==i.length||i.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,i.value.params))),s=Kr((()=>o.value>-1&&o.value===n.matched.length-1&&ma(n.params,i.value.params)));return{route:i,href:Kr((()=>i.value.href)),isActive:r,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Hn(e.replace)?"replace":"push"](Hn(e.to)).catch(ca):Promise.resolve()}}}const Il=ji({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pl,setup(e,{slots:t}){const n=vn(Pl(e)),{options:i}=Ci(Sl),o=Kr((()=>({[Rl(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Rl(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=t.default&&t.default(n);return e.custom?i:Zr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function Ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rl=(e,t,n)=>null!=e?e:null!=t?t:n;function $l(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Hl=ji({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Ci(kl),o=Kr((()=>e.route||i.value)),r=Ci(Cl,0),s=Kr((()=>{let e=Hn(r);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Kr((()=>o.value.matched[s.value]));Ti(Cl,Kr((()=>s.value+1))),Ti(Tl,a),Ti(kl,o);const l=In();return ki((()=>[l.value,a.value,e.name]),(([e,t,n],[i,o,r])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===i&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&ga(t,o)&&i||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const i=o.value,r=e.name,s=a.value,c=s&&s.components[r];if(!c)return $l(n.default,{Component:c,route:i});const u=s.props[r],d=u?!0===u?i.params:"function"==typeof u?u(i):u:null,h=Zr(c,aa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[r]=null)},ref:l}));return $l(n.default,{Component:h,route:i})||h}}});function Nl(e){const t=Ga(e.routes,e),n=e.parseQuery||bl,i=e.stringifyQuery||wl,o=e.history,r=Al(),s=Al(),a=Al(),l=Ln(Ra);let c=Ra;sa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=la.bind(null,(e=>""+e)),d=la.bind(null,yl),h=la.bind(null,_l);function f(e,r){if(r=aa({},r||l.value),"string"==typeof e){const i=fa(n,e,r.path),s=t.resolve({path:i.path},r),a=o.createHref(i.fullPath);return aa(i,s,{params:h(s.params),hash:_l(i.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=aa({},e,{path:fa(n,e.path,r.path).path});else{const t=aa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=aa({},e,{params:d(t)}),r.params=d(r.params)}const a=t.resolve(s,r),c=e.hash||"";a.params=u(h(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(i,aa({},e,{hash:(p=c,ml(p).replace(hl,"{").replace(pl,"}").replace(ul,"^")),path:a.path}));var p;const g=o.createHref(f);return aa({fullPath:f,hash:c,query:i===wl?xl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function p(e){return"string"==typeof e?fa(n,e,l.value.path):aa({},e)}function g(e,t){if(c!==e)return Ba(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let i="function"==typeof n?n(e):n;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=p(i):{path:i},i.params={}),aa({query:e.query,hash:e.hash,params:"path"in i?{}:e.params},i)}}function y(e,t){const n=c=f(e),o=l.value,r=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(aa(p(u),{state:"object"==typeof u?aa({},r,u.state):r,force:s,replace:a}),t||n);const d=n;let h;return d.redirectedFrom=t,!s&&function(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&ga(t.matched[i],n.matched[o])&&ma(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(i,o,n)&&(h=Ba(16,{to:d,from:o}),P(o,o,!0,!1)),(h?Promise.resolve(h):w(d,o)).catch((e=>Fa(e)?Fa(e,2)?e:M(e):O(e,d,o))).then((e=>{if(e){if(Fa(e,2))return y(aa({replace:a},p(e.to),{state:"object"==typeof e.to?aa({},r,e.to.state):r,force:s}),t||d)}else e=T(d,o,!0,a,r);return x(d,o,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[i,o,a]=function(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;sga(e,r)))?i.push(r):n.push(r));const a=e.matched[s];a&&(t.matched.find((e=>ga(e,a)))||o.push(a))}return[n,i,o]}(e,t);n=Ml(i.reverse(),"beforeRouteLeave",e,t);for(const r of i)r.leaveGuards.forEach((i=>{n.push(Ol(i,e,t))}));const l=_.bind(null,e,t);return n.push(l),H(n).then((()=>{n=[];for(const i of r.list())n.push(Ol(i,e,t));return n.push(l),H(n)})).then((()=>{n=Ml(o,"beforeRouteUpdate",e,t);for(const i of o)i.updateGuards.forEach((i=>{n.push(Ol(i,e,t))}));return n.push(l),H(n)})).then((()=>{n=[];for(const i of a)if(i.beforeEnter)if(ua(i.beforeEnter))for(const o of i.beforeEnter)n.push(Ol(o,e,t));else n.push(Ol(i.beforeEnter,e,t));return n.push(l),H(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ml(a,"beforeRouteEnter",e,t),n.push(l),H(n)))).then((()=>{n=[];for(const i of s.list())n.push(Ol(i,e,t));return n.push(l),H(n)})).catch((e=>Fa(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((i=>b((()=>i(e,t,n)))))}function T(e,t,n,i,r){const s=g(e,t);if(s)return s;const a=t===Ra,c=sa?history.state:{};n&&(i||a?o.replace(e.fullPath,aa({scroll:a&&c&&c.scroll},r)):o.push(e.fullPath,r)),l.value=e,P(e,t,n,a),M()}let C;function S(){C||(C=o.listen(((e,t,n)=>{if(!$.listening)return;const i=f(e),r=v(i);if(r)return void y(aa(r,{replace:!0}),i).catch(ca);c=i;const s=l.value;var a,u;sa&&(a=ka(s.fullPath,n.delta),u=Sa(),Aa.set(a,u)),w(i,s).catch((e=>Fa(e,12)?e:Fa(e,2)?(y(e.to,i).then((e=>{Fa(e,20)&&!n.delta&&n.type===_a.pop&&o.go(-1,!1)})).catch(ca),Promise.reject()):(n.delta&&o.go(-n.delta,!1),O(e,i,s)))).then((e=>{(e=e||T(i,s,!1))&&(n.delta&&!Fa(e,8)?o.go(-n.delta,!1):n.type===_a.pop&&Fa(e,20)&&o.go(-1,!1)),x(i,s,e)})).catch(ca)})))}let E,k=Al(),A=Al();function O(e,t,n){M(e);const i=A.list();return i.length?i.forEach((i=>i(e,t,n))):console.error(e),Promise.reject(e)}function M(e){return E||(E=!e,S(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function P(t,n,i,o){const{scrollBehavior:r}=e;if(!sa||!r)return Promise.resolve();const s=!i&&function(e){const t=Aa.get(e);return Aa.delete(e),t}(ka(t.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return ni().then((()=>r(t,n,s))).then((e=>e&&Ea(e))).catch((e=>O(e,t,n)))}const I=e=>o.go(e);let L;const R=new Set,$={currentRoute:l,listening:!0,addRoute:function(e,n){let i,o;return La(e)?(i=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,i)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(aa(p(e),{replace:!0}))},go:I,back:()=>I(-1),forward:()=>I(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:A.add,isReady:function(){return E&&l.value!==Ra?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",Il),e.component("RouterView",Hl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Hn(l)}),sa&&!L&&l.value===Ra&&(L=!0,m(o.location).catch((e=>{})));const t={};for(const i in Ra)Object.defineProperty(t,i,{get:()=>l.value[i],enumerable:!0});e.provide(Sl,this),e.provide(El,yn(t)),e.provide(kl,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=Ra,C&&C(),C=null,l.value=Ra,L=!1,E=!1),n()}}};function H(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return $}function Bl(){return Ci(El)}const Fl=Fe((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Dl;function jl(){if(!Dl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[ee]||__uniConfig.locale||navigator.language,Dl=ra(e),Fl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Dl.add(e,__uniConfig.locales[e]))),Dl.setLocale(e)}}return Dl}function Vl(e,t,n){return t.reduce(((t,i,o)=>(t[e+i]=n[o],t)),{})}const zl=Fe((()=>{const e="uni.async.",t=["error"];jl().add(Zs,Vl(e,t,["The connection timed out, click the screen to try again."]),!1),jl().add(Js,Vl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),jl().add(Qs,Vl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),jl().add(Gs,Vl(e,t,["连接服务器超时,点击屏幕重试"]),!1),jl().add(Ks,Vl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Ul=Fe((()=>{const e="uni.showToast.",t=["unpaired"];jl().add(Zs,Vl(e,t,["Please note showToast must be paired with hideToast"]),!1),jl().add(Js,Vl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),jl().add(Qs,Vl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),jl().add(Gs,Vl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),jl().add(Ks,Vl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Wl=Fe((()=>{const e="uni.showLoading.",t=["unpaired"];jl().add(Zs,Vl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),jl().add(Js,Vl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),jl().add(Qs,Vl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),jl().add(Gs,Vl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),jl().add(Ks,Vl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Xl=Fe((()=>{const e="uni.showModal.",t=["cancel","confirm"];jl().add(Zs,Vl(e,t,["Cancel","OK"]),!1),jl().add(Js,Vl(e,t,["Cancelar","OK"]),!1),jl().add(Qs,Vl(e,t,["Annuler","OK"]),!1),jl().add(Gs,Vl(e,t,["取消","确定"]),!1),jl().add(Ks,Vl(e,t,["取消","確定"]),!1)})),ql=Fe((()=>{const e="uni.chooseFile.",t=["notUserActivation"];jl().add(Zs,Vl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),jl().add(Js,Vl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),jl().add(Qs,Vl(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),jl().add(Gs,Vl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),jl().add(Ks,Vl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Yl=Fe((()=>{const e="uni.setClipboardData.",t=["success","fail"];jl().add(Zs,Vl(e,t,["Content copied","Copy failed, please copy manually"]),!1),jl().add(Js,Vl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),jl().add(Qs,Vl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),jl().add(Gs,Vl(e,t,["内容已复制","复制失败,请手动复制"]),!1),jl().add(Ks,Vl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}));function Gl(e){const t=new it;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,i,o=!1){t[o?"once":"on"](`${e}.${n}`,i)},unsubscribe(n,i){t.off(`${e}.${n}`,i)},subscribeHandler(n,i,o){t.emit(`${e}.${n}`,i,o)}}}const Kl="invokeViewApi",Zl="invokeServiceApi";let Ql=1;const Jl=Object.create(null);function ec(e,t){return e+"."+t}function tc({id:e,name:t,args:n},i){t=ec(i,t);const o=t=>{e&&Jg.publishHandler(Kl+"."+e,t)},r=Jl[t];r?r(n,o):o({})}const nc=y(Gl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:i,publishHandler:o}=Jg,r=n?Ql++:0;n&&i(Zl+"."+r,n,!0),o(Zl,{id:r,name:e,args:t})}}),ic=350,oc=10,rc=Ue(!0);let sc;function ac(){sc&&(clearTimeout(sc),sc=null)}let lc=0,cc=0;function uc(e){if(ac(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];lc=t,cc=n,sc=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),ic)}function dc(e){if(!sc)return;if(1!==e.touches.length)return ac();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-lc)>oc||Math.abs(n-cc)>oc?ac():void 0}function hc(e,t){const n=Number(e);return isNaN(n)?t:n}function fc(){const e=__uniConfig.globalStyle||{},t=hc(e.rpxCalcMaxDeviceWidth,960),n=hc(e.rpxCalcBaseDeviceWidth,375);function i(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}i(),document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("resize",i)}function pc(){fc(),je(),window.addEventListener("touchstart",uc,rc),window.addEventListener("touchmove",dc,rc),window.addEventListener("touchend",ac,rc),window.addEventListener("touchcancel",ac,rc)}function gc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mc,vc,yc=["top","left","right","bottom"],_c={};function bc(){return vc="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function wc(){if(vc="string"==typeof vc?vc:bc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var i=document.createElement("div");o(i,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),yc.forEach((function(e){s(i,e)})),document.body.appendChild(i),r(),mc=!0}else yc.forEach((function(e){_c[e]=0}));function o(e,t){var n=e.style;Object.keys(t).forEach((function(e){var i=t[e];n[e]=i}))}function r(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var i=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:vc+"(safe-area-inset-"+n+")"};o(i,c),o(s,c),o(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),o(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),i.appendChild(a),s.appendChild(l),e.appendChild(i),e.appendChild(s),r((function(){i.scrollTop=s.scrollTop=1e4;var e=i.scrollTop,o=s.scrollTop;function r(){this.scrollTop!==(this===i?e:o)&&(i.scrollTop=s.scrollTop=1e4,e=i.scrollTop,o=s.scrollTop,function(e){Tc.length||setTimeout((function(){var e={};Tc.forEach((function(t){e[t]=_c[t]})),Tc.length=0,Cc.forEach((function(t){t(e)}))}),0);Tc.push(e)}(n))}i.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)}));var u=getComputedStyle(i);Object.defineProperty(_c,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function xc(e){return mc||wc(),_c[e]}var Tc=[];var Cc=[];const Sc=gc({get support(){return 0!=("string"==typeof vc?vc:bc()).length},get top(){return xc("top")},get left(){return xc("left")},get right(){return xc("right")},get bottom(){return xc("bottom")},onChange:function(e){bc()&&(mc||wc(),"function"==typeof e&&Cc.push(e))},offChange:function(e){var t=Cc.indexOf(e);t>=0&&Cc.splice(t,1)}}),Ec=Ds((()=>{}),["prevent"]),kc=Ds((()=>{}),["stop"]);function Ac(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Oc(){const e=Ac(document.documentElement.style,"--window-top");return e?e+Sc.top:0}function Mc(){const e=document.documentElement.style,t=Oc(),n=Ac(e,"--window-bottom"),i=Ac(e,"--window-left"),o=Ac(e,"--window-right"),r=Ac(e,"--top-window-height");return{top:t,bottom:n?n+Sc.bottom:0,left:i?i+Sc.left:0,right:o?o+Sc.right:0,topWindowHeight:r||0}}function Pc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Ic(e){return Symbol(e)}function Lc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Rc(e,t=!1){if(t)return function(e){if(!Lc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Fd(parseFloat(t))+"px"))}(e);if(E(e)){const t=parseInt(e)||0;return Lc(e)?Fd(t):t}return e}const $c="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",Hc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",Nc="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function Bc(e,t="#000",n=27){return Ar("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Ar("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Fc(){{const{$pageInstance:e}=Dr();return e&&e.proxy.$page.id}}function Dc(){const e=Wf(),t=e.length;if(t)return e[t-1]}function jc(){const e=Dc();if(e)return e.$page.meta}function Vc(){const e=Dc();if(e)return e.$vm}const zc=["navigationBar","pullToRefresh"];function Uc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),i=y({id:t},n,e);zc.forEach((t=>{i[t]=y({},n[t],e[t])}));const{navigationBar:o}=i;return o.titleText&&o.titleImage&&(o.titleText=""),i}function Wc(e,t,n){if(E(e))n=t,t=e,e=Vc();else if("number"==typeof e){const t=Wf().find((t=>t.$page.id===e));e=t?t.$vm:Vc()}if(!e)return;const i=e.$[t];return i&&Be(i,n)}function Xc(e){e.preventDefault()}let qc,Yc=0;function Gc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let i=!1,o=!1,r=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,i=window.scrollY,r=i>0&&e>t&&i+t+n>=e,s=Math.abs(e-Yc)>n;return!r||o&&!s?(!r&&o&&(o=!1),!1):(Yc=e,o=!0,!0)})())return t&&t(),r=!1,setTimeout((function(){r=!0}),350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(qc=setTimeout(s,300))),i=!1};return function(){clearTimeout(qc),i||requestAnimationFrame(s),i=!0}}function Kc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Kc(e,t.slice(2));const n=t.split("/"),i=n.length;let o=0;for(;o0?e.split("/"):[];return r.splice(r.length-o-1,o+1),Ne(r.concat(n).join("/"))}function Zc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Qc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if($e(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:i}=e;if(16&i.shapeFlag){const e=i.children.filter((e=>e.el&&$e(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=nu(this.$el.querySelector(e));return t?Jc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let i=0;i-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];S(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Jg.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Jc(e,t=!0){if(t&&e&&(e=Re(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Qc(e)),e.$el.__wxsComponentDescriptor}function eu(e,t){return Jc(e,t)}function tu(e,t,n,i=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>eu(n.proxy,!1)}));const o=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const i=Re(t);if(!i)return!1;const o=i.$.type;return!(!o.$wxs&&!o.$renderjs)&&i}(t,n,i);if(o)return[e,eu(o,!1)]}}function nu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function iu(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function ou(e,t=!1){const{type:n,timeStamp:i,target:o,currentTarget:r}=e,s={type:n,timeStamp:i,target:We(t?o:iu(o)),detail:{},currentTarget:We(r)};return e._stopped&&(s._stopped=!0),e.type.startsWith("touch")&&(s.touches=e.touches,s.changedTouches=e.changedTouches),function(e,t){y(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(s,e),s}function ru(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function su(e,t){const n=[];for(let i=0;i0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Oc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[ru(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Oc();r.touches=su(e.touches,t),r.changedTouches=su(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(r,t,{get:()=>e[t]})}))}return tu(r,t,n)||[r]},createNativeEvent:ou},Symbol.toStringTag,{value:"Module"});function lu(e){!function(e){const t=e.globalProperties;y(t,au),t.$gcd=eu}(e._context.config)}let cu=1;function uu(e){return(e||function(){const e=jc();return e?e.id:-1}())+"."+Kl}const du=y(Gl("view"),{invokeOnCallback:(e,t)=>em.emit("api."+e,t),invokeViewMethod:(e,t,n,i)=>{const{subscribe:o,publishHandler:r}=em,s=i?cu++:0;i&&o(Kl+"."+s,i,!0),r(uu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,i)=>{const{subscribe:o,unsubscribe:r,publishHandler:s}=em,a=cu++,l=Kl+"."+a;return o(l,n),s(uu(i),{id:a,name:e,args:t},i),()=>{r(l)}}});function hu(e){Wc(Dc(),ge,e),em.invokeOnCallback("onWindowResize",e)}function fu(e){const t=Dc();Wc(gp(),oe,e),Wc(t,oe)}function pu(){Wc(gp(),re),Wc(Dc(),re)}const gu=[ve,_e];function mu(){gu.forEach((e=>em.subscribe(e,function(e){return(t,n)=>{Wc(parseInt(n),e,t)}}(e))))}function vu(){!function(){const{on:e}=em;e(ge,hu),e(Me,fu),e(Pe,pu)}(),mu()}function yu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ke(this.$page.id)),e.eventChannel}}function _u(e){e._context.config.globalProperties.getOpenerEventChannel=yu}function bu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function wu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Fd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function xu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const i=t.actions,o=t.actions.length;function r(){const t=i[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],o=["width","height","left","right","top","bottom"],r=e.animates,s=e.option,a=s.transition,l={},c=[];return r.forEach((e=>{let r=e.type,s=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):r.startsWith("translate")&&(s=s.map(wu)),n.indexOf(r)>=0&&(s.length=1),c.push(`${r}(${s.join(",")})`);else if(i.concat(o).includes(s[0])){r=s[0];const e=s[1];l[r]=o.includes(r)?wu(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{r()}),0)}const Tu={props:["animation"],watch:{animation:{deep:!0,handler(){xu(this)}}},mounted(){xu(this)}},Cu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Tu),Su(e)},Su=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ji(e)),Eu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ku(e){const t=In(!1);let n,i,o=!1;function r(){requestAnimationFrame((()=>{clearTimeout(i),i=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(i){i._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(i._hoverPropagationStopped=!0),o=!0,n=setTimeout((()=>{t.value=!0,o||r()}),parseInt(e.hoverStartTime)))}function a(){o=!1,t.value&&r()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||s(e)},onMousedown:function(e){o||(s(e),window.addEventListener("mouseup",l))},onTouchend:function(){a()},onMouseup:function(){o&&l()},onTouchcancel:function(){o=!1,t.value=!1,clearTimeout(n)}}}}function Au(e,t){return E(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function Ou(e){return e.__wwe=!0,e}function Mu(e,t){return(n,i,o)=>{e.value&&t(n,function(e,t,n,i){const o=We(n);return{type:i.type||e,timeStamp:t.timeStamp||0,target:o,currentTarget:o,detail:i}}(n,i,e.value,o||{}))}}const Pu=Ic("uf"),Iu=Ic("ul");function Lu(e,t,n){const i=Fc();n&&!e||L(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&Jg.on(`uni-${o}-${i}-${e}`,t[o]):0===o.indexOf("uni-")?Jg.on(o,t[o]):e&&Jg.on(`uni-${o}-${i}-${e}`,t[o])}))}function Ru(e,t,n){const i=Fc();n&&!e||L(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&Jg.off(`uni-${o}-${i}-${e}`,t[o]):0===o.indexOf("uni-")?Jg.off(o,t[o]):e&&Jg.off(`uni-${o}-${i}-${e}`,t[o])}))}const $u=Cu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=In(null),i=Ci(Pu,!1),{hovering:o,binding:r}=ku(e);jl();const s=Ou(((t,o)=>{if(e.disabled)return t.stopImmediatePropagation();o&&n.value.click();const r=e.formType;if(r){if(!i)return;"submit"===r?i.submit(t):"reset"===r&&i.reset(t)}else;})),a=Ci(Iu,!1);return a&&(a.addHandler(s),ho((()=>{a.removeHandler(s)}))),function(e,t){Lu(e.id,t),ki((()=>e.id),((e,n)=>{Ru(n,t,!0),Lu(e,t,!0)})),fo((()=>{Ru(e.id,t)}))}(e,{"label-click":s}),()=>{const i=e.hoverClass,a=Au(e,"disabled"),l=Au(e,"loading"),c=Au(e,"plain"),u=i&&"none"!==i;return Ar("uni-button",$r({ref:n,onClick:s,class:u&&o.value?i:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick"])}}});function Hu(e){const{base:t}=__uniConfig.router;return 0===Ne(e).indexOf(t)?Ne(e):t+e}function Nu(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Hu(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const i=Wf();return i.length?Hu(Kc(i[i.length-1].$page.route,e).slice(1)):e}const Bu=navigator.userAgent,Fu=/android/i.test(Bu),Du=/iphone|ipad|ipod/i.test(Bu),ju=Bu.match(/Windows NT ([\d|\d.\d]*)/i),Vu=/Macintosh|Mac/i.test(Bu),zu=/Linux|X11/i.test(Bu),Uu=Vu&&navigator.maxTouchPoints>0;function Wu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Xu(e){return e&&90===Math.abs(window.orientation)}function qu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Yu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Gu(e,t,n,i){em.invokeViewMethod("video."+e,{videoId:e,type:n,data:i},t)}function Ku(e,t){const n={},{top:i,topWindowHeight:o}=Mc();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ve(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-i-o,n.bottom=r.bottom-i-o),t.size&&(n.width=r.width,n.height=r.height)}if(x(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(x(t.computedStyle)){const i=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=i[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Zu(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Qu(e,t,n){const i=[];t.forEach((({component:t,selector:n,single:o,fields:r})=>{null===t?i.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(r)):i.push(function(e,t,n,i,o){const r=function(e,t){return e?e.$el:t.$el}(t,e),s=r.parentElement;if(!s)return i?null:[];const{nodeType:a}=r,l=3===a||8===a;if(i){const e=l?s.querySelector(n):Zu(r,n)?r:r.querySelector(n);return e?Ku(e,o):null}{let e=[];const t=(l?s:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Ku(t,o))})),!l&&Zu(r,n)&&e.unshift(Ku(r,o)),e}}(e,t,n,o,r))})),n(i)}const Ju=["original","compressed"],ed=["album","camera"],td=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function nd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function id(e,t){return!x(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function od(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let rd=1;const sd={};function ad(e,t,n){if("number"==typeof e){const i=sd[e];if(i)return i.keepAlive||delete sd[e],i.callback(t,n)}return t}const ld="success",cd="fail",ud="complete";function dd(e,t={},{beforeAll:n,beforeSuccess:i}={}){L(t)||(t={});const{success:o,fail:r,complete:s}=function(e){const t={};for(const n in e){const i=e[n];S(i)&&(t[n]=od(i),delete e[n])}return t}(t),a=S(o),l=S(r),c=S(s),u=rd++;return function(e,t,n,i=!1){sd[e]={name:t,keepAlive:i,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),S(n)&&n(u),u.errMsg===e+":ok"?(S(i)&&i(u,t),a&&o(u)):l&&r(u),c&&s(u)})),u}const hd="success",fd="fail",pd="complete",gd={},md={};function vd(e,t){return function(n){return e(n,t)||n}}function yd(e,t,n){let i=!1;for(let o=0;oe(t),catch(){}}}function _d(e,t={}){return[hd,fd,pd].forEach((n=>{const i=e[n];if(!x(i))return;const o=t[n];t[n]=function(e){yd(i,e,t).then((e=>S(o)&&o(e)||e))}})),t}function bd(e,t){const n=[];x(gd.returnValue)&&n.push(...gd.returnValue);const i=md[e];return i&&x(i.returnValue)&&n.push(...i.returnValue),n.forEach((e=>{t=e(t)||t})),t}function wd(e){const t=Object.create(null);Object.keys(gd).forEach((e=>{"returnValue"!==e&&(t[e]=gd[e].slice())}));const n=md[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function xd(e,t,n,i){const o=wd(e);if(o&&Object.keys(o).length){if(x(o.invoke)){return yd(o.invoke,n).then((n=>t(_d(wd(e),n),...i)))}return t(_d(o,n),...i)}return t(n,...i)}function Td(e,t){return(n={},...i)=>function(e){return!(!L(e)||![ld,cd,ud].find((t=>S(e[t]))))}(n)?bd(e,xd(e,t,n,i)):bd(e,new Promise(((o,r)=>{xd(e,t,y(n,{success:o,fail:r}),i)})))}function Cd(e,t,n,i){return ad(e,y({errMsg:t+":fail"+(n?" "+n:"")},i))}function Sd(e,t,n,i){if(i&&i.beforeInvoke){const e=i.beforeInvoke(t);if(E(e))return e}const o=function(e,t){const n=e[0];if(!t||!L(t.formatArgs)&&L(n))return;const i=t.formatArgs,o=Object.keys(i);for(let r=0;r{const o=dd(e,n,i),r=Sd(0,[n],0,i);return r?Cd(o,e,r):t(n,{resolve:t=>function(e,t,n){return ad(e,y(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>Cd(o,e,function(e){return!e||E(e)?e:e.stack?(console.error(e.message+Z+e.stack),e.message):e}(t),n)})}}function kd(e,t,n,i){return Td(e,Ed(e,t,0,i))}function Ad(e,t,n,i){return function(e,t,n,i){return(...e)=>{const n=Sd(0,e,0,i);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,i)}function Od(e,t,n,i){return Td(e,function(e,t,n,i){return Ed(e,t,0,i)}(e,t,0,i))}function Md(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let Pd=!1,Id=0,Ld=0,Rd=960,$d=375,Hd=750;function Nd(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Wu(),t=Yu(qu(e,Xu(e)));return{platform:Du?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Id=n,Ld=t,Pd="ios"===e}function Bd(e,t){const n=Number(e);return isNaN(n)?t:n}const Fd=Ad(0,((e,t)=>{if(0===Id&&(Nd(),function(){const e=__uniConfig.globalStyle||{};Rd=Bd(e.rpxCalcMaxDeviceWidth,960),$d=Bd(e.rpxCalcBaseDeviceWidth,375),Hd=Bd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Id;n=e===Hd||n<=Rd?n:$d;let i=e/750*n;return i<0&&(i=-i),i=Math.floor(i+1e-4),0===i&&(i=1!==Ld&&Pd?.5:1),e<0?-i:i})),Dd=new it,jd=Ad(0,((e,...t)=>{Dd.emit(e,...t)})),Vd=[.5,.8,1,1.25,1.5,2];const zd=(e,t,n,i)=>{!function(e,t,n,i,o){em.invokeViewMethod("map."+e,{type:n,data:i},t,o)}(e,t,n,i,(e=>{i&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(i,e)}))};const Ud={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Wd(e){var t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),i=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),i=parseInt(i+i,16),[e,n,i,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(w(Ud,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Ud[n]);const e=parseInt(t[1].slice(0,2),16),i=parseInt(t[1].slice(2,4),16),o=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,i,o,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class Xd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Wd(t)])}}class qd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Yd{constructor(e){this.width=e}}let Gd=0,Kd={};function Zd(e,t,n,i){const o={options:i},r=i&&("success"in i||"fail"in i||"complete"in i);if(r){const e=String(Gd++);o.callbackId=e,Kd[e]=i}em.invokeViewMethod(`editor.${e}`,{type:n,data:o},t,(({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},E(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?S(e.success)&&e.success(t):S(e.fail)&&e.fail(t),S(e.complete)&&e.complete(t)}(Kd[e],t),delete Kd[e])}))}const Qd={canvas:class{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,i,o){em.invokeViewMethod(`canvas.${e}`,{type:n,data:i},t,(e=>{o&&o(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,i){return new Xd("linear",[e,t,n,i])}createCircularGradient(e,t,n){return new Xd("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new qd(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e){let t=0;return t=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Yd(t)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,i){this.path.push({method:"quadraticCurveTo",data:[e,t,n,i]}),this.subpath.push([n,i])}bezierCurveTo(e,t,n,i,o,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,i,o,r]}),this.subpath.push([o,r])}arc(e,t,n,i,o,r=!1){this.path.push({method:"arc",data:[e,t,n,i,o,r]}),this.subpath.push([e,t])}rect(e,t,n,i){this.path.push({method:"rect",data:[e,t,n,i]}),this.subpath=[[e,t]]}arcTo(e,t,n,i,o){this.path.push({method:"arcTo",data:[e,t,n,i,o]}),this.subpath.push([n,i])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var i=n[1].trim().split(/\s/),o=parseFloat(n[3]),r=n[7],s=[];i.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===i.length&&a(),i=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${i} ${o}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){zd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){zd(this.id,this.pageId,"moveToLocation",e)}getScale(e){zd(this.id,this.pageId,"getScale",e)}getRegion(e){zd(this.id,this.pageId,"getRegion",e)}includePoints(e){zd(this.id,this.pageId,"includePoints",e)}translateMarker(e){zd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){zd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){zd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){zd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){zd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){zd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){zd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){zd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){zd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){zd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){zd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){zd(this.id,this.pageId,"openMapApp",e)}on(e){zd(this.id,this.pageId,"on",e)}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){Gu(this.id,this.pageId,"play")}pause(){Gu(this.id,this.pageId,"pause")}stop(){Gu(this.id,this.pageId,"stop")}seek(e){Gu(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Gu(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Vd.indexOf(e)||(e=1),Gu(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Gu(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Gu(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Gu(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Gu(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){Zd(this.id,this.pageId,e,t)}}};function Jd(e){if(e&&e.contextInfo){const{id:t,type:n,page:i}=e.contextInfo,o=Qd[n];e.context=new o(t,i),delete e.contextInfo}}class eh{constructor(e,t,n,i){this._selectorQuery=e,this._component=t,this._selector=n,this._single=i}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery}}class th{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Qu(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{x(e)?e.forEach(Jd):Jd(e);const i=n[t];S(i)&&i.call(this,e)})),S(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=Le(e),this}select(e){return this._nodesRef=new eh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new eh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new eh(this,null,"",!0)}_push(e,t,n,i,o){this._queue.push({component:t,selector:e,single:n,fields:i}),this._queueCb.push(o)}}const nh=Ad(0,(e=>((e=Le(e))&&!function(e){const t=Le(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}(e)&&(e=null),new th(e||Vc())))),ih=Ad(0,(()=>{const e=gp();return e&&e.$vm?e.$vm.$locale:jl().getLocale()})),oh={[ue]:[],[ce]:[],[ae]:[],[oe]:[],[re]:[]};const rh={formatArgs:{showToast:!0},beforeInvoke(){Yl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=jl(),i=n("uni.setClipboardData.success");i&&Dg({title:i,icon:"success",mask:!1})}},sh=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=id(e,Ju)},sourceType(e,t){t.sourceType=id(e,ed)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),ah={formatArgs:{urls(e,t){t.urls=e.map((e=>E(e)&&e?Nu(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),s={};r.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(w(t,a)){let e=t[a];null==e?e="":L(e)&&(e=JSON.stringify(e)),s[uh(a)]=uh(e)}return o=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(o?"?"+o:"")+(i?"#"+i:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==td[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||lh).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===ch.indexOf(t.responseType)&&(t.responseType="text")}}};const hh={url:{type:String,required:!0}},fh="navigateTo",ph="redirectTo",gh="reLaunch",mh="switchTab",vh="preloadPage",yh="unPreloadPage",_h=(Ch(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Ch(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),kh(fh)),bh=kh(ph),wh=kh(gh),xh=kh(mh),Th={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Wf().length-1,e)}}};function Ch(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Sh;function Eh(){Sh=""}function kh(e){return{formatArgs:{url:Ah(e)},beforeAll:Eh}}function Ah(e){return function(t,n){if(!t)return'Missing required args: "url"';const i=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=Wf();return n.length&&(t=n[n.length-1].$page.route),Kc(t,e)}(t)).split("?")[0],o=Zc(i,!0);if(!o)return"page `"+t+"` is not found";if(e===fh||e===ph){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===mh&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==mh&&e!==vh||!o.meta.isTabBar||"appLaunch"===n.openType||(t=i),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if(!E(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const i=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),o=t.length>0?t.join("="):"";i.push(n+"="+encodeURIComponent(o))})),i.length?e+"?"+i.join("&"):e}(t),e!==yh)if(e!==vh){if(Sh===t&&"appLaunch"!==n.openType)return`${Sh} locked`;__uniConfig.ready&&(Sh=t)}else if(o.meta.isTabBar){const e=Wf(),t=o.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Oh="setNavigationBarTitle",Mh=(Boolean,{formatArgs:{title:"",mask:!1}}),Ph=(Boolean,{beforeInvoke(){Xl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!w(t,"cancelText")){const{t:e}=jl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!w(t,"confirmText")){const{t:e}=jl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Ih=["success","loading","none","error"],Lh=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=nd(e,Ih)},image(e,t){t.image=e?Nu(e):""},duration:1500,mask:!1}}),Rh={};function $h(e){for(const n in Rh)if(w(Rh,n)){if(Rh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Rh[t]=e,t}const Hh=bu(),Nh=bu();const Bh=Cu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=In(null),i=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),o=function(e,t,n){const i=vn({width:-1,height:-1});return ki((()=>y({},i)),(e=>t("resize",e))),()=>{const t=e.value;i.width=t.offsetWidth,i.height=t.offsetHeight,n()}}(n,t,i);return function(e,t,n,i){Ki(i),lo((()=>{t.initial&&ni(n);const o=e.value;o.offsetParent!==o.parentElement&&(o.parentElement.style.position="relative"),"AnimationEvent"in window||i()}))}(n,e,o,i),()=>Ar("uni-resize-sensor",{ref:n,onAnimationstartOnce:o},[Ar("div",{onScroll:o},[Ar("div",null,null)],40,["onScroll"]),Ar("div",{onScroll:o},[Ar("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Fh=Ue(!0),Dh=[];let jh,Vh=0;const zh=e=>Dh.forEach((t=>t.userAction=e));const Uh=["class","style"],Wh=/^on[A-Z]+/,Xh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=Dr(),o=Ln({}),r=Ln({}),s=Ln({}),a=n.concat(Uh);return i.attrs=vn(i.attrs),Si((()=>{const e=(n=i.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,i])=>(a.includes(n)?e.exclude[n]=i:Wh.test(n)?(t||(e.attrs[n]=i),e.listeners[n]=i):e.attrs[n]=i,e)),{exclude:{},attrs:{},listeners:{}});var n;o.value=e.attrs,r.value=e.listeners,s.value=e.exclude})),{$attrs:o,$listeners:r,$excludeAttrs:s}};function qh(e){const t=[];return x(e)&&e.forEach((e=>{xr(e)?e.type===dr?t.push(...qh(e.children)):t.push(e):x(e)&&t.push(...qh(e))})),t}const Yh=Cu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=In(null),i=In(!1);let{setContexts:o,events:r}=function(e,t){const n=In(0),i=In(0),o=vn({x:null,y:null}),r=In(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach((function(e){e._setScale(t)})):s&&s._setScale(t))}function c(e,n=a){let i=t.value;function o(e){for(let t=0;t{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=Gh(t),o.x=t.x,o.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=Ou((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==o.x&&r.value&&r.value>0){l(Gh(n)/r.value)}o.x=n.x,o.y=n.y}})),h=Ou((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(o.x=0,o.y=0,r.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function f(){p(),a.forEach((function(e,t){e.setParent()}))}function p(){let e=window.getComputedStyle(t.value),o=t.value.getBoundingClientRect();n.value=o.width-["Left","Right"].reduce((function(t,n){const i="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[i])}),0),i.value=o.height-["Top","Bottom"].reduce((function(t,n){const i="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[i])}),0)}return Ti("movableAreaWidth",n),Ti("movableAreaHeight",i),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Xh(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n})),lo((()=>{r._resize(),i.value=!0}));let u=[];const d=[];function h(){const e=[];for(let t=0;tn===e.rootRef.value));i&&e.push(En(i))}o(e)}return Ti("_isMounted",i),Ti("movableAreaRootRef",n),Ti("addMovableViewContext",(e=>{d.push(e),h()})),Ti("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())})),()=>{const e=t.default&&t.default();return u=qh(e),Ar("uni-movable-area",$r({ref:n},a.value,l.value,c),[Ar(Bh,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function Gh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Kh=function(e,t,n,i){e.addEventListener(t,(e=>{S(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Zh,Qh;function Jh(e,t,n){ho((()=>{document.removeEventListener("mousemove",Zh),document.removeEventListener("mouseup",Qh)}));let i=0,o=0,r=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-i,dy:l-o,ddx:a-r,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Kh(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,i=r=e.touches[0].pageX,o=s=e.touches[0].pageY,a(e,"start",i,o)})),Kh(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,i=r=e.pageX,o=s=e.pageY,a(e,"start",i,o)})),Kh(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Zh=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return r=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Kh(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const h=Qh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Kh(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function ef(e,t,n){return e>t-n&&ethis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},of.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},of.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},of.prototype.dt=function(){return-this._x_v/this._x_a},of.prototype.done=function(){const e=ef(this.s().x,this._endPositionX)||ef(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},of.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},of.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},rf.prototype._solve=function(e,t){const n=this._c,i=this._m,o=this._k,r=n*n-4*i*o;if(0===r){const o=-n/(2*i),r=e,s=t/(o*e);return{x:function(e){return(r+s*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(r+s*e)*t+s*t}}}if(r>0){const o=(-n-Math.sqrt(r))/(2*i),s=(-n+Math.sqrt(r))/(2*i),a=(t-o*e)/(s-o),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*o*t+a*s*n}}}const s=Math.sqrt(4*i*o-n*n)/(2*i),a=-n/2*i,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),i=Math.sin(s*e);return t*(c*s*n-l*s*i)+a*t*(c*i+l*n)}}},rf.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},rf.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},rf.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!tf(t,.1)){t=t||0;let i=this._endPosition;this._solution&&(tf(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),tf(t,.1)&&(t=0),tf(i,.1)&&(i=0),i+=this._endPosition),this._solution&&tf(i-e,.1)&&tf(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},rf.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},rf.prototype.done=function(e){return e||(e=(new Date).getTime()),ef(this.x(),this._endPosition,.1)&&tf(this.dx(),.1)},rf.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},rf.prototype.springConstant=function(){return this._k},rf.prototype.damping=function(){return this._c},rf.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},sf.prototype.setEnd=function(e,t,n,i){const o=(new Date).getTime();this._springX.setEnd(e,i,o),this._springY.setEnd(t,i,o),this._springScale.setEnd(n,i,o),this._startTime=o},sf.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},sf.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},sf.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function af(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const lf=Cu({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const i=In(null),o=Mu(i,n),{setParent:r}=function(e,t,n){const i=Ci("_isMounted",In(!1)),o=Ci("addMovableViewContext",(()=>{})),r=Ci("removeMovableViewContext",(()=>{}));let s,a,l=In(1),c=In(1),u=In(!1),d=In(0),h=In(0),f=null,p=null,g=!1,m=null,v=null;const y=new nf,_=new nf,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Kr((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new of(1,w.value);ki((()=>e.disabled),(()=>{W()}));const{_updateOldScale:T,_endScale:C,_setScale:S,scaleValueSync:E,_updateBoundary:k,_updateOffset:A,_updateWH:O,_scaleOffset:M,minX:P,minY:I,maxX:L,maxY:R,FAandSFACancel:$,_getLimitXY:H,_setTransform:N,_revise:B,dampingNumber:F,xMove:D,yMove:j,xSync:V,ySync:z,_STD:U}=function(e,t,n,i,o,r,s,a,l,c){const u=Kr((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Kr((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),h=In(Number(e.scaleValue)||1);ki(h,(e=>{N(e)})),ki(u,(()=>{H()})),ki(d,(()=>{H()})),ki((()=>e.scaleValue),(e=>{h.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:p,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const i=Ci("movableAreaWidth",In(0)),o=Ci("movableAreaHeight",In(0)),r=Ci("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=In(0),c=In(0),u=In(0),d=In(0),h=In(0),f=In(0);function p(){let e=0-s.x+a.x,t=i.value-l.value-s.x-a.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-s.y+a.y,r=o.value-c.value-s.y-a.y;d.value=Math.min(n,r),f.value=Math.max(n,r)}function g(){s.x=df(e.value,r.value),s.y=hf(e.value,r.value)}function m(i){i=i||t.value,i=n(i);let o=e.value.getBoundingClientRect();c.value=o.height/t.value,l.value=o.width/t.value;let r=c.value*i,s=l.value*i;a.x=(s-l.value)/2,a.y=(r-c.value)/2}return{_updateBoundary:p,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:h,maxY:f}}(t,i,$),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:C,_revise:S,dampingNumber:E,xMove:k,yMove:A,xSync:O,ySync:M,_STD:P}=function(e,t,n,i,o,r,s,a,l,c,u,d,h,f){const p=Kr((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Kr((()=>"all"===t.direction||"horizontal"===t.direction)),m=Kr((()=>"all"===t.direction||"vertical"===t.direction)),v=In(pf(t.x)),y=In(pf(t.y));ki((()=>t.x),(e=>{v.value=pf(e)})),ki((()=>t.y),(e=>{y.value=pf(e)})),ki(v,(e=>{S(e)})),ki(y,(e=>{E(e)}));const _=new sf(1,9*Math.pow(p.value,2)/40,p.value);function b(e,t){let n=!1;return e>o.value?(e=o.value,n=!0):er.value?(t=r.value,n=!0):t1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+s,b.historyX.shift(),b.historyX.push(n),j.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(i=t.detail.dy+a,b.historyY.shift(),b.historyY.push(i),D.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let o="touch";nL.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),iR.value&&(e.outOfBounds?(o="touch-out-of-bounds",i=R.value+_.x(i-R.value)):i=R.value),uf((function(){N(n,i,l.value,o)}))}}}function q(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!B("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,i=h.value;x.setV(e,t),x.setS(n,i);const o=x.delta().x,r=x.delta().y;let s=o+n,a=r+i;sL.value&&(s=L.value,a=i+(L.value-n)*r/o),aR.value&&(a=R.value,s=n+(R.value-i)*o/r),x.setEnd(s,a),p=ff(x,(function(){let e=x.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")}),(function(){p.cancel()}))}e.outOfBounds||e.inertia||$()}function Y(){if(!i.value)return;$();let t=e.scale?E.value:1;A(),O(t),k();let n=H(V.value+M.x,z.value+M.y),o=n.x,r=n.y;N(o,r,t,"",!0),T(t)}return lo((()=>{Jh(n.value,(e=>{switch(e.detail.state){case"start":W();break;case"move":X(e);break;case"end":q()}})),Y(),x.reconfigure(1,w.value),U.reconfigure(1,9*Math.pow(F.value,2)/40,F.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:C,_setScale:S};o(e),fo((()=>{r(e)}))})),fo((()=>{$()})),{setParent:Y}}(e,o,i);return()=>Ar("uni-movable-view",{ref:i},[Ar(Bh,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let cf=!1;function uf(e){cf||(cf=!0,requestAnimationFrame((function(){e(),cf=!1})))}function df(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=df(e.offsetParent,t):0}function hf(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=hf(e.offsetParent,t):0}function ff(e,t,n){let i={id:0,cancelled:!1};return function e(t,n,i,o){if(!t||!t.cancelled){i(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,i,o))),r&&o&&o(n)}}(i,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,i),model:e}}function pf(e){return/\d+[ur]px$/i.test(e)?Fd(parseFloat(e)):Number(e)||0}const gf=["navigate","redirect","switchTab","reLaunch","navigateBack"],mf=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],vf=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],yf={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~gf.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||mf.concat(vf).includes(e)},animationDuration:{type:[String,Number],default:300}};y({},yf,{renderLink:{type:Boolean,default:!0}});function _f(e,t,n,i,o,r){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,h=1,f=null,p=!1,g=0,m="";const v=Kr((()=>n.value.length>t.displayMultipleItems)),y=Kr((()=>e.circular&&v.value));function _(o){Math.floor(2*d)===Math.floor(2*o)&&Math.ceil(2*d)===Math.ceil(2*o)||y.value&&function(i){if(!u)for(let o=n.value,r=o.length,s=i+t.displayMultipleItems,a=0;a=c.length&&(o-=c.length),o=a%1>.5||a<0?o-1:o,r("transition",{},{dx:e.vertical?0:o*l.offsetWidth,dy:e.vertical?o*l.offsetHeight:0})}function b(e){const i=n.value.length;if(!i)return-1;const o=(Math.round(e)%i+i)%i;if(y.value){if(i<=t.displayMultipleItems)return 0}else if(o>i-t.displayMultipleItems)return i-t.displayMultipleItems;return o}function w(){f=null}function x(){if(!f)return void(p=!1);const e=f,i=e.toPos,o=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){_(i),f=null,p=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}_(i+o*u*u/2),l=requestAnimationFrame(x)}function T(e,i,o){w();const r=t.duration,s=n.value.length;let a=d;if(y.value)if(o<0){for(;ae;)a-=s}else if(o>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let i=-1;if(e.currentItemId)for(let t=0,o=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),f&&(_(f.toPos),f=null);const o=n.value;for(let t=0;t0&&h<1||(h=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(_(a+l-g),g=l):(_(l),e.autoplay&&C())):(u=!0,_(-t.displayMultipleItems-1))})),ki((()=>t.interval),(()=>{c&&(s(),C())})),ki((()=>t.current),((e,i)=>{!function(e,i){const o=m;m="";const s=n.value;if(!o){const t=s.length;T(e,"",y.value&&i+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();r("change",{},{current:t.current,currentItemId:e,source:o})}}(e,i),o("update:current",e)})),ki((()=>t.currentItemId),(e=>{o("update:currentItemId",e)})),ki((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),lo((()=>{let o=!1,r=0,a=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let i=0;!e&&Math.abs(r)>.2&&(i=.5*n);const o=b(d+i);e?_(g):(m="touch",t.current=o,T(o,"touch",0!==i?i:0===o&&y.value&&d>=1?1:0))}Jh(i.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,o=!1,s(),g=d,r=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!o){o=!0;const n=Math.abs(c.detail.dx),i=Math.abs(c.detail.dy);if((n>=i&&e.vertical||n<=i&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&C())}return function(o){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;r=.6*r+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),_(n)}const d=a-s||1,h=i.value;e.vertical?u(-o.dy/h.offsetHeight,-o.ddy/d):u(-o.dx/h.offsetWidth,-o.ddx/d)}(c.detail),!1}}}))})),fo((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const bf=Cu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const i=In(null),o=Mu(i,n),r=In(null),s=In(null),a=function(e){return vn({interval:Kr((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Kr((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Kr((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Kr((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Rc(e.previousMargin,!0),bottom:Rc(e.nextMargin,!0)}:{top:0,bottom:0,left:Rc(e.previousMargin,!0),right:Rc(e.nextMargin,!0)}),t})),c=Kr((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],h=In([]);function f(){const e=[];for(let t=0;tn===e.rootRef.value));i&&e.push(En(i))}h.value=e}Ti("addSwiperContext",(function(e){d.push(e),f()}));Ti("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:p,circularEnabled:g,swiperEnabled:m}=_f(e,a,h,s,n,o);let v=()=>null;return v=wf(i,e,a,p,h,g,m),()=>{const n=t.default&&t.default();return u=qh(n),Ar("uni-swiper",{ref:i},[Ar("div",{ref:r,class:"uni-swiper-wrapper"},[Ar("div",{class:"uni-swiper-slides",style:l.value},[Ar("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Ar("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map(((t,n,i)=>Ar("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,c=!1,u=In(!1);function d(e,n){const i=e.currentTarget;i&&(i.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Si((()=>{a="auto"===t.navigation,u.value=!0!==t.navigation||a,_()})),Si((()=>{const e=o.value.length,t=!r.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,c=!0,a&&(u.value=!0))}));const h={onMouseover:e=>d(e,"over"),onMouseout:e=>d(e,"out")};function f(e,t,s){if(e.stopPropagation(),s)return;const a=o.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=a-1);break;case"next":l++,l>=a&&r.value&&(l=0)}i(l)}const p=()=>Bc(Nc,t.navigationColor,26);let g;const m=n=>{clearTimeout(g);const{clientX:i,clientY:o}=n,{left:r,right:s,top:a,bottom:l,width:c,height:d}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(o-a{u.value=h}),300);u.value=h},v=()=>{u.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",v),a&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",v)))}return lo(_),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Ar(dr,null,[Ar("div",$r({class:["uni-swiper-navigation uni-swiper-navigation-prev",y({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},h),[p()],16,["onClick"]),Ar("div",$r({class:["uni-swiper-navigation uni-swiper-navigation-next",y({"uni-swiper-navigation-disabled":c},e)],onClick:e=>f(e,"next",c)},h),[p()],16,["onClick"])]):null}},xf=Cu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=In(null),i={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const i=t?"0":100*e+"%",o=t?100*e+"%":"0",r=n.value,s=`translate(${i},${o}) translateZ(0)`;r&&(r.style.webkitTransform=s,r.style.transform=s)}};return lo((()=>{const e=Ci("addSwiperContext");e&&e(i)})),fo((()=>{const e=Ci("removeSwiperContext");e&&e(i)})),()=>Ar("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Tf=Cu({name:"View",props:y({},Eu),setup(e,{slots:t}){const{hovering:n,binding:i}=ku(e);return()=>{const o=e.hoverClass;return o&&"none"!==o?Ar("uni-view",$r({class:n.value?o:""},i),[t.default&&t.default()],16):Ar("uni-view",null,[t.default&&t.default()])}}});function Cf(e,t,n,i){S(t)&&ro(e,t.bind(n),i)}function Sf(e,t,n){var i;const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((i=>{if(function(e,t,n=!0){return!(n&&!S(t))&&(Je.indexOf(e)>-1||0===e.indexOf("on"))}(i,e[i],!1)){const o=e[i];x(o)?o.forEach((e=>Cf(i,e,n,t))):Cf(i,o,n,t)}})),"page"===o)){t.__isVisible=!0;try{Wc(n,de,t.attrs.__pageQuery),delete t.attrs.__pageQuery,"preloadPage"!==(null==(i=n.$page)?void 0:i.openType)&&Wc(n,oe)}catch(r){console.error(r.message+Z+r.stack)}}}function Ef(e,t,n){Sf(e,t,n)}function kf(e,t,n){return e[t]=n}function Af(e){return function(t,n,i){if(!n)throw t;const o=e._instance;if(!o||!o.proxy)throw t;Wc(o.proxy,ae,t)}}function Of(e,t){return e?[...new Set([].concat(e,t))]:t}function Mf(e){const t=e._context.config;var n;t.errorHandler=tt(e,Af),n=t.optionMergeStrategies,Je.forEach((e=>{n[e]=Of}));const i=t.globalProperties;i.$set=kf,i.$applyOptions=Ef,function(e){et.forEach((t=>t(e)))}(e)}const Pf=Ic("upm");function If(){return Ci(Pf)}function Lf(e){const t=function(e){return vn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:i,backgroundColor:o}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=i||"#000000",t.backgroundColor=o||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Wf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Uc(Bl().meta,e)))))}(e);return Ti(Pf,t),t}function Rf(){return Bl()}function $f(){return history.state&&history.state.__id__||1}const Hf=window.CSS&&window.CSS.supports;function Nf(e){return Hf&&(Hf(e)||Hf.apply(window.CSS,e.split(":")))}const Bf=Nf("top:env(a)"),Ff=Nf("top:constant(a)"),Df=(()=>Bf?"env":Ff?"constant":"")();function jf(e){let t=0;var n,i;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=Q),Pc({"--window-top":(i=t,Df?`calc(${i}px + ${Df}(safe-area-inset-top))`:`${i}px`),"--window-bottom":(n=0,Df?`calc(${n}px + ${Df}(safe-area-inset-bottom))`:`${n}px`)})}const Vf="$$",zf=new Map;function Uf(){return zf}function Wf(){const e=[],t=zf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Xf(e,t=!0){const n=zf.get(e);n.$.__isUnload=!0,Wc(n,he),zf.delete(e),t&&function(e){const t=Zf.get(e);t&&(Zf.delete(e),Qf.pruneCacheEntry(t))}(e)}let qf=$f();function Yf(e){const t=If();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,i,o,r){const{id:s,route:a}=i,l=rt(i.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:Ne(a),route:a,fullPath:t,options:n,meta:i,openType:e,eventChannel:o,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Gf(e){const t=Yf(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),zf.set(Kf(t.path,t.id),e)}function Kf(e,t){return e+Vf+t}const Zf=new Map,Qf={get:e=>Zf.get(e),set(e,t){!function(e){const t=parseInt(e.split(Vf)[1]);if(!t)return;Qf.forEach(((e,n)=>{const i=parseInt(n.split(Vf)[1]);i&&i>t&&(Qf.delete(n),Qf.pruneCacheEntry(e),ni((()=>{zf.forEach(((e,t)=>{e.$.isUnmounted&&zf.delete(t)}))})))}))}(e),Zf.set(e,t)},delete(e){Zf.get(e)&&Zf.delete(e)},forEach(e){Zf.forEach(e)}};function Jf(e,t){!function(e){const t=tp(e),{body:n}=document;np&&n.removeAttribute(np),t&&n.setAttribute(t,""),np=t}(e),jf(t),function(e){const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}(t),function(e,t){document.removeEventListener("touchmove",Xc),ip&&document.removeEventListener("scroll",ip);if(t.disableScroll)return document.addEventListener("touchmove",Xc);const{onPageScroll:n,onReachBottom:i}=e,o="transparent"===t.navigationBar.type;if(!n&&!i&&!o)return;const r={},s=e.proxy.$page.id;(n||o)&&(r.onPageScroll=function(e,t,n){return i=>{t&&Jg.publishHandler(ve,{scrollTop:i},e),n&&Jg.emit(e+"."+ve,{scrollTop:i})}}(s,n,o));i&&(r.onReachBottomDistance=t.onReachBottomDistance||J,r.onReachBottom=()=>Jg.publishHandler(_e,{},s));ip=Gc(r),requestAnimationFrame((()=>document.addEventListener("scroll",ip)))}(e,t)}function ep(e){const t=tp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function tp(e){return e.type.__scopeId}let np,ip;function op(e){const t=Nl({history:sp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:rp});e.router=t,e.use(t)}const rp=(e,t,n)=>{if(n)return n};function sp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ia(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Wf(),n=t.length-1,i=n-e;for(let o=n;o>i;o--){const e=t[o].$page;Xf(Kf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const ap={install(e){Mf(e),lu(e),_u(e),e.config.warnHandler||(e.config.warnHandler=lp),op(e)}};function lp(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const i=[`[Vue warn]: ${e}`];n.length&&i.push("\n",n),console.warn(...i)}const cp={class:"uni-async-loading"},up=Ar("i",{class:"uni-loading"},null,-1),dp=Su({name:"AsyncLoading",render:()=>(vr(),wr("div",cp,[up]))});function hp(){window.location.reload()}const fp=Su({name:"AsyncError",setup(){zl();const{t:e}=jl();return()=>Ar("div",{class:"uni-async-error",onClick:hp},[e("uni.async.error")],8,["onClick"])}});let pp;function gp(){return pp}function mp(e){pp=e,Object.defineProperty(pp.$.ctx,"$children",{get:()=>Wf().map((e=>e.$vm))});const t=pp.$.appContext.app;t.component(dp.name)||t.component(dp.name,dp),t.component(fp.name)||t.component(fp.name,fp),function(e){e.$vm=e,e.$mpType="app";const t=In(jl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(pp),function(e,t){const n=e.$options||{};n.globalData=y(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(pp),vu(),pc()}function vp(e,{clone:t,init:n,setup:i,before:o}){t&&(e=y({},e)),o&&o(e);const r=e.setup;return e.setup=(e,t)=>{const o=Dr();n(o.proxy);const s=i(o);if(r)return r(s||e,t)},e}function yp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?vp(e.default,t):vp(e,t)}function _p(e){return yp(e,{clone:!0,init:Gf,setup(e){e.$pageInstance=e;const t=Rf(),n=qe(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n;const i=If();var o,r,s;return ao((()=>{Jf(e,i)})),lo((()=>{ep(e);const{onReady:n}=e;n&&U(n),Tp(t)})),Qi((()=>{if(!e.__isVisible){Jf(e,i),e.__isVisible=!0;const{onShow:n}=e;n&&U(n),ni((()=>{Tp(t)}))}}),"ba",o),function(e,t){Qi(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&U(t)}})),r=i.id,Jg.subscribe(ec(r,Kl),s?s(tc):tc),ho((()=>{!function(e){Jg.unsubscribe(ec(e,Kl)),Object.keys(Jl).forEach((t=>{0===t.indexOf(e+".")&&delete Jl[t]}))}(i.id)})),n}})}function bp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:i}=Hp(),o=90===Math.abs(Number(window.orientation))?"landscape":"portrait";em.emit(ge,{deviceOrientation:o,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:i}})}function wp(e){L(e.data)&&e.data.type===ie&&em.emit(Ie,e.data.data,e.data.pageId)}function xp(){const{emit:e}=em;"visible"===document.visibilityState?e(Me,y({},Nh)):e(Pe)}function Tp(e){const{tabBarText:t,tabBarIndex:n,route:i}=e.meta;t&&Wc("onTabItemTap",{index:n,text:t,pagePath:i})}const Cp="__DC_STAT_UUID",Sp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ep;function kp(){if(Ep=Ep||Sp[Cp],!Ep){Ep=Date.now()+""+Math.floor(1e7*Math.random());try{Sp[Cp]=Ep}catch(e){}}return Ep}function Ap(){if(!0!==__uniConfig.darkmode)return E(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Op(){let e,t="0",n="",i="phone";const o=navigator.language;if(Du){e="iOS";const i=Bu.match(/OS\s([\w_]+)\slike/);i&&(t=i[1].replace(/_/g,"."));const o=Bu.match(/\(([a-zA-Z]+);/);o&&(n=o[1])}else if(Fu){e="Android";const i=Bu.match(/Android[\s/]([\w\.]+)[;\s]/);i&&(t=i[1]);const o=Bu.match(/\((.+?)\)/),r=o?o[1].split(";"):Bu.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let i;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,i=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:i?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Wu(),n=Xu(t),i=qu(t,n),o=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=Yu(i);let s=window.innerHeight;const a=Sc.top,l={left:Sc.left,right:r-Sc.right,top:Sc.top,bottom:s-Sc.bottom,width:r-Sc.left-Sc.right,height:s-Sc.top-Sc.bottom},{top:c,bottom:u}=Mc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:s,pixelRatio:e,screenWidth:i,screenHeight:o,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Sc.top,right:Sc.right,bottom:Sc.bottom,left:Sc.left},screenTop:o-s}}));let Pp,Ip=!0;function Lp(){Ip&&(Pp=Op())}const Rp=Ad(0,(()=>{Lp();const{deviceBrand:e,deviceModel:t,brand:n,model:i,platform:o,system:r,deviceOrientation:s,deviceType:a}=Pp;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:kp(),deviceOrientation:s,deviceType:a,model:i,platform:o,system:r}})),$p=Ad(0,(()=>{Lp();const{theme:e,language:t,browserName:n,browserVersion:i}=Pp;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:ih?ih():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:i,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),Hp=Ad(0,(()=>{Ip=!0,Lp(),Ip=!1;const e=Mp(),t=Rp(),n=$p();Ip=!0;const{ua:i,browserName:o,browserVersion:r,osname:s,osversion:a}=Pp,l=y(e,t,n,{ua:i,browserName:o,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return L(e)&&Object.keys(e).sort().forEach((n=>{const i=n;t[i]=e[i]})),Object.keys(t)?t:e}(l)}));const Np=Od("setClipboardData",((e,t)=>{return n=void 0,i=[e,t],o=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(i){!function(e,t,n){const i=document.getElementById("#clipboard");i&&i.remove();const o=document.createElement("textarea");o.id="#clipboard",o.style.position="fixed",o.style.top="-9999px",o.style.zIndex="-9999",document.body.appendChild(o),o.value=e,o.select(),o.setSelectionRange(0,o.value.length);const r=document.execCommand("Copy",!1);o.blur(),r?t():n()}(e,t,n)}},new Promise(((e,t)=>{var r=e=>{try{a(o.next(e))}catch(n){t(n)}},s=e=>{try{a(o.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((o=o.apply(n,i)).next())}));var n,i,o}),0,rh);const Bp=Ad(0,((e,t)=>{const n=typeof t,i="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,i)}));function Fp(e){const t=localStorage&&localStorage.getItem(e);if(!E(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=E(e)?JSON.parse(e):e,i=n.type;if(t.indexOf(i)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===i)return n.data;if("object"===i&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(i){}return n}const Dp=Ad(0,(e=>{try{return Fp(e)}catch(t){return""}})),jp=Ad(0,(e=>{localStorage&&localStorage.removeItem(e)})),Vp=Ad(0,(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let i=0;i{const i=document.activeElement;!i||"TEXTAREA"!==i.tagName&&"INPUT"!==i.tagName||(i.blur(),t())})),Up={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Wp({count:e,sourceType:t,type:n,extension:i}){const o=document.createElement("input");return o.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(o,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),o.accept=i.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Up[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(o.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&o.setAttribute("capture","camera"),o}!function(e={userAction:!1}){if(!jh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Vh&&zh(!0),Vh++,setTimeout((()=>{! --Vh&&zh(!1)}),0)}),Fh)})),jh=!0}Dh.push(e)}();let Xp=null;const qp=Od("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:i,reject:o})=>{ql();const{t:r}=jl();Xp&&(document.body.removeChild(Xp),Xp=null),Xp=Wp({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Xp),Xp.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i(r=r||$h(t),r)}),ie))},tempFiles:o})})),Xp.click(),Vh||console.warn(r("uni.chooseFile.notUserActivation"))}),0,sh),Yp={esc:["Esc","Escape"],enter:["Enter"]},Gp=Object.keys(Yp);const Kp=Ar("div",{class:"uni-mask"},null,-1);function Zp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ws(ji({setup:()=>()=>(vr(),wr(e,t,null,16))}))}function Qp(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Jp(e,{onEsc:t,onEnter:n}){const i=In(e.visible),{key:o,disable:r}=function(){const e=In(""),t=In(!1),n=n=>{if(t.value)return;const i=Gp.find((e=>-1!==Yp[e].indexOf(n.key)));i&&(e.value=i),ni((()=>e.value=""))};return lo((()=>{document.addEventListener("keyup",n)})),ho((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return ki((()=>e.visible),(e=>i.value=e)),ki((()=>i.value),(e=>r.value=!e)),Si((()=>{const{value:e}=o;"esc"===e?t&&t():"enter"===e&&n&&n()})),i}let eg=0,tg="";function ng(e){let t=eg;eg+=e?1:-1,eg=Math.max(0,eg),eg>0?0===t&&(tg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=tg,tg="")}const ig=Su({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=vn({direction:"none"});let n=1,i=0,o=0,r=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();i=t.width,o=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,s=t.height,d(e)}function u(e){const a=n*i>r,l=n*o>s;t.direction=a&&l?"all":a?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Ar(Yh,{style:n,onTouchstart:Ou(c),onTouchmove:Ou(d),onTouchend:Ou(u)},{default:()=>[Ar(lf,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[Ar("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function og(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const rg=Su({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){lo((()=>ng(!0))),fo((()=>ng(!1)));const n=In(null),i=In(og(e));let o;function r(){o||ni((()=>{t("close")}))}function s(e){i.value=e.detail.current}ki((()=>e.current),(()=>i.value=og(e))),lo((()=>{const e=n.value;let t=0,i=0;e.addEventListener("mousedown",(e=>{o=!1,t=e.clientX,i=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-i)>20)&&(o=!0)}))}));const a={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Ar("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:r},[Ar(bf,{navigation:"auto",current:i.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(o=t=e.urls.map((e=>Ar(xf,null,{default:()=>[Ar(ig,{src:e},null,8,["src"])]}))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!xr(o)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Ar("div",{style:a},[Bc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var o}}});let sg,ag=null;const lg=()=>{ag=null,ni((()=>{null==sg||sg.unmount(),sg=null}))},cg=Od("previewImage",((e,{resolve:t})=>{ag?y(ag,e):(ag=vn(e),ni((()=>{sg=Zp(rg,ag,lg),sg.mount(Qp("u-a-p"))}))),t()}),0,ah),ug=kd("request",(({url:e,data:t,header:n,method:i,dataType:o,responseType:r,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==i)if(E(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)w(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,f=new dg(h);h.open(i,e);for(const m in n)w(n,m)&&h.setRequestHeader(m,n[m]);const p=setTimeout((function(){h.onload=h.onabort=h.onerror=null,f.abort(),c("timeout")}),a);return h.responseType=r,h.onload=function(){clearTimeout(p);const e=h.status;let t="text"===r?h.responseText:h.response;if("text"===r&&"json"===o)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:hg(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(p),c("abort")},h.onerror=function(){clearTimeout(p),c()},h.withCredentials=s,h.send(u),f}),0,dh);class dg{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function hg(e){const t={};return e.split(Z).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}const fg=Od("navigateBack",((e,{resolve:t,reject:n})=>{let i=!0;return!0===Wc(me,{from:e.from||"navigateBack"})&&(i=!1),i?(gp().$router.go(-e.delta),t()):n(me)}),0,Th);function pg({type:e,url:t,tabBarText:n,events:i},o){const r=gp().$router,{path:s,query:a}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ge(n||"")}}(t);return new Promise(((t,l)=>{const c=function(e,t){return{__id__:t||++qf,__type__:e}}(e,o);r["navigateTo"===e?"push":"replace"]({path:s,query:a,state:c,force:!0}).then((o=>{if(Fa(o))return l(o.message);if("switchTab"===e&&(r.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=r.currentRoute.value.meta;return e.eventChannel?i&&(Object.keys(i).forEach((t=>{e.eventChannel._addListener(t,"on",i[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ke(c.__id__,i),t({eventChannel:e.eventChannel})}return t()}))}))}const gg=Od(fh,(({url:e,events:t},{resolve:n,reject:i})=>pg({type:fh,url:e,events:t}).then(n).catch(i)),0,_h);const mg=Od(ph,(({url:e},{resolve:t,reject:n})=>(function(){const e=Dc();if(!e)return;const t=e.$page;Xf(Kf(t.path,t.id))}(),pg({type:ph,url:e}).then(t).catch(n))),0,bh);const vg=Od(gh,(({url:e},{resolve:t,reject:n})=>(function(){const e=Uf().keys();for(const t of e)Xf(t)}(),pg({type:gh,url:e}).then(t).catch(n))),0,wh);function yg(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const _g=Od(mh,(({url:e,tabBarText:t},{resolve:n,reject:i})=>(function(){const e=Vc();if(!e)return;const t=Uf(),n=t.keys();for(const i of n){const e=t.get(i);e.$.__isTabBar?e.$.__isActive=!1:Xf(i)}e.$.__isTabBar&&(e.$.__isVisible=!1,Wc(e,re))}(),pg({type:mh,url:e,tabBarText:t},function(e){const t=Uf().values();for(const n of t){const t=n.$page;if(yg(e,t))return n.$.__isActive=!0,t.id}}(e)).then(n).catch(i))),0,xh);function bg(e){__uniConfig.darkmode&&em.on(le,e)}function wg(e){em.off(le,e)}function xg(e){let t={};return __uniConfig.darkmode&&(t=rt(e,__uniConfig.themeConfig,Ap())),__uniConfig.darkmode?t:e}const Tg={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Cg=ji({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=In(""),i=()=>s.value=!1,o=()=>(i(),t("close","cancel")),r=()=>(i(),t("close","confirm",n.value)),s=Jp(e,{onEsc:o,onEnter:()=>{!e.editable&&r()}}),a=function(e){const t=In(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Tg[e].cancelColor})(e,t)};return Si((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Ap()&&n({theme:"dark"}),bg(n))):wg(n)})),t}(e);return()=>{const{title:t,content:i,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=i,Ar(Es,{name:"uni-fade"},{default:()=>[yo(Ar("uni-modal",{onTouchmove:Ec},[Kp,Ar("div",{class:"uni-modal"},[t&&Ar("div",{class:"uni-modal__hd"},[Ar("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),d?Ar("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:i,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Ar("div",{class:"uni-modal__bd",onTouchmovePassive:kc,textContent:i},null,40,["onTouchmovePassive","textContent"]),Ar("div",{class:"uni-modal__ft"},[l&&Ar("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:o},[e.cancelText],12,["onClick"]),Ar("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[js,s.value]])]})}}});let Sg;const Eg=Fe((()=>{em.on("onHidePopup",(()=>Sg.visible=!1))}));let kg;function Ag(e,t){const n="confirm"===e,i={confirm:n,cancel:"cancel"===e};n&&Sg.editable&&(i.content=t),kg&&kg(i)}const Og=Od("showModal",((e,{resolve:t})=>{Eg(),kg=t,Sg?(y(Sg,e),Sg.visible=!0):(Sg=vn(e),ni((()=>(Zp(Cg,Sg,Ag).mount(Qp("u-a-m")),ni((()=>Sg.visible=!0))))))}),0,Ph),Mg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Ih.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Pg="uni-toast__icon",Ig={light:"#fff",dark:"rgba(255,255,255,0.9)"},Lg=e=>Ig[e],Rg=ji({name:"Toast",props:Mg,setup(e){Ul(),Wl();const{Icon:t}=function(e){const t=In(Lg(Ap())),n=({theme:e})=>t.value=Lg(e);Si((()=>{e.visible?bg(n):wg(n)}));const i=Kr((()=>{switch(e.icon){case"success":return Ar(Bc($c,t.value,38),{class:Pg});case"error":return Ar(Bc(Hc,t.value,38),{class:Pg});case"loading":return Ar("i",{class:[Pg,"uni-loading"]},null,2);default:return null}}));return{Icon:i}}(e),n=Jp(e,{});return()=>{const{mask:i,duration:o,title:r,image:s}=e;return Ar(Es,{name:"uni-fade"},{default:()=>[yo(Ar("uni-toast",{"data-duration":o},[i?Ar("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Ec},null,40,["onTouchmove"]):"",s||t.value?Ar("div",{class:"uni-toast"},[s?Ar("img",{src:s,class:Pg},null,10,["src"]):t.value,Ar("p",{class:"uni-toast__content"},[r])]):Ar("div",{class:"uni-sample-toast"},[Ar("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[js,n.value]])]})}}});let $g,Hg,Ng="";const Bg=lt();function Fg(e){$g?y($g,e):($g=vn(y(e,{visible:!1})),ni((()=>{Bg.run((()=>{ki([()=>$g.visible,()=>$g.duration],(([e,t])=>{if(e){if(Hg&&clearTimeout(Hg),"onShowLoading"===Ng)return;Hg=setTimeout((()=>{Ug("onHideToast")}),t)}else Hg&&clearTimeout(Hg)}))})),em.on("onHidePopup",(()=>Ug("onHidePopup"))),Zp(Rg,$g,(()=>{})).mount(Qp("u-a-t"))}))),setTimeout((()=>{$g.visible=!0}),10)}const Dg=Od("showToast",((e,{resolve:t,reject:n})=>{Fg(e),Ng="onShowToast",t()}),0,Lh),jg={icon:"loading",duration:1e8,image:""},Vg=Od("showLoading",((e,{resolve:t,reject:n})=>{y(e,jg),Fg(e),Ng="onShowLoading",t()}),0,Mh),zg=Od("hideLoading",((e,{resolve:t,reject:n})=>{Ug("onHideLoading"),t()}));function Ug(e){const{t:t}=jl();if(!Ng)return;let n="";if("onHideToast"===e&&"onShowToast"!==Ng?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Ng&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Ng="",setTimeout((()=>{$g.visible=!1}),10)}function Wg(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,em.emit(Se,{titleText:t})}Si(t),Ki(t)}const Xg=Od(Oh,((e,{resolve:t,reject:n})=>{!function(e,t,n,i,o){if(!e)return o("page not found");const{navigationBar:r}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:i}=n,{duration:o,timingFunc:s}=i;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=o+"ms",r.timingFunc=s;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case Oh:const{title:a}=n;r.titleText=a}i()}(jc(),Oh,e,t,n)})),qg="0px",Yg=Su({name:"Layout",setup(e,{emit:t}){const n=In(null);Pc({"--status-bar-height":qg,"--top-window-height":qg,"--window-left":qg,"--window-right":qg,"--window-margin":qg,"--tab-bar-height":qg});const i=function(){const e=Bl();return{routeKey:Kr((()=>Kf("/"+e.meta.route,$f()))),isTabBar:Kr((()=>e.meta.isTabBar)),routeCache:Qf}}(),{layoutState:o,windowState:r}=function(){Rf();{const e=vn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return ki((()=>e.marginWidth),(e=>Pc({"--window-margin":e+"px"}))),ki((()=>e.leftWindowWidth+e.marginWidth),(e=>{Pc({"--window-left":e+"px"})})),ki((()=>e.rightWindowWidth+e.marginWidth),(e=>{Pc({"--window-right":e+"px"})})),{layoutState:e,windowState:Kr((()=>({})))}}}();!function(e,t){const n=Rf();function i(){const i=document.body.clientWidth,o=Wf();let r={};if(o.length>0){r=o[o.length-1].$page.meta}else{const e=Zc(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((w(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=i>s,a&&s?(e.marginWidth=(i-s)/2,ni((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,ni((()=>{const e=t.value;e&&e.removeAttribute("style")})))}ki([()=>n.path],i),lo((()=>{i(),window.addEventListener("resize",i)}))}(o,n);const s=function(e){const t=In(!1);return Kr((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,i,o,r){const s=function({routeKey:e,isTabBar:t,routeCache:n}){return Ar(Hl,null,{default:vi((({Component:i})=>[(vr(),wr(Yi,{matchBy:"key",cache:n},[(vr(),wr(To(i),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e);return s}(i);return Ar("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Gg="scanCode",Kg=Od(Gg,Md(Gg)),Zg="login",Qg=Od(Zg,Md(Zg)),Jg=y(nc,{publishHandler(e,t,n){em.subscribeHandler(e,t,n)}}),em=y(du,{publishHandler(e,t,n){Jg.subscribeHandler(e,t,n)}}),tm=Su({name:"PageHead",setup(){const e=In(null),t=If(),n=function(e,t){const n=wn(e),i=n?vn(xg(e)):xg(e);return __uniConfig.darkmode&&n&&ki(e,(e=>{const t=xg(e);for(const n in t)i[n]=t[n]})),t&&bg(t),i}(t.navigationBar,(()=>{const e=xg(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:i,style:o}=function(e){const t=Kr((()=>{const{type:t,titlePenetrate:n,shadowColorType:i}=e,o={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!i};return i&&(o[`uni-page-head-shadow-${i}`]=!0),o})),n=Kr((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return Ar("div",{class:"uni-page-head-btn",onClick:im},[Bc(Nc,"transparent"===e.type?"#fff":e.titleColor,27)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&Ar("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Ar("uni-page-head",{"uni-page-head-type":s},[Ar("div",{ref:e,class:i.value,style:o.value},[Ar("div",{class:"uni-page-head-hd"},[r]),nm(n),Ar("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function nm(e,t){return function({type:e,loading:t,titleSize:n,titleText:i,titleImage:o}){return Ar("div",{class:"uni-page-head-bd"},[Ar("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Ar("i",{class:"uni-loading"},null):o?Ar("img",{src:o,class:"uni-page-head__title_image"},null,8,["src"]):i],4)])}(e)}function im(){1===Wf().length?vg({url:"/"}):fg({from:"backbutton",success(){}})}const om=Su({name:"PageBody",setup:(e,t)=>()=>Ar(dr,null,[!1,Ar("uni-page-wrapper",null,[Ar("uni-page-body",null,[Eo(t.slots,"default")])],16)])}),rm=Su({name:"Page",setup(e,t){const n=Lf($f()),i=n.navigationBar;return Wg(n),()=>Ar("uni-page",{"data-page":n.route},"custom"!==i.style?[Ar(tm),sm(t)]:[sm(t)])}});function sm(e){return vr(),wr(om,{key:0},{default:vi((()=>[Eo(e.slots,"page")])),_:3})}const am={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Fd;const lm=Object.assign({}),cm=Object.assign;window.__uniConfig=cm({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"演示程序",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"3.8.12"},{appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",async:am,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(lm).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return cm(e[n]||(e[n]={}),lm[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const um={delay:am.delay,timeout:am.timeout,suspensible:am.suspensible};am.loading&&(um.loadingComponent={name:"SystemAsyncLoading",render:()=>Ar(wo(am.loading))}),am.error&&(um.errorComponent={name:"SystemAsyncError",render:()=>Ar(wo(am.error))});const dm=()=>t((()=>import("./pages-index-index.03d3bde1.js")),["assets/pages-index-index.03d3bde1.js","assets/Page.f7f5514f.js"]).then((e=>_p(e.default||e))),hm=zi(cm({loader:dm},um)),fm=()=>t((()=>import("./pages-hilo-index.ce723c7e.js")),["assets/pages-hilo-index.ce723c7e.js","assets/Page.f7f5514f.js","assets/index-a83a5860.css"]).then((e=>_p(e.default||e))),pm=zi(cm({loader:fm},um));function gm(e,t){return vr(),wr(rm,null,{page:vi((()=>[Ar(e,cm({},t,{ref:"page"}),null,512)])),_:1})}function mm(e,t){return E(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=gp(),t=e&&e.$route&&e.$route.query||{};return()=>gm(hm,t)}},loader:dm,meta:{isQuit:!0,isEntry:!0,navigationBar:{},isNVue:!1}},{path:"/pages/hilo/index",component:{setup(){const e=gp(),t=e&&e.$route&&e.$route.query||{};return()=>gm(pm,t)}},loader:fm,meta:{navigationBar:{},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const vm=e=>(t,n=Dr())=>{!Wr&&ro(e,t,n)},ym=vm(oe),_m=vm(re),bm=vm(se),wm=vm(de),xm=ji({__name:"App",setup:e=>(bm((()=>{console.log("App Launch")})),ym((()=>{console.log("App Show")})),_m((()=>{console.log("App Hide")})),()=>{})});yp(xm,{init:mp,setup(e){const t=Rf(),n=()=>{var n;n=e,Object.keys(oh).forEach((e=>{oh[e].forEach((t=>{ro(e,t,n)}))}));const{onLaunch:i,onShow:o,onPageNotFound:r,onError:s}=e,a=function({path:e,query:t}){return y(Hh,{path:e,query:t}),y(Nh,Hh),y({},Hh)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:qe(t.query)});if(i&&U(i,a),o&&U(o,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&U(r,e)}s&&(e.appContext.config.errorHandler=e=>{U(s,e)})};return Ci(Sl).isReady().then(n),lo((()=>{window.addEventListener("resize",function(e,t,{clearTimeout:n,setTimeout:i}){let o;const r=function(){n(o),o=i((()=>e.apply(this,arguments)),t)};return r.cancel=function(){n(o)},r}(bp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",wp),document.addEventListener("visibilitychange",xp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{em.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(vr(),wr(Yg));e.setup=(e,i)=>{const o=t&&t(e,i);return S(o)?n:o},e.render=n}});const Tm={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{nh().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){jd("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function Cm(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let i in e)e.hasOwnProperty(i)&&(n[i]="object"==typeof e[i]?Cm(e[i]):e[i]);return n}function Sm(e={},t={}){if("object"!=typeof(e=Cm(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Sm(e[n],t[n]):e[n]=t[n]);return e}function Em(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function km(e){return"[object Object]"===Object.prototype.toString.call(e)}function Am(e){return"function"==typeof e}const Om={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:Em,isEmpty:Em,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:km,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:Am,promise:function(e){return km(e)&&Am(e.then)&&Am(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const Mm=new class{setConfig(e){this.config=Sm(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(zg(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let i=this.interceptor.response(e);!1!==i?t(i):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let i=this.interceptor.response(e.data);!1!==i?t(i):n(e.data)}else t(e.data);else n(e)},e.url=Om.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{Vg({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),ug(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const Pm=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:i,animationType:o,animationDuration:r}=e;"navigateTo"!=e.type&&"to"!=e.type||gg({url:t,animationType:o,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||mg({url:t}),"switchTab"!=e.type&&"tab"!=e.type||_g({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||vg({url:t}),"navigateBack"!=e.type&&"back"!=e.type||fg({delta:i})}}).route;function Im(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,i=new Date(e),o={"y+":i.getFullYear().toString(),"m+":(i.getMonth()+1).toString(),"d+":i.getDate().toString(),"h+":i.getHours().toString(),"M+":i.getMinutes().toString(),"s+":i.getSeconds().toString()};for(let r in o)n=new RegExp("("+r+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?o[r]:o[r].padStart(n[1].length,"0")));return t}function Lm(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function Rm(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t=e)return String(n);let i=e-n.length,o=Math.ceil(i/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,i)+n});const $m={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let i=Lm(e,!1),o=i[0],r=i[1],s=i[2],a=Lm(t,!1),l=(a[0]-o)/n,c=(a[1]-r)/n,u=(a[2]-s)/n,d=[];for(let h=0;h=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{o.push(r+"[]="+e)}));break;case"repeat":t.forEach((e=>{o.push(r+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(r+"="+e)}else o.push(r+"="+t)}return o.length?i+o.join("&"):""},route:Pm,timeFormat:Im,date:Im,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),i=(Number(new Date)-n)/1e3,o="";switch(!0){case i<300:o="刚刚";break;case i>=300&&i<3600:o=parseInt(i/60)+"分钟前";break;case i>=3600&&i<86400:o=parseInt(i/3600)+"小时前";break;case i>=86400&&i<2592e3:o=parseInt(i/86400)+"天前";break;default:o=!1===t?i>=2592e3&&i<31536e3?parseInt(i/2592e3)+"个月前":parseInt(i/31536e3)+"年前":Im(n,t)}return o},colorGradient:$m.colorGradient,colorToRgba:$m.colorToRgba,guid:function(e=32,t=!0,n=null){let i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(n=n||i.length,e)for(let r=0;rMath.random()-.5))},wranning:function(e){},get:Mm.get,post:Mm.post,put:Mm.put,delete:Mm.delete,hexToRgb:$m.hexToRgb,rgbToHex:$m.rgbToHex,test:Om,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Cm,deepMerge:Sm,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let i in t)Array.isArray(t[i])?t[i].length?e[i]=t[i]:e[i]=n[i]:t[i].constructor===Object?Object.keys(t[i]).length?e[i]=t[i]:e[i]=n[i]:e[i]=t[i]||!1===t[i]?t[i]:n[i];return e}n=n.$parent}return{}},$parent:function(e=void 0){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),Om.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:Mm,toast:function(e,t=1500){Dg({title:e,icon:"none",duration:t})},config:Dm,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==Hm&&clearTimeout(Hm),n){var i=!Hm;Hm=setTimeout((function(){Hm=null}),t),i&&"function"==typeof e&&e()}else Hm=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,i="default"){Nm[i]||(Nm[i]=null),n?Bm[i]||(Bm[i]=!0,"function"==typeof e&&e(),Nm[i]=setTimeout((()=>{Bm[i]=!1}),t)):Bm[i]||(Bm[i]=!0,Nm[i]=setTimeout((()=>{Bm[i]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(Om.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=trim(e)).split(";"),n={};for(let e=0;e{e.mixin(Tm),e.config.globalProperties.$u=jm}};(function(){const e=Ws(xm);return e.use(Vm),{app:e}})().app.use(ap).mount("#app");export{gg as $,vn as A,lt as B,Pn as C,wn as D,Sn as E,Dr as F,ni as G,ct as H,ut as I,Fn as J,Kr as K,Dp as L,Bp as M,jp as N,Vp as O,Qg as P,Kg as Q,Np as R,cg as S,Dg as T,zp as U,Vg as V,zg as W,Og as X,qp as Y,_g as Z,fg as _,Ar as a,vg as a0,mg as a1,Wf as a2,Mr as b,wr as c,ji as d,nh as e,Eo as f,i as g,Pr as h,Tf as i,Ds as j,$u as k,wm as l,kr as m,l as n,vr as o,Hp as p,Fd as q,In as r,Xg as s,mm as t,Hn as u,To as v,vi as w,Ci as x,En as y,ki as z};