!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,t){return new URL(e,t).href}(t,i),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(C(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(A(e))t=e;else if(C(e))for(let n=0;nA(e)?e:null==e?"":C(e)||M(e)&&(e.toString===I||!k(e.toString))?JSON.stringify(e,h,2):String(e),h=(e,t)=>t&&t.__v_isRef?h(e,t.value):S(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:E(t)?{[`Set(${t.size})`]:[...t.values()]}:!M(t)||C(t)||R(t)?t:String(t),f={},p=[],g=()=>{},m=()=>!1,v=/^on[^a-z]/,y=e=>v.test(e),_=e=>e.startsWith("onUpdate:"),b=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},x=Object.prototype.hasOwnProperty,T=(e,t)=>x.call(e,t),C=Array.isArray,S=e=>"[object Map]"===L(e),E=e=>"[object Set]"===L(e),k=e=>"function"==typeof e,A=e=>"string"==typeof e,O=e=>"symbol"==typeof e,M=e=>null!==e&&"object"==typeof e,P=e=>M(e)&&k(e.then)&&k(e.catch),I=Object.prototype.toString,L=e=>I.call(e),$=e=>L(e).slice(8,-1),R=e=>"[object Object]"===L(e),H=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,N=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-(\w)/g,D=B((e=>e.replace(F,((e,t)=>t?t.toUpperCase():"")))),j=/\B([A-Z])/g,V=B((e=>e.replace(j,"-$1").toLowerCase())),z=B((e=>e.charAt(0).toUpperCase()+e.slice(1))),W=B((e=>e?`on${z(e)}`:"")),U=(e,t)=>!Object.is(e,t),X=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Y=e=>{const t=parseFloat(e);return isNaN(t)?e:t},G=e=>{const t=A(e)?Number(e):NaN;return isNaN(t)?e:t};let K;const Z=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),J=["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 Q="\n",ee=44,te=50,ne="UNI_LOCALE",ie=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="WEB_INVOKE_APPSERVICE",se="onShow",ae="onHide",le="onLaunch",ce="onError",ue="onThemeChange",de="onPageNotFound",he="onUnhandledRejection",fe="onLoad",pe="onUnload",ge="onInit",me="onSaveExitState",ve="onResize",ye="onBackPress",_e="onPageScroll",be="onTabItemTap",we="onReachBottom",xe="onPullDownRefresh",Te="onShareTimeline",Ce="onAddToFavorites",Se="onShareAppMessage",Ee="onNavigationBarButtonTap",ke="onNavigationBarChange",Ae="onNavigationBarSearchInputClicked",Oe="onNavigationBarSearchInputChanged",Me="onNavigationBarSearchInputConfirmed",Pe="onNavigationBarSearchInputFocusChanged",Ie="onAppEnterForeground",Le="onAppEnterBackground",$e="onWebInvokeAppService";function Re(e){return e&&(e.appContext?e.proxy:e)}function He(e){if(!e)return;let t=e.type.name;for(;t&&(n=V(t),-1!==J.indexOf("uni-"+n.replace("v-uni-","")));)t=(e=e.parent).type.name;var n;return e.proxy}function Ne(e){return 1===e.nodeType}function Be(e){return 0===e.indexOf("/")}function Fe(e){return Be(e)?e:"/"+e}const De=(e,t)=>{let n;for(let i=0;i(e&&(n=e.apply(t,i),e=null),n)}function Ve(e){return D(e.substring(5))}const ze=je((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[Ve(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[Ve(e)],n.call(this,e)}}));function We(e){return b({},e.dataset,e.__uniDataset)}const Ue=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Xe(e){return{passive:e}}function qe(e){const{id:t,offsetTop:n,offsetLeft:i}=e;return{id:t,dataset:We(e),offsetTop:n,offsetLeft:i}}function Ye(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ge(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Ye(e[n])}catch(i){t[n]=e[n]}})),t}const Ke=/\+/g;function Ze(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(k(e._component.onError))return t(e)})),ot=function(){};ot.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(R(s))return at(s,t,n);if(C(s))return s.map((e=>R(e)?at(e,t,n):e));if(A(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 st?st[e]:e}return n}var e;return s})()})),o):e}let lt;class ct{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=lt,!e&<&&(this.index=(lt.scopes||(lt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=lt;try{return lt=this,e()}finally{lt=t}}}on(){lt=this}off(){lt=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},pt=e=>(e.w&yt)>0,gt=e=>(e.n&yt)>0,mt=new WeakMap;let vt=0,yt=1;const _t=30;let bt;const wt=Symbol(""),xt=Symbol("");class Tt{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=lt){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=bt,t=St;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=bt,bt=this,St=!0,yt=1<<++vt,vt<=_t?(({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":C(e)?H(n)&&a.push(s.get("length")):(a.push(s.get(wt)),S(e)&&a.push(s.get(xt)));break;case"delete":C(e)||(a.push(s.get(wt)),S(e)&&a.push(s.get(xt)));break;case"set":S(e)&&a.push(s.get(wt))}if(1===a.length)a[0]&&It(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);It(ft(e))}}function It(e,t){const n=C(e)?e:[...e];for(const i of n)i.computed&&Lt(i);for(const i of n)i.computed||Lt(i)}function Lt(e,t){(e!==bt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const $t=n("__proto__,__v_isRef,__isVue"),Rt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(O)),Ht=Vt(),Nt=Vt(!1,!0),Bt=Vt(!0),Ft=Dt();function Dt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=kn(this);for(let t=0,o=this.length;t{e[t]=function(...e){kt();const n=kn(this)[t].apply(this,e);return At(),n}})),e}function jt(e){const t=kn(this);return Ot(t,0,e),t.hasOwnProperty(e)}function Vt(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?yn:vn:t?mn:gn).get(n))return n;const r=C(n);if(!e){if(r&&T(Ft,i))return Reflect.get(Ft,i,o);if("hasOwnProperty"===i)return jt}const s=Reflect.get(n,i,o);return(O(i)?Rt.has(i):$t(i))?s:(e||Ot(n,0,i),t?s:Ln(s)?r&&H(i)?s:s.value:M(s)?e?wn(s):_n(s):s)}}function zt(e=!1){return function(t,n,i,o){let r=t[n];if(Cn(r)&&Ln(r)&&!Ln(i))return!1;if(!e&&(Sn(i)||Cn(i)||(r=kn(r),i=kn(i)),!C(t)&&Ln(r)&&!Ln(i)))return r.value=i,!0;const s=C(t)&&H(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Xt=b({},Wt,{get:Nt,set:zt(!0)}),qt=e=>e,Yt=e=>Reflect.getPrototypeOf(e);function Gt(e,t,n=!1,i=!1){const o=kn(e=e.__v_raw),r=kn(t);n||(t!==r&&Ot(o,0,t),Ot(o,0,r));const{has:s}=Yt(o),a=i?qt:n?Mn:On;return s.call(o,t)?a(e.get(t)):s.call(o,r)?a(e.get(r)):void(e!==o&&e.get(t))}function Kt(e,t=!1){const n=this.__v_raw,i=kn(n),o=kn(e);return t||(e!==o&&Ot(i,0,e),Ot(i,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Zt(e,t=!1){return e=e.__v_raw,!t&&Ot(kn(e),0,wt),Reflect.get(e,"size",e)}function Jt(e){e=kn(e);const t=kn(this);return Yt(t).has.call(t,e)||(t.add(e),Pt(t,"add",e,e)),this}function Qt(e,t){t=kn(t);const n=kn(this),{has:i,get:o}=Yt(n);let r=i.call(n,e);r||(e=kn(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?U(t,s)&&Pt(n,"set",e,t):Pt(n,"add",e,t),this}function en(e){const t=kn(this),{has:n,get:i}=Yt(t);let o=n.call(t,e);o||(e=kn(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&Pt(t,"delete",e,void 0),r}function tn(){const e=kn(this),t=0!==e.size,n=e.clear();return t&&Pt(e,"clear",void 0,void 0),n}function nn(e,t){return function(n,i){const o=this,r=o.__v_raw,s=kn(r),a=t?qt:e?Mn:On;return!e&&Ot(s,0,wt),r.forEach(((e,t)=>n.call(i,a(e),a(t),o)))}}function on(e,t,n){return function(...i){const o=this.__v_raw,r=kn(o),s=S(r),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=o[e](...i),u=n?qt:t?Mn:On;return!t&&Ot(r,0,l?xt:wt),{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 rn(e){return function(...t){return"delete"!==e&&this}}function sn(){const e={get(e){return Gt(this,e)},get size(){return Zt(this)},has:Kt,add:Jt,set:Qt,delete:en,clear:tn,forEach:nn(!1,!1)},t={get(e){return Gt(this,e,!1,!0)},get size(){return Zt(this)},has:Kt,add:Jt,set:Qt,delete:en,clear:tn,forEach:nn(!1,!0)},n={get(e){return Gt(this,e,!0)},get size(){return Zt(this,!0)},has(e){return Kt.call(this,e,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:nn(!0,!1)},i={get(e){return Gt(this,e,!0,!0)},get size(){return Zt(this,!0)},has(e){return Kt.call(this,e,!0)},add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=on(o,!1,!1),n[o]=on(o,!0,!1),t[o]=on(o,!1,!0),i[o]=on(o,!0,!0)})),[e,n,t,i]}const[an,ln,cn,un]=sn();function dn(e,t){const n=t?e?un:cn:e?ln:an;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(T(n,i)&&i in t?n:t,i,o)}const hn={get:dn(!1,!1)},fn={get:dn(!1,!0)},pn={get:dn(!0,!1)},gn=new WeakMap,mn=new WeakMap,vn=new WeakMap,yn=new WeakMap;function _n(e){return Cn(e)?e:xn(e,!1,Wt,hn,gn)}function bn(e){return xn(e,!1,Xt,fn,mn)}function wn(e){return xn(e,!0,Ut,pn,vn)}function xn(e,t,n,i,o){if(!M(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}}($(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?i:n);return o.set(e,l),l}function Tn(e){return Cn(e)?Tn(e.__v_raw):!(!e||!e.__v_isReactive)}function Cn(e){return!(!e||!e.__v_isReadonly)}function Sn(e){return!(!e||!e.__v_isShallow)}function En(e){return Tn(e)||Cn(e)}function kn(e){const t=e&&e.__v_raw;return t?kn(t):e}function An(e){return q(e,"__v_skip",!0),e}const On=e=>M(e)?_n(e):e,Mn=e=>M(e)?wn(e):e;function Pn(e){St&&bt&&Mt((e=kn(e)).dep||(e.dep=ft()))}function In(e,t){const n=(e=kn(e)).dep;n&&It(n)}function Ln(e){return!(!e||!0!==e.__v_isRef)}function $n(e){return Hn(e,!1)}function Rn(e){return Hn(e,!0)}function Hn(e,t){return Ln(e)?e:new Nn(e,t)}class Nn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:kn(e),this._value=t?e:On(e)}get value(){return Pn(this),this._value}set value(e){const t=this.__v_isShallow||Sn(e)||Cn(e);e=t?e:kn(e),U(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:On(e),In(this))}}function Bn(e){return Ln(e)?e.value:e}const Fn={get:(e,t,n)=>Bn(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Ln(o)&&!Ln(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function Dn(e){return Tn(e)?e:new Proxy(e,Fn)}function jn(e){const t=C(e)?new Array(e.length):{};for(const n in e)t[n]=zn(e,n);return t}class Vn{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=kn(this._object),t=this._key,null===(n=mt.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function zn(e,t,n){const i=e[t];return Ln(i)?i:new Vn(e,t,n)}var Wn;class Un{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Wn]=!1,this._dirty=!0,this.effect=new Tt(e,(()=>{this._dirty||(this._dirty=!0,In(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=kn(this);return Pn(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xn(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){Yn(r,t,n)}return o}function qn(e,t,n,i){if(k(e)){const o=Xn(e,t,n,i);return o&&P(o)&&o.catch((e=>{Yn(e,t,n)})),o}const o=[];for(let r=0;r>>1;ci(Zn[i])ci(e)-ci(t))),ti=0;tinull==e.id?1/0:e.id,ui=(e,t)=>{const n=ci(e)-ci(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function di(e){Kn=!1,Gn=!0,Zn.sort(ui);try{for(Jn=0;JnA(e)?e.trim():e))),t&&(o=n.map(Y))}let a,l=i[a=W(t)]||i[a=W(D(t))];!l&&r&&(l=i[a=W(V(t))]),l&&qn(l,e,6,fi(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,qn(c,e,6,fi(e,c,o))}}function fi(e,t,n){if(1!==n.length)return n;if(k(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const i=n[0];if(i&&T(i,"type")&&T(i,"timeStamp")&&T(i,"target")&&T(i,"currentTarget")&&T(i,"detail")){const t=e.proxy,i=t.$gcd(t,!0);i&&n.push(i)}return n}function pi(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(!k(e)){const i=e=>{const n=pi(e,t,!0);n&&(a=!0,b(s,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return r||a?(C(r)?r.forEach((e=>s[e]=null)):b(s,r),M(e)&&i.set(e,s),s):(M(e)&&i.set(e,null),null)}function gi(e,t){return!(!e||!y(t))&&(t=t.slice(2).replace(/Once$/,""),T(e,t[0].toLowerCase()+t.slice(1))||T(e,V(t))||T(e,t))}let mi=null,vi=null;function yi(e){const t=mi;return mi=e,vi=e&&e.type.__scopeId||null,t}function _i(e,t=mi,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&wr(-1);const o=yi(t);let r;try{r=e(...n)}finally{yi(o),i._d&&wr(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function bi(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,v;const y=yi(e);try{if(4&n.shapeFlag){const e=o||i;m=$r(u.call(e,e,d,r,f,h,p)),v=l}else{const e=t;0,m=$r(e.length>1?e(r,{attrs:l,slots:a,emit:c}):e(r,null)),v=t.props?l:wi(l)}}catch(w){vr.length=0,Yn(w,e,1),m=Mr(gr)}let b=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(_)&&(v=xi(v,s)),b=Pr(b,v))}return n.dirs&&(b=Pr(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),m=b,yi(y),m}const wi=e=>{let t;for(const n in e)("class"===n||"style"===n||y(n))&&((t||(t={}))[n]=e[n]);return t},xi=(e,t)=>{const n={};for(const i in e)_(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function Ti(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;function Si(e,t){if(jr){let n=jr.provides;const i=jr.parent&&jr.parent.provides;i===n&&(n=jr.provides=Object.create(i)),n[e]=t,"app"===jr.type.mpType&&jr.appContext.app.provide(e,t)}else;}function Ei(e,t,n=!1){const i=jr||mi;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&&k(t)?t.call(i.proxy):t}}function ki(e,t){return Mi(e,null,t)}const Ai={};function Oi(e,t,n){return Mi(e,t,n)}function Mi(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=f){const a=dt()===(null==jr?void 0:jr.scope)?jr:null;let l,c,u=!1,d=!1;if(Ln(e)?(l=()=>e.value,u=Sn(e)):Tn(e)?(l=()=>e,i=!0):C(e)?(d=!0,u=e.some((e=>Tn(e)||Sn(e))),l=()=>e.map((e=>Ln(e)?e.value:Tn(e)?Li(e):k(e)?Xn(e,a,2):void 0))):l=k(e)?t?()=>Xn(e,a,2):()=>{if(!a||!a.isUnmounted)return c&&c(),qn(e,a,3,[p])}:g,t&&i){const e=l;l=()=>Li(e())}let h,p=e=>{c=_.onStop=()=>{Xn(e,a,4)}};if(qr){if(p=g,t?n&&qn(t,a,3,[l(),d?[]:void 0,p]):l(),"sync"!==o)return g;{const e=ts();h=e.__watcherHandles||(e.__watcherHandles=[])}}let m=d?new Array(e.length).fill(Ai):Ai;const v=()=>{if(_.active)if(t){const e=_.run();(i||u||(d?e.some(((e,t)=>U(e,m[t]))):U(e,m)))&&(c&&c(),qn(t,a,3,[e,m===Ai?void 0:d&&m[0]===Ai?[]:m,p]),m=e)}else _.run()};let y;v.allowRecurse=!!t,"sync"===o?y=v:"post"===o?y=()=>cr(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>ri(v));const _=new Tt(l,y);t?n?v():m=_.run():"post"===o?cr(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&w(a.scope.effects,_)};return h&&h.push(b),b}function Pi(e,t,n){const i=this.proxy,o=A(e)?e.includes(".")?Ii(i,e):()=>i[e]:e.bind(i,i);let r;k(t)?r=t:(r=t.handler,n=t);const s=jr;zr(this);const a=Mi(o,r.bind(i),n);return s?zr(s):Wr(),a}function Ii(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Li(e,t)}));else if(R(e))for(const n in e)Li(e[n],t);return e}const $i=[Function,Array],Ri={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$i,onEnter:$i,onAfterEnter:$i,onEnterCancelled:$i,onBeforeLeave:$i,onLeave:$i,onAfterLeave:$i,onLeaveCancelled:$i,onBeforeAppear:$i,onAppear:$i,onAfterAppear:$i,onAppearCancelled:$i},Hi={name:"BaseTransition",props:Ri,setup(e,{slots:t}){const n=Vr(),i=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return uo((()=>{e.isMounted=!0})),po((()=>{e.isUnmounting=!0})),e}();let o;return()=>{const r=t.default&&Vi(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1)for(const e of r)if(e.type!==gr){s=e;break}const a=kn(e),{mode:l}=a;if(i.isLeaving)return Fi(s);const c=Di(s);if(!c)return Fi(s);const u=Bi(c,a,i,n);ji(c,u);const d=n.subTree,h=d&&Di(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!==gr&&(!Sr(c,h)||f)){const e=Bi(h,a,i,n);if(ji(h,e),"out-in"===l)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},Fi(s);"in-out"===l&&c.type!==gr&&(e.delayLeave=(e,t,n)=>{Ni(i,h)[String(h.key)]=h,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Ni(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 Bi(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=Ni(n,e),w=(e,t)=>{e&&qn(e,i,9,t)},x=(e,t)=>{const n=t[1];w(e,t),C(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={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&&Sr(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]),T.delayedLeave&&T.delayedLeave(),e._enterCb=void 0)};t?x(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?x(h,[t,s]):s()},clone:e=>Bi(e,t,n,i)};return T}function Fi(e){if(qi(e))return(e=Pr(e)).children=null,e}function Di(e){return qi(e)?e.children?e.children[0]:void 0:e}function ji(e,t){6&e.shapeFlag&&e.component?ji(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 Vi(e,t=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function Ui(e){k(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 zi({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=jr;if(l)return()=>Xi(l,e);const t=t=>{c=null,Yn(t,e,13,!i)};if(s&&e.suspense||qr)return d().then((t=>()=>Xi(t,e))).catch((e=>(t(e),()=>i?Mr(i,{error:e}):null)));const a=$n(!1),u=$n(),h=$n(!!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&&qi(e.parent.vnode)&&ri(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?Xi(l,e):u.value&&i?Mr(i,{error:u.value}):n&&!h.value?Mr(n):void 0}})}function Xi(e,t){const{ref:n,props:i,children:o,ce:r}=t.vnode,s=Mr(e,i,o);return s.ref=n,s.ce=r,delete t.vnode.ce,s}const qi=e=>e.type.__isKeepAlive;class Yi{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 Gi={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=Vr(),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 Yi(e.max);o.pruneCacheEntry=s;let r=null;function s(t){var i;!r||!Sr(t,r)||"key"===e.matchBy&&t.key!==r.key?(no(i=t),u(i,n,a,!0)):r&&no(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=oo(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,X(r.ba),r.isDeactivated=e}c(e,t,n,0,a),l(r.vnode,e,t,n,r,a,i,e.slotScopeIds,o),cr((()=>{r.isDeactivated=!1,r.a&&X(r.a);const t=e.props&&e.props.onVnodeMounted;t&&Br(t,r.parent,e)}),a)},i.deactivate=e=>{const t=e.component;t.bda&&ro(t.bda),c(e,h,null,1,a),cr((()=>{t.bda&&so(t.bda),t.da&&X(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Br(n,t.parent,e),t.isDeactivated=!0}),a)},Oi((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Zi(e,t))),t&&f((e=>!Zi(t,e)))}),{flush:"post",deep:!0});let p=null;const g=()=>{null!=p&&o.set(p,io(n.subTree))};return uo(g),fo(g),po((()=>{o.forEach(((t,i)=>{o.delete(i),s(t);const{subTree:r,suspense:a}=n,l=io(r);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&X(l.component.bda),no(l);const e=l.component.da;e&&cr(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(!Cr(i)||!(4&i.shapeFlag)&&!Ci(i.type))return r=null,i;let s=io(i);const a=s.type,l=oo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Zi(c,l))||u&&l&&Zi(u,l))return r=s,i;const d=null==s.key?a:s.key,h=o.get(d);return s.el&&(s=Pr(s),Ci(i.type)&&(i.ssContent=s)),p=d,h&&(s.el=h.el,s.component=h.component,s.transition&&ji(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,r=s,Ci(i.type)?i:s}}},Ki=Gi;function Zi(e,t){return C(e)?e.some((e=>Zi(e,t))):A(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Ji(e,t){eo(e,"a",t)}function Qi(e,t){eo(e,"da",t)}function eo(e,t,n=jr){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(i.__called=!1,ao(t,i,n),n){let e=n.parent;for(;e&&e.parent;)qi(e.parent.vnode)&&to(i,t,n,e),e=e.parent}}function to(e,t,n,i){const o=ao(t,e,i,!0);go((()=>{w(i[t],o)}),n)}function no(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function io(e){return Ci(e.type)?e.ssContent:e}function oo(e,t){if("name"===t){const t=e.type;return Zr(Wi(e)?t.__asyncResolved||{}:t)}return String(e.key)}function ro(e){for(let t=0;te.__called=!1))}function ao(e,t,n=jr,i=!1){if(n){if(o=e,Qe.indexOf(o)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return et.indexOf(e)>-1}(e))){const i=n.proxy;qn(t.bind(i),n,e,fe===e?[i.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;kt(),zr(n);const o=qn(t,n,e,i);return Wr(),At(),o});return i?r.unshift(s):r.push(s),s}var o}const lo=e=>(t,n=jr)=>(!qr||"sp"===e)&&ao(e,((...e)=>t(...e)),n),co=lo("bm"),uo=lo("m"),ho=lo("bu"),fo=lo("u"),po=lo("bum"),go=lo("um"),mo=lo("sp"),vo=lo("rtg"),yo=lo("rtc");function _o(e,t=jr){ao("ec",e,t)}function bo(e,t){const n=mi;if(null===n)return e;const i=Kr(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r!Cr(e)||e.type!==gr&&!(e.type===fr&&!Oo(e.children))))?e:null}const Mo=e=>e?Ur(e)?Kr(e)||e.proxy:Mo(e.parent):null,Po=b(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=>Mo(e.parent),$root:e=>Mo(e.root),$emit:e=>e.emit,$options:e=>Bo(e),$forceUpdate:e=>e.f||(e.f=()=>ri(e.update)),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>Pi.bind(e)}),Io=(e,t)=>e!==f&&!e.__isScriptSetup&&T(e,t),Lo={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(Io(i,t))return s[t]=1,i[t];if(o!==f&&T(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&T(c,t))return s[t]=3,r[t];if(n!==f&&T(n,t))return s[t]=4,n[t];$o&&(s[t]=0)}}const u=Po[t];let d,h;return u?("$attrs"===t&&Ot(e,0,t),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==f&&T(n,t)?(s[t]=4,n[t]):(h=l.config.globalProperties,T(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return Io(o,t)?(o[t]=n,!0):i!==f&&T(i,t)?(i[t]=n,!0):!T(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!==f&&T(e,s)||Io(t,s)||(a=r[0])&&T(a,s)||T(i,s)||T(Po,s)||T(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:T(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let $o=!0;function Ro(e){const t=Bo(e),n=e.proxy,i=e.ctx;$o=!1,t.beforeCreate&&Ho(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:p,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:b,unmounted:w,render:x,renderTracked:T,renderTriggered:S,errorCaptured:E,serverPrefetch:A,expose:O,inheritAttrs:P,components:I,directives:L,filters:$}=t;if(c&&function(e,t,n=g,i=!1){C(e)&&(e=Vo(e));for(const o in e){const n=e[o];let r;r=M(n)?"default"in n?Ei(n.from||o,n.default,!0):Ei(n.from||o):Ei(n),Ln(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 g in s){const e=s[g];k(e)&&(i[g]=e.bind(n))}if(o){const t=o.call(n,n);M(t)&&(e.data=_n(t))}if($o=!0,r)for(const C in r){const e=r[C],t=k(e)?e.bind(n,n):k(e.get)?e.get.bind(n,n):g,o=!k(e)&&k(e.set)?e.set.bind(n):g,s=Jr({get:t,set:o});Object.defineProperty(i,C,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const g in a)No(a[g],i,n,g);if(l){const e=k(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{Si(t,e[t])}))}function R(e,t){C(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&Ho(u,e,"c"),R(co,d),R(uo,h),R(ho,f),R(fo,p),R(Ji,m),R(Qi,v),R(_o,E),R(yo,T),R(vo,S),R(po,_),R(go,w),R(mo,A),C(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===g&&(e.render=x),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 Ho(e,t,n){qn(C(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function No(e,t,n,i){const o=i.includes(".")?Ii(n,i):()=>n[i];if(A(e)){const n=t[e];k(n)&&Oi(o,n)}else if(k(e))Oi(o,e.bind(n));else if(M(e))if(C(e))e.forEach((e=>No(e,t,n,i)));else{const i=k(e.handler)?e.handler.bind(n):t[e.handler];k(i)&&Oi(o,i,e)}}function Bo(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=>Fo(l,e,s,!0))),Fo(l,t,s)):l=t,M(t)&&r.set(t,l),l}function Fo(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&Fo(e,r,n,!0),o&&o.forEach((t=>Fo(e,t,n,!0)));for(const s in t)if(i&&"expose"===s);else{const i=Do[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Do={data:jo,props:Wo,emits:Wo,methods:Wo,computed:Wo,beforeCreate:zo,created:zo,beforeMount:zo,mounted:zo,beforeUpdate:zo,updated:zo,beforeDestroy:zo,beforeUnmount:zo,destroyed:zo,unmounted:zo,activated:zo,deactivated:zo,errorCaptured:zo,serverPrefetch:zo,components:Wo,directives:Wo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=b(Object.create(null),e);for(const i in t)n[i]=zo(e[i],t[i]);return n},provide:jo,inject:function(e,t){return Wo(Vo(e),Vo(t))}};function jo(e,t){return t?e?function(){return b(k(e)?e.call(this,this):e,k(t)?t.call(this,this):t)}:t:e}function Vo(e){if(C(e)){const t={};for(let n=0;n{l=!0;const[n,i]=qo(e,t,!0);b(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 M(e)&&i.set(e,p),p;if(C(r))for(let u=0;u-1,n[1]=i<0||t-1||T(n,"default"))&&a.push(e)}}}const c=[s,a];return M(e)&&i.set(e,c),c}function Yo(e){return"$"!==e[0]}function Go(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function Ko(e,t){return Go(e)===Go(t)}function Zo(e,t){return C(t)?t.findIndex((t=>Ko(t,e))):k(t)&&Ko(t,e)?0:-1}const Jo=e=>"_"===e[0]||"$stable"===e,Qo=e=>C(e)?e.map($r):[$r(e)],er=(e,t,n)=>{if(t._n)return t;const i=_i(((...e)=>Qo(t(...e))),n);return i._c=!1,i},tr=(e,t,n)=>{const i=e._ctx;for(const o in e){if(Jo(o))continue;const n=e[o];if(k(n))t[o]=er(0,n,i);else if(null!=n){const e=Qo(n);t[o]=()=>e}}},nr=(e,t)=>{const n=Qo(t);e.slots.default=()=>n},ir=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=kn(t),q(t,"_",n)):tr(t,e.slots={})}else e.slots={},t&&nr(e,t);q(e.slots,Er,1)},or=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=f;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:(b(o,t),n||1!==e||delete o._):(r=!t.$stable,tr(t,o)),s=t}else t&&(nr(e,t),s={default:1});if(r)for(const a in o)Jo(a)||a in s||delete o[a]};function rr(){return{app:null,config:{isNativeTag:m,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 sr=0;function ar(e,t){return function(n,i=null){k(n)||(n=Object.assign({},n)),null==i||M(i)||(i=null);const o=rr(),r=new Set;let s=!1;const a=o.app={_uid:sr++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:ns,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&k(e.install)?(r.add(e),e.install(a,...t)):k(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=Mr(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,Kr(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 lr(e,t,n,i,o=!1){if(C(e))return void e.forEach(((e,r)=>lr(e,t&&(C(t)?t[r]:t),n,i,o)));if(Wi(i)&&!o)return;const r=4&i.shapeFlag?Kr(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===f?a.refs={}:a.refs,d=a.setupState;if(null!=c&&c!==l&&(A(c)?(u[c]=null,T(d,c)&&(d[c]=null)):Ln(c)&&(c.value=null)),k(l))Xn(l,a,12,[s,u]);else{const t=A(l),i=Ln(l);if(t||i){const a=()=>{if(e.f){const n=t?T(d,l)?d[l]:u[l]:l.value;o?C(n)&&w(n,r):C(n)?n.includes(r)||n.push(r):t?(u[l]=[r],T(d,l)&&(d[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,T(d,l)&&(d[l]=s)):i&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,cr(a,n)):a()}}}const cr=function(e,t){var n;t&&t.pendingBranch?C(e)?t.effects.push(...e):t.effects.push(e):(C(n=e)?Qn.push(...n):ei&&ei.includes(n,n.allowRecurse?ti+1:ti)||Qn.push(n),si())};function ur(e){return function(e,t){Z().__VUE__=!0;const{insert:n,remove:i,patchProp:o,forcePatchProp:r,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:m=g,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&&!Sr(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 pr:_(e,t,n,i);break;case gr:b(e,t,n,i);break;case mr:null==e&&w(t,n,i,s);break;case fr: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?$(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&&lr(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},w=(e,t,n,i)=>{[e.el,e.anchor]=v(e.children,t,n,i,e.el,e.anchor)},x=({el:e,anchor:t},i,o)=>{let r;for(;e&&e!==t;)r=h(e),n(e,i,o),e=r;n(t,i,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(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):O(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&&wo(e,null,r,"created"),k(h,e,e.scopeId,c,r),g){for(const t in g)"value"===t||N(t)||o(h,t,null,g[t],l,e.children,r,a,Q);"value"in g&&o(h,"value",null,g.value),(f=g.onVnodeBeforeMount)&&Br(f,r,e)}Object.defineProperty(h,"__vueParentComponent",{value:r,enumerable:!1}),y&&wo(e,null,r,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(h),n(h,t,i),((f=g&&g.onVnodeMounted)||_||y)&&cr((()=>{f&&Br(f,r,e),_&&v.enter(h),y&&wo(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:d,dynamicChildren:h,dirs:p}=t;d|=16&e.patchFlag;const g=e.props||f,m=t.props||f;let v;n&&dr(n,!1),(v=m.onVnodeBeforeUpdate)&&Br(v,n,t,e),p&&wo(t,e,n,"beforeUpdate"),n&&dr(n,!0);const y=s&&"foreignObject"!==t.type;if(h?M(e.dynamicChildren,h,c,n,i,y,a):l||j(e,t,c,null,n,i,y,a,!1),d>0){if(16&d)I(c,t,g,m,n,i,s);else if(2&d&&g.class!==m.class&&o(c,"class",null,m.class,s),4&d&&o(c,"style",g.style,m.style,s),8&d){const a=t.dynamicProps;for(let t=0;t{v&&Br(v,n,t,e),p&&wo(t,e,n,"updated")}),i)},M=(e,t,n,i,o,r,s)=>{for(let a=0;a{if(n!==i){if(n!==f)for(const r in n)N(r)||r in i||o(e,r,n[r],null,l,t.children,s,a,Q);for(const c in i){if(N(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,Q)}"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?(M(e.dynamicChildren,p,i,r,s,l,c),(null!=t.key||r&&t===r.subTree)&&hr(e,t,!0)):j(e,t,i,h,r,s,l,c,u)},$=(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):R(t,n,i,o,r,s,l):H(e,t,l)},R=(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)||Fr,r={uid:Dr++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ct(!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:qo(i,o),emitsOptions:pi(i,o),emit:null,emitted:null,propsDefaults:f,inheritAttrs:i.inheritAttrs,ctx:f,data:f,props:f,attrs:f,slots:f,refs:f,setupState:f,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=hi.bind(null,r),r.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(r);return r}(e,i,o);if(qi(e)&&(a.ctx.renderer=ne),function(e,t=!1){qr=t;const{props:n,children:i}=e.vnode,o=Ur(e);(function(e,t,n,i=!1){const o={},r={};q(r,Er,1),e.propsDefaults=Object.create(null),Uo(e,t,o,r);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=i?o:bn(o):e.type.props?e.props=o:e.props=r,e.attrs=r})(e,n,o,t),ir(e,i);const r=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=An(new Proxy(e.ctx,Lo));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)=>(Ot(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;zr(e),kt();const o=Xn(i,e,0,[e.props,n]);if(At(),Wr(),P(o)){if(o.then(Wr,Wr),t)return o.then((n=>{Yr(e,n,t)})).catch((t=>{Yn(t,e,0)}));e.asyncDep=o}else Yr(e,o,t)}else Gr(e,t)}(e,t):void 0;qr=!1}(a),a.asyncDep){if(o&&o.registerDep(a,B),!e.el){const e=a.subTree=Mr(gr);b(null,e,t,n)}}else B(a,e,t,n,o,r,s)},H=(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||Ti(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?Ti(i,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tJn&&Zn.splice(t,1)}(i.update),i.update()}else t.el=e.el,i.vnode=t},B=(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;dr(e,!1),n?(n.el=c.el,F(e,n,s)):n=c,i&&X(i),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Br(t,l,n,c),dr(e,!0);const h=bi(e),f=e.subTree;e.subTree=h,y(f,h,d(f.el),ee(f),e,o,r),n.el=h.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,h.el),a&&cr(a,o),(t=n.props&&n.props.onVnodeUpdated)&&cr((()=>Br(t,l,n,c)),o)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,h=Wi(t);if(dr(e,!1),c&&X(c),!h&&(s=l&&l.onVnodeBeforeMount)&&Br(s,d,t),dr(e,!0),a&&oe){const n=()=>{e.subTree=bi(e),oe(a,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=bi(e);y(null,s,n,i,e,o,r),t.el=s.el}if(u&&cr(u,o),!h&&(s=l&&l.onVnodeMounted)){const e=t;cr((()=>Br(s,d,e)),o)}const{ba:f,a:p}=e;(256&t.shapeFlag||d&&Wi(d.vnode)&&256&d.vnode.shapeFlag)&&(f&&ro(f),p&&cr(p,o),f&&cr((()=>so(f)),o)),e.isMounted=!0,t=n=i=null}},l=e.effect=new Tt(a,(()=>ri(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,dr(e,!0),c()},F=(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=kn(o),[l]=e.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;Uo(e,t,o,r)&&(c=!0);for(const r in a)t&&(T(t,r)||(i=V(r))!==r&&T(t,i))||(l?!n||void 0===n[r]&&void 0===n[i]||(o[r]=Xo(l,a,r,void 0,e,!0)):delete o[r]);if(r!==a)for(const e in r)t&&T(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 W(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&&Q(c,o,r),h!==c&&u(n,h)):16&d?16&p?W(c,h,n,i,o,r,s,a,l):Q(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||p;const c=(e=e||p).length,u=t.length,d=Math.min(c,u);let h;for(h=0;hu?Q(e,o,r,!0,!1,d):A(t,n,i,o,r,s,a,l,d)},W=(e,t,n,i,o,r,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,h=u-1;for(;c<=d&&c<=h;){const i=e[c],u=t[c]=l?Rr(t[c]):$r(t[c]);if(!Sr(i,u))break;y(i,u,n,null,o,r,s,a,l),c++}for(;c<=d&&c<=h;){const i=e[d],c=t[h]=l?Rr(t[h]):$r(t[h]);if(!Sr(i,c))break;y(i,c,n,null,o,r,s,a,l),d--,h--}if(c>d){if(c<=h){const e=h+1,d=eh)for(;c<=d;)Y(e[c],o,r,!0),c++;else{const f=c,g=c,m=new Map;for(c=g;c<=h;c++){const e=t[c]=l?Rr(t[c]):$r(t[c]);null!=e.key&&m.set(e.key,c)}let v,_=0;const b=h-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<=h;v++)if(0===T[v-g]&&Sr(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):p;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 U(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===fr){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&&lr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&h,p=!Wi(e);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&Br(g,t,e),6&u)J(e.component,n,i);else{if(128&u)return void e.suspense.unmount(n,i);f&&wo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,ne,i):c&&(r!==fr||d>0&&64&d)?Q(c,t,n,!1,!0):(r===fr&&384&d||!o&&16&u)&&Q(l,t,n),i&&G(e)}(p&&(g=s&&s.onVnodeUnmounted)||f)&&cr((()=>{g&&Br(g,t,e),f&&wo(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===fr)return void K(n,o);if(t===mr)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()},K=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},J=(e,t,n)=>{const{bum:i,scope:o,update:r,subTree:s,um:a}=e;i&&X(i),o.stop(),r&&(r.active=!1,Y(s,e,t,n)),a&&cr(a,t),cr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(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():h(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),ai(),li(),t._vnode=e},ne={p:y,um:Y,m:U,r:G,mt:R,mc:A,pc:j,pbc:M,n:ee,o:e};let ie,oe;t&&([ie,oe]=t(ne));return{render:te,hydrate:ie,createApp:ar(te,ie)}}(e)}function dr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hr(e,t,n=!1){const i=e.children,o=t.children;if(C(i)&&C(o))for(let r=0;r0?yr||p:null,vr.pop(),yr=vr[vr.length-1]||null,br>0&&yr&&yr.push(e),e}function Tr(e,t,n,i,o){return xr(Mr(e,t,n,i,o,!0))}function Cr(e){return!!e&&!0===e.__v_isVNode}function Sr(e,t){return e.type===t.type&&e.key===t.key}const Er="__vInternal",kr=({key:e})=>null!=e?e:null,Ar=({ref:e,ref_key:t,ref_for:n})=>null!=e?A(e)||Ln(e)||k(e)?{i:mi,r:e,k:t,f:!!n}:e:null;function Or(e,t=null,n=null,i=0,o=null,r=(e===fr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kr(t),ref:t&&Ar(t),scopeId:vi,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:mi};return a?(Hr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=A(n)?8:16),br>0&&!s&&yr&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&yr.push(l),l}const Mr=function(e,t=null,n=null,o=0,r=null,s=!1){e&&e!==Co||(e=gr);if(Cr(e)){const i=Pr(e,t,!0);return n&&Hr(i,n),br>0&&!s&&yr&&(6&i.shapeFlag?yr[yr.indexOf(e)]=i:yr.push(i)),i.patchFlag|=-2,i}a=e,k(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?En(e)||Er in e?b({},e):e:null}(t);let{class:e,style:n}=t;e&&!A(e)&&(t.class=l(e)),M(n)&&(En(n)&&!C(n)&&(n=b({},n)),t.style=i(n))}const c=A(e)?1:Ci(e)?128:(e=>e.__isTeleport)(e)?64:M(e)?4:k(e)?2:0;return Or(e,t,n,o,r,c,s,!0)};function Pr(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?Nr(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&kr(a),ref:t&&t.ref?n&&o?C(o)?o.concat(Ar(t)):[o,Ar(t)]:Ar(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!==fr?-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&&Pr(e.ssContent),ssFallback:e.ssFallback&&Pr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ir(e=" ",t=0){return Mr(pr,null,e,t)}function Lr(e="",t=!1){return t?(_r(),Tr(gr,null,e)):Mr(gr,null,e)}function $r(e){return null==e||"boolean"==typeof e?Mr(gr):C(e)?Mr(fr,null,e.slice()):"object"==typeof e?Rr(e):Mr(pr,null,String(e))}function Rr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Pr(e)}function Hr(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if(C(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),Hr(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||Er in t?3===i&&mi&&(1===mi.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=mi}}else k(t)?(t={default:t,_ctx:mi},n=32):(t=String(t),64&i?(n=16,t=[Ir(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nr(...e){const t={};for(let n=0;njr||mi,zr=e=>{jr=e,e.scope.on()},Wr=()=>{jr&&jr.scope.off(),jr=null};function Ur(e){return 4&e.vnode.shapeFlag}let Xr,qr=!1;function Yr(e,t,n){k(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:M(t)&&(e.setupState=Dn(t)),Gr(e,n)}function Gr(e,t,n){const i=e.type;if(!e.render){if(!t&&Xr&&!i.render){const t=i.template||Bo(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:s}=i,a=b(b({isCustomElement:n,delimiters:r},o),s);i.render=Xr(t,a)}}e.render=i.render||g}zr(e),kt(),Ro(e),At(),Wr()}function Kr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Dn(An(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Po?Po[n](e):void 0,has:(e,t)=>t in e||t in Po}))}function Zr(e,t=!0){return k(e)?e.displayName||e.name:e.name||t&&e.__name}const Jr=(e,t)=>function(e,t,n=!1){let i,o;const r=k(e);return r?(i=e,o=g):(i=e.get,o=e.set),new Un(i,o,r||!o,n)}(e,0,qr);function Qr(e,t,n){const i=arguments.length;return 2===i?M(t)&&!C(t)?Cr(t)?Mr(e,null,[t]):Mr(e,t):Mr(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Cr(n)&&(n=[n]),Mr(e,t,n))}const es=Symbol(""),ts=()=>Ei(es),ns="3.2.47",is="undefined"!=typeof document?document:null,os=is&&is.createElement("template"),rs={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?is.createElementNS("http://www.w3.org/2000/svg",e):is.createElement(e,n?{is:n}:void 0);return"select"===e&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:e=>is.createTextNode(e),createComment:e=>is.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>is.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{os.innerHTML=i?`${e}`:e;const o=os.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 ss=/\s*!important$/;function as(e,t,n){if(C(n))n.forEach((n=>as(e,t,n)));else if(null==n&&(n=""),n=vs(n),t.startsWith("--"))e.setProperty(t,n);else{const i=function(e,t){const n=cs[t];if(n)return n;let i=D(t);if("filter"!==i&&i in e)return cs[t]=i;i=z(i);for(let o=0;oe.replace(Ue,((e,t)=>{if(!t)return e;if(1===gs)return`${t}${ps}`;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)*gs,ms);return 0===n?"0":`${n}${ps}`})));var ps,gs,ms;const vs=e=>A(e)?fs(e):e,ys="http://www.w3.org/1999/xlink";function _s(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(bs.test(e)){let n;for(t={};n=e.match(bs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):V(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&&C(r)){const n=Cs(e,r);for(let i=0;iws||(xs.then((()=>ws=0)),ws=Date.now());function Cs(e,t){if(C(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 Ss=/^on[a-z]/;const Es="transition",ks="animation",As=(e,{slots:t})=>Qr(Hi,function(e){const t={};for(const b in e)b in Os||(t[b]=e[b]);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(M(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}(o),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:w,onLeaveCancelled:x,onBeforeAppear:T=v,onAppear:C=y,onAppearCancelled:S=_}=t,E=(e,t,n)=>{$s(e,t?u:a),$s(e,t?c:s),n&&n()},k=(e,t)=>{e._isLeaving=!1,$s(e,d),$s(e,f),$s(e,h),t&&t()},A=e=>(t,n)=>{const o=e?C:y,s=()=>E(t,e,n);Ms(o,[t,s]),Rs((()=>{$s(t,e?l:r),Ls(t,e?u:a),Ps(o)||Ns(t,i,g,s)}))};return b(t,{onBeforeEnter(e){Ms(v,[e]),Ls(e,r),Ls(e,s)},onBeforeAppear(e){Ms(T,[e]),Ls(e,l),Ls(e,c)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);Ls(e,d),document.body.offsetHeight,Ls(e,h),Rs((()=>{e._isLeaving&&($s(e,d),Ls(e,f),Ps(w)||Ns(e,i,m,n))})),Ms(w,[e,n])},onEnterCancelled(e){E(e,!1),Ms(_,[e])},onAppearCancelled(e){E(e,!0),Ms(S,[e])},onLeaveCancelled(e){k(e),Ms(x,[e])}})}(e),t);As.displayName="Transition";const Os={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};As.props=b({},Ri,Os);const Ms=(e,t=[])=>{C(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ps=e=>!!e&&(C(e)?e.some((e=>e.length>1)):e.length>1);function Is(e){return G(e)}function Ls(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function $s(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 Rs(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Hs=0;function Ns(e,t,n,i){const o=e._endId=++Hs,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(`${Es}Delay`),r=i(`${Es}Duration`),s=Bs(o,r),a=i(`${ks}Delay`),l=i(`${ks}Duration`),c=Bs(a,l);let u=null,d=0,h=0;t===Es?s>0&&(u=Es,d=s,h=r.length):t===ks?c>0&&(u=ks,d=c,h=l.length):(d=Math.max(s,c),u=d>0?s>c?Es:ks:null,h=u?u===Es?r.length:l.length:0);const f=u===Es&&/\b(transform|all)(,|$)/.test(i(`${Es}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((()=>{uFs(t)+Fs(e[n]))))}function Fs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const Ds=["ctrl","shift","alt","meta"],js={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)=>Ds.some((n=>e[`${n}Key`]&&!t.includes(n)))},Vs=(e,t)=>(n,...i)=>{for(let e=0;e{Ws(e,!1)})):Ws(e,t))},beforeUnmount(e,{value:t}){Ws(e,t)}};function Ws(e,t){e.style.display=t?e._vod:"none"}const Us=b({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;oi((()=>{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=A(n);if(n&&!o){if(t&&!A(t))for(const e in t)null==n[e]&&as(i,e,"");for(const e in n)as(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)as(i,s,r[s])}(e,n,i):y(t)?_(t)||_s(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&&Ss.test(t)&&k(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(Ss.test(t)&&A(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(ys,t.slice(6,t.length)):e.setAttributeNS(ys,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))},rs);let Xs;const qs=(...e)=>{const t=(Xs||(Xs=ur(Us))).createApp(...e),{mount:n}=t;return t.mount=e=>{const i=function(e){if(A(e)){return document.querySelector(e)}return e}(e);if(!i)return;const o=t._component;k(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 Ys=["{","}"];const Gs=/^(?:\d)+/,Ks=/^(?:\w)+/;const Zs="zh-Hans",Js="zh-Hant",Qs="en",ea="fr",ta="es",na=Object.prototype.hasOwnProperty,ia=(e,t)=>na.call(e,t),oa=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Ys){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?Zs:e.indexOf("-hant")>-1?Js:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?Js:Zs);var n;let i=[Qs,ea,ta];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 sa{constructor({locale:e,fallbackLocale:t,messages:n,watcher:i,formater:o}){this.locale=Qs,this.fallbackLocale=Qs,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||oa,this.messages=n||{},this.setLocale(e||Qs),i&&this.watchLocale(i)}setLocale(e){const t=this.locale;this.locale=ra(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=>{ia(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=ra(t,this.messages))&&(i=this.messages[t]):n=t,ia(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 aa(e,t={},n,i){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&rh?rh():"undefined"!=typeof global&&global.getLocale?global.getLocale():Qs),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Qs);const o=new sa({locale:e,fallbackLocale:n,messages:t,watcher:i});let r=(e,t)=>{{let e=!1;r=function(t,n){const i=Sp().$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 la="undefined"!=typeof window;const ca=Object.assign;function ua(e,t){const n={};for(const i in t){const o=t[i];n[i]=ha(o)?o.map(e):e(o)}return n}const da=()=>{},ha=Array.isArray,fa=/\/$/,pa=e=>e.replace(fa,"");function ga(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 ma(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function va(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ya(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!_a(e[n],t[n]))return!1;return!0}function _a(e,t){return ha(e)?ba(e,t):ha(t)?ba(t,e):e===t}function ba(e,t){return ha(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var wa,xa,Ta,Ca;(xa=wa||(wa={})).pop="pop",xa.push="push",(Ca=Ta||(Ta={})).back="back",Ca.forward="forward",Ca.unknown="";const Sa=/^[^#]+#/;function Ea(e,t){return e.replace(Sa,"#")+t}const ka=()=>({left:window.pageXOffset,top:window.pageYOffset});function Aa(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 Oa(e,t){return(history.state?history.state.position-t:-1)+e}const Ma=new Map;let Pa=()=>location.protocol+"//"+location.host;function Ia(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),ma(n,"")}return ma(n,e)+i+o}function La(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?ka():null}}function $a(e){const t=function(e){const{history:t,location:n}=window,i={value:Ia(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:Pa()+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=ca({},o.value,t.state,{forward:e,scroll:ka()});r(s.current,s,!0),r(e,ca({},La(i.value,e,null),{position:s.position+1},n),!1),i.value=e},replace:function(e,n){r(e,ca({},t.state,La(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=e}}}(e=function(e){if(!e)if(la){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),pa(e)}(e)),n=function(e,t,n,i){let o=[],r=[],s=null;const a=({state:r})=>{const a=Ia(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:wa.pop,direction:u?u>0?Ta.forward:Ta.back:Ta.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ca({},e.state,{scroll:ka()}),"")}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=ca({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ea.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 Ra(e){return"string"==typeof e||"symbol"==typeof e}const Ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Na=Symbol("");var Ba,Fa;function Da(e,t){return ca(new Error,{type:e,[Na]:!0},t)}function ja(e,t){return e instanceof Error&&Na in e&&(null==t||!!(e.type&t))}(Fa=Ba||(Ba={}))[Fa.aborted=4]="aborted",Fa[Fa.cancelled=8]="cancelled",Fa[Fa.duplicated=16]="duplicated";const Va="[^/]+?",za={sensitive:!1,strict:!1,start:!0,end:!0},Wa=/[.+*?^${}()[\]/\\]/g;function Ua(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Xa(e,t){let n=0;const i=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Ya={type:0,value:""},Ga=/[a-zA-Z0-9_]/;function Ka(e,t,n){const i=function(e,t){const n=ca({},za,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)}:da}function r(e){if(Ra(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||!il(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!el(e)&&i.set(e.record.name,e)}return t=nl({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 Da(1,{location:e});s=o.record.name,a=ca(Ja(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Ja(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 Da(1,{location:e,currentLocation:t});s=o.record.name,a=ca({},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:tl(l)}},removeRoute:r,getRoutes:function(){return n},getRecordMatcher:function(e){return i.get(e)}}}function Ja(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Qa(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 el(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tl(e){return e.reduce(((e,t)=>ca(e,t.meta)),{})}function nl(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function il(e,t){return t.children.some((t=>t===e||il(e,t)))}const ol=/#/g,rl=/&/g,sl=/\//g,al=/=/g,ll=/\?/g,cl=/\+/g,ul=/%5B/g,dl=/%5D/g,hl=/%5E/g,fl=/%60/g,pl=/%7B/g,gl=/%7C/g,ml=/%7D/g,vl=/%20/g;function yl(e){return encodeURI(""+e).replace(gl,"|").replace(ul,"[").replace(dl,"]")}function _l(e){return yl(e).replace(cl,"%2B").replace(vl,"+").replace(ol,"%23").replace(rl,"%26").replace(fl,"`").replace(pl,"{").replace(ml,"}").replace(hl,"^")}function bl(e){return null==e?"":function(e){return yl(e).replace(ol,"%23").replace(ll,"%3F")}(e).replace(sl,"%2F")}function wl(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function xl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let i=0;ie&&_l(e))):[i&&_l(i)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Cl(e){const t={};for(const n in e){const i=e[n];void 0!==i&&(t[n]=ha(i)?i.map((e=>null==e?null:""+e)):null==i?i:""+i)}return t}const Sl=Symbol(""),El=Symbol(""),kl=Symbol(""),Al=Symbol(""),Ol=Symbol("");function Ml(){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 Pl(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(Da(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(l=e)||l&&"object"==typeof l?a(Da(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 Il(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(Pl(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&&Pl(l,n,i,s,e)()}))))}}var r;return o}function Ll(e){const t=Ei(kl),n=Ei(Al),i=Jr((()=>t.resolve(Bn(e.to)))),o=Jr((()=>{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(va.bind(null,o));if(s>-1)return s;const a=Rl(e[t-2]);return t>1&&Rl(o)===a&&r[r.length-1].path!==a?r.findIndex(va.bind(null,e[t-2])):s})),r=Jr((()=>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(!ha(o)||o.length!==i.length||i.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,i.value.params))),s=Jr((()=>o.value>-1&&o.value===n.matched.length-1&&ya(n.params,i.value.params)));return{route:i,href:Jr((()=>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[Bn(e.replace)?"replace":"push"](Bn(e.to)).catch(da):Promise.resolve()}}}const $l=zi({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:Ll,setup(e,{slots:t}){const n=_n(Ll(e)),{options:i}=Ei(kl),o=Jr((()=>({[Hl(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=t.default&&t.default(n);return e.custom?i:Qr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function Rl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>null!=e?e:null!=t?t:n;function Nl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Bl=zi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Ei(Ol),o=Jr((()=>e.route||i.value)),r=Ei(El,0),s=Jr((()=>{let e=Bn(r);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Jr((()=>o.value.matched[s.value]));Si(El,Jr((()=>s.value+1))),Si(Sl,a),Si(Ol,o);const l=$n();return Oi((()=>[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&&va(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 Nl(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=Qr(c,ca({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[r]=null)},ref:l}));return Nl(n.default,{Component:h,route:i})||h}}});function Fl(e){const t=Za(e.routes,e),n=e.parseQuery||xl,i=e.stringifyQuery||Tl,o=e.history,r=Ml(),s=Ml(),a=Ml(),l=Rn(Ha);let c=Ha;la&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ua.bind(null,(e=>""+e)),d=ua.bind(null,bl),h=ua.bind(null,wl);function f(e,r){if(r=ca({},r||l.value),"string"==typeof e){const i=ga(n,e,r.path),s=t.resolve({path:i.path},r),a=o.createHref(i.fullPath);return ca(i,s,{params:h(s.params),hash:wl(i.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=ca({},e,{path:ga(n,e.path,r.path).path});else{const t=ca({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ca({},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,ca({},e,{hash:(p=c,yl(p).replace(pl,"{").replace(ml,"}").replace(hl,"^")),path:a.path}));var p;const g=o.createHref(f);return ca({fullPath:f,hash:c,query:i===Tl?Cl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function p(e){return"string"==typeof e?ga(n,e,l.value.path):ca({},e)}function g(e,t){if(c!==e)return Da(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={}),ca({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(ca(p(u),{state:"object"==typeof u?ca({},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&&va(t.matched[i],n.matched[o])&&ya(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(i,o,n)&&(h=Da(16,{to:d,from:o}),P(o,o,!0,!1)),(h?Promise.resolve(h):w(d,o)).catch((e=>ja(e)?ja(e,2)?e:M(e):O(e,d,o))).then((e=>{if(e){if(ja(e,2))return y(ca({replace:a},p(e.to),{state:"object"==typeof e.to?ca({},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=$.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;sva(e,r)))?i.push(r):n.push(r));const a=e.matched[s];a&&(t.matched.find((e=>va(e,a)))||o.push(a))}return[n,i,o]}(e,t);n=Il(i.reverse(),"beforeRouteLeave",e,t);for(const r of i)r.leaveGuards.forEach((i=>{n.push(Pl(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(Pl(i,e,t));return n.push(l),H(n)})).then((()=>{n=Il(o,"beforeRouteUpdate",e,t);for(const i of o)i.updateGuards.forEach((i=>{n.push(Pl(i,e,t))}));return n.push(l),H(n)})).then((()=>{n=[];for(const i of a)if(i.beforeEnter)if(ha(i.beforeEnter))for(const o of i.beforeEnter)n.push(Pl(o,e,t));else n.push(Pl(i.beforeEnter,e,t));return n.push(l),H(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Il(a,"beforeRouteEnter",e,t),n.push(l),H(n)))).then((()=>{n=[];for(const i of s.list())n.push(Pl(i,e,t));return n.push(l),H(n)})).catch((e=>ja(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===Ha,c=la?history.state:{};n&&(i||a?o.replace(e.fullPath,ca({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(!R.listening)return;const i=f(e),r=v(i);if(r)return void y(ca(r,{replace:!0}),i).catch(da);c=i;const s=l.value;var a,u;la&&(a=Oa(s.fullPath,n.delta),u=ka(),Ma.set(a,u)),w(i,s).catch((e=>ja(e,12)?e:ja(e,2)?(y(e.to,i).then((e=>{ja(e,20)&&!n.delta&&n.type===wa.pop&&o.go(-1,!1)})).catch(da),Promise.reject()):(n.delta&&o.go(-n.delta,!1),O(e,i,s)))).then((e=>{(e=e||T(i,s,!1))&&(n.delta&&!ja(e,8)?o.go(-n.delta,!1):n.type===wa.pop&&ja(e,20)&&o.go(-1,!1)),x(i,s,e)})).catch(da)})))}let E,k=Ml(),A=Ml();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(!la||!r)return Promise.resolve();const s=!i&&function(e){const t=Ma.get(e);return Ma.delete(e),t}(Oa(t.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return oi().then((()=>r(t,n,s))).then((e=>e&&Aa(e))).catch((e=>O(e,t,n)))}const I=e=>o.go(e);let L;const $=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let i,o;return Ra(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(ca(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!==Ha?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",$l),e.component("RouterView",Bl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Bn(l)}),la&&!L&&l.value===Ha&&(L=!0,m(o.location).catch((e=>{})));const t={};for(const i in Ha)Object.defineProperty(t,i,{get:()=>l.value[i],enumerable:!0});e.provide(kl,this),e.provide(Al,bn(t)),e.provide(Ol,l);const n=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(c=Ha,C&&C(),C=null,l.value=Ha,L=!1,E=!1),n()}}};function H(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return R}function Dl(){return Ei(Al)}const jl=je((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Vl;function zl(){if(!Vl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[ne]||__uniConfig.locale||navigator.language,Vl=aa(e),jl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Vl.add(e,__uniConfig.locales[e]))),Vl.setLocale(e)}}return Vl}function Wl(e,t,n){return t.reduce(((t,i,o)=>(t[e+i]=n[o],t)),{})}const Ul=je((()=>{const e="uni.async.",t=["error"];zl().add(Qs,Wl(e,t,["The connection timed out, click the screen to try again."]),!1),zl().add(ta,Wl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),zl().add(ea,Wl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),zl().add(Zs,Wl(e,t,["连接服务器超时,点击屏幕重试"]),!1),zl().add(Js,Wl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Xl=je((()=>{const e="uni.showToast.",t=["unpaired"];zl().add(Qs,Wl(e,t,["Please note showToast must be paired with hideToast"]),!1),zl().add(ta,Wl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),zl().add(ea,Wl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),zl().add(Zs,Wl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),zl().add(Js,Wl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),ql=je((()=>{const e="uni.showLoading.",t=["unpaired"];zl().add(Qs,Wl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),zl().add(ta,Wl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),zl().add(ea,Wl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),zl().add(Zs,Wl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),zl().add(Js,Wl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Yl=je((()=>{const e="uni.showModal.",t=["cancel","confirm"];zl().add(Qs,Wl(e,t,["Cancel","OK"]),!1),zl().add(ta,Wl(e,t,["Cancelar","OK"]),!1),zl().add(ea,Wl(e,t,["Annuler","OK"]),!1),zl().add(Zs,Wl(e,t,["取消","确定"]),!1),zl().add(Js,Wl(e,t,["取消","確定"]),!1)})),Gl=je((()=>{const e="uni.chooseFile.",t=["notUserActivation"];zl().add(Qs,Wl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),zl().add(ta,Wl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),zl().add(ea,Wl(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),zl().add(Zs,Wl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),zl().add(Js,Wl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Kl=je((()=>{const e="uni.setClipboardData.",t=["success","fail"];zl().add(Qs,Wl(e,t,["Content copied","Copy failed, please copy manually"]),!1),zl().add(ta,Wl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),zl().add(ea,Wl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),zl().add(Zs,Wl(e,t,["内容已复制","复制失败,请手动复制"]),!1),zl().add(Js,Wl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}));function Zl(e){const t=new rt;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 Jl="invokeViewApi",Ql="invokeServiceApi";let ec=1;const tc=Object.create(null);function nc(e,t){return e+"."+t}function ic({id:e,name:t,args:n},i){t=nc(i,t);const o=t=>{e&&cm.publishHandler(Jl+"."+e,t)},r=tc[t];r?r(n,o):o({})}const oc=b(Zl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:i,publishHandler:o}=cm,r=n?ec++:0;n&&i(Ql+"."+r,n,!0),o(Ql,{id:r,name:e,args:t})}}),rc=350,sc=10,ac=Xe(!0);let lc;function cc(){lc&&(clearTimeout(lc),lc=null)}let uc=0,dc=0;function hc(e){if(cc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];uc=t,dc=n,lc=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)}),rc)}function fc(e){if(!lc)return;if(1!==e.touches.length)return cc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-uc)>sc||Math.abs(n-dc)>sc?cc():void 0}function pc(e,t){const n=Number(e);return isNaN(n)?t:n}function gc(){const e=__uniConfig.globalStyle||{},t=pc(e.rpxCalcMaxDeviceWidth,960),n=pc(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 mc(){gc(),ze(),window.addEventListener("touchstart",hc,ac),window.addEventListener("touchmove",fc,ac),window.addEventListener("touchend",cc,ac),window.addEventListener("touchcancel",cc,ac)}function vc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yc,_c,bc=["top","left","right","bottom"],wc={};function xc(){return _c="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 Tc(){if(_c="string"==typeof _c?_c:xc()){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"}),bc.forEach((function(e){s(i,e)})),document.body.appendChild(i),r(),yc=!0}else bc.forEach((function(e){wc[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:_c+"(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){Sc.length||setTimeout((function(){var e={};Sc.forEach((function(t){e[t]=wc[t]})),Sc.length=0,Ec.forEach((function(t){t(e)}))}),0);Sc.push(e)}(n))}i.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)}));var u=getComputedStyle(i);Object.defineProperty(wc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Cc(e){return yc||Tc(),wc[e]}var Sc=[];var Ec=[];const kc=vc({get support(){return 0!=("string"==typeof _c?_c:xc()).length},get top(){return Cc("top")},get left(){return Cc("left")},get right(){return Cc("right")},get bottom(){return Cc("bottom")},onChange:function(e){xc()&&(yc||Tc(),"function"==typeof e&&Ec.push(e))},offChange:function(e){var t=Ec.indexOf(e);t>=0&&Ec.splice(t,1)}}),Ac=Vs((()=>{}),["prevent"]),Oc=Vs((()=>{}),["stop"]);function Mc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Pc(){const e=Mc(document.documentElement.style,"--window-top");return e?e+kc.top:0}function Ic(){const e=document.documentElement.style,t=Pc(),n=Mc(e,"--window-bottom"),i=Mc(e,"--window-left"),o=Mc(e,"--window-right"),r=Mc(e,"--top-window-height");return{top:t,bottom:n?n+kc.bottom:0,left:i?i+kc.left:0,right:o?o+kc.right:0,topWindowHeight:r||0}}function Lc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function $c(e){return Symbol(e)}function Rc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Hc(e,t=!1){if(t)return function(e){if(!Rc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>jd(parseFloat(t))+"px"))}(e);if(A(e)){const t=parseInt(e)||0;return Rc(e)?jd(t):t}return e}const Nc="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",Bc="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",Fc="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 Dc(e,t="#000",n=27){return Mr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Mr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function jc(){{const{$pageInstance:e}=Vr();return e&&e.proxy.$page.id}}function Vc(){const e=tp(),t=e.length;if(t)return e[t-1]}function zc(){const e=Vc();if(e)return e.$page.meta}function Wc(){const e=Vc();if(e)return e.$vm}const Uc=["navigationBar","pullToRefresh"];function Xc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),i=b({id:t},n,e);Uc.forEach((t=>{i[t]=b({},n[t],e[t])}));const{navigationBar:o}=i;return o.titleText&&o.titleImage&&(o.titleText=""),i}function qc(e,t,n){if(A(e))n=t,t=e,e=Wc();else if("number"==typeof e){const t=tp().find((t=>t.$page.id===e));e=t?t.$vm:Wc()}if(!e)return;const i=e.$[t];return i&&De(i,n)}function Yc(e){e.preventDefault()}let Gc,Kc=0;function Zc({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-Kc)>n;return!r||o&&!s?(!r&&o&&(o=!1),!1):(Kc=e,o=!0,!0)})())return t&&t(),r=!1,setTimeout((function(){r=!0}),350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(Gc=setTimeout(s,300))),i=!1};return function(){clearTimeout(Gc),i||requestAnimationFrame(s),i=!0}}function Jc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Jc(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),Fe(r.concat(n).join("/"))}function Qc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class eu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Ne(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&&Ne(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=ou(this.$el.querySelector(e));return t?tu(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];k(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&cm.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 tu(e,t=!0){if(t&&e&&(e=He(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new eu(e)),e.$el.__wxsComponentDescriptor}function nu(e,t){return tu(e,t)}function iu(e,t,n,i=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>nu(n.proxy,!1)}));const o=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const i=He(t);if(!i)return!1;const o=i.$.type;return!(!o.$wxs&&!o.$renderjs)&&i}(t,n,i);if(o)return[e,nu(o,!1)]}}function ou(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function ru(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function su(e,t=!1){const{type:n,timeStamp:i,target:o,currentTarget:r}=e,s={type:n,timeStamp:i,target:qe(t?o:ru(o)),detail:{},currentTarget:qe(r)};return e._stopped&&(s._stopped=!0),e.type.startsWith("touch")&&(s.touches=e.touches,s.changedTouches=e.changedTouches),function(e,t){b(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(s,e),s}function au(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function lu(e,t){const n=[];for(let i=0;i0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Pc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[au(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=Pc();r.touches=lu(e.touches,t),r.changedTouches=lu(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 iu(r,t,n)||[r]},createNativeEvent:su},Symbol.toStringTag,{value:"Module"});function uu(e){!function(e){const t=e.globalProperties;b(t,cu),t.$gcd=nu}(e._context.config)}let du=1;function hu(e){return(e||function(){const e=zc();return e?e.id:-1}())+"."+Jl}const fu=b(Zl("view"),{invokeOnCallback:(e,t)=>um.emit("api."+e,t),invokeViewMethod:(e,t,n,i)=>{const{subscribe:o,publishHandler:r}=um,s=i?du++:0;i&&o(Jl+"."+s,i,!0),r(hu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,i)=>{const{subscribe:o,unsubscribe:r,publishHandler:s}=um,a=du++,l=Jl+"."+a;return o(l,n),s(hu(i),{id:a,name:e,args:t},i),()=>{r(l)}}});function pu(e){qc(Vc(),ve,e),um.invokeOnCallback("onWindowResize",e)}function gu(e){const t=Vc();qc(Sp(),se,e),qc(t,se)}function mu(){qc(Sp(),ae),qc(Vc(),ae)}const vu=[_e,we];function yu(){vu.forEach((e=>um.subscribe(e,function(e){return(t,n)=>{qc(parseInt(n),e,t)}}(e))))}function _u(){!function(){const{on:e}=um;e(ve,pu),e(Ie,gu),e(Le,mu)}(),yu()}function bu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Je(this.$page.id)),e.eventChannel}}function wu(e){e._context.config.globalProperties.getOpenerEventChannel=bu}function xu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Tu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${jd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Cu(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(Tu)),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)?Tu(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 Su={props:["animation"],watch:{animation:{deep:!0,handler(){Cu(this)}}},mounted(){Cu(this)}},Eu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Su),ku(e)},ku=e=>(e.__reserved=!0,e.compatConfig={MODE:3},zi(e)),Au={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Ou(e){const t=$n(!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 Mu(e,t){return A(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function Pu(e){return e.__wwe=!0,e}function Iu(e,t){return(n,i,o)=>{e.value&&t(n,function(e,t,n,i){const o=qe(n);return{type:i.type||e,timeStamp:t.timeStamp||0,target:o,currentTarget:o,detail:i}}(n,i,e.value,o||{}))}}const Lu=$c("uf"),$u=$c("ul");function Ru(e,t,n){const i=jc();n&&!e||R(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&cm.on(`uni-${o}-${i}-${e}`,t[o]):0===o.indexOf("uni-")?cm.on(o,t[o]):e&&cm.on(`uni-${o}-${i}-${e}`,t[o])}))}function Hu(e,t,n){const i=jc();n&&!e||R(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&cm.off(`uni-${o}-${i}-${e}`,t[o]):0===o.indexOf("uni-")?cm.off(o,t[o]):e&&cm.off(`uni-${o}-${i}-${e}`,t[o])}))}const Nu=Eu({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=$n(null),i=Ei(Lu,!1),{hovering:o,binding:r}=Ou(e);zl();const s=Pu(((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=Ei($u,!1);return a&&(a.addHandler(s),po((()=>{a.removeHandler(s)}))),function(e,t){Ru(e.id,t),Oi((()=>e.id),((e,n)=>{Hu(n,t,!0),Ru(e,t,!0)})),go((()=>{Hu(e.id,t)}))}(e,{"label-click":s}),()=>{const i=e.hoverClass,a=Mu(e,"disabled"),l=Mu(e,"loading"),c=Mu(e,"plain"),u=i&&"none"!==i;return Mr("uni-button",Nr({ref:n,onClick:s,class:u&&o.value?i:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick"])}}});function Bu(e){const{base:t}=__uniConfig.router;return 0===Fe(e).indexOf(t)?Fe(e):t+e}function Fu(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 Bu(e.slice(1));e="https:"+e}if(ie.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const i=tp();return i.length?Bu(Jc(i[i.length-1].$page.route,e).slice(1)):e}const Du=navigator.userAgent,ju=/android/i.test(Du),Vu=/iphone|ipad|ipod/i.test(Du),zu=Du.match(/Windows NT ([\d|\d.\d]*)/i),Wu=/Macintosh|Mac/i.test(Du),Uu=/Linux|X11/i.test(Du),Xu=Wu&&navigator.maxTouchPoints>0;function qu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Yu(e){return e&&90===Math.abs(window.orientation)}function Gu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Ku(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Zu(e,t,n,i){um.invokeViewMethod("video."+e,{videoId:e,type:n,data:i},t)}function Ju(e,t){const n={},{top:i,topWindowHeight:o}=Ic();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=We(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(C(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(C(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 Qu(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 ed(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):Qu(r,n)?r:r.querySelector(n);return e?Ju(e,o):null}{let e=[];const t=(l?s:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Ju(t,o))})),!l&&Qu(r,n)&&e.unshift(Ju(r,o)),e}}(e,t,n,o,r))})),n(i)}const td=["original","compressed"],nd=["album","camera"],id=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function od(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function rd(e,t){return!C(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function sd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let ad=1;const ld={};function cd(e,t,n){if("number"==typeof e){const i=ld[e];if(i)return i.keepAlive||delete ld[e],i.callback(t,n)}return t}const ud="success",dd="fail",hd="complete";function fd(e,t={},{beforeAll:n,beforeSuccess:i}={}){R(t)||(t={});const{success:o,fail:r,complete:s}=function(e){const t={};for(const n in e){const i=e[n];k(i)&&(t[n]=sd(i),delete e[n])}return t}(t),a=k(o),l=k(r),c=k(s),u=ad++;return function(e,t,n,i=!1){ld[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),k(n)&&n(u),u.errMsg===e+":ok"?(k(i)&&i(u,t),a&&o(u)):l&&r(u),c&&s(u)})),u}const pd="success",gd="fail",md="complete",vd={},yd={};function _d(e,t){return function(n){return e(n,t)||n}}function bd(e,t,n){let i=!1;for(let o=0;oe(t),catch(){}}}function wd(e,t={}){return[pd,gd,md].forEach((n=>{const i=e[n];if(!C(i))return;const o=t[n];t[n]=function(e){bd(i,e,t).then((e=>k(o)&&o(e)||e))}})),t}function xd(e,t){const n=[];C(vd.returnValue)&&n.push(...vd.returnValue);const i=yd[e];return i&&C(i.returnValue)&&n.push(...i.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Td(e){const t=Object.create(null);Object.keys(vd).forEach((e=>{"returnValue"!==e&&(t[e]=vd[e].slice())}));const n=yd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Cd(e,t,n,i){const o=Td(e);if(o&&Object.keys(o).length){if(C(o.invoke)){return bd(o.invoke,n).then((n=>t(wd(Td(e),n),...i)))}return t(wd(o,n),...i)}return t(n,...i)}function Sd(e,t){return(n={},...i)=>function(e){return!(!R(e)||![ud,dd,hd].find((t=>k(e[t]))))}(n)?xd(e,Cd(e,t,n,i)):xd(e,new Promise(((o,r)=>{Cd(e,t,b(n,{success:o,fail:r}),i)})))}function Ed(e,t,n,i){return cd(e,b({errMsg:t+":fail"+(n?" "+n:"")},i))}function kd(e,t,n,i){if(i&&i.beforeInvoke){const e=i.beforeInvoke(t);if(A(e))return e}const o=function(e,t){const n=e[0];if(!t||!R(t.formatArgs)&&R(n))return;const i=t.formatArgs,o=Object.keys(i);for(let r=0;r{const o=fd(e,n,i),r=kd(0,[n],0,i);return r?Ed(o,e,r):t(n,{resolve:t=>function(e,t,n){return cd(e,b(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>Ed(o,e,function(e){return!e||A(e)?e:e.stack?(console.error(e.message+Q+e.stack),e.message):e}(t),n)})}}function Od(e,t,n,i){return Sd(e,Ad(e,t,0,i))}function Md(e,t,n,i){return function(e,t,n,i){return(...e)=>{const n=kd(0,e,0,i);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,i)}function Pd(e,t,n,i){return Sd(e,function(e,t,n,i){return Ad(e,t,0,i)}(e,t,0,i))}function Id(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let Ld=!1,$d=0,Rd=0,Hd=960,Nd=375,Bd=750;function Fd(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=qu(),t=Ku(Gu(e,Yu(e)));return{platform:Vu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();$d=n,Rd=t,Ld="ios"===e}function Dd(e,t){const n=Number(e);return isNaN(n)?t:n}const jd=Md(0,((e,t)=>{if(0===$d&&(Fd(),function(){const e=__uniConfig.globalStyle||{};Hd=Dd(e.rpxCalcMaxDeviceWidth,960),Nd=Dd(e.rpxCalcBaseDeviceWidth,375),Bd=Dd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||$d;n=e===Bd||n<=Hd?n:Nd;let i=e/750*n;return i<0&&(i=-i),i=Math.floor(i+1e-4),0===i&&(i=1!==Rd&&Ld?.5:1),e<0?-i:i})),Vd=new rt,zd=Md(0,((e,...t)=>{Vd.emit(e,...t)})),Wd=[.5,.8,1,1.25,1.5,2];const Ud=(e,t,n,i)=>{!function(e,t,n,i,o){um.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 Xd={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 qd(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(T(Xd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Xd[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 Yd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,qd(t)])}}class Gd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Kd{constructor(e){this.width=e}}let Zd=0,Jd={};function Qd(e,t,n,i){const o={options:i},r=i&&("success"in i||"fail"in i||"complete"in i);if(r){const e=String(Zd++);o.callbackId=e,Jd[e]=i}um.invokeViewMethod(`editor.${e}`,{type:n,data:o},t,(({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},A(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?k(e.success)&&e.success(t):k(e.fail)&&e.fail(t),k(e.complete)&&e.complete(t)}(Jd[e],t),delete Jd[e])}))}const eh={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){um.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 Yd("linear",[e,t,n,i])}createCircularGradient(e,t,n){return new Yd("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 Gd(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 Kd(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){Ud(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Ud(this.id,this.pageId,"moveToLocation",e)}getScale(e){Ud(this.id,this.pageId,"getScale",e)}getRegion(e){Ud(this.id,this.pageId,"getRegion",e)}includePoints(e){Ud(this.id,this.pageId,"includePoints",e)}translateMarker(e){Ud(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Ud(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Ud(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Ud(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Ud(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Ud(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Ud(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Ud(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Ud(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Ud(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Ud(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Ud(this.id,this.pageId,"openMapApp",e)}on(e){Ud(this.id,this.pageId,"on",e)}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){Zu(this.id,this.pageId,"play")}pause(){Zu(this.id,this.pageId,"pause")}stop(){Zu(this.id,this.pageId,"stop")}seek(e){Zu(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Zu(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Wd.indexOf(e)||(e=1),Zu(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Zu(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Zu(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Zu(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Zu(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){Qd(this.id,this.pageId,e,t)}}};function th(e){if(e&&e.contextInfo){const{id:t,type:n,page:i}=e.contextInfo,o=eh[n];e.context=new o(t,i),delete e.contextInfo}}class nh{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 ih{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return ed(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{C(e)?e.forEach(th):th(e);const i=n[t];k(i)&&i.call(this,e)})),k(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=Re(e),this}select(e){return this._nodesRef=new nh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new nh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new nh(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 oh=Md(0,(e=>((e=Re(e))&&!function(e){const t=Re(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}(e)&&(e=null),new ih(e||Wc())))),rh=Md(0,(()=>{const e=Sp();return e&&e.$vm?e.$vm.$locale:zl().getLocale()})),sh={[he]:[],[de]:[],[ce]:[],[se]:[],[ae]:[]};const ah={formatArgs:{showToast:!0},beforeInvoke(){Kl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=zl(),i=n("uni.setClipboardData.success");i&&Kg({title:i,icon:"success",mask:!1})}},lh=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=rd(e,td)},sourceType(e,t){t.sourceType=rd(e,nd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),ch={formatArgs:{urls(e,t){t.urls=e.map((e=>A(e)&&e?Fu(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(T(t,a)){let e=t[a];null==e?e="":R(e)&&(e=JSON.stringify(e)),s[hh(a)]=hh(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!==id[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||uh).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===dh.indexOf(t.responseType)&&(t.responseType="text")}}};const ph={url:{type:String,required:!0}},gh="navigateTo",mh="redirectTo",vh="reLaunch",yh="switchTab",_h="preloadPage",bh="unPreloadPage",wh=(Eh(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Eh(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Oh(gh)),xh=Oh(mh),Th=Oh(vh),Ch=Oh(yh),Sh={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(tp().length-1,e)}}};function Eh(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 kh;function Ah(){kh=""}function Oh(e){return{formatArgs:{url:Mh(e)},beforeAll:Ah}}function Mh(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=tp();return n.length&&(t=n[n.length-1].$page.route),Jc(t,e)}(t)).split("?")[0],o=Qc(i,!0);if(!o)return"page `"+t+"` is not found";if(e===gh||e===mh){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===yh&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==yh&&e!==_h||!o.meta.isTabBar||"appLaunch"===n.openType||(t=i),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if(!A(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!==bh)if(e!==_h){if(kh===t&&"appLaunch"!==n.openType)return`${kh} locked`;__uniConfig.ready&&(kh=t)}else if(o.meta.isTabBar){const e=tp(),t=o.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Ph="setNavigationBarTitle",Ih=(Boolean,{formatArgs:{title:"",mask:!1}}),Lh=(Boolean,{beforeInvoke(){Yl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!T(t,"cancelText")){const{t:e}=zl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!T(t,"confirmText")){const{t:e}=zl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),$h=["success","loading","none","error"],Rh=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=od(e,$h)},image(e,t){t.image=e?Fu(e):""},duration:1500,mask:!1}}),Hh={};function Nh(e){for(const n in Hh)if(T(Hh,n)){if(Hh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Hh[t]=e,t}const Bh=xu(),Fh=xu();const Dh=Eu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=$n(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=_n({width:-1,height:-1});return Oi((()=>b({},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){Ji(i),uo((()=>{t.initial&&oi(n);const o=e.value;o.offsetParent!==o.parentElement&&(o.parentElement.style.position="relative"),"AnimationEvent"in window||i()}))}(n,e,o,i),()=>Mr("uni-resize-sensor",{ref:n,onAnimationstartOnce:o},[Mr("div",{onScroll:o},[Mr("div",null,null)],40,["onScroll"]),Mr("div",{onScroll:o},[Mr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const jh={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Vh={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},zh={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},Wh=Eu({name:"Image",props:jh,setup(e,{emit:t}){const n=$n(null),i=function(e,t){const n=$n(""),i=Jr((()=>{let e="auto",i="";const o=zh[t.mode];return o?(o[0]&&(i=o[0]),o[1]&&(e=o[1])):(i="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${i};background-size:${e};`})),o=_n({rootEl:e,src:Jr((()=>t.src?Fu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:n});return uo((()=>{const t=e.value.style;o.origWidth=Number(t.width)||0,o.origHeight=Number(t.height)||0})),o}(n,e),o=Iu(n,t),{fixSize:r}=function(e,t,n){const i=()=>{const{mode:i}=t,o=Vh[i];if(!o)return;const{origWidth:r,origHeight:s}=n,a=r&&s?r/s:0;if(!a)return;const l=e.value,c=l[o[0]];c&&(l.style[o[1]]=function(e){Uh&&e>10&&(e=2*Math.round(e/2));return e}(o[2](c,a))+"px")},o=()=>{const{style:t}=e.value,{origStyle:{width:i,height:o}}=n;t.width=i,t.height=o};return Oi((()=>t.mode),((e,t)=>{Vh[t]&&o(),Vh[e]&&i()})),{fixSize:i,resetSize:o}}(n,e,i);return function(e,t,n,i,o){let r,s;const a=(t=0,n=0,i="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=i},l=l=>{if(!l)return c(),void a();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;a(u,d,l),i(),r.draggable=t.draggable,s&&s.remove(),s=r,n.value.appendChild(r),c(),o("load",e,{width:u,height:d})},r.onerror=t=>{a(),c(),o("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};Oi((()=>e.src),(e=>l(e))),Oi((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),uo((()=>l(e.src))),po((()=>c()))}(i,e,n,r,o),()=>Mr("uni-image",{ref:n},[Mr("div",{style:i.modeStyle},null,4),Vh[e.mode]?Mr(Dh,{onResize:r},null,8,["onResize"]):Mr("span",null,null)],512)}});const Uh="Google Inc."===navigator.vendor;const Xh=Xe(!0),qh=[];let Yh,Gh=0;const Kh=e=>qh.forEach((t=>t.userAction=e));const Zh=["class","style"],Jh=/^on[A-Z]+/,Qh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=Vr(),o=Rn({}),r=Rn({}),s=Rn({}),a=n.concat(Zh);return i.attrs=_n(i.attrs),ki((()=>{const e=(n=i.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,i])=>(a.includes(n)?e.exclude[n]=i:Jh.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 ef(e){const t=[];return C(e)&&e.forEach((e=>{Cr(e)?e.type===fr?t.push(...ef(e.children)):t.push(e):C(e)&&t.push(...ef(e))})),t}const tf=Eu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=$n(null),i=$n(!1);let{setContexts:o,events:r}=function(e,t){const n=$n(0),i=$n(0),o=_n({x:null,y:null}),r=$n(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=nf(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=Pu((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(nf(n)/r.value)}o.x=n.x,o.y=n.y}})),h=Pu((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 Si("movableAreaWidth",n),Si("movableAreaHeight",i),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Qh(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n})),uo((()=>{r._resize(),i.value=!0}));let u=[];const d=[];function h(){const e=[];for(let t=0;tn===e.rootRef.value));i&&e.push(An(i))}o(e)}return Si("_isMounted",i),Si("movableAreaRootRef",n),Si("addMovableViewContext",(e=>{d.push(e),h()})),Si("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())})),()=>{const e=t.default&&t.default();return u=ef(e),Mr("uni-movable-area",Nr({ref:n},a.value,l.value,c),[Mr(Dh,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function nf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const of=function(e,t,n,i){e.addEventListener(t,(e=>{k(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let rf,sf;function af(e,t,n){po((()=>{document.removeEventListener("mousemove",rf),document.removeEventListener("mouseup",sf)}));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;of(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)})),of(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)})),of(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=rf=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),of(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=sf=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),of(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 lf(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}},df.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}},df.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}},df.prototype.dt=function(){return-this._x_v/this._x_a},df.prototype.done=function(){const e=lf(this.s().x,this._endPositionX)||lf(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},df.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},df.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},hf.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)}}},hf.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},hf.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},hf.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!cf(t,.1)){t=t||0;let i=this._endPosition;this._solution&&(cf(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),cf(t,.1)&&(t=0),cf(i,.1)&&(i=0),i+=this._endPosition),this._solution&&cf(i-e,.1)&&cf(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},hf.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},hf.prototype.done=function(e){return e||(e=(new Date).getTime()),lf(this.x(),this._endPosition,.1)&&cf(this.dx(),.1)},hf.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())},hf.prototype.springConstant=function(){return this._k},hf.prototype.damping=function(){return this._c},hf.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}]},ff.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},ff.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)}},ff.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},ff.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 pf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const gf=Eu({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=$n(null),o=Iu(i,n),{setParent:r}=function(e,t,n){const i=Ei("_isMounted",$n(!1)),o=Ei("addMovableViewContext",(()=>{})),r=Ei("removeMovableViewContext",(()=>{}));let s,a,l=$n(1),c=$n(1),u=$n(!1),d=$n(0),h=$n(0),f=null,p=null,g=!1,m=null,v=null;const y=new uf,_=new uf,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Jr((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new df(1,w.value);Oi((()=>e.disabled),(()=>{U()}));const{_updateOldScale:T,_endScale:C,_setScale:S,scaleValueSync:E,_updateBoundary:k,_updateOffset:A,_updateWH:O,_scaleOffset:M,minX:P,minY:I,maxX:L,maxY:$,FAandSFACancel:R,_getLimitXY:H,_setTransform:N,_revise:B,dampingNumber:F,xMove:D,yMove:j,xSync:V,ySync:z,_STD:W}=function(e,t,n,i,o,r,s,a,l,c){const u=Jr((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Jr((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),h=$n(Number(e.scaleValue)||1);Oi(h,(e=>{N(e)})),Oi(u,(()=>{H()})),Oi(d,(()=>{H()})),Oi((()=>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=Ei("movableAreaWidth",$n(0)),o=Ei("movableAreaHeight",$n(0)),r=Ei("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=$n(0),c=$n(0),u=$n(0),d=$n(0),h=$n(0),f=$n(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=yf(e.value,r.value),s.y=_f(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,R),{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=Jr((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Jr((()=>"all"===t.direction||"horizontal"===t.direction)),m=Jr((()=>"all"===t.direction||"vertical"===t.direction)),v=$n(wf(t.x)),y=$n(wf(t.y));Oi((()=>t.x),(e=>{v.value=wf(e)})),Oi((()=>t.y),(e=>{y.value=wf(e)})),Oi(v,(e=>{S(e)})),Oi(y,(e=>{E(e)}));const _=new ff(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),i$.value&&(e.outOfBounds?(o="touch-out-of-bounds",i=$.value+_.x(i-$.value)):i=$.value),vf((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),a$.value&&(a=$.value,s=n+($.value-i)*o/r),x.setEnd(s,a),p=bf(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||R()}function Y(){if(!i.value)return;R();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 uo((()=>{af(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":X(e);break;case"end":q()}})),Y(),x.reconfigure(1,w.value),W.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),go((()=>{r(e)}))})),go((()=>{R()})),{setParent:Y}}(e,o,i);return()=>Mr("uni-movable-view",{ref:i},[Mr(Dh,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let mf=!1;function vf(e){mf||(mf=!0,requestAnimationFrame((function(){e(),mf=!1})))}function yf(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=yf(e.offsetParent,t):0}function _f(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=_f(e.offsetParent,t):0}function bf(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 wf(e){return/\d+[ur]px$/i.test(e)?jd(parseFloat(e)):Number(e)||0}const xf=["navigate","redirect","switchTab","reLaunch","navigateBack"],Tf=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Cf=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Sf={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~xf.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||Tf.concat(Cf).includes(e)},animationDuration:{type:[String,Number],default:300}};b({},Sf,{renderLink:{type:Boolean,default:!0}});function Ef(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=Jr((()=>n.value.length>t.displayMultipleItems)),y=Jr((()=>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))})),Oi((()=>t.interval),(()=>{c&&(s(),C())})),Oi((()=>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)})),Oi((()=>t.currentItemId),(e=>{o("update:currentItemId",e)})),Oi((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),uo((()=>{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))}af(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}}}))})),go((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const kf=Eu({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=$n(null),o=Iu(i,n),r=$n(null),s=$n(null),a=function(e){return _n({interval:Jr((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Jr((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Jr((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Jr((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Hc(e.previousMargin,!0),bottom:Hc(e.nextMargin,!0)}:{top:0,bottom:0,left:Hc(e.previousMargin,!0),right:Hc(e.nextMargin,!0)}),t})),c=Jr((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],h=$n([]);function f(){const e=[];for(let t=0;tn===e.rootRef.value));i&&e.push(An(i))}h.value=e}Si("addSwiperContext",(function(e){d.push(e),f()}));Si("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:p,circularEnabled:g,swiperEnabled:m}=Ef(e,a,h,s,n,o);let v=()=>null;return v=Af(i,e,a,p,h,g,m),()=>{const n=t.default&&t.default();return u=ef(n),Mr("uni-swiper",{ref:i},[Mr("div",{ref:r,class:"uni-swiper-wrapper"},[Mr("div",{class:"uni-swiper-slides",style:l.value},[Mr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Mr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map(((t,n,i)=>Mr("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=$n(!1);function d(e,n){const i=e.currentTarget;i&&(i.style.backgroundColor="over"===n?t.navigationActiveColor:"")}ki((()=>{a="auto"===t.navigation,u.value=!0!==t.navigation||a,y()})),ki((()=>{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=()=>Dc(Fc,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 y(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",v),a&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",v)))}return uo(y),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Mr(fr,null,[Mr("div",Nr({class:["uni-swiper-navigation uni-swiper-navigation-prev",b({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},h),[p()],16,["onClick"]),Mr("div",Nr({class:["uni-swiper-navigation uni-swiper-navigation-next",b({"uni-swiper-navigation-disabled":c},e)],onClick:e=>f(e,"next",c)},h),[p()],16,["onClick"])]):null}},Of=Eu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=$n(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 uo((()=>{const e=Ei("addSwiperContext");e&&e(i)})),go((()=>{const e=Ei("removeSwiperContext");e&&e(i)})),()=>Mr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Mf={ensp:" ",emsp:" ",nbsp:" "};function Pf(e,t){return e.replace(/\\n/g,Q).split(Q).map((e=>function(e,{space:t,decode:n}){if(!e)return e;t&&Mf[t]&&(e=e.replace(/ /g,Mf[t]));if(!n)return e;return e.replace(/ /g,Mf.nbsp).replace(/ /g,Mf.ensp).replace(/ /g,Mf.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}(e,t)))}const If=Eu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup:(e,{slots:t})=>()=>{const n=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==gr){const i=Pf(t.children,{space:e.space,decode:e.decode}),o=i.length-1;i.forEach(((e,t)=>{(0!==t||e)&&n.push(Ir(e)),t!==o&&n.push(Mr("br"))}))}else n.push(t)})),Mr("uni-text",{selectable:!!e.selectable||null},[Mr("span",null,n)],8,["selectable"])}}),Lf=Eu({name:"View",props:b({},Au),setup(e,{slots:t}){const{hovering:n,binding:i}=Ou(e);return()=>{const o=e.hoverClass;return o&&"none"!==o?Mr("uni-view",Nr({class:n.value?o:""},i),[t.default&&t.default()],16):Mr("uni-view",null,[t.default&&t.default()])}}});function $f(e,t,n,i){k(t)&&ao(e,t.bind(n),i)}function Rf(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&&!k(t))&&(tt.indexOf(e)>-1||0===e.indexOf("on"))}(i,e[i],!1)){const o=e[i];C(o)?o.forEach((e=>$f(i,e,n,t))):$f(i,o,n,t)}})),"page"===o)){t.__isVisible=!0;try{qc(n,fe,t.attrs.__pageQuery),delete t.attrs.__pageQuery,"preloadPage"!==(null==(i=n.$page)?void 0:i.openType)&&qc(n,se)}catch(r){console.error(r.message+Q+r.stack)}}}function Hf(e,t,n){Rf(e,t,n)}function Nf(e,t,n){return e[t]=n}function Bf(e){return function(t,n,i){if(!n)throw t;const o=e._instance;if(!o||!o.proxy)throw t;qc(o.proxy,ce,t)}}function Ff(e,t){return e?[...new Set([].concat(e,t))]:t}function Df(e){const t=e._context.config;var n;t.errorHandler=it(e,Bf),n=t.optionMergeStrategies,tt.forEach((e=>{n[e]=Ff}));const i=t.globalProperties;i.$set=Nf,i.$applyOptions=Hf,function(e){nt.forEach((t=>t(e)))}(e)}const jf=$c("upm");function Vf(){return Ei(jf)}function zf(e){const t=function(e){return _n(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!==tp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Xc(Dl().meta,e)))))}(e);return Si(jf,t),t}function Wf(){return Dl()}function Uf(){return history.state&&history.state.__id__||1}const Xf=window.CSS&&window.CSS.supports;function qf(e){return Xf&&(Xf(e)||Xf.apply(window.CSS,e.split(":")))}const Yf=qf("top:env(a)"),Gf=qf("top:constant(a)"),Kf=(()=>Yf?"env":Gf?"constant":"")();function Zf(e){let t=0;var n,i;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=ee),Lc({"--window-top":(i=t,Kf?`calc(${i}px + ${Kf}(safe-area-inset-top))`:`${i}px`),"--window-bottom":(n=0,Kf?`calc(${n}px + ${Kf}(safe-area-inset-bottom))`:`${n}px`)})}const Jf="$$",Qf=new Map;function ep(){return Qf}function tp(){const e=[],t=Qf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function np(e,t=!0){const n=Qf.get(e);n.$.__isUnload=!0,qc(n,pe),Qf.delete(e),t&&function(e){const t=ap.get(e);t&&(ap.delete(e),lp.pruneCacheEntry(t))}(e)}let ip=Uf();function op(e){const t=Vf();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=at(i.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:Fe(a),route:a,fullPath:t,options:n,meta:i,openType:e,eventChannel:o,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function rp(e){const t=op(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),Qf.set(sp(t.path,t.id),e)}function sp(e,t){return e+Jf+t}const ap=new Map,lp={get:e=>ap.get(e),set(e,t){!function(e){const t=parseInt(e.split(Jf)[1]);if(!t)return;lp.forEach(((e,n)=>{const i=parseInt(n.split(Jf)[1]);i&&i>t&&(lp.delete(n),lp.pruneCacheEntry(e),oi((()=>{Qf.forEach(((e,t)=>{e.$.isUnmounted&&Qf.delete(t)}))})))}))}(e),ap.set(e,t)},delete(e){ap.get(e)&&ap.delete(e)},forEach(e){ap.forEach(e)}};function cp(e,t){!function(e){const t=dp(e),{body:n}=document;hp&&n.removeAttribute(hp),t&&n.setAttribute(t,""),hp=t}(e),Zf(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",Yc),fp&&document.removeEventListener("scroll",fp);if(t.disableScroll)return document.addEventListener("touchmove",Yc);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&&cm.publishHandler(_e,{scrollTop:i},e),n&&cm.emit(e+"."+_e,{scrollTop:i})}}(s,n,o));i&&(r.onReachBottomDistance=t.onReachBottomDistance||te,r.onReachBottom=()=>cm.publishHandler(we,{},s));fp=Zc(r),requestAnimationFrame((()=>document.addEventListener("scroll",fp)))}(e,t)}function up(e){const t=dp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function dp(e){return e.type.__scopeId}let hp,fp;function pp(e){const t=Fl({history:mp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:gp});e.router=t,e.use(t)}const gp=(e,t,n)=>{if(n)return n};function mp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),$a(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=tp(),n=t.length-1,i=n-e;for(let o=n;o>i;o--){const e=t[o].$page;np(sp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const vp={install(e){Df(e),uu(e),wu(e),e.config.warnHandler||(e.config.warnHandler=yp),pp(e)}};function yp(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 _p={class:"uni-async-loading"},bp=Mr("i",{class:"uni-loading"},null,-1),wp=ku({name:"AsyncLoading",render:()=>(_r(),Tr("div",_p,[bp]))});function xp(){window.location.reload()}const Tp=ku({name:"AsyncError",setup(){Ul();const{t:e}=zl();return()=>Mr("div",{class:"uni-async-error",onClick:xp},[e("uni.async.error")],8,["onClick"])}});let Cp;function Sp(){return Cp}function Ep(e){Cp=e,Object.defineProperty(Cp.$.ctx,"$children",{get:()=>tp().map((e=>e.$vm))});const t=Cp.$.appContext.app;t.component(wp.name)||t.component(wp.name,wp),t.component(Tp.name)||t.component(Tp.name,Tp),function(e){e.$vm=e,e.$mpType="app";const t=$n(zl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Cp),function(e,t){const n=e.$options||{};n.globalData=b(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Cp),_u(),mc()}function kp(e,{clone:t,init:n,setup:i,before:o}){t&&(e=b({},e)),o&&o(e);const r=e.setup;return e.setup=(e,t)=>{const o=Vr();n(o.proxy);const s=i(o);if(r)return r(s||e,t)},e}function Ap(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?kp(e.default,t):kp(e,t)}function Op(e){return Ap(e,{clone:!0,init:rp,setup(e){e.$pageInstance=e;const t=Wf(),n=Ge(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n;const i=Vf();var o,r,s;return co((()=>{cp(e,i)})),uo((()=>{up(e);const{onReady:n}=e;n&&X(n),Lp(t)})),eo((()=>{if(!e.__isVisible){cp(e,i),e.__isVisible=!0;const{onShow:n}=e;n&&X(n),oi((()=>{Lp(t)}))}}),"ba",o),function(e,t){eo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&X(t)}})),r=i.id,cm.subscribe(nc(r,Jl),s?s(ic):ic),po((()=>{!function(e){cm.unsubscribe(nc(e,Jl)),Object.keys(tc).forEach((t=>{0===t.indexOf(e+".")&&delete tc[t]}))}(i.id)})),n}})}function Mp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:i}=Xp(),o=90===Math.abs(Number(window.orientation))?"landscape":"portrait";um.emit(ve,{deviceOrientation:o,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:i}})}function Pp(e){R(e.data)&&e.data.type===re&&um.emit($e,e.data.data,e.data.pageId)}function Ip(){const{emit:e}=um;"visible"===document.visibilityState?e(Ie,b({},Fh)):e(Le)}function Lp(e){const{tabBarText:t,tabBarIndex:n,route:i}=e.meta;t&&qc("onTabItemTap",{index:n,text:t,pagePath:i})}const $p="__DC_STAT_UUID",Rp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Hp;function Np(){if(Hp=Hp||Rp[$p],!Hp){Hp=Date.now()+""+Math.floor(1e7*Math.random());try{Rp[$p]=Hp}catch(e){}}return Hp}function Bp(){if(!0!==__uniConfig.darkmode)return A(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Fp(){let e,t="0",n="",i="phone";const o=navigator.language;if(Vu){e="iOS";const i=Du.match(/OS\s([\w_]+)\slike/);i&&(t=i[1].replace(/_/g,"."));const o=Du.match(/\(([a-zA-Z]+);/);o&&(n=o[1])}else if(ju){e="Android";const i=Du.match(/Android[\s/]([\w\.]+)[;\s]/);i&&(t=i[1]);const o=Du.match(/\((.+?)\)/),r=o?o[1].split(";"):Du.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=qu(),n=Yu(t),i=Gu(t,n),o=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=Ku(i);let s=window.innerHeight;const a=kc.top,l={left:kc.left,right:r-kc.right,top:kc.top,bottom:s-kc.bottom,width:r-kc.left-kc.right,height:s-kc.top-kc.bottom},{top:c,bottom:u}=Ic();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:kc.top,right:kc.right,bottom:kc.bottom,left:kc.left},screenTop:o-s}}));let jp,Vp=!0;function zp(){Vp&&(jp=Fp())}const Wp=Md(0,(()=>{zp();const{deviceBrand:e,deviceModel:t,brand:n,model:i,platform:o,system:r,deviceOrientation:s,deviceType:a}=jp;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Np(),deviceOrientation:s,deviceType:a,model:i,platform:o,system:r}})),Up=Md(0,(()=>{zp();const{theme:e,language:t,browserName:n,browserVersion:i}=jp;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:rh?rh():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:""}})),Xp=Md(0,(()=>{Vp=!0,zp(),Vp=!1;const e=Dp(),t=Wp(),n=Up();Vp=!0;const{ua:i,browserName:o,browserVersion:r,osname:s,osversion:a}=jp,l=b(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 R(e)&&Object.keys(e).sort().forEach((n=>{const i=n;t[i]=e[i]})),Object.keys(t)?t:e}(l)}));const qp=Pd("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,ah);const Yp=Md(0,((e,t)=>{const n=typeof t,i="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,i)}));function Gp(e){const t=localStorage&&localStorage.getItem(e);if(!A(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=A(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 Kp=Md(0,(e=>{try{return Gp(e)}catch(t){return""}})),Zp=Md(0,(e=>{localStorage&&localStorage.removeItem(e)})),Jp=Md(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())})),eg={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 tg({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}/${eg[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(!Yh){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Gh&&Kh(!0),Gh++,setTimeout((()=>{! --Gh&&Kh(!1)}),0)}),Xh)})),Yh=!0}qh.push(e)}();let ng=null;const ig=Pd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:i,reject:o})=>{Gl();const{t:r}=zl();ng&&(document.body.removeChild(ng),ng=null),ng=tg({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(ng),ng.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||Nh(t),r)}),ie))},tempFiles:o})})),ng.click(),Gh||console.warn(r("uni.chooseFile.notUserActivation"))}),0,lh),og={esc:["Esc","Escape"],enter:["Enter"]},rg=Object.keys(og);const sg=Mr("div",{class:"uni-mask"},null,-1);function ag(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),qs(zi({setup:()=>()=>(_r(),Tr(e,t,null,16))}))}function lg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function cg(e,{onEsc:t,onEnter:n}){const i=$n(e.visible),{key:o,disable:r}=function(){const e=$n(""),t=$n(!1),n=n=>{if(t.value)return;const i=rg.find((e=>-1!==og[e].indexOf(n.key)));i&&(e.value=i),oi((()=>e.value=""))};return uo((()=>{document.addEventListener("keyup",n)})),po((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Oi((()=>e.visible),(e=>i.value=e)),Oi((()=>i.value),(e=>r.value=!e)),ki((()=>{const{value:e}=o;"esc"===e?t&&t():"enter"===e&&n&&n()})),i}let ug=0,dg="";function hg(e){let t=ug;ug+=e?1:-1,ug=Math.max(0,ug),ug>0?0===t&&(dg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=dg,dg="")}const fg=ku({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=_n({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 Mr(tf,{style:n,onTouchstart:Pu(c),onTouchmove:Pu(d),onTouchend:Pu(u)},{default:()=>[Mr(gf,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[Mr("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 pg(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const gg=ku({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){uo((()=>hg(!0))),go((()=>hg(!1)));const n=$n(null),i=$n(pg(e));let o;function r(){o||oi((()=>{t("close")}))}function s(e){i.value=e.detail.current}Oi((()=>e.current),(()=>i.value=pg(e))),uo((()=>{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 Mr("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},[Mr(kf,{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=>Mr(Of,null,{default:()=>[Mr(fg,{src:e},null,8,["src"])]}))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!Cr(o)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Mr("div",{style:a},[Dc("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 mg,vg=null;const yg=()=>{vg=null,oi((()=>{null==mg||mg.unmount(),mg=null}))},_g=Pd("previewImage",((e,{resolve:t})=>{vg?b(vg,e):(vg=_n(e),oi((()=>{mg=ag(gg,vg,yg),mg.mount(lg("u-a-p"))}))),t()}),0,ch),bg=Od("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(A(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)T(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,f=new wg(h);h.open(i,e);for(const m in n)T(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:xg(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(p),c("abort")},h.onerror=function(){clearTimeout(p),c()},h.withCredentials=s,h.send(u),f}),0,fh);class wg{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 xg(e){const t={};return e.split(Q).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}const Tg=Pd("navigateBack",((e,{resolve:t,reject:n})=>{let i=!0;return!0===qc(ye,{from:e.from||"navigateBack"})&&(i=!1),i?(Sp().$router.go(-e.delta),t()):n(ye)}),0,Sh);function Cg({type:e,url:t,tabBarText:n,events:i},o){const r=Sp().$router,{path:s,query:a}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ze(n||"")}}(t);return new Promise(((t,l)=>{const c=function(e,t){return{__id__:t||++ip,__type__:e}}(e,o);r["navigateTo"===e?"push":"replace"]({path:s,query:a,state:c,force:!0}).then((o=>{if(ja(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 Je(c.__id__,i),t({eventChannel:e.eventChannel})}return t()}))}))}const Sg=Pd(gh,(({url:e,events:t},{resolve:n,reject:i})=>Cg({type:gh,url:e,events:t}).then(n).catch(i)),0,wh);const Eg=Pd(mh,(({url:e},{resolve:t,reject:n})=>(function(){const e=Vc();if(!e)return;const t=e.$page;np(sp(t.path,t.id))}(),Cg({type:mh,url:e}).then(t).catch(n))),0,xh);const kg=Pd(vh,(({url:e},{resolve:t,reject:n})=>(function(){const e=ep().keys();for(const t of e)np(t)}(),Cg({type:vh,url:e}).then(t).catch(n))),0,Th);function Ag(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const Og=Pd(yh,(({url:e,tabBarText:t},{resolve:n,reject:i})=>(function(){const e=Wc();if(!e)return;const t=ep(),n=t.keys();for(const i of n){const e=t.get(i);e.$.__isTabBar?e.$.__isActive=!1:np(i)}e.$.__isTabBar&&(e.$.__isVisible=!1,qc(e,ae))}(),Cg({type:yh,url:e,tabBarText:t},function(e){const t=ep().values();for(const n of t){const t=n.$page;if(Ag(e,t))return n.$.__isActive=!0,t.id}}(e)).then(n).catch(i))),0,Ch);function Mg(e){__uniConfig.darkmode&&um.on(ue,e)}function Pg(e){um.off(ue,e)}function Ig(e){let t={};return __uniConfig.darkmode&&(t=at(e,__uniConfig.themeConfig,Bp())),__uniConfig.darkmode?t:e}const Lg={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},$g=zi({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=$n(""),i=()=>s.value=!1,o=()=>(i(),t("close","cancel")),r=()=>(i(),t("close","confirm",n.value)),s=cg(e,{onEsc:o,onEnter:()=>{!e.editable&&r()}}),a=function(e){const t=$n(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Lg[e].cancelColor})(e,t)};return ki((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Bp()&&n({theme:"dark"}),Mg(n))):Pg(n)})),t}(e);return()=>{const{title:t,content:i,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=i,Mr(As,{name:"uni-fade"},{default:()=>[bo(Mr("uni-modal",{onTouchmove:Ac},[sg,Mr("div",{class:"uni-modal"},[t&&Mr("div",{class:"uni-modal__hd"},[Mr("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),d?Mr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:i,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Mr("div",{class:"uni-modal__bd",onTouchmovePassive:Oc,textContent:i},null,40,["onTouchmovePassive","textContent"]),Mr("div",{class:"uni-modal__ft"},[l&&Mr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:o},[e.cancelText],12,["onClick"]),Mr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[zs,s.value]])]})}}});let Rg;const Hg=je((()=>{um.on("onHidePopup",(()=>Rg.visible=!1))}));let Ng;function Bg(e,t){const n="confirm"===e,i={confirm:n,cancel:"cancel"===e};n&&Rg.editable&&(i.content=t),Ng&&Ng(i)}const Fg=Pd("showModal",((e,{resolve:t})=>{Hg(),Ng=t,Rg?(b(Rg,e),Rg.visible=!0):(Rg=_n(e),oi((()=>(ag($g,Rg,Bg).mount(lg("u-a-m")),oi((()=>Rg.visible=!0))))))}),0,Lh),Dg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==$h.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},jg="uni-toast__icon",Vg={light:"#fff",dark:"rgba(255,255,255,0.9)"},zg=e=>Vg[e],Wg=zi({name:"Toast",props:Dg,setup(e){Xl(),ql();const{Icon:t}=function(e){const t=$n(zg(Bp())),n=({theme:e})=>t.value=zg(e);ki((()=>{e.visible?Mg(n):Pg(n)}));const i=Jr((()=>{switch(e.icon){case"success":return Mr(Dc(Nc,t.value,38),{class:jg});case"error":return Mr(Dc(Bc,t.value,38),{class:jg});case"loading":return Mr("i",{class:[jg,"uni-loading"]},null,2);default:return null}}));return{Icon:i}}(e),n=cg(e,{});return()=>{const{mask:i,duration:o,title:r,image:s}=e;return Mr(As,{name:"uni-fade"},{default:()=>[bo(Mr("uni-toast",{"data-duration":o},[i?Mr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Ac},null,40,["onTouchmove"]):"",s||t.value?Mr("div",{class:"uni-toast"},[s?Mr("img",{src:s,class:jg},null,10,["src"]):t.value,Mr("p",{class:"uni-toast__content"},[r])]):Mr("div",{class:"uni-sample-toast"},[Mr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[zs,n.value]])]})}}});let Ug,Xg,qg="";const Yg=ut();function Gg(e){Ug?b(Ug,e):(Ug=_n(b(e,{visible:!1})),oi((()=>{Yg.run((()=>{Oi([()=>Ug.visible,()=>Ug.duration],(([e,t])=>{if(e){if(Xg&&clearTimeout(Xg),"onShowLoading"===qg)return;Xg=setTimeout((()=>{em("onHideToast")}),t)}else Xg&&clearTimeout(Xg)}))})),um.on("onHidePopup",(()=>em("onHidePopup"))),ag(Wg,Ug,(()=>{})).mount(lg("u-a-t"))}))),setTimeout((()=>{Ug.visible=!0}),10)}const Kg=Pd("showToast",((e,{resolve:t,reject:n})=>{Gg(e),qg="onShowToast",t()}),0,Rh),Zg={icon:"loading",duration:1e8,image:""},Jg=Pd("showLoading",((e,{resolve:t,reject:n})=>{b(e,Zg),Gg(e),qg="onShowLoading",t()}),0,Ih),Qg=Pd("hideLoading",((e,{resolve:t,reject:n})=>{em("onHideLoading"),t()}));function em(e){const{t:t}=zl();if(!qg)return;let n="";if("onHideToast"===e&&"onShowToast"!==qg?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==qg&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);qg="",setTimeout((()=>{Ug.visible=!1}),10)}function tm(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,um.emit(ke,{titleText:t})}ki(t),Ji(t)}const nm=Pd(Ph,((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 Ph:const{title:a}=n;r.titleText=a}i()}(zc(),Ph,e,t,n)})),im="0px",om=ku({name:"Layout",setup(e,{emit:t}){const n=$n(null);Lc({"--status-bar-height":im,"--top-window-height":im,"--window-left":im,"--window-right":im,"--window-margin":im,"--tab-bar-height":im});const i=function(){const e=Dl();return{routeKey:Jr((()=>sp("/"+e.meta.route,Uf()))),isTabBar:Jr((()=>e.meta.isTabBar)),routeCache:lp}}(),{layoutState:o,windowState:r}=function(){Wf();{const e=_n({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Oi((()=>e.marginWidth),(e=>Lc({"--window-margin":e+"px"}))),Oi((()=>e.leftWindowWidth+e.marginWidth),(e=>{Lc({"--window-left":e+"px"})})),Oi((()=>e.rightWindowWidth+e.marginWidth),(e=>{Lc({"--window-right":e+"px"})})),{layoutState:e,windowState:Jr((()=>({})))}}}();!function(e,t){const n=Wf();function i(){const i=document.body.clientWidth,o=tp();let r={};if(o.length>0){r=o[o.length-1].$page.meta}else{const e=Qc(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((T(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=i>s,a&&s?(e.marginWidth=(i-s)/2,oi((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,oi((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Oi([()=>n.path],i),uo((()=>{i(),window.addEventListener("resize",i)}))}(o,n);const s=function(e){const t=$n(!1);return Jr((()=>({"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 Mr(Bl,null,{default:_i((({Component:i})=>[(_r(),Tr(Ki,{matchBy:"key",cache:n},[(_r(),Tr(So(i),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e);return s}(i);return Mr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const rm="scanCode",sm=Pd(rm,Id(rm)),am="login",lm=Pd(am,Id(am)),cm=b(oc,{publishHandler(e,t,n){um.subscribeHandler(e,t,n)}}),um=b(fu,{publishHandler(e,t,n){cm.subscribeHandler(e,t,n)}}),dm=ku({name:"PageHead",setup(){const e=$n(null),t=Vf(),n=function(e,t){const n=Tn(e),i=n?_n(Ig(e)):Ig(e);return __uniConfig.darkmode&&n&&Oi(e,(e=>{const t=Ig(e);for(const n in t)i[n]=t[n]})),t&&Mg(t),i}(t.navigationBar,(()=>{const e=Ig(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:i,style:o}=function(e){const t=Jr((()=>{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=Jr((()=>({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 Mr("div",{class:"uni-page-head-btn",onClick:fm},[Dc(Fc,"transparent"===e.type?"#fff":e.titleColor,27)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&Mr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Mr("uni-page-head",{"uni-page-head-type":s},[Mr("div",{ref:e,class:i.value,style:o.value},[Mr("div",{class:"uni-page-head-hd"},[r]),hm(n),Mr("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function hm(e,t){return function({type:e,loading:t,titleSize:n,titleText:i,titleImage:o}){return Mr("div",{class:"uni-page-head-bd"},[Mr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Mr("i",{class:"uni-loading"},null):o?Mr("img",{src:o,class:"uni-page-head__title_image"},null,8,["src"]):i],4)])}(e)}function fm(){1===tp().length?kg({url:"/"}):Tg({from:"backbutton",success(){}})}const pm=ku({name:"PageBody",setup:(e,t)=>()=>Mr(fr,null,[!1,Mr("uni-page-wrapper",null,[Mr("uni-page-body",null,[Ao(t.slots,"default")])],16)])}),gm=ku({name:"Page",setup(e,t){const n=zf(Uf()),i=n.navigationBar;return tm(n),()=>Mr("uni-page",{"data-page":n.route},"custom"!==i.style?[Mr(dm),mm(t)]:[mm(t)])}});function mm(e){return _r(),Tr(pm,{key:0},{default:_i((()=>[Ao(e.slots,"page")])),_:3})}const vm={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=jd;const ym=Object.assign({}),_m=Object.assign;window.__uniConfig=_m({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:vm,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(ym).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return _m(e[n]||(e[n]={}),ym[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const bm={delay:vm.delay,timeout:vm.timeout,suspensible:vm.suspensible};vm.loading&&(bm.loadingComponent={name:"SystemAsyncLoading",render:()=>Mr(To(vm.loading))}),vm.error&&(bm.errorComponent={name:"SystemAsyncError",render:()=>Mr(To(vm.error))});const wm=()=>t((()=>import("./pages-index-index.73767965.js")),["./pages-index-index.73767965.js","./Page.692802d8.js","./index-f4d6aab9.css"],import.meta.url).then((e=>Op(e.default||e))),xm=Ui(_m({loader:wm},bm)),Tm=()=>t((()=>import("./pages-hilo-index1.92c0089d.js")),["./pages-hilo-index1.92c0089d.js","./Hilo.70feeeab.js","./Page.692802d8.js","./Hilo-316a2367.css","./index1-054747a2.css"],import.meta.url).then((e=>Op(e.default||e))),Cm=Ui(_m({loader:Tm},bm)),Sm=()=>t((()=>import("./pages-hilo-index.21ca0b71.js")),["./pages-hilo-index.21ca0b71.js","./Hilo.70feeeab.js","./Page.692802d8.js","./Hilo-316a2367.css","./index-af1de908.css"],import.meta.url).then((e=>Op(e.default||e))),Em=Ui(_m({loader:Sm},bm));function km(e,t){return _r(),Tr(gm,null,{page:_i((()=>[Mr(e,_m({},t,{ref:"page"}),null,512)])),_:1})}function Am(e,t){return A(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>km(xm,t)}},loader:wm,meta:{isQuit:!0,isEntry:!0,navigationBar:{},isNVue:!1}},{path:"/pages/hilo/index1",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>km(Cm,t)}},loader:Tm,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/hilo/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>km(Em,t)}},loader:Sm,meta:{navigationBar:{},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Om=e=>(t,n=Vr())=>{!qr&&ao(e,t,n)},Mm=Om(se),Pm=Om(ae),Im=Om(le),Lm=Om(fe),$m=zi({__name:"App",setup:e=>(Im((()=>{console.log("App Launch")})),Mm((()=>{console.log("App Show")})),Pm((()=>{console.log("App Hide")})),()=>{})});Ap($m,{init:Ep,setup(e){const t=Wf(),n=()=>{var n;n=e,Object.keys(sh).forEach((e=>{sh[e].forEach((t=>{ao(e,t,n)}))}));const{onLaunch:i,onShow:o,onPageNotFound:r,onError:s}=e,a=function({path:e,query:t}){return b(Bh,{path:e,query:t}),b(Fh,Bh),b({},Bh)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ge(t.query)});if(i&&X(i,a),o&&X(o,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&X(r,e)}s&&(e.appContext.config.errorHandler=e=>{X(s,e)})};return Ei(kl).isReady().then(n),uo((()=>{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}(Mp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Pp),document.addEventListener("visibilitychange",Ip),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{um.emit(ue,{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=()=>(_r(),Tr(om));e.setup=(e,i)=>{const o=t&&t(e,i);return k(o)?n:o},e.render=n}});const Rm={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{oh().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(){zd("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 Hm(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]?Hm(e[i]):e[i]);return n}function Nm(e={},t={}){if("object"!=typeof(e=Hm(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]=Nm(e[n],t[n]):e[n]=t[n]);return e}function Bm(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 Fm(e){return"[object Object]"===Object.prototype.toString.call(e)}function Dm(e){return"function"==typeof e}const jm={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:Bm,isEmpty:Bm,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:Fm,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:Dm,promise:function(e){return Fm(e)&&Dm(e.then)&&Dm(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 Vm=new class{setConfig(e){this.config=Nm(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(Qg(),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=jm.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((()=>{Jg({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),bg(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 zm=(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||Sg({url:t,animationType:o,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||Eg({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Og({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||kg({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Tg({delta:i})}}).route;function Wm(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 Um(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 Xm(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 qm={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let i=Um(e,!1),o=i[0],r=i[1],s=i[2],a=Um(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:zm,timeFormat:Wm,date:Wm,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)+"年前":Wm(n,t)}return o},colorGradient:qm.colorGradient,colorToRgba:qm.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:Vm.get,post:Vm.post,put:Vm.put,delete:Vm.delete,hexToRgb:qm.hexToRgb,rgbToHex:qm.rgbToHex,test:jm,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:Hm,deepMerge:Nm,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),jm.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:Vm,toast:function(e,t=1500){Kg({title:e,icon:"none",duration:t})},config:Jm,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!==Ym&&clearTimeout(Ym),n){var i=!Ym;Ym=setTimeout((function(){Ym=null}),t),i&&"function"==typeof e&&e()}else Ym=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,i="default"){Gm[i]||(Gm[i]=null),n?Km[i]||(Km[i]=!0,"function"==typeof e&&e(),Gm[i]=setTimeout((()=>{Km[i]=!1}),t)):Km[i]||(Km[i]=!0,Gm[i]=setTimeout((()=>{Km[i]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(jm.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(Rm),e.config.globalProperties.$u=Qm}};(function(){const e=qs($m);return e.use(ev),{app:e}})().app.use(vp).mount("#app");export{ig as $,Ei as A,An as B,Oi as C,_n as D,ut as E,Ln as F,Tn as G,kn as H,Vr as I,oi as J,dt as K,ht as L,jn as M,Jr as N,Kp as O,Yp as P,Zp as Q,Jp as R,lm as S,sm as T,qp as U,_g as V,Kg as W,Qp as X,Jg as Y,Qg as Z,Fg as _,l as a,Og as a0,Tg as a1,Sg as a2,kg as a3,Eg as a4,tp as a5,Lr as b,Tr as c,Ir as d,If as e,Lf as f,zi as g,Mr as h,Wh as i,Am as j,So as k,Lm as l,Or as m,i as n,_r as o,Xp as p,jd as q,$n as r,nm as s,d as t,Bn as u,oh as v,_i as w,Ao as x,Vs as y,Nu as z};