function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["assets/pages-login-index.B04NCiog.js","assets/nu.C7Ggybbs.js","assets/old.DL_W-GvU.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-Cj52AbbA.css","assets/pages-login-phonebumber.DVhpzu0d.js","assets/uni-app.es.pRPQMweL.js","assets/loginApi.mnKMuPqy.js","assets/index.CA0mK-bX.js","assets/phonebumber-CafZzM2F.css","assets/pages-login-threeselectone.Bt1B8zpP.js","assets/threeselectone-fDTe48xd.css","assets/pages-login-workjoin.C-UrL_DR.js","assets/workjoin-BopfWLZV.css","assets/pages-login-code.CTUD223U.js","assets/code-BCEMtpU6.css","assets/pages-login-callback.BaXFt2sB.js","assets/callback-CPqGaOUe.css","assets/pages-login-protocol.B2bljgeP.js","assets/protocol-Cu_7ppq0.css","assets/pages-index-index.DZwX7srJ.js","assets/index-Dj-1EbaE.css","assets/pages-addoldman-hukou.CNXDkkN1.js","assets/bian.L32B-imx.js","assets/hukou-iqoVhzCF.css","assets/pages-addoldman-yibao.DJ9QZAhS.js","assets/yibao-CNRDHHaN.css","assets/pages-addoldman-IDcard.C5E24t8Z.js","assets/u-modal.DQfl66k7.js","assets/u-modal-M6gkRoDz.css","assets/takephoto.D2GFN-q_.js","assets/IDcard-CG85CxnC.css","assets/pages-selectunit-map.RAEapj-z.js","assets/map-CwvvJXSr.css","assets/pages-addjigou-where.Ba0427P0.js","assets/where-DEyYYlz5.css","assets/pages-addjigou-name.oeR4oCss.js","assets/name-D0pc4E5y.css","assets/pages-addjigou-card.hY3DJ5py.js","assets/card-CPu7hqSI.css","assets/pages-pay-index.DDsYHSGx.js","assets/index-afm9fJrA.css","assets/pages-map-index.CLEmp4wS.js","assets/index-SffPoJ_w.css","assets/pages-camera-CustomCamera.B32RIyOe.js","assets/CustomCamera-mQHR1LCI.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } !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)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if((n=function(e){return"/wechat/thd/"+e}(n))in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; /** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),T=e=>"[object Object]"===x(e),S=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,$=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,O=k((e=>e.replace(L,"-$1").toLowerCase())),P=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),A=k((e=>e?`on${P(e)}`:"")),M=(e,t)=>!Object.is(e,t),I=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},R=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const j=()=>N||(N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;nv(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[G(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>G(e)))}:y(t)?G(t):!b(t)||p(t)||T(t)?t:String(t),G=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},K=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),J=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Z=["list-item"].map((e=>"uni-"+e));function Q(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==K.indexOf(t)||-1!==J.indexOf(t)}const ee=/^([a-z-]+:)?\/\//i,te=/^data:.*,.*/,ne="onLoad";function oe(e){return 0===e.indexOf("/")}function re(e){return oe(e)?e:"/"+e}function ie(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}let se;function ae(){return se||(se=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),se)}function le(e){return e&&(e.appContext?e.proxy:e)}function ce(e){if(!e)return;let t=e.type.name;for(;t&&Q(O(t));)t=(e=e.parent).type.name;return e.proxy}function ue(e){return 1===e.nodeType}function de(e){const t=ae();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),F(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),F(t)}if(v(e))return H(e);if(p(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let o=0;o{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[pe(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[pe(t)],o.call(this,t)}}));function ge(e){return c({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ve(e){return{passive:e}}function ye(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function be(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function _e(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=be(e[n])}catch(o){t[n]=e[n]}})),t}const we=/\+/g;function xe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Se{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{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 o=0;ot(e))),Le=function(){};Le.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Oe=Le;const Pe={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ae(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Pe?Pe[o]:o}return r}var o;return t}function Me(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const s=e[i];r[i]=T(s)?Me(s,t,n):p(s)?s.map((e=>T(e)?Me(e,t,n):Ae(o,e))):Ae(o,s,i)})),r):e} /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ie,Be;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!e&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ie;try{return Ie=this,e()}finally{Ie=t}}}on(){Ie=this}off(){Ie=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ue()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=qe,t=Be;try{return qe=!0,Be=this,this._runnings++,Fe(this),this.fn()}finally{De(this),this._runnings--,Be=t,qe=e}}stop(){var e;this.active&&(Fe(this),De(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Fe(e){e._trackId++,e._depsLength=0}function De(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qe=new WeakMap,et=Symbol(""),tt=Symbol("");function nt(e,t,n){if(qe&&Be){let t=Qe.get(e);t||Qe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ze((()=>t.delete(n)))),Ge(Be,o)}}function ot(e,t,n,o,r,i){const s=Qe.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?S(n)&&a.push(s.get("length")):(a.push(s.get(et)),h(e)&&a.push(s.get(tt)));break;case"delete":p(e)||(a.push(s.get(et)),h(e)&&a.push(s.get(tt)));break;case"set":h(e)&&a.push(s.get(et))}Xe();for(const l of a)l&&Je(l,4);Ye()}const rt=n("__proto__,__v_isRef,__isVue"),it=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),st=at();function at(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Gt(this);for(let t=0,r=this.length;t{e[t]=function(...e){ze(),Xe();const n=Gt(this)[t].apply(this,e);return Ye(),Ue(),n}})),e}function lt(e){const t=Gt(this);return nt(t,0,e),t.hasOwnProperty(e)}class ct{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Ft:jt:r?Nt:Rt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(st,t))return Reflect.get(st,t,n);if("hasOwnProperty"===t)return lt}const s=Reflect.get(e,t,n);return(y(t)?it.has(t):rt(t))?s:(o||nt(e,0,t),r?s:nn(s)?i&&S(t)?s:s.value:b(s)?o?Ht(s):Vt(s):s)}}class ut extends ct{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Ut(r);if(Xt(n)||Ut(n)||(r=Gt(r),n=Gt(n)),!p(e)&&nn(r)&&!nn(n))return!t&&(r.value=n,!0)}const i=p(e)&&S(t)?Number(t)e,mt=e=>Reflect.getPrototypeOf(e);function vt(e,t,n=!1,o=!1){const r=Gt(e=e.__v_raw),i=Gt(t);n||(M(t,i)&&nt(r,0,t),nt(r,0,i));const{has:s}=mt(r),a=o?gt:n?Zt:Jt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function yt(e,t=!1){const n=this.__v_raw,o=Gt(n),r=Gt(e);return t||(M(e,r)&&nt(o,0,e),nt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function bt(e,t=!1){return e=e.__v_raw,!t&&nt(Gt(e),0,et),Reflect.get(e,"size",e)}function _t(e){e=Gt(e);const t=Gt(this);return mt(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function wt(e,t){t=Gt(t);const n=Gt(this),{has:o,get:r}=mt(n);let i=o.call(n,e);i||(e=Gt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?M(t,s)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function xt(e){const t=Gt(this),{has:n,get:o}=mt(t);let r=n.call(t,e);r||(e=Gt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ot(t,"delete",e,void 0),i}function Tt(){const e=Gt(this),t=0!==e.size,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Gt(i),a=t?gt:e?Zt:Jt;return!e&&nt(s,0,et),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Ct(e,t,n){return function(...o){const r=this.__v_raw,i=Gt(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?gt:t?Zt:Jt;return!t&&nt(i,0,l?tt:et),{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 kt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(){const e={get(e){return vt(this,e)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!1)},t={get(e){return vt(this,e,!1,!0)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!0)},n={get(e){return vt(this,e,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!1)},o={get(e){return vt(this,e,!0,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Ct(r,!1,!1),n[r]=Ct(r,!0,!1),t[r]=Ct(r,!1,!0),o[r]=Ct(r,!0,!0)})),[e,n,t,o]}const[$t,Lt,Ot,Pt]=Et();function At(e,t){const n=t?e?Pt:Ot:e?Lt:$t;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Mt={get:At(!1,!1)},It={get:At(!1,!0)},Bt={get:At(!0,!1)},Rt=new WeakMap,Nt=new WeakMap,jt=new WeakMap,Ft=new WeakMap;function Dt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Vt(e){return Ut(e)?e:Wt(e,!1,ft,Mt,Rt)}function qt(e){return Wt(e,!1,ht,It,Nt)}function Ht(e){return Wt(e,!0,pt,Bt,jt)}function Wt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Dt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function zt(e){return Ut(e)?zt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ut(e){return!(!e||!e.__v_isReadonly)}function Xt(e){return!(!e||!e.__v_isShallow)}function Yt(e){return zt(e)||Ut(e)}function Gt(e){const t=e&&e.__v_raw;return t?Gt(t):e}function Kt(e){return Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const Jt=e=>b(e)?Vt(e):e,Zt=e=>b(e)?Ht(e):e;class Qt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new je((()=>e(this._value)),(()=>tn(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Gt(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||tn(e,4),en(e),e.effect._dirtyLevel>=2&&tn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function en(e){var t;qe&&Be&&(e=Gt(e),Ge(Be,null!=(t=e.dep)?t:e.dep=Ze((()=>e.dep=void 0),e instanceof Qt?e:void 0)))}function tn(e,t=4,n){const o=(e=Gt(e)).dep;o&&Je(o,t)}function nn(e){return!(!e||!0!==e.__v_isRef)}function on(e){return sn(e,!1)}function rn(e){return sn(e,!0)}function sn(e,t){return nn(e)?e:new an(e,t)}class an{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Gt(e),this._value=t?e:Jt(e)}get value(){return en(this),this._value}set value(e){const t=this.__v_isShallow||Xt(e)||Ut(e);e=t?e:Gt(e),M(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),tn(this,4))}}function ln(e){return nn(e)?e.value:e}const cn={get:(e,t,n)=>ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return nn(r)&&!nn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function un(e){return zt(e)?e:new Proxy(e,cn)}function dn(e,t,n,o){try{return o?e(...o):e()}catch(r){pn(r,t,n)}}function fn(e,t,n,o){if(m(e)){const r=dn(e,t,n,o);return r&&_(r)&&r.catch((e=>{pn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=vn[o],i=Ln(r);iLn(e)-Ln(t)));if(bn.length=0,_n)return void _n.push(...e);for(_n=e,wn=0;wn<_n.length;wn++)_n[wn]();_n=null,wn=0}}const Ln=e=>null==e.id?1/0:e.id,On=(e,t)=>{const n=Ln(e)-Ln(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pn(e){mn=!1,gn=!0,vn.sort(On);try{for(yn=0;ynv(e)?e.trim():e))),t&&(i=n.map(R))}let l,c=r[l=A(t)]||r[l=A($(t))];!c&&s&&(c=r[l=A(O(t))]),c&&fn(c,e,6,Mn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,fn(u,e,6,Mn(e,u,i))}}function Mn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function In(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!m(e)){const o=e=>{const n=In(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function Bn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,O(t))||f(e,t))}let Rn=null,Nn=null;function jn(e){const t=Rn;return Rn=e,Nn=e&&e.type.__scopeId||null,t}function Fn(e,t=Rn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ur(-1);const r=jn(t);let i;try{i=e(...n)}finally{jn(r),o._d&&Ur(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Dn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=jn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=si(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=si(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Vn(c)}}catch(w){qr.length=0,pn(w,e,1),v=ni(Dr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=qn(y,s)),_=oi(_,y))}return n.dirs&&(_=oi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,jn(b),v}const Vn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},qn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Hn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Kn=Symbol.for("v-scx");function Jn(e,t){return eo(e,null,t)}const Zn={};function Qn(e,t,n){return eo(e,t,n)}function eo(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),k()}}const d=pi,f=e=>!0===r?e:oo(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(nn(e)?(h=()=>e.value,v=Xt(e)):zt(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>zt(e)||Xt(e))),h=()=>e.map((e=>nn(e)?e.value:zt(e)?f(e):m(e)?dn(e,d,2):void 0))):h=m(e)?t?()=>dn(e,d,2):()=>(g&&g(),fn(e,d,3,[_])):i,t&&r){const e=h;h=()=>oo(e())}let b,_=e=>{g=S.onStop=()=>{dn(e,d,4),g=S.onStop=void 0}};if(_i){if(_=i,t?n&&fn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=yr(Kn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Zn):Zn;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||v||(y?e.some(((e,t)=>M(e,w[t]))):M(e,w)))&&(g&&g(),fn(t,d,3,[e,w===Zn?void 0:y&&w[0]===Zn?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===s?T=x:"post"===s?T=()=>Ar(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),T=()=>Cn(x));const S=new je(h,i,T),C=Ie,k=()=>{S.stop(),C&&u(C.effects,S)};return t?n?x():w=S.run():"post"===s?Ar(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function to(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?no(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=vi(this),a=eo(r,i.bind(o),n);return s(),a}function no(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),nn(e))oo(e.value,t,n,o);else if(p(e))for(let r=0;r{oo(e,t,n,o)}));else if(T(e))for(const r in e)oo(e[r],t,n,o);return e}function ro(e,t){if(null===Rn)return e;const n=Ti(Rn)||Rn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Vo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&vo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Dr){i=e;break}const s=Gt(e),{mode:a}=s;if(o.isLeaving)return ho(i);const l=go(i);if(!l)return ho(i);const c=po(l,s,o,n);mo(l,c);const u=n.subTree,d=u&&go(u);if(d&&d.type!==Dr&&!Jr(l,d)){const e=po(d,s,o,n);if(mo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},ho(i);"in-out"===a&&l.type!==Dr&&(e.delayLeave=(e,t,n)=>{fo(o,d)[String(d.key)]=d,e[so]=()=>{t(),e[so]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function fo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function po(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=fo(n,e),x=(e,t)=>{e&&fn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[so]&&t[so](!0);const i=w[_];i&&Jr(e,i)&&i.el[so]&&i.el[so](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[ao]=t=>{s||(s=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[ao]=void 0)};t?T(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ao]&&t[ao](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[so]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[so]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?T(f,[t,s]):s()},clone:e=>po(e,t,n,o)};return S}function ho(e){if(xo(e))return(e=oi(e)).children=null,e}function go(e){return xo(e)?e.children?e.children[0]:void 0:e}function mo(e,t){6&e.shapeFlag&&e.component?mo(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 vo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const bo=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function _o(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,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 yo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=pi;if(l)return()=>wo(l,e);const t=t=>{c=null,pn(t,e,13,!o)};if(s&&e.suspense||_i)return d().then((t=>()=>wo(t,e))).catch((e=>(t(e),()=>o?ni(o,{error:e}):null)));const a=on(!1),u=on(),f=on(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&xo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Cn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?wo(l,e):u.value&&o?ni(o,{error:u.value}):n&&!f.value?ni(n):void 0}})}function wo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ni(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const xo=e=>e.type.__isKeepAlive;class To{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:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}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 So={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=hi(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new To(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Jr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Po(o=t),u(o,n,a,!0)):i&&Po(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=Mo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,I(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Ar((()=>{i.isDeactivated=!1,i.a&&I(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ui(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Io(t.bda),c(e,f,null,1,a),Ar((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&I(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ui(n,t.parent,e),t.isDeactivated=!0}),a)},Qn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>ko(e,t))),t&&p((e=>!ko(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Ao(n.subTree))};return jo(g),Do(g),Vo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Ao(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&I(l.component.bda),Po(l);const e=l.component.da;e&&Ar(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Kr(o)||!(4&o.shapeFlag)&&!Gn(o.type))return i=null,o;let s=Ao(o);const a=s.type,l=Mo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ko(c,l))||u&&l&&ko(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=oi(s),Gn(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&mo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Gn(o.type)?o:s}}},Co=So;function ko(e,t){return p(e)?e.some((e=>ko(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Eo(e,t){Lo(e,"a",t)}function $o(e,t){Lo(e,"da",t)}function Lo(e,t,n=pi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Bo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)xo(e.parent.vnode)&&Oo(o,t,n,e),e=e.parent}}function Oo(e,t,n,o){const r=Bo(t,e,o,!0);qo((()=>{u(o[t],r)}),n)}function Po(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ao(e){return Gn(e.type)?e.ssContent:e}function Mo(e,t){if("name"===t){const t=e.type;return Si(bo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Io(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;fn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ze();const r=vi(n),i=fn(t,n,e,o);return r(),Ue(),i});return o?i.unshift(s):i.push(s),s}var r}const Ro=e=>(t,n=pi)=>(!_i||"sp"===e)&&Bo(e,((...e)=>t(...e)),n),No=Ro("bm"),jo=Ro("m"),Fo=Ro("bu"),Do=Ro("u"),Vo=Ro("bum"),qo=Ro("um"),Ho=Ro("sp"),Wo=Ro("rtg"),zo=Ro("rtc");function Uo(e,t=pi){Bo("ec",e,t)}function Xo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Kr(e)||e.type!==Dr&&!(e.type===jr&&!Go(e.children))))?e:null}const Ko=e=>{if(!e)return null;if(bi(e)){return Ti(e)||e.proxy}return Ko(e.parent)},Jo=c(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=>Ko(e.parent),$root:e=>Ko(e.root),$emit:e=>e.emit,$options:e=>ir(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Cn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>to.bind(e)}),Zo=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Qo={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Zo(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];tr&&(a[t]=0)}}const d=Jo[t];let p,h;return d?("$attrs"===t&&nt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Zo(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Zo(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Jo,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function er(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let tr=!0;function nr(e){const t=ir(e),n=e.proxy,o=e.ctx;tr=!1,t.beforeCreate&&or(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:C,renderTracked:k,renderTriggered:E,errorCaptured:$,serverPrefetch:L,expose:O,inheritAttrs:P,components:A,directives:M,filters:I}=t;if(u&&function(e,t,n=i){p(e)&&(e=cr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?yr(n.from||o,n.default,!0):yr(n.from||o):yr(n),nn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Vt(t))}if(tr=!0,s)for(const p in s){const e=s[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,a=Ci({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)rr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{vr(t,e[t])}))}function B(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&or(d,e,"c"),B(No,f),B(jo,h),B(Fo,g),B(Do,v),B(Eo,y),B($o,_),B(Uo,$),B(zo,k),B(Wo,E),B(Vo,x),B(qo,S),B(Ho,L),p(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={});C&&e.render===i&&(e.render=C),null!=P&&(e.inheritAttrs=P),A&&(e.components=A),M&&(e.directives=M);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function or(e,t,n){fn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function rr(e,t,n,o){const r=o.includes(".")?no(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Qn(r,n)}else if(m(e))Qn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>rr(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Qn(r,o,e)}}function ir(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>sr(l,e,s,!0))),sr(l,t,s)):l=t,b(t)&&i.set(t,l),l}function sr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&sr(e,i,n,!0),r&&r.forEach((t=>sr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=ar[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const ar={data:lr,props:fr,emits:fr,methods:dr,computed:dr,beforeCreate:ur,created:ur,beforeMount:ur,mounted:ur,beforeUpdate:ur,updated:ur,beforeDestroy:ur,beforeUnmount:ur,destroyed:ur,unmounted:ur,activated:ur,deactivated:ur,errorCaptured:ur,serverPrefetch:ur,components:dr,directives:dr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=ur(e[o],t[o]);return n},provide:lr,inject:function(e,t){return dr(cr(e),cr(t))}};function lr(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function cr(e){if(p(e)){const t={};for(let n=0;n(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(a,...t)):m(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=ni(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Ti(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=mr;mr=a;try{return e()}finally{mr=t}}};return a}}let mr=null;function vr(e,t){if(pi){let n=pi.provides;const o=pi.parent&&pi.parent.provides;o===n&&(n=pi.provides=Object.create(o)),n[e]=t,"app"===pi.type.mpType&&pi.appContext.app.provide(e,t)}else;}function yr(e,t,n=!1){const o=pi||Rn;if(o||mr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:mr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function br(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(C(o))continue;const c=t[o];let u;i&&f(i,u=$(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Bn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Gt(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=wr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function xr(e){return"$"!==e[0]&&!C(e)}function Tr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Sr(e,t){return Tr(e)===Tr(t)}function Cr(e,t){return p(t)?t.findIndex((t=>Sr(t,e))):m(t)&&Sr(t,e)?0:-1}const kr=e=>"_"===e[0]||"$stable"===e,Er=e=>p(e)?e.map(si):[si(e)],$r=(e,t,n)=>{if(t._n)return t;const o=Fn(((...e)=>Er(t(...e))),n);return o._c=!1,o},Lr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(kr(r))continue;const n=e[r];if(m(n))t[r]=$r(0,n,o);else if(null!=n){const e=Er(n);t[r]=()=>e}}},Or=(e,t)=>{const n=Er(t);e.slots.default=()=>n};function Pr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Pr(e,t&&(p(t)?t[o]:t),n,r,i)));if(bo(r)&&!i)return;const s=4&r.shapeFlag?Ti(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):nn(d)&&(d.value=null)),m(c))dn(c,l,12,[a,h]);else{const t=v(c),o=nn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Ar(r,n)):r()}}}const Ar=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?bn.push(...n):_n&&_n.includes(n,n.allowRecurse?wn+1:wn)||bn.push(n),kn())};function Mr(e){return function(e,t){j().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Jr(e,t)&&(o=te(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Fr:x(e,t,n,o);break;case Dr:T(e,t,n,o);break;case Vr:null==e&&S(t,n,o,s);break;case jr:D(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?V(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Pr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?P(t,n,o,r,i,s,a,l):R(e,t,r,i,s,a,l)},P=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&M(e.children,d,null,r,i,Ir(e,s),l,c),v&&io(e,null,r,"created"),A(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||C(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&ui(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&io(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Ar((()=>{f&&ui(f,r,e),y&&m.enter(d),v&&io(e,null,r,"mounted")}),i)},A=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&Br(n,!1),(v=m.onVnodeBeforeUpdate)&&ui(v,n,t,e),p&&io(t,e,n,"beforeUpdate"),n&&Br(n,!0),f?N(e.dynamicChildren,f,u,n,r,Ir(t,i),s):c||U(e,t,u,null,n,r,Ir(t,i),s,!1),d>0){if(16&d)F(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&ui(v,n,t,e),p&&io(t,e,n,"updated")}),r)},N=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},D=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),M(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(N(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Rr(e,t,!0)):U(e,t,o,f,i,s,a,l,c)},V=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):q(t,n,o,r,i,s,l):H(e,t,l)},q=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||di,s={uid:fi++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wr(r,i),emitsOptions:In(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy: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};s.ctx={_:s},s.root=t?t.root:s,s.emit=An.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(xo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&mi(t);const{props:n,children:o}=e.vnode,r=bi(e);(function(e,t,n,o=!1){const r={},i={};B(i,Zr,1),e.propsDefaults=Object.create(null),br(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:qt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Gt(t),B(t,"_",n)):Lr(t,e.slots={})}else e.slots={},t&&Or(e,t);B(e.slots,Zr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kt(new Proxy(e.ctx,Qo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(nt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=vi(e);ze();const i=dn(o,e,0,[e.props,n]);if(Ue(),r(),_(i)){if(i.then(yi,yi),t)return i.then((n=>{wi(e,n,t)})).catch((t=>{pn(t,e,0)}));e.asyncDep=i}else wi(e,i,t)}else xi(e,t)}(e,t):void 0;t&&mi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,W),!e.el){const e=l.subTree=ni(Dr);T(null,e,t,n)}}else W(l,e,t,n,i,s,a)},H=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Hn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Hn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tyn&&vn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Nr(e);if(n)return t&&(t.el=c.el,z(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Br(e,!1),t?(t.el=c.el,z(e,t,a)):t=c,n&&I(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ui(u,i,t,c),Br(e,!0);const f=Dn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Ar(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Ar((()=>ui(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=bo(t);if(Br(e,!1),c&&I(c),!f&&(i=l&&l.onVnodeBeforeMount)&&ui(i,d,t),Br(e,!0),a&&se){const n=()=>{e.subTree=Dn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Dn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Ar(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Ar((()=>ui(i,d,e)),r)}(256&t.shapeFlag||d&&bo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Io(e.ba),e.a&&Ar(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new je(l,i,(()=>Cn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Br(e,!0),u()},z=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Gt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;br(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=O(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=_r(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,Lr(t,i)),a=t}else t&&(Or(e,t),a={default:1});if(s)for(const o in i)kr(o)||null!=a[o]||delete i[o]})(e,t.children,n),ze(),En(e),Ue()},U=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void Y(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?Y(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&M(d,n,o,r,i,s,a,l))},X=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?ee(e,i,s,!0,!1,f):M(t,n,o,i,s,a,l,c,f)},Y=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?ai(t[u]):si(t[u]);if(!Jr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?ai(t[p]):si(t[p]);if(!Jr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=ep)for(;u<=f;)K(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?ai(t[u]):si(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const T=new Array(b);for(u=0;u=b){K(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===T[v-g]&&Jr(o,t[v])){r=v;break}void 0===r?K(o,i,s,!0):(T[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const S=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(T):r;for(v=S.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===jr){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Pr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!bo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&ui(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&io(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==jr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===jr&&384&d||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Ar((()=>{g&&ui(g,t,e),p&&io(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===jr)return void Z(n,o);if(t===Vr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&I(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&Ar(a,t),Ar((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,En(),$n(),ne=!1),t._vnode=e},re={p:w,um:K,m:G,r:J,mt:q,mc:M,pc:U,pbc:N,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:gr(oe,ie)}}(e)}function Ir({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Br({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Rr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?Hr||r:null,qr.pop(),Hr=qr[qr.length-1]||null,zr>0&&Hr&&Hr.push(e),e}function Yr(e,t,n,o,r,i){return Xr(ti(e,t,n,o,r,i,!0))}function Gr(e,t,n,o,r){return Xr(ni(e,t,n,o,r,!0))}function Kr(e){return!!e&&!0===e.__v_isVNode}function Jr(e,t){return e.type===t.type&&e.key===t.key}const Zr="__vInternal",Qr=({key:e})=>null!=e?e:null,ei=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||nn(e)||m(e)?{i:Rn,r:e,k:t,f:!!n}:e:null);function ti(e,t=null,n=null,o=0,r=null,i=(e===jr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qr(t),ref:t&&ei(t),scopeId:Nn,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:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Rn};return a?(li(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),zr>0&&!s&&Hr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Hr.push(l),l}const ni=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==zn||(e=Dr);if(Kr(e)){const o=oi(e,t,!0);return n&&li(o,n),zr>0&&!i&&Hr&&(6&o.shapeFlag?Hr[Hr.indexOf(e)]=o:Hr.push(o)),o.patchFlag|=-2,o}s=e,m(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Yt(e)||Zr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=fe(e)),b(n)&&(Yt(n)&&!p(n)&&(n=c({},n)),t.style=de(n))}const a=v(e)?1:Gn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return ti(e,t,n,o,r,a,i,!0)};function oi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?ci(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Qr(a),ref:t&&t.ref?n&&r?p(r)?r.concat(ei(t)):[r,ei(t)]:ei(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==jr?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&oi(e.ssContent),ssFallback:e.ssFallback&&oi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ri(e=" ",t=0){return ni(Fr,null,e,t)}function ii(e="",t=!1){return t?(Wr(),Gr(Dr,null,e)):ni(Dr,null,e)}function si(e){return null==e||"boolean"==typeof e?ni(Dr):p(e)?ni(jr,null,e.slice()):"object"==typeof e?ai(e):ni(Fr,null,String(e))}function ai(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:oi(e)}function li(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),li(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Zr in t?3===o&&Rn&&(1===Rn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Rn}}else m(t)?(t={default:t,_ctx:Rn},n=32):(t=String(t),64&o?(n=16,t=[ri(t)]):n=8);e.children=t,e.shapeFlag|=n}function ci(...e){const t={};for(let n=0;npi||Rn;let gi,mi;{const e=j(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};gi=t("__VUE_INSTANCE_SETTERS__",(e=>pi=e)),mi=t("__VUE_SSR_SETTERS__",(e=>_i=e))}const vi=e=>{const t=pi;return gi(e),e.scope.on(),()=>{e.scope.off(),gi(t)}},yi=()=>{pi&&pi.scope.off(),gi(null)};function bi(e){return 4&e.vnode.shapeFlag}let _i=!1;function wi(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=un(t)),xi(e,n)}function xi(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=vi(e);ze();try{nr(e)}finally{Ue(),t()}}}function Ti(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(un(Kt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Jo?Jo[n](e):void 0,has:(e,t)=>t in e||t in Jo}))}function Si(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Ci=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=m(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Qt(o,r,s||!r,n)}(e,0,_i);return n};function ki(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Kr(t)?ni(e,null,[t]):ni(e,t):ni(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Kr(n)&&(n=[n]),ni(e,t,n))}const Ei="3.4.21",$i="undefined"!=typeof document?document:null,Li=$i&&$i.createElement("template"),Oi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?$i.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?$i.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?$i.createElement(e,{is:n}):$i.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>$i.createTextNode(e),createComment:e=>$i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Li.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=Li.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pi="transition",Ai=Symbol("_vtc"),Mi=(e,{slots:t})=>ki(uo,function(e){const t={};for(const c in e)c in Ii||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[Ni(e.enter),Ni(e.leave)];{const t=Ni(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Fi(e,t?d:a),Fi(e,t?u:s),n&&n()},$=(e,t)=>{e._isLeaving=!1,Fi(e,f),Fi(e,h),Fi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?C:_,s=()=>E(t,e,n);Bi(r,[t,s]),Di((()=>{Fi(t,e?l:i),ji(t,e?d:a),Ri(r)||qi(t,o,m,s)}))};return c(t,{onBeforeEnter(e){Bi(y,[e]),ji(e,i),ji(e,s)},onBeforeAppear(e){Bi(S,[e]),ji(e,l),ji(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>$(e,t);ji(e,f),document.body.offsetHeight,ji(e,p),Di((()=>{e._isLeaving&&(Fi(e,f),ji(e,h),Ri(x)||qi(e,o,v,n))})),Bi(x,[e,n])},onEnterCancelled(e){E(e,!1),Bi(w,[e])},onAppearCancelled(e){E(e,!0),Bi(k,[e])},onLeaveCancelled(e){$(e),Bi(T,[e])}})}(e),t);Mi.displayName="Transition";const Ii={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};Mi.props=c({},co,Ii);const Bi=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ri=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Ni(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function ji(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ai]||(e[Ai]=new Set)).add(t)}function Fi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ai];n&&(n.delete(t),n.size||(e[Ai]=void 0))}function Di(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Vi=0;function qi(e,t,n,o){const r=e._endId=++Vi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Hi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Hi(a,l);let u=null,d=0,f=0;t===Pi?s>0&&(u=Pi,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Pi:"animation":null,f=u?u===Pi?i.length:l.length:0);const p=u===Pi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uWi(t)+Wi(e[n]))))}function Wi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const zi=Symbol("_vod"),Ui=Symbol("_vsh"),Xi={beforeMount(e,{value:t},{transition:n}){e[zi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Yi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Yi(e,!0),o.enter(e)):o.leave(e,(()=>{Yi(e,!1)})):Yi(e,t))},beforeUnmount(e,{value:t}){Yi(e,t)}};function Yi(e,t){e.style.display=t?e[zi]:"none",e[Ui]=!t}const Gi=Symbol(""),Ki=/(^|;)\s*display\s*:/;const Ji=/\s*!important$/;function Zi(e,t,n){if(p(n))n.forEach((n=>Zi(e,t,n)));else if(null==n&&(n=""),n=ls(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=es[t];if(n)return n;let o=$(t);if("filter"!==o&&o in e)return es[t]=o;o=P(o);for(let r=0;re.replace(me,((e,t)=>{if(!t)return e;if(1===ss)return`${t}${is}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*ss,as);return 0===n?"0":`${n}${is}`})));var is,ss,as;const ls=e=>v(e)?rs(e):e,cs="http://www.w3.org/1999/xlink";const us=Symbol("_vei");function ds(e,t,n,o,r=null){const i=e[us]||(e[us]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(fs.test(e)){let n;for(t={};n=e.match(fs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):O(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=gs(e,i);for(let o=0;ops||(hs.then((()=>ps=0)),ps=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const fs=/(?:Once|Passive|Capture)$/;let ps=0;const hs=Promise.resolve();function gs(e,t){if(p(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 ms=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const vs=["ctrl","shift","alt","meta"],ys={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)=>vs.some((n=>e[`${n}Key`]&&!t.includes(n)))},bs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;Sn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ai];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Zi(o,t,"")}else for(const e in t)null==n[e]&&Zi(o,e,"");for(const e in n)"display"===e&&(i=!0),Zi(o,e,n[e])}else if(r){if(t!==n){const e=o[Gi];e&&(n+=";"+e),o.cssText=n,i=Ki.test(n)}}else t&&e.removeAttribute("style");zi in e&&(e[zi]=i?o.display:"",e[Ui]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Zi(o,a,s[a])}(e,n,o):a(t)?l(t)||ds(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&ms(t)&&m(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("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ms(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=U(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(cs,t.slice(6,t.length)):e.setAttributeNS(cs,t,n);else{const o=z(t);null==n||o&&!U(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Oi);let ws;const xs=(...e)=>{const t=(ws||(ws=Mr(_s))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e} /*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Ts="undefined"!=typeof document;const Ss=Object.assign;function Cs(e,t){const n={};for(const o in t){const r=t[o];n[o]=Es(r)?r.map(e):e(r)}return n}const ks=()=>{},Es=Array.isArray,$s=/#/g,Ls=/&/g,Os=/\//g,Ps=/=/g,As=/\?/g,Ms=/\+/g,Is=/%5B/g,Bs=/%5D/g,Rs=/%5E/g,Ns=/%60/g,js=/%7B/g,Fs=/%7C/g,Ds=/%7D/g,Vs=/%20/g;function qs(e){return encodeURI(""+e).replace(Fs,"|").replace(Is,"[").replace(Bs,"]")}function Hs(e){return qs(e).replace(Ms,"%2B").replace(Vs,"+").replace($s,"%23").replace(Ls,"%26").replace(Ns,"`").replace(js,"{").replace(Ds,"}").replace(Rs,"^")}function Ws(e){return null==e?"":function(e){return qs(e).replace($s,"%23").replace(As,"%3F")}(e).replace(Os,"%2F")}function zs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Us=/\/$/;function Xs(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:zs(s)}}function Ys(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Gs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ks(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Js(e[n],t[n]))return!1;return!0}function Js(e,t){return Es(e)?Zs(e,t):Es(t)?Zs(t,e):e===t}function Zs(e,t){return Es(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Qs,ea,ta,na;function oa(e){if(!e)if(Ts){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Us,"")}(ea=Qs||(Qs={})).pop="pop",ea.push="push",(na=ta||(ta={})).back="back",na.forward="forward",na.unknown="";const ra=/^[^#]+#/;function ia(e,t){return e.replace(ra,"#")+t}const sa=()=>({left:window.scrollX,top:window.scrollY});function aa(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function la(e,t){return(history.state?history.state.position-t:-1)+e}const ca=new Map;function ua(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Ys(n,"")}return Ys(n,e)+o+r}function da(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?sa():null}}function fa(e){const{history:t,location:n}=window,o={value:ua(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Ss({},r.value,t.state,{forward:e,scroll:sa()});i(s.current,s,!0),i(e,Ss({},da(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ss({},t.state,da(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function pa(e){const t=fa(e=oa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ua(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Qs.pop,direction:u?u>0?ta.forward:ta.back:ta.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ss({},e.state,{scroll:sa()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ss({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ia.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ha(e){return"string"==typeof e||"symbol"==typeof e}const ga={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ma=Symbol("");var va,ya;function ba(e,t){return Ss(new Error,{type:e,[ma]:!0},t)}function _a(e,t){return e instanceof Error&&ma in e&&(null==t||!!(e.type&t))}(ya=va||(va={}))[ya.aborted=4]="aborted",ya[ya.cancelled=8]="cancelled",ya[ya.duplicated=16]="duplicated";const wa={sensitive:!1,strict:!1,start:!0,end:!0},xa=/[.+*?^${}()[\]/\\]/g;function Ta(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Sa(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ka={type:0,value:""},Ea=/[a-zA-Z0-9_]/;function $a(e,t,n){const o=function(e,t){const n=Ss({},wa,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:ks}function i(e){if(ha(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Ba(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Aa(e)&&o.set(e.record.name,e)}return t=Ia({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ba(1,{location:e});s=r.record.name,a=Ss(Oa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Oa(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ba(1,{location:e,currentLocation:t});s=r.record.name,a=Ss({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ma(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Oa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Pa(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Aa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ma(e){return e.reduce(((e,t)=>Ss(e,t.meta)),{})}function Ia(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ba(e,t){return t.children.some((t=>t===e||Ba(e,t)))}function Ra(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Hs(e))):[o&&Hs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function ja(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Es(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Fa=Symbol(""),Da=Symbol(""),Va=Symbol(""),qa=Symbol(""),Ha=Symbol("");function Wa(){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 za(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ba(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ba(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Ua(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(za(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&za(c,n,o,a,e,r)()}))))}}var s;return i}function Xa(e){const t=yr(Va),n=yr(qa),o=Ci((()=>t.resolve(ln(e.to)))),r=Ci((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Gs.bind(null,r));if(s>-1)return s;const a=Ga(e[t-2]);return t>1&&Ga(r)===a&&i[i.length-1].path!==a?i.findIndex(Gs.bind(null,e[t-2])):s})),i=Ci((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Es(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ci((()=>r.value>-1&&r.value===n.matched.length-1&&Ks(n.params,o.value.params)));return{route:o,href:Ci((()=>o.value.href)),isActive:i,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[ln(e.replace)?"replace":"push"](ln(e.to)).catch(ks):Promise.resolve()}}}const Ya=yo({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:Xa,setup(e,{slots:t}){const n=Vt(Xa(e)),{options:o}=yr(Va),r=Ci((()=>({[Ka(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ka(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:ki("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ga(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ka=(e,t,n)=>null!=e?e:null!=t?t:n;function Ja(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Za=yo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=yr(Ha),r=Ci((()=>e.route||o.value)),i=yr(Da,0),s=Ci((()=>{let e=ln(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ci((()=>r.value.matched[s.value]));vr(Da,Ci((()=>s.value+1))),vr(Fa,a),vr(Ha,r);const l=on();return Qn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Gs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Ja(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=ki(c,Ss({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ja(n.default,{Component:f,route:o})||f}}});function Qa(e){const t=La(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Na,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=rn(ga);let c=ga;Ts&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cs.bind(null,(e=>""+e)),d=Cs.bind(null,Ws),f=Cs.bind(null,zs);function p(e,i){if(i=Ss({},i||l.value),"string"==typeof e){const o=Xs(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ss(o,s,{params:f(s.params),hash:zs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Ss({},e,{path:Xs(n,e.path,i.path).path});else{const t=Ss({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Ss({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ss({},e,{hash:(h=c,qs(h).replace(js,"{").replace(Ds,"}").replace(Rs,"^")),path:a.path}));var h;const g=r.createHref(p);return Ss({fullPath:p,hash:c,query:o===Na?ja(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Xs(n,e,l.value.path):Ss({},e)}function g(e,t){if(c!==e)return ba(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Ss({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Ss(h(u),{state:"object"==typeof u?Ss({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Gs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=ba(16,{to:d,from:r}),P(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>_a(e)?_a(e,2)?e:O(e):L(e,d,r))).then((e=>{if(e){if(_a(e,2))return y(Ss({replace:a},h(e.to),{state:"object"==typeof e.to?Ss({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,i);return x(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sGs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Gs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Ua(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(za(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),R(n).then((()=>{n=[];for(const o of i.list())n.push(za(o,e,t));return n.push(l),R(n)})).then((()=>{n=Ua(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(za(o,e,t))}));return n.push(l),R(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Es(o.beforeEnter))for(const r of o.beforeEnter)n.push(za(r,e,t));else n.push(za(o.beforeEnter,e,t));return n.push(l),R(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ua(a,"beforeRouteEnter",e,t,_),n.push(l),R(n)))).then((()=>{n=[];for(const o of s.list())n.push(za(o,e,t));return n.push(l),R(n)})).catch((e=>_a(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function T(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ga,c=Ts?history.state:{};n&&(o||a?r.replace(e.fullPath,Ss({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,P(e,t,n,a),O()}let S;function C(){S||(S=r.listen(((e,t,n)=>{if(!B.listening)return;const o=p(e),i=v(o);if(i)return void y(Ss(i,{replace:!0}),o).catch(ks);c=o;const s=l.value;var a,u;Ts&&(a=la(s.fullPath,n.delta),u=sa(),ca.set(a,u)),w(o,s).catch((e=>_a(e,12)?e:_a(e,2)?(y(e.to,o).then((e=>{_a(e,20)&&!n.delta&&n.type===Qs.pop&&r.go(-1,!1)})).catch(ks),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||T(o,s,!1))&&(n.delta&&!_a(e,8)?r.go(-n.delta,!1):n.type===Qs.pop&&_a(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(ks)})))}let k,E=Wa(),$=Wa();function L(e,t,n){O(e);const o=$.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function O(e){return k||(k=!e,C(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function P(t,n,o,r){const{scrollBehavior:i}=e;if(!Ts||!i)return Promise.resolve();const s=!o&&function(e){const t=ca.get(e);return ca.delete(e),t}(la(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&aa(e))).catch((e=>L(e,t,n)))}const A=e=>r.go(e);let M;const I=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ha(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},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:p,options:e,push:m,replace:function(e){return m(Ss(h(e),{replace:!0}))},go:A,back:()=>A(-1),forward:()=>A(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:$.add,isReady:function(){return k&&l.value!==ga?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ya),e.component("RouterView",Za),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>ln(l)}),Ts&&!M&&l.value===ga&&(M=!0,m(r.location).catch((e=>{})));const t={};for(const o in ga)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Va,this),e.provide(qa,qt(t)),e.provide(Ha,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=ga,S&&S(),S=null,l.value=ga,M=!1,k=!1),n()}}};function R(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return B}function el(){return yr(qa)}const tl=["{","}"];const nl=/^(?:\d)+/,ol=/^(?:\w)+/;const rl=Object.prototype.hasOwnProperty,il=(e,t)=>rl.call(e,t),sl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=tl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ll{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||sl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=al(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 o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{il(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=al(t,this.messages))&&(o=this.messages[t]):n=t,il(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function cl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&gd?gd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ll({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Rh().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const ul=ie((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let dl;function fl(){if(!dl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,dl=cl(e),ul()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>dl.add(e,__uniConfig.locales[e]))),dl.setLocale(e)}}return dl}function pl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const hl=ie((()=>{const e="uni.async.",t=["error"];fl().add("en",pl(e,t,["The connection timed out, click the screen to try again."]),!1),fl().add("es",pl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),fl().add("fr",pl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),fl().add("zh-Hans",pl(e,t,["连接服务器超时,点击屏幕重试"]),!1),fl().add("zh-Hant",pl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),gl=ie((()=>{const e="uni.showToast.",t=["unpaired"];fl().add("en",pl(e,t,["Please note showToast must be paired with hideToast"]),!1),fl().add("es",pl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),fl().add("fr",pl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),fl().add("zh-Hans",pl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),fl().add("zh-Hant",pl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),ml=ie((()=>{const e="uni.showLoading.",t=["unpaired"];fl().add("en",pl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),fl().add("es",pl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),fl().add("fr",pl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),fl().add("zh-Hans",pl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),fl().add("zh-Hant",pl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),vl=ie((()=>{const e="uni.showModal.",t=["cancel","confirm"];fl().add("en",pl(e,t,["Cancel","OK"]),!1),fl().add("es",pl(e,t,["Cancelar","OK"]),!1),fl().add("fr",pl(e,t,["Annuler","OK"]),!1),fl().add("zh-Hans",pl(e,t,["取消","确定"]),!1),fl().add("zh-Hant",pl(e,t,["取消","確定"]),!1)})),yl=ie((()=>{const e="uni.chooseFile.",t=["notUserActivation"];fl().add("en",pl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),fl().add("es",pl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),fl().add("fr",pl(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),fl().add("zh-Hans",pl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),fl().add("zh-Hant",pl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),bl=ie((()=>{const e="uni.video.",t=["danmu","volume"];fl().add("en",pl(e,t,["Danmu","Volume"]),!1),fl().add("es",pl(e,t,["Danmu","Volumen"]),!1),fl().add("fr",pl(e,t,["Danmu","Le Volume"]),!1),fl().add("zh-Hans",pl(e,t,["弹幕","音量"]),!1),fl().add("zh-Hant",pl(e,t,["彈幕","音量"]),!1)}));function _l(e){const t=new Oe;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,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let wl=1;const xl=Object.create(null);function Tl(e,t){return e+"."+t}function Sl(e,t,n){t=Tl(e,t),xl[t]||(xl[t]=n)}function Cl({id:e,name:t,args:n},o){t=Tl(o,t);const r=t=>{e&&fm.publishHandler("invokeViewApi."+e,t)},i=xl[t];i?i(n,r):r({})}const kl=c(_l("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=fm,i=n?wl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),El=ve(!0);let $l;function Ll(){$l&&(clearTimeout($l),$l=null)}let Ol=0,Pl=0;function Al(e){if(Ll(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ol=t,Pl=n,$l=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)}),350)}function Ml(e){if(!$l)return;if(1!==e.touches.length)return Ll();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ol)>10||Math.abs(n-Pl)>10?Ll():void 0}function Il(e,t){const n=Number(e);return isNaN(n)?t:n}function Bl(){const e=__uniConfig.globalStyle||{},t=Il(e.rpxCalcMaxDeviceWidth,960),n=Il(e.rpxCalcBaseDeviceWidth,375);function o(){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"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Rl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nl,jl,Fl=["top","left","right","bottom"],Dl={};function Vl(){return jl="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 ql(){if(jl="string"==typeof jl?jl:Vl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Fl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Nl=!0}else Fl.forEach((function(e){Dl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=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:jl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Wl.length||setTimeout((function(){var e={};Wl.forEach((function(t){e[t]=Dl[t]})),Wl.length=0,zl.forEach((function(t){t(e)}))}),0);Wl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Dl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Hl(e){return Nl||ql(),Dl[e]}var Wl=[];var zl=[];const Ul=Rl({get support(){return 0!=("string"==typeof jl?jl:Vl()).length},get top(){return Hl("top")},get left(){return Hl("left")},get right(){return Hl("right")},get bottom(){return Hl("bottom")},onChange:function(e){Vl()&&(Nl||ql(),"function"==typeof e&&zl.push(e))},offChange:function(e){var t=zl.indexOf(e);t>=0&&zl.splice(t,1)}}),Xl=bs((()=>{}),["prevent"]),Yl=bs((e=>{}),["stop"]);function Gl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Kl(){const e=Gl(document.documentElement.style,"--window-top");return e?e+Ul.top:0}function Jl(){const e=document.documentElement.style,t=Kl(),n=Gl(e,"--window-bottom"),o=Gl(e,"--window-left"),r=Gl(e,"--window-right"),i=Gl(e,"--top-window-height");return{top:t,bottom:n?n+Ul.bottom:0,left:o?o+Ul.left:0,right:r?r+Ul.right:0,topWindowHeight:i||0}}function Zl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Ql(e){return Symbol(e)}function ec(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function tc(e,t=!1){if(t)return function(e){if(!ec(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Ju(parseFloat(t))+"px"))}(e);if(v(e)){const t=parseInt(e)||0;return ec(e)?Ju(t):t}return e}function nc(e){return e.$page}function oc(e){return 0===e.tagName.indexOf("UNI-")}const rc="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",ic="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";function sc(e,t="#000",n=27){return ni("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ni("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function ac(){{const{$pageInstance:e}=hi();return e&&gc(e.proxy)}}function lc(){const e=lf(),t=e.length;if(t)return e[t-1]}function cc(){var e;const t=null==(e=lc())?void 0:e.$page;if(t)return t.meta}function uc(){const e=cc();return e?e.id:-1}function dc(){const e=lc();if(e)return e.$vm}const fc=["navigationBar","pullToRefresh"];function pc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);fc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function hc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Me(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:re(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function gc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function mc(e,t,n){if(v(e))n=t,t=e,e=dc();else if("number"==typeof e){const t=lf().find((t=>nc(t).id===e));e=t?t.$vm:dc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-bc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(bc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(yc=setTimeout(s,300))),o=!1};return function(){clearTimeout(yc),o||requestAnimationFrame(s),o=!0}}function wc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return wc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),re(i.concat(n).join("/"))}function xc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Tc(){Bl(),he(oc),window.addEventListener("touchstart",Al,El),window.addEventListener("touchmove",Ml,El),window.addEventListener("touchend",Ll,El),window.addEventListener("touchcancel",Ll,El)}class Sc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ue(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ue(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=$c(this.$el.querySelector(e));return t?Cc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-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];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&fm.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 Cc(e,t=!0){if(t&&e&&(e=ce(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Sc(e)),e.$el.__wxsComponentDescriptor}function kc(e,t){return Cc(e,t)}function Ec(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>kc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ce(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,kc(r,!1)]}}function $c(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Lc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!oc(e);)e=e.parentElement;return e}(r)),a=ye(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&T(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Oc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Pc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Kl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Oc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Kl();i.touches=Pc(e.touches,t),i.changedTouches=Pc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return Ec(i,t,n)||[i]},createNativeEvent:Lc},Symbol.toStringTag,{value:"Module"});function Mc(e){!function(e){const t=e.globalProperties;c(t,Ac),t.$gcd=kc}(e._context.config)}let Ic=1;function Bc(e){return(e||uc())+".invokeViewApi"}const Rc=c(_l("view"),{invokeOnCallback:(e,t)=>pm.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=pm,s=o?Ic++:0;o&&r("invokeViewApi."+s,o,!0),i(Bc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=pm,a=Ic++,l="invokeViewApi."+a;return r(l,n),s(Bc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Nc(e){mc(lc(),"onResize",e),pm.invokeOnCallback("onWindowResize",e)}function jc(e){const t=lc();mc(Rh(),"onShow",e),mc(t,"onShow")}function Fc(){mc(Rh(),"onHide"),mc(lc(),"onHide")}const Dc=["onPageScroll","onReachBottom"];function Vc(){Dc.forEach((e=>pm.subscribe(e,function(e){return(t,n)=>{mc(parseInt(n),e,t)}}(e))))}function qc(){!function(){const{on:e}=pm;e("onResize",Nc),e("onAppEnterForeground",jc),e("onAppEnterBackground",Fc)}(),Vc()}function Hc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Se(this.$page.id)),e.eventChannel}}function Wc(e){e._context.config.globalProperties.getOpenerEventChannel=Hc}function zc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Ju(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Xc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[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"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Uc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Uc(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{i()}),0)}const Yc={props:["animation"],watch:{animation:{deep:!0,handler(){Xc(this)}}},mounted(){Xc(this)}},Gc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Yc),Kc(e)},Kc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},yo(e));function Jc(e){return e.__wwe=!0,e}function Zc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Qc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function eu(e){const t=on(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Jc((function(e){e.touches.length>1||s(e)})),onMousedown:Jc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Jc((function(){a()})),onMouseup:Jc((function(){r&&l()})),onTouchcancel:Jc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function tu(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const nu=Ql("uf"),ou=Ql("ul");function ru(e,t,n){const o=ac();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&fm.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?fm.on(r,t[r]):e&&fm.on(`uni-${r}-${o}-${e}`,t[r])}))}function iu(e,t,n){const o=ac();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&fm.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?fm.off(r,t[r]):e&&fm.off(`uni-${r}-${o}-${e}`,t[r])}))}const su=Gc({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=on(null),o=yr(nu,!1),{hovering:r,binding:i}=eu(e),s=Jc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=yr(ou,!1);return a&&(a.addHandler(s),Vo((()=>{a.removeHandler(s)}))),function(e,t){ru(e.id,t),Qn((()=>e.id),((e,n)=>{iu(n,t,!0),ru(e,t,!0)})),qo((()=>{iu(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=tu(e,"disabled"),l=tu(e,"loading"),c=tu(e,"plain"),u=o&&"none"!==o;return ni("uni-button",ci({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),au=Ql("upm");function lu(){return yr(au)}function cu(e){const t=function(e){return Vt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==lf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(pc(el().meta,e)))))}(e);return vr(au,t),t}function uu(){return el()}function du(){return history.state&&history.state.__id__||1}const fu=["original","compressed"],pu=["album","camera"],hu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function gu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function mu(e,t){return!p(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function vu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let yu=1;const bu={};function _u(e,t,n){if("number"==typeof e){const o=bu[e];if(o)return o.keepAlive||delete bu[e],o.callback(t,n)}return t}const wu="success",xu="fail",Tu="complete";function Su(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=vu(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=yu++;return function(e,t,n,o=!1){bu[e]={name:t,keepAlive:o,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),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const Cu="success",ku="fail",Eu="complete",$u={},Lu={};function Ou(e,t){return function(n){return e(n,t)||n}}function Pu(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Au(e,t={}){return[Cu,ku,Eu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Pu(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Mu(e,t){const n=[];p($u.returnValue)&&n.push(...$u.returnValue);const o=Lu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Iu(e){const t=Object.create(null);Object.keys($u).forEach((e=>{"returnValue"!==e&&(t[e]=$u[e].slice())}));const n=Lu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Bu(e,t,n,o){const r=Iu(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Pu(r.invoke,n).then((n=>t(Au(Iu(e),n),...o)))}return t(Au(r,n),...o)}return t(n,...o)}function Ru(e,t){return(n={},...o)=>function(e){return!(!T(e)||![wu,xu,Tu].find((t=>m(e[t]))))}(n)?Mu(e,Bu(e,t,n,o)):Mu(e,new Promise(((r,i)=>{Bu(e,t,c(n,{success:r,fail:i}),o)})))}function Nu(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,_u(e,c({errMsg:i},o))}function ju(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!T(t.formatArgs)&&T(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=Su(e,n,o),i=ju(0,[n],0,o);return i?Nu(r,e,i):t(n,{resolve:t=>function(e,t,n){return _u(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Nu(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Du(e,t,n,o){return Ru(e,Fu(e,t,0,o))}function Vu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ju(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function qu(e,t,n,o){return Ru(e,function(e,t,n,o){return Fu(e,t,0,o)}(e,t,0,o))}let Hu=!1,Wu=0,zu=0,Uu=960,Xu=375,Yu=750;function Gu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Pf(),t=If(Mf(e,Af(e)));return{platform:kf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Wu=e,zu=t,Hu="ios"===n}function Ku(e,t){const n=Number(e);return isNaN(n)?t:n}const Ju=Vu(0,((e,t)=>{if(0===Wu&&(Gu(),function(){const e=__uniConfig.globalStyle||{};Uu=Ku(e.rpxCalcMaxDeviceWidth,960),Xu=Ku(e.rpxCalcBaseDeviceWidth,375),Yu=Ku(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Wu;n=e===Yu||n<=Uu?n:Xu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==zu&&Hu?.5:1),e<0?-o:o}));const Zu=new class{constructor(){this.$emitter=new Oe}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},Qu=Vu(0,((e,...t)=>{Zu.emit(e,...t)})),ed=[.5,.8,1,1.25,1.5,2];const td=(e,t,n,o)=>{!function(e,t,n,o,r){pm.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((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)})(o,e)}))};const nd={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 od(e){let 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),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,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(f(nd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(nd[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class rd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,od(t)])}}class id{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class sd{constructor(e){this.width=e}}let ad=0,ld={};function cd(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(ad++);r.callbackId=e,ld[e]=o}pm.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}(ld[e],t),delete ld[e])}))}const ud={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"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){pm.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new rd("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new rd("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 id(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,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new sd(n)}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,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}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+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(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===o.length&&a(),o=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}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){td(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){td(this.id,this.pageId,"moveToLocation",e)}getScale(e){td(this.id,this.pageId,"getScale",e)}getRegion(e){td(this.id,this.pageId,"getRegion",e)}includePoints(e){td(this.id,this.pageId,"includePoints",e)}translateMarker(e){td(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){td(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){td(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){td(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){td(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){td(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){td(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){td(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){td(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){td(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){td(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){td(this.id,this.pageId,"openMapApp",e)}on(e,t){td(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){Bf(this.id,this.pageId,"play")}pause(){Bf(this.id,this.pageId,"pause")}stop(){Bf(this.id,this.pageId,"stop")}seek(e){Bf(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Bf(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~ed.indexOf(e)||(e=1),Bf(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Bf(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Bf(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Bf(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Bf(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){cd(this.id,this.pageId,e,t)}}};function dd(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=ud[n];e.context=new r(t,o),delete e.contextInfo}}class fd{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}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._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class pd{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};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);if(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}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):Nf(i,n)?i:i.querySelector(n);return e?Rf(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Rf(t,r))})),!l&&Nf(i,n)&&e.unshift(Rf(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(dd):dd(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=le(e),this}select(e){return this._nodesRef=new fd(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new fd(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new fd(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const hd=Vu(0,(e=>((e=le(e))&&!function(e){const t=le(e);if(t.$page)return gc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return gc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?gc(n):void 0}(e)&&(e=null),new pd(e||dc())))),gd=Vu(0,(()=>{const e=Rh();return e&&e.$vm?e.$vm.$locale:fl().getLocale()})),md={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const vd={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=mu(e,fu)},sourceType(e,t){t.sourceType=mu(e,pu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},yd={formatArgs:{urls(e,t){t.urls=e.map((e=>v(e)&&e?Tf(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":T(e)&&(e=JSON.stringify(e)),s[wd(a)]=wd(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==hu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||bd).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===_d.indexOf(t.responseType)&&(t.responseType="text")}}},Td={formatArgs:{filePath(e,t){e&&(t.filePath=Tf(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Sd={url:{type:String,required:!0}},Cd=(Ld(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Ld(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Ad("navigateTo")),kd=Ad("redirectTo"),Ed=Ad("reLaunch"),$d={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(lf().length-1,e)}}};function Ld(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 Od;function Pd(){Od=""}function Ad(e){return{formatArgs:{url:Md(e)},beforeAll:Pd}}function Md(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=lf();return n.length&&(t=nc(n[n.length-1]).route),wc(t,e)}(t)).split("?")[0],r=xc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(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 o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Od===t&&"appLaunch"!==n.openType)return`${Od} locked`;__uniConfig.ready&&(Od=t)}else if(r.meta.isTabBar){const e=lf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const Id={formatArgs:{title:"",mask:!1}},Bd=(Boolean,{beforeInvoke(){vl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=fl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=fl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Rd=["success","loading","none","error"],Nd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=gu(e,Rd)},image(e,t){t.image=e?Tf(e):""},duration:1500,mask:!1}});function jd(){const e=dc();if(!e)return;const t=af(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:uf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,mc(e,"onHide"))}function Fd(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Dd(e){const t=af().values();for(const n of t){const t=ef(n);if(Fd(e,t))return n.$.__isActive=!0,t.id}}const Vd=qu("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(tf.handledBeforeEntryPageRoutes)return jd(),Ud({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},Dd(e)).then(o).catch(r);of.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Ad("switchTab"));function qd(){const e=lc();if(!e)return;const t=ef(e);uf(pf(t.path,t.id))}const Hd=qu("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(tf.handledBeforeEntryPageRoutes)return qd(),Ud({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);rf.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,kd);function Wd(){const e=af().keys();for(const t of e)uf(t)}const zd=qu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(tf.handledBeforeEntryPageRoutes)return Wd(),Ud({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);sf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Ed);function Ud({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Rh().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++df,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(_a(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Se(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function Xd(){if(tf.handledBeforeEntryPageRoutes)return;tf.handledBeforeEntryPageRoutes=!0;const e=[...nf];nf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Ud(e).then(t).catch(n)));const t=[...of];of.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(jd(),Ud(e,Dd(e.url)).then(t).catch(n))));const n=[...rf];rf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(qd(),Ud(e).then(t).catch(n))));const o=[...sf];sf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Wd(),Ud(e).then(t).catch(n))))}function Yd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Gd=Yd("top:env(a)"),Kd=Yd("top:constant(a)"),Jd=(()=>Gd?"env":Kd?"constant":"")();function Zd(e){var t,n;Zl({"--window-top":(n=0,Jd?`calc(${n}px + ${Jd}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Jd?`calc(${t}px + ${Jd}(safe-area-inset-bottom))`:`${t}px`)})}const Qd=new Map;function ef(e){return e.$page}const tf={handledBeforeEntryPageRoutes:!1},nf=[],of=[],rf=[],sf=[];function af(){return Qd}function lf(){return cf()}function cf(){const e=[],t=Qd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function uf(e,t=!0){const n=Qd.get(e);n.$.__isUnload=!0,mc(n,"onUnload"),Qd.delete(e),t&&function(e){const t=hf.get(e);t&&(hf.delete(e),gf.pruneCacheEntry(t))}(e)}let df=du();function ff(e){const t=function(e){const t=lu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),hc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Qd.set(pf(t.path,t.id),e),1===Qd.size&&setTimeout((()=>{Xd()}),0)}function pf(e,t){return e+"$$"+t}const hf=new Map,gf={get:e=>hf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;gf.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(gf.delete(n),gf.pruneCacheEntry(e),Sn((()=>{Qd.forEach(((e,t)=>{e.$.isUnmounted&&Qd.delete(t)}))})))}))}(e),hf.set(e,t)},delete(e){hf.get(e)&&hf.delete(e)},forEach(e){hf.forEach(e)}};function mf(e,t){!function(e){const t=yf(e),{body:n}=document;bf&&n.removeAttribute(bf),t&&n.setAttribute(t,""),bf=t}(e),Zd(),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),wf(e,t)}function vf(e){const t=yf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function yf(e){return e.type.__scopeId}let bf,_f;function wf(e,t){if(document.removeEventListener("touchmove",vc),_f&&document.removeEventListener("scroll",_f),t.disableScroll)return document.addEventListener("touchmove",vc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=ef(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&fm.publishHandler("onPageScroll",{scrollTop:o},e),n&&fm.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>fm.publishHandler("onReachBottom",{},s)),_f=_c(i),requestAnimationFrame((()=>document.addEventListener("scroll",_f)))}function xf(e){const{base:t}=__uniConfig.router;return 0===re(e).indexOf(t)?re(e):t+e}function Tf(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return xf(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=cf();return o.length?xf(wc(ef(o[o.length-1]).route,e).slice(1)):e}const Sf=navigator.userAgent,Cf=/android/i.test(Sf),kf=/iphone|ipad|ipod/i.test(Sf),Ef=Sf.match(/Windows NT ([\d|\d.\d]*)/i),$f=/Macintosh|Mac/i.test(Sf),Lf=/Linux|X11/i.test(Sf),Of=$f&&navigator.maxTouchPoints>0;function Pf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Af(e){return e&&90===Math.abs(window.orientation)}function Mf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function If(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Bf(e,t,n,o){pm.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Rf(e,t){const n={},{top:o,topWindowHeight:r}=Jl();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=ge(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(p(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(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Nf(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)}const jf={};function Ff(e,t){const n=jf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return Df(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Df(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Vf(e){for(const n in jf)if(f(jf,n)){if(jf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return jf[t]=e,t}const qf=zc(),Hf=zc();const Wf=Gc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=on(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Vt({width:-1,height:-1});return Qn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){Eo(o),jo((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ni("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ni("div",{onScroll:r},[ni("div",null,null)],40,["onScroll"]),ni("div",{onScroll:r},[ni("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const zf=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Uf(e,t=!0){const n=t?zf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Xf=!1;function Yf(){if(Xf)return;Xf=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=zf,o*=zf,r*=zf,i*=zf,s*=zf,a*=zf,l=u?l*zf:l,c=u?c*zf:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==zf&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*zf}));else if(Array.isArray(e))for(let t=0;tYf()));function Kf(e){return e?Tf(e):e}function Jf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Zf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Qf;function ep(e=0,t=0){return Qf||(Qf=document.createElement("canvas")),Qf.width=e,Qf.height=t,Qf}const tp=Gc({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Gf();const o=on(null),r=on(null),i=on(null),s=on(!1),a=function(e){return(t,n)=>{e(t,Lc(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=Pp({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=Ci((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];i[t]&&o.push(Jc((e=>{const o=e.currentTarget.getBoundingClientRect();Zf(o,e.touches),Zf(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(Xl),i[t]=o})),i}));return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],r={};const i=Ci((()=>e.hidpi?zf:1));function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);Uf(o,e.hidpi),t.putImageData(n,0,0)}else Uf(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=Kf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=Kf(o),n[1]=o),o&&!r[o]&&i()}))}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const p=t.value;let h;const g=p.offsetWidth-e;o=o?Math.min(o,g):g;const m=p.offsetHeight-n;r=r?Math.min(r,m):m,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=ep(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(p,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)h=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);h=Array.prototype.slice.call(e.data)}b={data:h,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=ep(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const h={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:p};function g(e,t,n){let o=h[e];0!==e.indexOf("_")&&m(o)&&o(t,n)}return c(h,{_resize:s,_handleSubscribe:g})}(e,r,s);return ph(h,gh(e.canvasId),!0),jo((()=>{g()})),()=>{const{canvasId:t,disableScroll:s}=e;return ni("uni-canvas",ci({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,p.value),[ni("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),ni("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),ni(Wf,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function np(){}const op={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function rp(e,t,n){function o(e){const t=Ci((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",np,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",np,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Qn((()=>t.value),(e=>e&&o(e)))}const ip={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},sp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},ap={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"]},lp=Gc({name:"Image",props:ip,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=Ci((()=>{let e="auto",o="";const r=ap[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Vt({rootEl:e,src:Ci((()=>t.src?Tf(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return jo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Zc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=sp[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){cp&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Qn((()=>t.mode),((e,t)=>{sp[t]&&r(),sp[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Qn((()=>e.src),(e=>l(e))),Qn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),jo((()=>l(e.src))),Vo((()=>c()))}(o,e,n,i,r),()=>ni("uni-image",{ref:n},[ni("div",{style:o.modeStyle},null,4),sp[e.mode]?ni(Wf,{onResize:i},null,8,["onResize"]):ni("span",null,null)],512)}});const cp="Google Inc."===navigator.vendor;const up=ve(!0),dp=[];let fp=0,pp=!1;const hp=e=>dp.forEach((t=>t.userAction=e));function gp(e={userAction:!1}){if(!pp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!fp&&hp(!0),fp++,setTimeout((()=>{!--fp&&hp(!1)}),0)}),up)})),pp=!0}dp.push(e)}function mp(){const e=Vt({userAction:!1});return jo((()=>{gp(e)})),Vo((()=>{!function(e){const t=dp.indexOf(e);t>=0&&dp.splice(t,1)}(e)})),{state:e}}function vp(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function yp(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const bp=["none","text","decimal","numeric","tel","search","email","url"],_p=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~bp.indexOf(e)},cursorColor:{type:String,default:""}},op),wp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function xp(e,t,n,o){let r=null;r=Te((n=>{t.value=yp(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Qn((()=>e.modelValue),r),Qn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return No((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Tp(e,t){mp();const n=Ci((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Qn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),jo((()=>{n.value&&Sn(o)}))}function Sp(e,t,n,o){Sl(uc(),"getSelectedTextRange",vp);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Zc(t,n),i=Ci((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ci((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ci((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ci((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=yp(e.modelValue,e.type)||yp(e.value,e.type);const u=Vt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Qn((()=>u.focus),(e=>n("update:focus",e))),Qn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=xp(e,i,n,s);Tp(e,r),rp(0,r);const{state:l}=function(){const e=Vt({attrs:{}});return jo((()=>{let t=hi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=yr(nu,!1);if(!n)return;const o=hi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Vo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Qn([()=>t.selectionStart,()=>t.selectionEnd],s),Qn((()=>t.cursor),a),Qn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Cp=c({},_p,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),kp=ie((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Ep(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&kp()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const $p=Gc({name:"Input",props:Cp,emits:["confirm",...wp],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ci((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ci((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(O(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=on(null!=t?t.toLocaleString():"");return Qn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Qn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),l={fn:null};const c=on(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=Sp(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Ep(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Ep(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Qn((()=>d.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=Ci((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?ni("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ni("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ni("uni-input",{ref:c},[ni("div",{class:"uni-input-wrapper"},[ro(ni("div",ci(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xi,!(d.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?ni("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Lp=["class","style"],Op=/^on[A-Z]+/,Pp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=hi(),r=rn({}),i=rn({}),s=rn({}),a=n.concat(Lp);return o.attrs=Vt(o.attrs),Jn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Op.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Ap(e){const t=[];return p(e)&&e.forEach((e=>{Kr(e)?e.type===jr?t.push(...Ap(e.children)):t.push(e):p(e)&&t.push(...Ap(e))})),t}const Mp=Gc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=on(null),o=on(!1);let{setContexts:r,events:i}=function(e,t){const n=on(0),o=on(0),r=Vt({x:null,y:null}),i=on(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 o=t.value;function r(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(i.value=Ip(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=Jc((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!==r.x&&i.value&&i.value>0){l(Ip(n)/i.value)}r.x=n.x,r.y=n.y}})),f=Jc((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function p(){h(),a.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return vr("movableAreaWidth",n),vr("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Pp(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),jo((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(Kt(o))}r(e)}return vr("_isMounted",o),vr("movableAreaRootRef",n),vr("addMovableViewContext",(e=>{d.push(e),f()})),vr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=Ap(e),ni("uni-movable-area",ci({ref:n},a.value,l.value,c),[ni(Wf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Ip(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Bp=function(e,t,n,o){e.addEventListener(t,(e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Rp,Np;function jp(e,t,n){Vo((()=>{document.removeEventListener("mousemove",Rp),document.removeEventListener("mouseup",Np)}));let o=0,r=0,i=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-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Bp(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),Bp(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),Bp(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Rp=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Bp(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 f=Np=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Bp(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 Fp(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}},qp.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}},qp.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}},qp.prototype.dt=function(){return-this._x_v/this._x_a},qp.prototype.done=function(){const e=Fp(this.s().x,this._endPositionX)||Fp(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},qp.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},qp.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Hp.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),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,r*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,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,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),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},Hp.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Hp.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Hp.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Dp(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Dp(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Dp(t,.1)&&(t=0),Dp(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Dp(o-e,.1)&&Dp(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Hp.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Hp.prototype.done=function(e){return e||(e=(new Date).getTime()),Fp(this.x(),this._endPosition,.1)&&Dp(this.dx(),.1)},Hp.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())},Hp.prototype.springConstant=function(){return this._k},Hp.prototype.damping=function(){return this._c},Hp.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}]},Wp.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Wp.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)}},Wp.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Wp.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 zp(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Up=Gc({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:.1},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 o=on(null),r=Zc(o,n),{setParent:i}=function(e,t,n){const o=yr("_isMounted",on(!1)),r=yr("addMovableViewContext",(()=>{})),i=yr("removeMovableViewContext",(()=>{}));let s,a,l=on(1),c=on(1),u=on(!1),d=on(0),f=on(0),p=null,h=null,g=!1,m=null,v=null;const y=new Vp,b=new Vp,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Ci((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new qp(1,w.value);Qn((()=>e.disabled),(()=>{z()}));const{_updateOldScale:T,_endScale:S,_setScale:C,scaleValueSync:k,_updateBoundary:E,_updateOffset:$,_updateWH:L,_scaleOffset:O,minX:P,minY:A,maxX:M,maxY:I,FAandSFACancel:B,_getLimitXY:R,_setTransform:N,_revise:j,dampingNumber:F,xMove:D,yMove:V,xSync:q,ySync:H,_STD:W}=function(e,t,n,o,r,i,s,a,l,c){const u=Ci((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=Ci((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=on(Number(e.scaleValue)||1);Qn(f,(e=>{N(e)})),Qn(u,(()=>{R()})),Qn(d,(()=>{R()})),Qn((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=yr("movableAreaWidth",on(0)),r=yr("movableAreaHeight",on(0)),i=yr("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=on(0),c=on(0),u=on(0),d=on(0),f=on(0),p=on(0);function h(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-s.y+a.y,i=r.value-c.value-s.y-a.y;d.value=Math.min(n,i),p.value=Math.max(n,i)}function g(){s.x=Gp(e.value,i.value),s.y=Kp(e.value,i.value)}function m(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,s=l.value*o;a.x=(s-l.value)/2,a.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:p}}(t,o,B),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:C,dampingNumber:k,xMove:E,yMove:$,xSync:L,ySync:O,_STD:P}=function(e,t,n,o,r,i,s,a,l,c,u,d,f,p){const h=Ci((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Ci((()=>"all"===t.direction||"horizontal"===t.direction)),m=Ci((()=>"all"===t.direction||"vertical"===t.direction)),v=on(Zp(t.x)),y=on(Zp(t.y));Qn((()=>t.x),(e=>{v.value=Zp(e)})),Qn((()=>t.y),(e=>{y.value=Zp(e)})),Qn(v,(e=>{C(e)})),Qn(y,(e=>{k(e)}));const b=new Wp(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):ei.value?(t=i.value,n=!0):t1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+s,_.historyX.shift(),_.historyX.push(n),V.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),V.value&&(o=t.detail.dy+a,_.historyY.shift(),_.historyY.push(o),D.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let r="touch";nM.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=M.value+y.x(n-M.value)):n=M.value),oI.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=I.value+b.x(o-I.value)):o=I.value),Yp((function(){N(n,o,l.value,r)}))}}}function X(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!j("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=f.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let s=r+n,a=i+o;sM.value&&(s=M.value,a=o+(M.value-n)*i/r),aI.value&&(a=I.value,s=n+(I.value-o)*r/i),x.setEnd(s,a),h=Jp(x,(function(){let e=x.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||B()}function Y(){if(!o.value)return;B();let t=e.scale?k.value:1;$(),L(t),E();let n=R(q.value+O.x,H.value+O.y),r=n.x,i=n.y;N(r,i,t,"",!0),T(t)}return jo((()=>{jp(n.value,(e=>{switch(e.detail.state){case"start":z();break;case"move":U(e);break;case"end":X()}})),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:S,_setScale:C};r(e),qo((()=>{i(e)}))})),qo((()=>{B()})),{setParent:Y}}(e,r,o);return()=>ni("uni-movable-view",{ref:o},[ni(Wf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Xp=!1;function Yp(e){Xp||(Xp=!0,requestAnimationFrame((function(){e(),Xp=!1})))}function Gp(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Gp(e.offsetParent,t):0}function Kp(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Kp(e.offsetParent,t):0}function Jp(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Zp(e){return/\d+[ur]px$/i.test(e)?Ju(parseFloat(e)):Number(e)||0}const Qp=Gc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=on(null),o=Ci((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),r=Ci((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return ni("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ni("div",{class:"uni-scroll-view-refresh"},[ni("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ni("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[ni("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),ni("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ni("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ni("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ni("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),eh=ve(!0),th=Gc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=on(null),i=on(null),s=on(null),a=on(null),l=Zc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ci((()=>Number(e.scrollTop)||0)),n=Ci((()=>Number(e.scrollLeft)||0));return{state:Vt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=Ci((()=>e.scrollX)),h=Ci((()=>e.scrollY)),g=Ci((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Ci((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={x:0,y:e.refresherThreshold};return jo((()=>{Sn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(p.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,eh),s.value.addEventListener("touchmove",l,ve(!1)),s.value.addEventListener("scroll",i,ve(!1)),s.value.addEventListener("touchend",g,eh),Vo((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Eo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Qn(n,(e=>{b(e)})),Qn(o,(e=>{_(e)})),Qn((()=>e.scrollIntoView),(e=>{w(e)})),Qn((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),m=Ci((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ci((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return ni("uni-scroll-view",{ref:r},[ni("div",{ref:s,class:"uni-scroll-view"},[ni("div",{ref:i,style:m.value,class:v.value},[t?ni(Qp,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ni("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function nh(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=Ci((()=>n.value.length>t.displayMultipleItems)),y=Ci((()=>e.circular&&v.value));function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),p=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function T(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;ae;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))})),Qn((()=>t.interval),(()=>{c&&(s(),S())})),Qn((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),Qn((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),Qn((()=>e.autoplay&&!t.userTracking),C),C(e.autoplay&&!t.userTracking),jo((()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}jp(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),g=d,i=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(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(r){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;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),qo((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const oh=Gc({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 o=on(null),r=Zc(o,n),i=on(null),s=on(null),a=function(e){return Vt({interval:Ci((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Ci((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Ci((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Ci((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:tc(e.previousMargin,!0),bottom:tc(e.nextMargin,!0)}:{top:0,bottom:0,left:tc(e.previousMargin,!0),right:tc(e.nextMargin,!0)}),t})),c=Ci((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=on([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(Kt(o))}f.value=e}vr("addSwiperContext",(function(e){d.push(e),p()}));vr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=nh(e,a,f,s,n,r);let v=()=>null;return v=rh(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=Ap(n),ni("uni-swiper",{ref:o},[ni("div",{ref:i,class:"uni-swiper-wrapper"},[ni("div",{class:"uni-swiper-slides",style:l.value},[ni("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&ni("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>ni("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,u=!1,d=on(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Jn((()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()})),Jn((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))}));const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const g=()=>sc("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",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a{d.value=f}),300);d.value=f},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return jo(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ni(jr,null,[ni("div",ci({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},p),[g()],16,["onClick"]),ni("div",ci({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},ih=Gc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=on(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return jo((()=>{const e=yr("addSwiperContext");e&&e(o)})),qo((()=>{const e=yr("removeSwiperContext");e&&e(o)})),()=>ni("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),sh={ensp:" ",emsp:" ",nbsp:" "};function ah(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&sh[t]&&" "===i&&(i=sh[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,sh.nbsp).replace(/ /g,sh.ensp).replace(/ /g,sh.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const lh=Gc({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=on(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Dr){const n=ah(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ri(e)),t!==r&&o.push(ni("br"))}))}else o.push(t)})),ni("uni-text",{ref:n,selectable:!!e.selectable||null},[ni("span",null,o)],8,["selectable"])}}}),ch=Gc({name:"View",props:c({},Qc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=eu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ni("uni-view",ci({class:o.value?i:"",ref:n},r),[Yo(t,"default")],16):ni("uni-view",{ref:n},[Yo(t,"default")],512)}}});function uh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function dh(e,t,n){e&&Sl(n||uc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function fh(e,t){e&&function(e,t){t=Tl(e,t),delete xl[t]}(t||uc(),e)}function ph(e,t,n,o){const r=hi().proxy;jo((()=>{dh(t||uh(r),e,o),!n&&t||Qn((()=>r.id),((t,n)=>{dh(uh(r,t),e,o),fh(n&&uh(r,n))}))})),Vo((()=>{fh(t||uh(r),o)}))}let hh=0;function gh(e){const t=ac(),n=hi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+hh++;return jo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function mh(e,t,n,o){m(t)&&Bo(e,t.bind(n),o)}function vh(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>mh(o,e,n,t))):mh(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,mc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&mc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function yh(e,t,n){vh(e,t,n)}function bh(e,t,n){return e[t]=n}function _h(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function wh(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?mc(i.proxy,"onError",n):hn(n,0,o&&o.$.vnode,!1)}}function xh(e,t){return e?[...new Set([].concat(e,t))]:t}function Th(e){const t=e.config;var n;t.errorHandler=$e(e,wh),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=xh}));const o=t.globalProperties;o.$set=bh,o.$applyOptions=yh,o.$callMethod=_h,function(e){Ee.forEach((t=>t(e)))}(e)}function Sh(e){const t=Qa({history:Eh(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:kh});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ch[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Ch=Object.create(null);const kh=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Ch[o]);if(t)return t}return{left:0,top:0};var o};function Eh(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),pa(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=cf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=ef(t[r]);uf(pf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const $h={install(e){Th(e),Mc(e),Wc(e),e.config.warnHandler||(e.config.warnHandler=Lh),Sh(e)}};function Lh(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const Oh={class:"uni-async-loading"},Ph=ni("i",{class:"uni-loading"},null,-1),Ah=Kc({name:"AsyncLoading",render:()=>(Wr(),Gr("div",Oh,[Ph]))});function Mh(){window.location.reload()}const Ih=Kc({name:"AsyncError",setup(){hl();const{t:e}=fl();return()=>ni("div",{class:"uni-async-error",onClick:Mh},[e("uni.async.error")],8,["onClick"])}});let Bh;function Rh(){return Bh}function Nh(e){Bh=e,Object.defineProperty(Bh.$.ctx,"$children",{get:()=>cf().map((e=>e.$vm))});const t=Bh.$.appContext.app;t.component(Ah.name)||t.component(Ah.name,Ah),t.component(Ih.name)||t.component(Ih.name,Ih),function(e){e.$vm=e,e.$mpType="app";const t=on(fl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Bh),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Bh),qc(),Tc()}function jh(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=hi();if(n(r.proxy),o(r),i)return i(e,t)},e}function Fh(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?jh(e.default,t):jh(e,t)}function Dh(e){return Fh(e,{clone:!0,init:ff,setup(e){e.$pageInstance=e;const t=uu(),n=_e(t.query);e.attrs.__pageQuery=n,ef(e.proxy).options=n,e.proxy.options=n;const o=lu();var r,i;return e.onReachBottom=Vt([]),e.onPageScroll=Vt([]),Qn([e.onReachBottom,e.onPageScroll],(()=>{const t=lc();e.proxy===t&&wf(e,o)}),{once:!0}),No((()=>{mf(e,o)})),jo((()=>{vf(e);const{onReady:n}=e;n&&I(n),Wh(t)})),Lo((()=>{if(!e.__isVisible){mf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),Sn((()=>{Wh(t)}))}}),"ba",r),function(e,t){Lo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}})),i=o.id,fm.subscribe(Tl(i,"invokeViewApi"),Cl),Vo((()=>{!function(e){fm.unsubscribe(Tl(e,"invokeViewApi")),Object.keys(xl).forEach((t=>{0===t.indexOf(e+".")&&delete xl[t]}))}(o.id)})),n}})}function Vh(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=sg(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";pm.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function qh(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&pm.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Hh(){const{emit:e}=pm;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Hf)):e("onAppEnterBackground")}function Wh(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&mc("onTabItemTap",{index:n,text:t,pagePath:o})}function zh(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Uh(e,t,n){const o=Vt({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(a){function l(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=a.targetTouches[0],d=u.pageX,f=u.pageY,p=r,h=t.value;if("progress"===c?(!function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout((()=>{o.toastThin=!1,s=void 0}),1e3)),n.volume=i,o.volumeNew=i)}(f-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(f-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout((()=>{o.toastThin=!0}),500)),o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const Xh={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},Yh=Gc({name:"Video",props:Xh,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=on(null),i=on(null),s=Zc(r,t),{state:a}=mp(),{$attrs:l}=Pp({excludeListeners:!0});fl(),bl();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=on(null),r=Ci((()=>Tf(e.src))),i=Ci((()=>"true"===e.muted||!0===e.muted)),s=Vt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Qn((()=>r.value),(()=>{s.playing=!1,s.currentTime=0})),Qn((()=>s.buffered),(e=>{n("progress",{},{buffered:e})})),Qn((()=>i.value),(e=>{o.value.muted=e})),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:$,updateDanmu:L,toggleDanmu:O,sendDanmu:P}=function(e,t){const n=on(null),o=Vt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:A,onFullscreenChange:M,emitFullscreenChange:I,toggleFullscreen:B,requestFullScreen:R,exitFullScreen:N}=function(e,t,n,o,r){const i=Vt({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return Vo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:j,onTouchstart:F,onTouchend:D,onTouchmove:V}=Uh(e,c,A),{state:q,progressRef:H,ballRef:W,clickProgress:z,toggleControls:U,autoHideEnd:X,autoHideStart:Y}=function(e,t,n,o){const r=on(null),i=on(null),s=Ci((()=>e.showCenterPlayBtn&&!t.start)),a=on(!0),l=Ci((()=>!s.value&&e.controls&&a.value)),c=Vt({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function f(){u&&(clearTimeout(u),u=null)}return Vo((()=>{u&&clearTimeout(u)})),Qn((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():f()})),jo((()=>{const e=ve(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)})),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)})),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,(e=>{j.currentTimeNew=e}));!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};ph(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),gh(),!0)}(d,f,h,g,P,m,R,N);const G=function(e,t,n,o,r){const i=Ci((()=>"progress"===t.gestureType||n.touching));return Qn(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),Qn([()=>e.currentTime,()=>{Xh.duration}],(()=>{e.progress=e.currentTime/e.duration*100})),Qn((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,j,q);return()=>ni("uni-video",{ref:r,id:e.id,onClick:U},[ni("div",{ref:i,class:"uni-video-container",onTouchstart:F,onTouchend:D,onTouchmove:V,onFullscreenchange:bs(M,["stop"]),onWebkitfullscreenchange:bs((e=>M(e,!0)),["stop"])},[ni("video",ci({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),L(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),ro(ni("div",{class:"uni-video-bar uni-video-bar-full",onClick:bs((()=>{}),["stop"])},[ni("div",{class:"uni-video-controls"},[ro(ni("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:bs(v,["stop"])},null,10,["onClick"]),[[Xi,e.showPlayBtn]]),ro(ni("div",{class:"uni-video-current-time"},[zh(u.currentTime)],512),[[Xi,e.showProgress]]),ro(ni("div",{ref:H,class:"uni-video-progress-container",onClick:bs(z,["stop"])},[ni("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[ni("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),ni("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),ni("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[ni("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Xi,e.showProgress]]),ro(ni("div",{class:"uni-video-duration"},[zh(Number(e.duration)||u.duration)],512),[[Xi,e.showProgress]])]),ro(ni("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:bs(O,["stop"])},null,10,["onClick"]),[[Xi,e.danmuBtn]]),ro(ni("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":A.fullscreen},onClick:bs((()=>B(!A.fullscreen)),["stop"])},null,10,["onClick"]),[[Xi,e.showFullscreenBtn]])],8,["onClick"]),[[Xi,q.controlsShow]]),ro(ni("div",{ref:$,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Xi,u.start&&E.enable]]),q.centerPlayBtnShow&&ni("div",{class:"uni-video-cover",onClick:bs((()=>{}),["stop"])},[ni("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:bs(d,["stop"])},null,8,["onClick"])],8,["onClick"]),ni("div",{class:"uni-video-loading"},["volume"===j.gestureType?ni("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":j.toastThin},style:{marginTop:"5px"}},[!j.toastThin&&j.volumeNew>0&&"volume"===j.gestureType?ni("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!j.toastThin&&ni("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),ni("div",{class:"uni-video-toast-draw",style:{width:100*j.volumeNew+"%"}},null)],2):null]),ni("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[ni("div",{class:"uni-video-toast-title"},[ni("span",{class:"uni-video-toast-title-current-time"},[zh(j.currentTimeNew)])," / ",Number(e.duration)||zh(u.duration)])],2),ni("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Gh=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Kh;function Jh(){if(Kh=Kh||Gh.__DC_STAT_UUID,!Kh){Kh=Date.now()+""+Math.floor(1e7*Math.random());try{Gh.__DC_STAT_UUID=Kh}catch(e){}}return Kh}function Zh(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Qh(){let e,t="0",n="",o="phone";const r=navigator.language;if(kf){e="iOS";const o=Sf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Sf.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Cf){e="Android";const o=Sf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Sf.match(/\((.+?)\)/),i=r?r[1].split(";"):Sf.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 o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=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:o?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=Pf(),n=Af(t),o=Mf(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=If(o);let s=window.innerHeight;const a=Ul.top,l={left:Ul.left,right:i-Ul.right,top:Ul.top,bottom:s-Ul.bottom,width:i-Ul.left-Ul.right,height:s-Ul.top-Ul.bottom},{top:c,bottom:u}=Jl();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Ul.top,right:Ul.right,bottom:Ul.bottom,left:Ul.left},screenTop:r-s}}));let tg,ng=!0;function og(){ng&&(tg=Qh())}const rg=Vu(0,(()=>{og();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=tg;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Jh(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),ig=Vu(0,(()=>{og();const{theme:e,language:t,browserName:n,browserVersion:o}=tg;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:gd?gd():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),sg=Vu(0,(()=>{ng=!0,og(),ng=!1;const e=eg(),t=rg(),n=ig();ng=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=tg,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,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 T(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const ag=Vu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),lg=qu("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{ag(e,t),n()}catch(r){o(r.message)}}));function cg(e){const t=localStorage&&localStorage.getItem(e);if(!v(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=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\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(o){}return n}const ug=Vu(0,(e=>{try{return cg(e)}catch(t){return""}})),dg=qu("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:cg(e)})}catch(o){n(o.message)}})),fg=Vu(0,(()=>{localStorage&&localStorage.clear()})),pg={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 hg({count:e,sourceType:t,type:n,extension:o}){gp();const r=document.createElement("input");return r.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${pg[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&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}let gg=null;const mg=qu("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{yl();const{t:i}=fl();gg&&(document.body.removeChild(gg),gg=null),gg=hg({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(gg),gg.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||Vf(t),i)}),oe))},tempFiles:r})})),gg.click(),fp||console.warn(i("uni.chooseFile.notUserActivation"))}),0,vd),vg={esc:["Esc","Escape"],enter:["Enter"]},yg=Object.keys(vg);const bg=ni("div",{class:"uni-mask"},null,-1);function _g(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),xs(yo({setup:()=>()=>(Wr(),Gr(e,t,null,16))}))}function wg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function xg(e,{onEsc:t,onEnter:n}){const o=on(e.visible),{key:r,disable:i}=function(){const e=on(""),t=on(!1),n=n=>{if(t.value)return;const o=yg.find((e=>-1!==vg[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return jo((()=>{document.addEventListener("keyup",n)})),Vo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Qn((()=>e.visible),(e=>o.value=e)),Qn((()=>o.value),(e=>i.value=!e)),Jn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let Tg=0,Sg="";function Cg(e){let t=Tg;Tg+=e?1:-1,Tg=Math.max(0,Tg),Tg>0?0===t&&(Sg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Sg,Sg="")}const kg=Kc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Vt({direction:"none"});let n=1,o=0,r=0,i=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,s=t.height,d(e)}function u(e){const a=n*o>i,l=n*r>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 ni(Mp,{style:n,onTouchstart:Jc(c),onTouchmove:Jc(d),onTouchend:Jc(u)},{default:()=>[ni(Up,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[ni("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 Eg(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const $g=Kc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){jo((()=>Cg(!0))),qo((()=>Cg(!1)));const n=on(null),o=on(Eg(e));let r;function i(){r||Sn((()=>{t("close")}))}function s(e){o.value=e.detail.current}Qn((()=>e.current),(()=>o.value=Eg(e))),jo((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!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 ni("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:i},[ni(oh,{navigation:"auto",current:o.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>ni(ih,null,{default:()=>[ni(kg,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!Kr(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ni("div",{style:a},[sc("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 r}}});let Lg,Og=null;const Pg=()=>{Og=null,Sn((()=>{null==Lg||Lg.unmount(),Lg=null}))},Ag=qu("previewImage",((e,{resolve:t})=>{Og?c(Og,e):(Og=Vt(e),Sn((()=>{Lg=_g($g,Og,Pg),Lg.mount(wg("u-a-p"))}))),t()}),0,yd),Mg=Du("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,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"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Ig(p);p.open(o,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Bg(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,xd);class Ig{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 Bg(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class Rg{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Ng=Du("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Rg;return p(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Df(e)):Ff(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach((e=>{d.append(e,s[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),a),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Td),jg=qu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===mc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Rh().$router.go(-e.delta),t()):n("onBackPress")}),0,$d),Fg=qu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(tf.handledBeforeEntryPageRoutes)return Ud({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);nf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Cd);function Dg(e){__uniConfig.darkmode&&pm.on("onThemeChange",e)}function Vg(e){pm.off("onThemeChange",e)}const qg={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Hg=yo({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=on(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=xg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=on(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=qg[e].cancelColor})(e,t)};return Jn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Zh()&&n({theme:"dark"}),Dg(n))):Vg(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ni(Mi,{name:"uni-fade"},{default:()=>[ro(ni("uni-modal",{onTouchmove:Xl},[bg,ni("div",{class:"uni-modal"},[t?ni("div",{class:"uni-modal__hd"},[ni("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ni("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ni("div",{class:"uni-modal__bd",onTouchmovePassive:Yl,textContent:o},null,40,["onTouchmovePassive","textContent"]),ni("div",{class:"uni-modal__ft"},[l&&ni("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ni("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Xi,s.value]])]})}}});let Wg;const zg=ie((()=>{pm.on("onHidePopup",(()=>Wg.visible=!1))}));let Ug;function Xg(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Wg.editable&&(o.content=t),Ug&&Ug(o)}const Yg=qu("showModal",((e,{resolve:t})=>{zg(),Ug=t,Wg?(c(Wg,e),Wg.visible=!0):(Wg=Vt(e),Sn((()=>(_g(Hg,Wg,Xg).mount(wg("u-a-m")),Sn((()=>Wg.visible=!0))))))}),0,Bd),Gg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Rd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Kg={light:"#fff",dark:"rgba(255,255,255,0.9)"},Jg=e=>Kg[e],Zg=yo({name:"Toast",props:Gg,setup(e){gl(),ml();const{Icon:t}=function(e){const t=on(Jg(Zh())),n=({theme:e})=>t.value=Jg(e);Jn((()=>{e.visible?Dg(n):Vg(n)}));return{Icon:Ci((()=>{switch(e.icon){case"success":return ni(sc(rc,t.value,38),{class:"uni-toast__icon"});case"error":return ni(sc(ic,t.value,38),{class:"uni-toast__icon"});case"loading":return ni("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=xg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ni(Mi,{name:"uni-fade"},{default:()=>[ro(ni("uni-toast",{"data-duration":r},[o?ni("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Xl},null,40,["onTouchmove"]):"",s||t.value?ni("div",{class:"uni-toast"},[s?ni("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ni("p",{class:"uni-toast__content"},[i])]):ni("div",{class:"uni-sample-toast"},[ni("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Xi,n.value]])]})}}});let Qg,em,tm="";const nm=Ne();function om(e){Qg?c(Qg,e):(Qg=Vt(c(e,{visible:!1})),Sn((()=>{nm.run((()=>{Qn([()=>Qg.visible,()=>Qg.duration],(([e,t])=>{if(e){if(em&&clearTimeout(em),"onShowLoading"===tm)return;em=setTimeout((()=>{cm("onHideToast")}),t)}else em&&clearTimeout(em)}))})),pm.on("onHidePopup",(()=>cm("onHidePopup"))),_g(Zg,Qg,(()=>{})).mount(wg("u-a-t"))}))),setTimeout((()=>{Qg.visible=!0}),10)}const rm=qu("showToast",((e,{resolve:t,reject:n})=>{om(e),tm="onShowToast",t()}),0,Nd),im={icon:"loading",duration:1e8,image:""},sm=qu("showLoading",((e,{resolve:t,reject:n})=>{c(e,im),om(e),tm="onShowLoading",t()}),0,Id),am=qu("hideToast",((e,{resolve:t,reject:n})=>{cm("onHideToast"),t()})),lm=qu("hideLoading",((e,{resolve:t,reject:n})=>{cm("onHideLoading"),t()}));function cm(e){const{t:t}=fl();if(!tm)return;let n="";if("onHideToast"===e&&"onShowToast"!==tm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==tm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);tm="",setTimeout((()=>{Qg.visible=!1}),10)}function um(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,pm.emit("onNavigationBarChange",{titleText:t})}Jn(t),Eo(t)}const dm=Kc({name:"Layout",setup(e,{emit:t}){const n=on(null);Zl({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=el();return{routeKey:Ci((()=>pf("/"+e.meta.route,du()))),isTabBar:Ci((()=>e.meta.isTabBar)),routeCache:gf}}(),{layoutState:r,windowState:i}=function(){uu();{const e=Vt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Qn((()=>e.marginWidth),(e=>Zl({"--window-margin":e+"px"}))),Qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Zl({"--window-left":e+"px"})})),Qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Zl({"--window-right":e+"px"})})),{layoutState:e,windowState:Ci((()=>({})))}}}();!function(e,t){const n=uu();function o(){const o=document.body.clientWidth,r=cf();let i={};if(r.length>0){i=ef(r[r.length-1]).meta}else{const e=xc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Qn([()=>n.path],o),jo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=on(!1);return Ci((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ni(Za,null,{default:Fn((({Component:o})=>[(Wr(),Gr(Co,{matchBy:"key",cache:n},[(Wr(),Gr(Un(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ni("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const fm=c(kl,{publishHandler(e,t,n){pm.subscribeHandler(e,t,n)}}),pm=c(Rc,{publishHandler(e,t,n){fm.subscribeHandler(e,t,n)}}),hm=Kc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Qn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ni(jr,null,[!1,ni("uni-page-wrapper",ci({ref:n},o.value),[ni("uni-page-body",null,[Yo(t.slots,"default")]),null],16)])}}),gm=Kc({name:"Page",setup(e,t){let n=cu(du());n.navigationBar;const o={};return um(n),()=>ni("uni-page",{"data-page":n.route,style:o},[mm(t),null])}});function mm(e){return Wr(),Gr(hm,{key:0},{default:Fn((()=>[Yo(e.slots,"page")])),_:3})}const vm={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Ju;const ym=Object.assign({}),bm=Object.assign;window.__uniConfig=bm({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.66"},{appId:"__UNI__010B3C0",appName:"weixin-officialaccount",appVersion:"1.0.0",appVersionCode:"100",async:vm,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey: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 bm(e[n]||(e[n]={}),ym[t].default),e}),{}),router:{mode:"hash",base:"/wechat/thd/",assets:"assets",routerBase:"/wechat/thd/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const _m={delay:vm.delay,timeout:vm.timeout,suspensible:vm.suspensible};vm.loading&&(_m.loadingComponent={name:"SystemAsyncLoading",render:()=>ni(Wn(vm.loading))}),vm.error&&(_m.errorComponent={name:"SystemAsyncError",render:()=>ni(Wn(vm.error))});const wm=()=>t((()=>import("./pages-login-index.B04NCiog.js")),__vite__mapDeps([0,1,2,3,4])).then((e=>Dh(e.default||e))),xm=_o(bm({loader:wm},_m)),Tm=()=>t((()=>import("./pages-login-phonebumber.DVhpzu0d.js")),__vite__mapDeps([5,1,2,6,3,7,8,9])).then((e=>Dh(e.default||e))),Sm=_o(bm({loader:Tm},_m)),Cm=()=>t((()=>import("./pages-login-threeselectone.Bt1B8zpP.js")),__vite__mapDeps([10,1,2,3,11])).then((e=>Dh(e.default||e))),km=_o(bm({loader:Cm},_m)),Em=()=>t((()=>import("./pages-login-workjoin.C-UrL_DR.js")),__vite__mapDeps([12,6,3,13])).then((e=>Dh(e.default||e))),$m=_o(bm({loader:Em},_m)),Lm=()=>t((()=>import("./pages-login-code.CTUD223U.js")),__vite__mapDeps([14,1,2,6,7,8,3,15])).then((e=>Dh(e.default||e))),Om=_o(bm({loader:Lm},_m)),Pm=()=>t((()=>import("./pages-login-callback.BaXFt2sB.js")),__vite__mapDeps([16,1,6,8,3,17])).then((e=>Dh(e.default||e))),Am=_o(bm({loader:Pm},_m)),Mm=()=>t((()=>import("./pages-login-protocol.B2bljgeP.js")),__vite__mapDeps([18,3,19])).then((e=>Dh(e.default||e))),Im=_o(bm({loader:Mm},_m)),Bm=()=>t((()=>import("./pages-index-index.DZwX7srJ.js")),__vite__mapDeps([20,3,21])).then((e=>Dh(e.default||e))),Rm=_o(bm({loader:Bm},_m)),Nm=()=>t((()=>import("./pages-addoldman-hukou.CNXDkkN1.js")),__vite__mapDeps([22,23,3,24])).then((e=>Dh(e.default||e))),jm=_o(bm({loader:Nm},_m)),Fm=()=>t((()=>import("./pages-addoldman-yibao.DJ9QZAhS.js")),__vite__mapDeps([25,23,3,26])).then((e=>Dh(e.default||e))),Dm=_o(bm({loader:Fm},_m)),Vm=()=>t((()=>import("./pages-addoldman-IDcard.C5E24t8Z.js")),__vite__mapDeps([27,28,3,6,29,23,30,31])).then((e=>Dh(e.default||e))),qm=_o(bm({loader:Vm},_m)),Hm=()=>t((()=>import("./pages-selectunit-map.RAEapj-z.js")),__vite__mapDeps([32,3,33])).then((e=>Dh(e.default||e))),Wm=_o(bm({loader:Hm},_m)),zm=()=>t((()=>import("./pages-addjigou-where.Ba0427P0.js")),__vite__mapDeps([34,28,3,6,29,35])).then((e=>Dh(e.default||e))),Um=_o(bm({loader:zm},_m)),Xm=()=>t((()=>import("./pages-addjigou-name.oeR4oCss.js")),__vite__mapDeps([36,28,3,6,29,23,30,8,37])).then((e=>Dh(e.default||e))),Ym=_o(bm({loader:Xm},_m)),Gm=()=>t((()=>import("./pages-addjigou-card.hY3DJ5py.js")),__vite__mapDeps([38,28,3,6,29,23,30,8,39])).then((e=>Dh(e.default||e))),Km=_o(bm({loader:Gm},_m)),Jm=()=>t((()=>import("./pages-pay-index.DDsYHSGx.js")),__vite__mapDeps([40,3,41])).then((e=>Dh(e.default||e))),Zm=_o(bm({loader:Jm},_m)),Qm=()=>t((()=>import("./pages-map-index.CLEmp4wS.js")),__vite__mapDeps([42,3,43])).then((e=>Dh(e.default||e))),ev=_o(bm({loader:Qm},_m)),tv=()=>t((()=>import("./pages-camera-CustomCamera.B32RIyOe.js")),__vite__mapDeps([44,1,3,45])).then((e=>Dh(e.default||e))),nv=_o(bm({loader:tv},_m));function ov(e,t){return Wr(),Gr(gm,null,{page:Fn((()=>[ni(e,bm({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/login/index",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(xm,t)}},loader:wm,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/phonebumber",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Sm,t)}},loader:Tm,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/threeselectone",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(km,t)}},loader:Cm,meta:{navigationBar:{titleText:"选择角色",type:"default"},isNVue:!1}},{path:"/pages/login/workjoin",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov($m,t)}},loader:Em,meta:{navigationBar:{titleText:"员工入驻",type:"default"},isNVue:!1}},{path:"/pages/login/code",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Om,t)}},loader:Lm,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/callback",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Am,t)}},loader:Pm,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/protocol",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Im,t)}},loader:Mm,meta:{navigationBar:{titleText:"护理单元使用条款",type:"default"},isNVue:!1}},{path:"/pages/index/index",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Rm,t)}},loader:Bm,meta:{navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/addoldman/hukou",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(jm,t)}},loader:Nm,meta:{navigationBar:{titleText:"长者信息采集",type:"default"},isNVue:!1}},{path:"/pages/addoldman/yibao",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Dm,t)}},loader:Fm,meta:{navigationBar:{titleText:"长者信息采集",type:"default"},isNVue:!1}},{path:"/pages/addoldman/IDcard",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(qm,t)}},loader:Vm,meta:{navigationBar:{titleText:"长者信息采集",type:"default"},isNVue:!1}},{path:"/pages/selectunit/map",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Wm,t)}},loader:Hm,meta:{navigationBar:{titleText:"选择护理单元",type:"default"},isNVue:!1}},{path:"/pages/addjigou/where",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Um,t)}},loader:zm,meta:{navigationBar:{titleText:"企业实名认证",type:"default"},isNVue:!1}},{path:"/pages/addjigou/name",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Ym,t)}},loader:Xm,meta:{navigationBar:{titleText:"企业实名认证",type:"default"},isNVue:!1}},{path:"/pages/addjigou/card",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Km,t)}},loader:Gm,meta:{navigationBar:{titleText:"企业实名认证",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(Zm,t)}},loader:Jm,meta:{navigationBar:{titleText:"支付",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(ev,t)}},loader:Qm,meta:{navigationBar:{titleText:"选择位置",type:"default"},isNVue:!1}},{path:"/pages/camera/CustomCamera",component:{setup(){const e=Rh(),t=e&&e.$route&&e.$route.query||{};return()=>ov(nv,t)}},loader:tv,meta:{navigationBar:{titleText:"图像识别",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const rv={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};Fh(rv,{init:Nh,setup(e){const t=uu(),n=()=>{var n;n=e,Object.keys(md).forEach((e=>{md[e].forEach((t=>{Bo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(qf,{path:e,query:t}),c(Hf,qf),c({},qf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&I(o,s),r&&I(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};Xd(),i&&I(i,e)}};return yr(Va).isReady().then(n),jo((()=>{window.addEventListener("resize",Te(Vh,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",qh),document.addEventListener("visibilitychange",Hh),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{pm.emit("onThemeChange",{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=()=>(Wr(),Gr(dm));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}});const iv={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{hd().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(){Qu("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 sv(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 o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?sv(e[o]):e[o]);return n}function av(e={},t={}){if("object"!=typeof(e=sv(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]=av(e[n],t[n]):e[n]=t[n]);return e}function lv(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function cv(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 uv(e){return"[object Object]"===Object.prototype.toString.call(e)}function dv(e){return"function"==typeof e}const fv={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!!e&&(lv(e)&&(e=+e),!/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:lv,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:cv,isEmpty:cv,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:uv,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:dv,promise:function(e){return uv(e)&&dv(e.then)&&dv(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 pv=new class{setConfig(e){this.config=av(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(lm(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=fv.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((()=>{sm({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),Mg(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 hv=(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:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||Fg({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Hd({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Vd({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||zd({url:t}),"navigateBack"!=e.type&&"back"!=e.type||jg({delta:o})}}).route;function gv(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function mv(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 vv(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 o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const yv={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=mv(e,!1),r=o[0],i=o[1],s=o[2],a=mv(t,!1),l=(a[0]-r)/n,c=(a[1]-i)/n,u=(a[2]-s)/n,d=[];for(let f=0;f=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:hv,timeFormat:gv,date:gv,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)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":gv(n,t)}return r},colorGradient:yv.colorGradient,colorToRgba:yv.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;iMath.random()-.5))},wranning:function(e){},get:pv.get,post:pv.post,put:pv.put,delete:pv.delete,hexToRgb:yv.hexToRgb,rgbToHex:yv.rgbToHex,test:fv,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:sv,deepMerge:av,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 o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){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),fv.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:pv,toast:function(e,t=1500){rm({title:e,icon:"none",duration:t})},config:Sv,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!==_v&&clearTimeout(_v),n){var o=!_v;_v=setTimeout((function(){_v=null}),t),o&&"function"==typeof e&&e()}else _v=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){wv[o]||(wv[o]=null),n?xv[o]||(xv[o]=!0,"function"==typeof e&&e(),wv[o]=setTimeout((()=>{xv[o]=!1}),t)):xv[o]||(xv[o]=!0,wv[o]=setTimeout((()=>{xv[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(fv.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=Tv(e)).split(";"),n={};for(let e=0;e{e.mixin(iv),e.config.globalProperties.$u=Cv}};(function(){const e=xs(rv);return e.use(kv),{app:e}})().app.use($h).mount("#app");export{Bo as $,qo as A,Sn as B,ug as C,Vt as D,lg as E,jr as F,ag as G,ti as H,$p as I,jo as J,ln as K,Ag as L,ih as M,oh as N,mg as O,Ng as P,Un as Q,sm as R,th as S,Mi as T,lm as U,Mg as V,fg as W,Yg as X,am as Y,Yo as Z,_i as _,ni as a,hi as a0,ne as a1,dg as a2,su as a3,yo as a4,Qu as a5,Yh as a6,tp as a7,ri as b,Gr as c,de as d,ii as e,Fg as f,lp as g,lh as h,ch as i,Vo as j,bs as k,hd as l,ro as m,fe as n,Wr as o,Ci as p,Qn as q,on as r,rm as s,Yr as t,Xo as u,Xi as v,Fn as w,X as x,Hd as y,jg as z};