26 lines
202 KiB
JavaScript
26 lines
202 KiB
JavaScript
function __vite__mapDeps(indexes) {
|
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
__vite__mapDeps.viteFileDeps = ["assets/pages-index-index.DwQoNhOO.js","assets/old.CKixGO1Z.js","assets/useWeChatAuth.BbPcLRMD.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-DVDje-mb.css","assets/pages-index-phonebumber.BA1uUnPp.js","assets/phonebumber-D3FOy7V7.css","assets/pages-index-code.A-2JBG3o.js","assets/uni-app.es.CdisLe7k.js","assets/code-CLjXvbSV.css","assets/pages-index-callback.Cjt7QCcb.js","assets/callback-k9HmfsB1.css","assets/pages-map-index.s85BvS79.js","assets/index-A6Qk_IiB.css","assets/pages-pay-index.BLyKtgIz.js","assets/index-Bj1b-t7_.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)},f=Object.prototype.hasOwnProperty,d=(e,t)=>f.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),S=e=>"[object Object]"===x(e),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=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():"")))),O=/\B([A-Z])/g,L=k((e=>e.replace(O,"-$1").toLowerCase())),A=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=k((e=>e?`on${A(e)}`:"")),I=(e,t)=>!Object.is(e,t),j=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},R=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let M;const N=()=>M||(M="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<e.length;n++){const o=e[n],r=v(o)?W(o):F(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const V=/;(?![^(]*\))/g,D=/:([^]+)/,q=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(q,"").split(V).forEach((e=>{if(e){const n=e.split(D);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function H(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=H(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function U(e){return!!e||""===e}const G=e=>v(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!b(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},Y=["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!==Y.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(L(t));)t=(e=e.parent).type.name;return e.proxy}function ue(e){return 1===e.nodeType}function fe(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 W(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?W(o):fe(o);if(r)for(const e in r)t[e]=r[e]}return t}return F(e)}function de(e){let t="";const n=ae();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach((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.length;o++){const n=de(e[o]);n&&(t+=n+" ")}else t=H(e);return t.trim()}function pe(e){return $(e.substring(5))}const he=ie((e=>{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;o<n.length;++o){const e=n[o].replace(we," ");let r=e.indexOf("="),i=be(r<0?e:e.slice(0,r)),s=r<0?null:be(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Se(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Ce{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;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Te=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const ke=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Ee=[];const $e=ie(((e,t)=>t(e))),Oe=function(){};Oe.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<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=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 Le=Oe;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Pe(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 Ae?Ae[o]:o}return r}var o;return t}function Ie(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]=S(s)?Ie(s,t,n):p(s)?s.map((e=>S(e)?Ie(e,t,n):Pe(o,e))):Pe(o,s,i)})),r):e}
|
|
/**
|
|
* @dcloudio/uni-h5-vue v3.4.21
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let je,Re;class Be{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!e&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=je;try{return je=this,e()}finally{je=t}}}on(){je=this}off(){je=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Me(e){return new Be(e)}class Ne{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=je){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,ze();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=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=Re;try{return qe=!0,Re=this,this._runnings++,Fe(this),this.fn()}finally{Ve(this),this._runnings--,Re=t,qe=e}}stop(){var e;this.active&&(Fe(this),Ve(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Fe(e){e._trackId++,e._depsLength=0}function Ve(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)De(e.deps[t],e);e.deps.length=e._depsLength}}function De(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let qe=!0,We=0;const He=[];function ze(){He.push(qe),qe=!1}function Ue(){const e=He.pop();qe=void 0===e||e}function Ge(){We++}function Xe(){for(We--;!We&&Ye.length;)Ye.shift()()}function Ke(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&De(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ye=[];function Je(e,t,n){Ge();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&Ye.push(o.scheduler)))}Xe()}const Ze=(e,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&&Re){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)))),Ke(Re,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)?C(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))}Ge();for(const l of a)l&&Je(l,4);Xe()}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=Kt(this);for(let t=0,r=this.length;t<r;t++)nt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Kt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ze(),Ge();const n=Kt(this)[t].apply(this,e);return Xe(),Ue(),n}})),e}function lt(e){const t=Kt(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:Nt:r?Mt:Bt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&d(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&&C(t)?s:s.value:b(s)?o?Wt(s):Dt(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(Gt(n)||Ut(n)||(r=Kt(r),n=Kt(n)),!p(e)&&nn(r)&&!nn(n))return!t&&(r.value=n,!0)}const i=p(e)&&C(t)?Number(t)<e.length:d(e,t),s=Reflect.set(e,t,n,o);return e===Kt(o)&&(i?I(n,r)&&ot(e,"set",t,n):ot(e,"add",t,n)),s}deleteProperty(e,t){const n=d(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ot(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&it.has(t)||nt(e,0,t),n}ownKeys(e){return nt(e,0,p(e)?"length":et),Reflect.ownKeys(e)}}class ft extends ct{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const dt=new ut,pt=new ft,ht=new ut(!0),gt=e=>e,mt=e=>Reflect.getPrototypeOf(e);function vt(e,t,n=!1,o=!1){const r=Kt(e=e.__v_raw),i=Kt(t);n||(I(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=Kt(n),r=Kt(e);return t||(I(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(Kt(e),0,et),Reflect.get(e,"size",e)}function _t(e){e=Kt(e);const t=Kt(this);return mt(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function wt(e,t){t=Kt(t);const n=Kt(this),{has:o,get:r}=mt(n);let i=o.call(n,e);i||(e=Kt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?I(t,s)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function xt(e){const t=Kt(this),{has:n,get:o}=mt(t);let r=n.call(t,e);r||(e=Kt(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 St(){const e=Kt(this),t=0!==e.size,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function Ct(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Kt(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 Tt(e,t,n){return function(...o){const r=this.__v_raw,i=Kt(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:St,forEach:Ct(!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:St,forEach:Ct(!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:Ct(!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:Ct(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Tt(r,!1,!1),n[r]=Tt(r,!0,!1),t[r]=Tt(r,!1,!0),o[r]=Tt(r,!0,!0)})),[e,n,t,o]}const[$t,Ot,Lt,At]=Et();function Pt(e,t){const n=t?e?At:Lt:e?Ot:$t;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,r)}const It={get:Pt(!1,!1)},jt={get:Pt(!1,!0)},Rt={get:Pt(!0,!1)},Bt=new WeakMap,Mt=new WeakMap,Nt=new WeakMap,Ft=new WeakMap;function Vt(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 Dt(e){return Ut(e)?e:Ht(e,!1,dt,It,Bt)}function qt(e){return Ht(e,!1,ht,jt,Mt)}function Wt(e){return Ht(e,!0,pt,Rt,Nt)}function Ht(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=Vt(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 Gt(e){return!(!e||!e.__v_isShallow)}function Xt(e){return zt(e)||Ut(e)}function Kt(e){const t=e&&e.__v_raw;return t?Kt(t):e}function Yt(e){return Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const Jt=e=>b(e)?Dt(e):e,Zt=e=>b(e)?Wt(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 Ne((()=>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=Kt(this);return e._cacheable&&!e.effect.dirty||!I(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&&Re&&(e=Kt(e),Ke(Re,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=Kt(e)).dep;o&&Je(o,t)}function nn(e){return!(!e||!0!==e.__v_isRef)}function on(e){return rn(e,!1)}function rn(e,t){return nn(e)?e:new sn(e,t)}class sn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Kt(e),this._value=t?e:Jt(e)}get value(){return en(this),this._value}set value(e){const t=this.__v_isShallow||Gt(e)||Ut(e);e=t?e:Kt(e),I(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),tn(this,4))}}function an(e){return nn(e)?e.value:e}const ln={get:(e,t,n)=>an(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 cn(e){return zt(e)?e:new Proxy(e,ln)}function un(e,t,n,o){try{return o?e(...o):e()}catch(r){dn(r,t,n)}}function fn(e,t,n,o){if(m(e)){const r=un(e,t,n,o);return r&&_(r)&&r.catch((e=>{dn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(fn(e[i],t,n,o));return r}function dn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void un(s,null,10,[e,r,i])}pn(e,n,r,o)}function pn(e,t,n,o=!0){console.error(e)}let hn=!1,gn=!1;const mn=[];let vn=0;const yn=[];let bn=null,_n=0;const wn=Promise.resolve();let xn=null;function Sn(e){const t=xn||wn;return e?t.then(this?e.bind(this):e):t}function Cn(e){mn.length&&mn.includes(e,hn&&e.allowRecurse?vn+1:vn)||(null==e.id?mn.push(e):mn.splice(function(e){let t=vn+1,n=mn.length;for(;t<n;){const o=t+n>>>1,r=mn[o],i=$n(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Tn())}function Tn(){hn||gn||(gn=!0,xn=wn.then(Ln))}function kn(e,t,n=(hn?vn+1:0)){for(;n<mn.length;n++){const t=mn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;mn.splice(n,1),n--,t()}}}function En(e){if(yn.length){const e=[...new Set(yn)].sort(((e,t)=>$n(e)-$n(t)));if(yn.length=0,bn)return void bn.push(...e);for(bn=e,_n=0;_n<bn.length;_n++)bn[_n]();bn=null,_n=0}}const $n=e=>null==e.id?1/0:e.id,On=(e,t)=>{const n=$n(e)-$n(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ln(e){gn=!1,hn=!0,mn.sort(On);try{for(vn=0;vn<mn.length;vn++){const e=mn[vn];e&&!1!==e.active&&un(e,null,14)}}finally{vn=0,mn.length=0,En(),hn=!1,xn=null,(mn.length||yn.length)&&Ln()}}function An(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=r[e]||o;s&&(i=n.map((e=>v(e)?e.trim():e))),t&&(i=n.map(B))}let l,c=r[l=P(t)]||r[l=P($(t))];!c&&s&&(c=r[l=P(L(t))]),c&&fn(c,e,6,Pn(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,Pn(e,u,i))}}function Pn(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&&d(o,"type")&&d(o,"timeStamp")&&d(o,"target")&&d(o,"currentTarget")&&d(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 jn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,L(t))||d(e,t))}let Rn=null,Bn=null;function Mn(e){const t=Rn;return Rn=e,Bn=e&&e.type.__scopeId||null,t}function Nn(e,t=Rn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&zr(-1);const r=Mn(t);let i;try{i=e(...n)}finally{Mn(r),o._d&&zr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Fn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:d,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Mn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=ii(f.call(t,e,d,i,h,p,g)),y=c}else{const e=t;0,v=ii(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Vn(c)}}catch(w){Dr.length=0,dn(w,e,1),v=ti(Fr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),_=ni(_,y))}return n.dirs&&(_=ni(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Mn(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},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function qn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!jn(n,i))return!0}return!1}function Wn(e,t){return Un("components",e,!0,t)||e}const Hn=Symbol.for("v-ndc");function zn(e){return v(e)?Un("components",e,!1)||e:e||Hn}function Un(e,t,n=!0,o=!1){const r=Rn||di;if(r){const n=r.type;if("components"===e){const e=Si(n,!1);if(e&&(e===t||e===$(t)||e===A($(t))))return n}const i=Gn(r[e]||n[e],t)||Gn(r.appContext[e],t);return!i&&o?n:i}}function Gn(e,t){return e&&(e[t]||e[$(t)]||e[A($(t))])}const Xn=e=>e.__isSuspense;const Kn=Symbol.for("v-scx");function Yn(e,t){return Qn(e,null,t)}const Jn={};function Zn(e,t,n){return Qn(e,t,n)}function Qn(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 f=di,d=e=>!0===r?e:no(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(nn(e)?(h=()=>e.value,v=Gt(e)):zt(e)?(h=()=>d(e),v=!0):p(e)?(y=!0,v=e.some((e=>zt(e)||Gt(e))),h=()=>e.map((e=>nn(e)?e.value:zt(e)?d(e):m(e)?un(e,f,2):void 0))):h=m(e)?t?()=>un(e,f,2):()=>(g&&g(),fn(e,f,3,[_])):i,t&&r){const e=h;h=()=>no(e())}let b,_=e=>{g=C.onStop=()=>{un(e,f,4),g=C.onStop=void 0}};if(bi){if(_=i,t?n&&fn(t,f,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=vr(Kn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Jn):Jn;const x=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(r||v||(y?e.some(((e,t)=>I(e,w[t]))):I(e,w)))&&(g&&g(),fn(t,f,3,[e,w===Jn?void 0:y&&w[0]===Jn?[]:w,_]),w=e)}else C.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>Ar(x,f&&f.suspense):(x.pre=!0,f&&(x.id=f.uid),S=()=>Cn(x));const C=new Ne(h,i,S),T=je,k=()=>{C.stop(),T&&u(T.effects,C)};return t?n?x():w=C.run():"post"===s?Ar(C.run.bind(C),f&&f.suspense):C.run(),b&&b.push(k),k}function eo(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?to(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=mi(this),a=Qn(r,i.bind(o),n);return s(),a}function to(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function no(e,t,n=0,o){if(!b(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),nn(e))no(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)no(e[r],t,n,o);else if(g(e)||h(e))e.forEach((e=>{no(e,t,n,o)}));else if(S(e))for(const r in e)no(e[r],t,n,o);return e}function oo(e,t){if(null===Rn)return e;const n=xi(Rn)||Rn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,s,a,l=o]=t[i];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&no(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function ro(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(ze(),fn(l,n,8,[e.el,a,e,t]),Ue())}}const io=Symbol("_leaveCb"),so=Symbol("_enterCb");const ao=[Function,Array],lo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ao,onEnter:ao,onAfterEnter:ao,onEnterCancelled:ao,onBeforeLeave:ao,onLeave:ao,onAfterLeave:ao,onLeaveCancelled:ao,onBeforeAppear:ao,onAppear:ao,onAfterAppear:ao,onAppearCancelled:ao},co={name:"BaseTransition",props:lo,setup(e,{slots:t}){const n=pi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mo((()=>{e.isMounted=!0})),Vo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&mo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Fr){i=e;break}const s=Kt(e),{mode:a}=s;if(o.isLeaving)return po(i);const l=ho(i);if(!l)return po(i);const c=fo(l,s,o,n);go(l,c);const u=n.subTree,f=u&&ho(u);if(f&&f.type!==Fr&&!Yr(l,f)){const e=fo(f,s,o,n);if(go(f,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},po(i);"in-out"===a&&l.type!==Fr&&(e.delayLeave=(e,t,n)=>{uo(o,f)[String(f.key)]=f,e[io]=()=>{t(),e[io]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function uo(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 fo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=uo(n,e),x=(e,t)=>{e&&fn(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[io]&&t[io](!0);const i=w[_];i&&Yr(e,i)&&i.el[io]&&i.el[io](),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[so]=t=>{s||(s=!0,x(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e[so]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[so]&&t[so](!0),n.isUnmounting)return o();x(f,[t]);let i=!1;const s=t[io]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[io]=void 0,w[r]===e&&delete w[r])};w[r]=e,d?S(d,[t,s]):s()},clone:e=>fo(e,t,n,o)};return C}function po(e){if(wo(e))return(e=ni(e)).children=null,e}function ho(e){return wo(e)?e.children?e.children[0]:void 0:e}function go(e,t){6&e.shapeFlag&&e.component?go(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 mo(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Mr?(128&s.patchFlag&&r++,o=o.concat(mo(s.children,t,a))):(t||s.type!==Fr)&&o.push(null!=a?ni(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
|
|
/*! #__NO_SIDE_EFFECTS__ */function vo(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const yo=e=>!!e.type.__asyncLoader
|
|
/*! #__NO_SIDE_EFFECTS__ */;function bo(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 f=()=>{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,f()))),(()=>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 vo({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const e=di;if(l)return()=>_o(l,e);const t=t=>{c=null,dn(t,e,13,!o)};if(s&&e.suspense||bi)return f().then((t=>()=>_o(t,e))).catch((e=>(t(e),()=>o?ti(o,{error:e}):null)));const a=on(!1),u=on(),d=on(!!r);return r&&setTimeout((()=>{d.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),f().then((()=>{a.value=!0,e.parent&&wo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Cn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?_o(l,e):u.value&&o?ti(o,{error:u.value}):n&&!d.value?ti(n):void 0}})}function _o(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ti(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const wo=e=>e.type.__isKeepAlive;class xo{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=pi(),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 xo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Yr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Lo(o=t),u(o,n,a,!0)):i&&Lo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=o,d=f("div");function p(t){r.forEach(((n,o)=>{const i=Po(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,j(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&&j(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ci(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Io(t.bda),c(e,d,null,1,a),Ar((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&j(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ci(n,t.parent,e),t.isDeactivated=!0}),a)},Zn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>To(e,t))),t&&p((e=>!To(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Ao(n.subTree))};return Mo(g),Fo(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&&j(l.component.bda),Lo(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)&&!Xn(o.type))return i=null,o;let s=Ao(o);const a=s.type,l=Po(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!To(c,l))||u&&l&&To(u,l))return i=s,o;const f=null==s.key?a:s.key,d=r.get(f);return s.el&&(s=ni(s),Xn(o.type)&&(o.ssContent=s)),h=f,d&&(s.el=d.el,s.component=d.component,s.transition&&go(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Xn(o.type)?o:s}}},Co=So;function To(e,t){return p(e)?e.some((e=>To(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function ko(e,t){$o(e,"a",t)}function Eo(e,t){$o(e,"da",t)}function $o(e,t,n=di){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,jo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)wo(e.parent.vnode)&&Oo(o,t,n,e),e=e.parent}}function Oo(e,t,n,o){const r=jo(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ao(e){return Xn(e.type)?e.ssContent:e}function Po(e,t){if("name"===t){const t=e.type;return Si(yo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Io(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function jo(e,t,n=di,o=!1){if(n){if(r=e,Te.indexOf(r)>-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=mi(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=di)=>(!bi||"sp"===e)&&jo(e,((...e)=>t(...e)),n),Bo=Ro("bm"),Mo=Ro("m"),No=Ro("bu"),Fo=Ro("u"),Vo=Ro("bum"),Do=Ro("um"),qo=Ro("sp"),Wo=Ro("rtg"),Ho=Ro("rtc");function zo(e,t=di){jo("ec",e,t)}function Uo(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;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(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<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function Go(e,t,n={},o,r){if(Rn.isCE||Rn.parent&&yo(Rn.parent)&&Rn.parent.isCE)return"default"!==t&&(n.name=t),ti("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Wr();const s=i&&Xo(i(n)),a=Xr(Mr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Xo(e){return e.some((e=>!Kr(e)||e.type!==Fr&&!(e.type===Mr&&!Xo(e.children))))?e:null}const Ko=e=>{if(!e)return null;if(yi(e)){return xi(e)||e.proxy}return Ko(e.parent)},Yo=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=>rr(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=>eo.bind(e)}),Jo=(e,t)=>e!==o&&!e.__isScriptSetup&&d(e,t),Zo={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(Jo(r,t))return a[t]=1,r[t];if(i!==o&&d(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&d(u,t))return a[t]=3,s[t];if(n!==o&&d(n,t))return a[t]=4,n[t];er&&(a[t]=0)}}const f=Yo[t];let p,h;return f?("$attrs"===t&&nt(e,0,t),f(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&d(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,d(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Jo(i,t)?(i[t]=n,!0):r!==o&&d(r,t)?(r[t]=n,!0):!d(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&&d(e,a)||Jo(t,a)||(l=s[0])&&d(l,a)||d(r,a)||d(Yo,a)||d(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let er=!0;function tr(e){const t=rr(e),n=e.proxy,o=e.ctx;er=!1,t.beforeCreate&&nr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:f,beforeMount:d,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:T,renderTracked:k,renderTriggered:E,errorCaptured:$,serverPrefetch:O,expose:L,inheritAttrs:A,components:P,directives:I,filters:j}=t;if(u&&function(e,t,n=i){p(e)&&(e=lr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?vr(n.from||o,n.default,!0):vr(n.from||o):vr(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=Dt(t))}if(er=!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)or(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{mr(t,e[t])}))}function R(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&nr(f,e,"c"),R(Bo,d),R(Mo,h),R(No,g),R(Fo,v),R(ko,y),R(Eo,_),R(zo,$),R(Ho,k),R(Wo,E),R(Vo,x),R(Do,C),R(qo,O),p(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===i&&(e.render=T),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),I&&(e.directives=I);const B=e.appContext.config.globalProperties.$applyOptions;B&&B(t,e,n)}function nr(e,t,n){fn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function or(e,t,n,o){const r=o.includes(".")?to(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Zn(r,n)}else if(m(e))Zn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>or(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Zn(r,o,e)}}function rr(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=>ir(l,e,s,!0))),ir(l,t,s)):l=t,b(t)&&i.set(t,l),l}function ir(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&ir(e,i,n,!0),r&&r.forEach((t=>ir(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=sr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const sr={data:ar,props:fr,emits:fr,methods:ur,computed:ur,beforeCreate:cr,created:cr,beforeMount:cr,mounted:cr,beforeUpdate:cr,updated:cr,beforeDestroy:cr,beforeUnmount:cr,destroyed:cr,unmounted:cr,activated:cr,deactivated:cr,errorCaptured:cr,serverPrefetch:cr,components:ur,directives:ur,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]=cr(e[o],t[o]);return n},provide:ar,inject:function(e,t){return ur(lr(e),lr(t))}};function ar(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 lr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function cr(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?c(Object.create(null),e,t):t}function fr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Qo(e),Qo(null!=t?t:{})):t}function dr(){return{app:null,config:{isNativeTag:s,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pr=0;function hr(e,t){return function(n,o=null){m(n)||(n=c({},n)),null==o||b(o)||(o=null);const r=dr(),i=new WeakSet;let s=!1;const a=r.app={_uid:pr++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:ki,get config(){return r.config},set config(e){},use:(e,...t)=>(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=ti(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,xi(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=gr;gr=a;try{return e()}finally{gr=t}}};return a}}let gr=null;function mr(e,t){if(di){let n=di.provides;const o=di.parent&&di.parent.provides;o===n&&(n=di.provides=Object.create(o)),n[e]=t,"app"===di.type.mpType&&di.appContext.app.provide(e,t)}else;}function vr(e,t,n=!1){const o=di||Rn;if(o||gr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:gr._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 yr(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(T(o))continue;const c=t[o];let u;i&&d(i,u=$(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:jn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Kt(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=br(i,t,a,r[a],e,!d(r,a))}}return l}function br(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=d(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&m(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=mi(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==L(n)||(o=!0))}return o}function _r(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const a=e.props,l={},u=[];let f=!1;if(!m(e)){const o=e=>{f=!0;const[n,o]=_r(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&&!f)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r<a.length;r++){const e=$(a[r]);wr(e)&&(l[e]=o)}else if(a)for(const o in a){const e=$(o);if(wr(e)){const t=a[o],n=l[e]=p(t)||m(t)?{type:t}:c({},t);if(n){const t=Cr(Boolean,n.type),o=Cr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||d(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function wr(e){return"$"!==e[0]&&!T(e)}function xr(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 xr(e)===xr(t)}function Cr(e,t){return p(t)?t.findIndex((t=>Sr(t,e))):m(t)&&Sr(t,e)?0:-1}const Tr=e=>"_"===e[0]||"$stable"===e,kr=e=>p(e)?e.map(ii):[ii(e)],Er=(e,t,n)=>{if(t._n)return t;const o=Nn(((...e)=>kr(t(...e))),n);return o._c=!1,o},$r=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Tr(r))continue;const n=e[r];if(m(n))t[r]=Er(0,n,o);else if(null!=n){const e=kr(n);t[r]=()=>e}}},Or=(e,t)=>{const n=kr(t);e.slots.default=()=>n};function Lr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Lr(e,t&&(p(t)?t[o]:t),n,r,i)));if(yo(r)&&!i)return;const s=4&r.shapeFlag?xi(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,f=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=f&&f!==c&&(v(f)?(h[f]=null,d(g,f)&&(g[f]=null)):nn(f)&&(f.value=null)),m(c))un(c,l,12,[a,h]);else{const t=v(c),o=nn(c);if(t||o){const r=()=>{if(e.f){const n=t?d(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],d(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,d(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)?yn.push(...n):bn&&bn.includes(n,n.allowRecurse?_n+1:_n)||yn.push(n),Tn())};function Pr(e){return function(e,t){N().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:f,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&&!Yr(e,t)&&(o=te(e),Y(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Nr:x(e,t,n,o);break;case Fr:S(e,t,n,o);break;case Vr:null==e&&C(t,n,o,s);break;case Mr:V(e,t,n,o,r,i,s,a,l);break;default:1&f?O(e,t,n,o,r,i,s,a,l):6&f?D(e,t,n,o,r,i,s,a,l):(64&f||128&f)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Lr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=f(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},C=(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)},O=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):B(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let f,d;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(f=e.el=u(e.type,s,p&&p.is,p),8&h?g(f,e.children):16&h&&I(e.children,f,null,r,i,Ir(e,s),l,c),v&&ro(e,null,r,"created"),P(f,e,e.scopeId,l,r),p){for(const t in p)"value"===t||T(t)||a(f,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(f,"value",null,p.value,s),(d=p.onVnodeBeforeMount)&&ci(d,r,e)}Object.defineProperty(f,"__vueParentComponent",{value:r,enumerable:!1}),v&&ro(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(f),n(f,t,o),((d=p&&p.onVnodeMounted)||y||v)&&Ar((()=>{d&&ci(d,r,e),y&&m.enter(f),v&&ro(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i<o.length;i++)y(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;P(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},I=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?si(e[c]):ii(e[c]);w(null,l,t,n,o,r,i,s,a)}},B=(e,t,n,r,i,s,c)=>{const u=t.el=e.el;let{patchFlag:f,dynamicChildren:d,dirs:p}=t;f|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&jr(n,!1),(v=m.onVnodeBeforeUpdate)&&ci(v,n,t,e),p&&ro(t,e,n,"beforeUpdate"),n&&jr(n,!0),d?M(e.dynamicChildren,d,u,n,r,Ir(t,i),s):c||U(e,t,u,null,n,r,Ir(t,i),s,!1),f>0){if(16&f)F(u,t,h,m,n,r,i);else if(2&f&&h.class!==m.class&&a(u,"class",null,m.class,i),4&f&&a(u,"style",h.style,m.style,i),8&f){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const s=o[t],c=h[s],f=m[s];(f!==c||"value"===s||l&&l(u,s))&&a(u,s,c,f,i,e.children,n,r,ee)}}1&f&&e.children!==t.children&&g(u,t.children)}else c||null!=d||F(u,t,h,m,n,r,i);((v=m.onVnodeUpdated)||p)&&Ar((()=>{v&&ci(v,n,t,e),p&&ro(t,e,n,"updated")}),r)},M=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Mr||!Yr(l,c)||70&l.shapeFlag)?m(l.el):n;w(l,c,u,null,o,r,i,s,!0)}},F=(e,t,n,r,i,s,c)=>{if(n!==r){if(n!==o)for(const o in n)T(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(T(o))continue;const u=r[o],f=n[o];(u!==f&&"value"!==o||l&&l(e,o))&&a(e,o,f,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},V=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:f(""),d=t.anchor=e?e.anchor:f("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(d,o,r),I(t.children||[],o,d,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Rr(e,t,!0)):U(e,t,o,d,i,s,a,l,c)},D=(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):W(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)||ui,s={uid:fi++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Be(!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:_r(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(wo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&gi(t);const{props:n,children:o}=e.vnode,r=yi(e);(function(e,t,n,o=!1){const r={},i={};R(i,Jr,1),e.propsDefaults=Object.create(null),yr(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=Kt(t),R(t,"_",n)):$r(t,e.slots={})}else e.slots={},t&&Or(e,t);R(e.slots,Jr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yt(new Proxy(e.ctx,Zo));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=mi(e);ze();const i=un(o,e,0,[e.props,n]);if(Ue(),r(),_(i)){if(i.then(vi,vi),t)return i.then((n=>{_i(e,n,t)})).catch((t=>{dn(t,e,0)}));e.asyncDep=i}else _i(e,i,t)}else wi(e,t)}(e,t):void 0;t&&gi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,H),!e.el){const e=l.subTree=ti(Fr);S(null,e,t,n)}}else H(l,e,t,n,i,s,a)},W=(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||qn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?qn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!jn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void z(o,t,n);o.next=t,function(e){const t=mn.indexOf(e);t>vn&&mn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=(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=Br(e);if(n)return t&&(t.el=c.el,z(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,f=t;jr(e,!1),t?(t.el=c.el,z(e,t,a)):t=c,n&&j(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ci(u,i,t,c),jr(e,!0);const d=Fn(e),p=e.subTree;e.subTree=d,w(p,d,m(p.el),te(p),e,r,s),t.el=d.el,null===f&&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,d.el),o&&Ar(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Ar((()=>ci(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:f}=e,d=yo(t);if(jr(e,!1),c&&j(c),!d&&(i=l&&l.onVnodeBeforeMount)&&ci(i,f,t),jr(e,!0),a&&se){const n=()=>{e.subTree=Fn(e),se(a,e.subTree,e,r,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Fn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Ar(u,r),!d&&(i=l&&l.onVnodeMounted)){const e=t;Ar((()=>ci(i,f,e)),r)}(256&t.shapeFlag||f&&yo(f.vnode)&&256&f.vnode.shapeFlag)&&(e.ba&&Io(e.ba),e.a&&Ar(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ne(l,i,(()=>Cn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,jr(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=Kt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;yr(e,t,r,i)&&(c=!0);for(const i in a)t&&(d(t,i)||(o=L(i))!==i&&d(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=br(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&d(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(jn(e.emitsOptions,s))continue;const u=t[s];if(l)if(d(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=$(s);r[t]=br(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&ot(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{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,$r(t,i)),a=t}else t&&(Or(e,t),a={default:1});if(s)for(const o in i)Tr(o)||null!=a[o]||delete i[o]})(e,t.children,n),ze(),kn(e),Ue()},U=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void X(c,f,n,o,r,i,s,a,l);if(256&d)return void G(c,f,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),f!==c&&g(n,f)):16&u?16&p?X(c,f,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&I(f,n,o,r,i,s,a,l))},G=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,f=t.length,d=Math.min(u,f);let p;for(p=0;p<d;p++){const o=t[p]=c?si(t[p]):ii(t[p]);w(e[p],o,n,null,i,s,a,l,c)}u>f?ee(e,i,s,!0,!1,d):I(t,n,o,i,s,a,l,c,d)},X=(e,t,n,o,i,s,a,l,c)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const o=e[u],r=t[u]=c?si(t[u]):ii(t[u]);if(!Yr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=d&&u<=p;){const o=e[d],r=t[p]=c?si(t[p]):ii(t[p]);if(!Yr(o,r))break;w(o,r,n,null,i,s,a,l,c),d--,p--}if(u>d){if(u<=p){const e=p+1,r=e<f?t[e].el:o;for(;u<=p;)w(null,t[u]=c?si(t[u]):ii(t[u]),n,r,i,s,a,l,c),u++}}else if(u>p)for(;u<=d;)Y(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?si(t[u]):ii(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const S=new Array(b);for(u=0;u<b;u++)S[u]=0;for(u=h;u<=d;u++){const o=e[u];if(y>=b){Y(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===S[v-g]&&Yr(o,t[v])){r=v;break}void 0===r?Y(o,i,s,!0):(S[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const C=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>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}(S):r;for(v=C.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],d=e+1<f?t[e+1].el:o;0===S[u]?w(null,r,n,d,i,s,a,l,c):_&&(v<0||u!==C[v]?K(r,n,d,2):v--)}}},K=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(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===Mr){n(s,t,o);for(let e=0;e<c.length;e++)K(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Vr)return void k(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),Ar((()=>l.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)},Y=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d}=e;if(null!=a&&Lr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&d,h=!yo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&ci(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&ro(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Mr||f>0&&64&f)?ee(c,t,n,!1,!0):(i===Mr&&384&f||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Ar((()=>{g&&ci(g,t,e),p&&ro(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Mr)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&&j(o),r.stop(),i&&(i.active=!1,Y(s,e,t,n)),a&&Ar(a,t),Ar((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)Y(e[s],t,n,o,r)},te=e=>6&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&&Y(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,kn(),En(),ne=!1),t._vnode=e},re={p:w,um:Y,m:K,r:J,mt:q,mc:I,pc:U,pbc:M,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:hr(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 jr({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;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=si(r[i]),t.el=e.el),n||Rr(e,t)),t.type===Nr&&(t.el=e.el)}}function Br(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Br(t)}const Mr=Symbol.for("v-fgt"),Nr=Symbol.for("v-txt"),Fr=Symbol.for("v-cmt"),Vr=Symbol.for("v-stc"),Dr=[];let qr=null;function Wr(e=!1){Dr.push(qr=e?null:[])}let Hr=1;function zr(e){Hr+=e}function Ur(e){return e.dynamicChildren=Hr>0?qr||r:null,Dr.pop(),qr=Dr[Dr.length-1]||null,Hr>0&&qr&&qr.push(e),e}function Gr(e,t,n,o,r,i){return Ur(ei(e,t,n,o,r,i,!0))}function Xr(e,t,n,o,r){return Ur(ti(e,t,n,o,r,!0))}function Kr(e){return!!e&&!0===e.__v_isVNode}function Yr(e,t){return e.type===t.type&&e.key===t.key}const Jr="__vInternal",Zr=({key:e})=>null!=e?e:null,Qr=({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 ei(e,t=null,n=null,o=0,r=null,i=(e===Mr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zr(t),ref:t&&Qr(t),scopeId:Bn,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?(ai(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Hr>0&&!s&&qr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&qr.push(l),l}const ti=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Hn||(e=Fr);if(Kr(e)){const o=ni(e,t,!0);return n&&ai(o,n),Hr>0&&!i&&qr&&(6&o.shapeFlag?qr[qr.indexOf(e)]=o:qr.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?Xt(e)||Jr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=de(e)),b(n)&&(Xt(n)&&!p(n)&&(n=c({},n)),t.style=fe(n))}const a=v(e)?1:Xn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return ei(e,t,n,o,r,a,i,!0)};function ni(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?li(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Zr(a),ref:t&&t.ref?n&&r?p(r)?r.concat(Qr(t)):[r,Qr(t)]:Qr(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!==Mr?-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&&ni(e.ssContent),ssFallback:e.ssFallback&&ni(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function oi(e=" ",t=0){return ti(Nr,null,e,t)}function ri(e="",t=!1){return t?(Wr(),Xr(Fr,null,e)):ti(Fr,null,e)}function ii(e){return null==e||"boolean"==typeof e?ti(Fr):p(e)?ti(Mr,null,e.slice()):"object"==typeof e?si(e):ti(Nr,null,String(e))}function si(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ni(e)}function ai(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),ai(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Jr 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=[oi(t)]):n=8);e.children=t,e.shapeFlag|=n}function li(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=de([t.class,o.class]));else if("style"===e)t.style=fe([t.style,o.style]);else if(a(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function ci(e,t,n,o=null){fn(e,t,7,[n,o])}const ui=dr();let fi=0;let di=null;const pi=()=>di||Rn;let hi,gi;{const e=N(),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)}};hi=t("__VUE_INSTANCE_SETTERS__",(e=>di=e)),gi=t("__VUE_SSR_SETTERS__",(e=>bi=e))}const mi=e=>{const t=di;return hi(e),e.scope.on(),()=>{e.scope.off(),hi(t)}},vi=()=>{di&&di.scope.off(),hi(null)};function yi(e){return 4&e.vnode.shapeFlag}let bi=!1;function _i(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=cn(t)),wi(e,n)}function wi(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=mi(e);ze();try{tr(e)}finally{Ue(),t()}}}function xi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cn(Yt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Yo?Yo[n](e):void 0,has:(e,t)=>t in e||t in Yo}))}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,bi);return n};function Ti(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Kr(t)?ti(e,null,[t]):ti(e,t):ti(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Kr(n)&&(n=[n]),ti(e,t,n))}const ki="3.4.21",Ei="undefined"!=typeof document?document:null,$i=Ei&&Ei.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?Ei.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ei.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ei.createElement(e,{is:n}):Ei.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ei.createTextNode(e),createComment:e=>Ei.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ei.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{$i.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=$i.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]}},Li="transition",Ai=Symbol("_vtc"),Pi=(e,{slots:t})=>Ti(co,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:f=a,leaveFromClass:d=`${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[Bi(e.enter),Bi(e.leave)];{const t=Bi(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=y,onAppear:T=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Ni(e,t?f:a),Ni(e,t?u:s),n&&n()},$=(e,t)=>{e._isLeaving=!1,Ni(e,d),Ni(e,h),Ni(e,p),t&&t()},O=e=>(t,n)=>{const r=e?T:_,s=()=>E(t,e,n);ji(r,[t,s]),Fi((()=>{Ni(t,e?l:i),Mi(t,e?f:a),Ri(r)||Di(t,o,m,s)}))};return c(t,{onBeforeEnter(e){ji(y,[e]),Mi(e,i),Mi(e,s)},onBeforeAppear(e){ji(C,[e]),Mi(e,l),Mi(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>$(e,t);Mi(e,d),document.body.offsetHeight,Mi(e,p),Fi((()=>{e._isLeaving&&(Ni(e,d),Mi(e,h),Ri(x)||Di(e,o,v,n))})),ji(x,[e,n])},onEnterCancelled(e){E(e,!1),ji(w,[e])},onAppearCancelled(e){E(e,!0),ji(k,[e])},onLeaveCancelled(e){$(e),ji(S,[e])}})}(e),t);Pi.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};Pi.props=c({},lo,Ii);const ji=(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 Bi(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Mi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ai]||(e[Ai]=new Set)).add(t)}function Ni(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 Fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Vi=0;function Di(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=qi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=qi(a,l);let u=null,f=0,d=0;t===Li?s>0&&(u=Li,f=s,d=i.length):"animation"===t?c>0&&(u="animation",f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?Li:"animation":null,d=u?u===Li?i.length:l.length:0);const p=u===Li&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=t=>{t.target===e&&++u>=l&&f()};setTimeout((()=>{u<l&&f()}),a+1),e.addEventListener(c,d)}function qi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Wi(t)+Wi(e[n]))))}function Wi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Hi=Symbol("_vod"),zi=Symbol("_vsh"),Ui={beforeMount(e,{value:t},{transition:n}){e[Hi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Gi(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),Gi(e,!0),o.enter(e)):o.leave(e,(()=>{Gi(e,!1)})):Gi(e,t))},beforeUnmount(e,{value:t}){Gi(e,t)}};function Gi(e,t){e.style.display=t?e[Hi]:"none",e[zi]=!t}const Xi=Symbol(""),Ki=/(^|;)\s*display\s*:/;const Yi=/\s*!important$/;function Ji(e,t,n){if(p(n))n.forEach((n=>Ji(e,t,n)));else if(null==n&&(n=""),n=as(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Qi[t];if(n)return n;let o=$(t);if("filter"!==o&&o in e)return Qi[t]=o;o=A(o);for(let r=0;r<Zi.length;r++){const n=Zi[r]+o;if(n in e)return Qi[t]=n}return t}(e,t);Yi.test(n)?e.setProperty(L(o),n.replace(Yi,""),"important"):e[o]=n}}const Zi=["Webkit","Moz","ms"],Qi={};const{unit:es,unitRatio:ts,unitPrecision:ns}={unit:"rem",unitRatio:10/320,unitPrecision:5},os=(rs=es,is=ts,ss=ns,e=>e.replace(me,((e,t)=>{if(!t)return e;if(1===is)return`${t}${rs}`;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)*is,ss);return 0===n?"0":`${n}${rs}`})));var rs,is,ss;const as=e=>v(e)?os(e):e,ls="http://www.w3.org/1999/xlink";const cs=Symbol("_vei");function us(e,t,n,o,r=null){const i=e[cs]||(e[cs]={}),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):L(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=hs(e,i);for(let o=0;o<n.length;o++){const i=n[o];fn(i,t,5,i.__wwe?[e]:r(e))}}else fn(hs(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>ds||(ps.then((()=>ds=0)),ds=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 ds=0;const ps=Promise.resolve();function hs(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 gs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ms=["ctrl","shift","alt","meta"],vs={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)=>ms.some((n=>e[`${n}Key`]&&!t.includes(n)))},ys=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=vs[t[e]];if(o&&o(n,t))return}return e(n,...o)})},bs=c({patchProp:(e,t,n,o,r,i,s,c,u)=>{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 f="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,f):"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]&&Ji(o,t,"")}else for(const e in t)null==n[e]&&Ji(o,e,"");for(const e in n)"display"===e&&(i=!0),Ji(o,e,n[e])}else if(r){if(t!==n){const e=o[Xi];e&&(n+=";"+e),o.cssText=n,i=Ki.test(n)}}else t&&e.removeAttribute("style");Hi in e&&(e[Hi]=i?o.display:"",e[zi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Ji(o,a,s[a])}(e,n,o):a(t)?l(t)||us(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&&gs(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(gs(t)&&v(n))return!1;return t in e}(e,t,o,f))?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(ls,t.slice(6,t.length)):e.setAttributeNS(ls,t,n);else{const o=z(t);null==n||o&&!U(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,f))},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 _s;const ws=(...e)=>{const t=(_s||(_s=Pr(bs))).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 xs="undefined"!=typeof document;const Ss=Object.assign;function Cs(e,t){const n={};for(const o in t){const r=t[o];n[o]=ks(r)?r.map(e):e(r)}return n}const Ts=()=>{},ks=Array.isArray,Es=/#/g,$s=/&/g,Os=/\//g,Ls=/=/g,As=/\?/g,Ps=/\+/g,Is=/%5B/g,js=/%5D/g,Rs=/%5E/g,Bs=/%60/g,Ms=/%7B/g,Ns=/%7C/g,Fs=/%7D/g,Vs=/%20/g;function Ds(e){return encodeURI(""+e).replace(Ns,"|").replace(Is,"[").replace(js,"]")}function qs(e){return Ds(e).replace(Ps,"%2B").replace(Vs,"+").replace(Es,"%23").replace($s,"%26").replace(Bs,"`").replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")}function Ws(e){return null==e?"":function(e){return Ds(e).replace(Es,"%23").replace(As,"%3F")}(e).replace(Os,"%2F")}function Hs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Us(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&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;i<o.length;i++)if(s=o[i],"."!==s){if(".."!==s)break;a>1&&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:Hs(s)}}function Gs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Xs(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(!Ys(e[n],t[n]))return!1;return!0}function Ys(e,t){return ks(e)?Js(e,t):ks(t)?Js(t,e):e===t}function Js(e,t){return ks(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Zs,Qs,ea,ta;function na(e){if(!e)if(xs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(zs,"")}(Qs=Zs||(Zs={})).pop="pop",Qs.push="push",(ta=ea||(ea={})).back="back",ta.forward="forward",ta.unknown="";const oa=/^[^#]+#/;function ra(e,t){return e.replace(oa,"#")+t}const ia=()=>({left:window.scrollX,top:window.scrollY});function sa(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 aa(e,t){return(history.state?history.state.position-t:-1)+e}const la=new Map;function ca(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),Gs(n,"")}return Gs(n,e)+o+r}function ua(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ia():null}}function fa(e){const{history:t,location:n}=window,o={value:ca(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:ia()});i(s.current,s,!0),i(e,Ss({},ua(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ss({},t.state,ua(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function da(e){const t=fa(e=na(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ca(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:Zs.pop,direction:u?u>0?ea.forward:ea.back:ea.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ss({},e.state,{scroll:ia()}),"")}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:ra.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 pa(e){return"string"==typeof e||"symbol"==typeof e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ga=Symbol("");var ma,va;function ya(e,t){return Ss(new Error,{type:e,[ga]:!0},t)}function ba(e,t){return e instanceof Error&&ga in e&&(null==t||!!(e.type&t))}(va=ma||(ma={}))[va.aborted=4]="aborted",va[va.cancelled=8]="cancelled",va[va.duplicated=16]="duplicated";const _a={sensitive:!1,strict:!1,start:!0,end:!0},wa=/[.+*?^${}()[\]/\\]/g;function xa(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.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(;n<o.length&&n<r.length;){const e=xa(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ca(o))return 1;if(Ca(r))return-1}return r.length-o.length}function Ca(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ta={type:0,value:""},ka=/[a-zA-Z0-9_]/;function Ea(e,t,n){const o=function(e,t){const n=Ss({},_a,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;t<l.length;t++){const o=l[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(wa,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const f=u||"[^/]+?";if("[^/]+?"!==f){s+=10;try{new RegExp(`(${f})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${f}): `+a.message)}}let d=n?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;t||(d=c&&l.length<2?`(?:/${d})`:"/"+d),c&&(d+="?"),r+=d,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===f&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(ks(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=ks(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Ta]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let a,l=0,c="",u="";function f(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===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 d(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&f(),s()):":"===a?(f(),n=1):d();break;case 4:d(),n=o;break;case 1:"("===a?n=2:ka.test(a)?d():(f(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),r}(e.path),n),r=Ss(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function $a(e,t){const n=[],o=new Map;function r(e,n,o){const a=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:La(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Ia(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Ss({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let f,d;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(f=Ea(t,n,c),o?o.alias.push(f):(d=d||f,d!==f&&d.alias.push(f),a&&e.name&&!Aa(f)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],f,o&&o.children[t])}o=o||f,(f.record.components&&Object.keys(f.record.components).length||f.record.name||f.record.redirect)&&s(f)}return d?()=>{i(d)}:Ts}function i(e){if(pa(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<n.length&&Sa(e,n[t])>=0&&(e.record.path!==n[t].record.path||!ja(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 ya(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 ya(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:Pa(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 La(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 Pa(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 ja(e,t){return t.children.some((t=>t===e||ja(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;o<n.length;++o){const e=n[o].replace(Ps," "),r=e.indexOf("="),i=Hs(r<0?e:e.slice(0,r)),s=r<0?null:Hs(e.slice(r+1));if(i in t){let e=t[i];ks(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Ba(e){let t="";for(let n in e){const o=e[n];if(n=qs(n).replace(Ls,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(ks(o)?o.map((e=>e&&qs(e))):[o&&qs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ma(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ks(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Na=Symbol(""),Fa=Symbol(""),Va=Symbol(""),Da=Symbol(""),qa=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 Ha(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(ya(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ya(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 f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>l(e)))}))}function za(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(Ha(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&&Ha(c,n,o,a,e,r)()}))))}}var s;return i}function Ua(e){const t=vr(Va),n=vr(Da),o=Ci((()=>t.resolve(an(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(Xs.bind(null,r));if(s>-1)return s;const a=Xa(e[t-2]);return t>1&&Xa(r)===a&&i[i.length-1].path!==a?i.findIndex(Xs.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(!ks(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[an(e.replace)?"replace":"push"](an(e.to)).catch(Ts):Promise.resolve()}}}const Ga=vo({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:Ua,setup(e,{slots:t}){const n=Dt(Ua(e)),{options:o}=vr(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:Ti("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Xa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ka=(e,t,n)=>null!=e?e:null!=t?t:n;function Ya(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ja=vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=vr(qa),r=Ci((()=>e.route||o.value)),i=vr(Fa,0),s=Ci((()=>{let e=an(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ci((()=>r.value.matched[s.value]));mr(Fa,Ci((()=>s.value+1))),mr(Na,a),mr(qa,r);const l=on();return Zn((()=>[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&&Xs(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 Ya(n.default,{Component:c,route:o});const u=s.props[i],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=Ti(c,Ss({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ya(n.default,{Component:d,route:o})||d}}});function Za(e){const t=$a(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Ba,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=rn(ha,!0);let c=ha;xs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cs.bind(null,(e=>""+e)),f=Cs.bind(null,Ws),d=Cs.bind(null,Hs);function p(e,i){if(i=Ss({},i||l.value),"string"==typeof e){const o=Us(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ss(o,s,{params:d(s.params),hash:Hs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Ss({},e,{path:Us(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:f(t)}),i.params=f(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(d(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,Ds(h).replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")),path:a.path}));var h;const g=r.createHref(p);return Ss({fullPath:p,hash:c,query:o===Ba?Ma(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Us(n,e,l.value.path):Ss({},e)}function g(e,t){if(c!==e)return ya(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 f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Xs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ya(16,{to:f,from:r}),A(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch((e=>ba(e)?ba(e,2)?e:L(e):O(e,f,r))).then((e=>{if(e){if(ba(e,2))return y(Ss({replace:a},h(e.to),{state:"object"==typeof e.to?Ss({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,a,i);return x(f,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=j.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;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>Xs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Xs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=za(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ha(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),B(n).then((()=>{n=[];for(const o of i.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).then((()=>{n=za(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ha(o,e,t))}));return n.push(l),B(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(ks(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ha(r,e,t));else n.push(Ha(o.beforeEnter,e,t));return n.push(l),B(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=za(a,"beforeRouteEnter",e,t,_),n.push(l),B(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).catch((e=>ba(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ha,c=xs?history.state:{};n&&(o||a?r.replace(e.fullPath,Ss({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),L()}let C;function T(){C||(C=r.listen(((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(Ss(i,{replace:!0}),o).catch(Ts);c=o;const s=l.value;var a,u;xs&&(a=aa(s.fullPath,n.delta),u=ia(),la.set(a,u)),w(o,s).catch((e=>ba(e,12)?e:ba(e,2)?(y(e.to,o).then((e=>{ba(e,20)&&!n.delta&&n.type===Zs.pop&&r.go(-1,!1)})).catch(Ts),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!ba(e,8)?r.go(-n.delta,!1):n.type===Zs.pop&&ba(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Ts)})))}let k,E=Wa(),$=Wa();function O(e,t,n){L(e);const o=$.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,T(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!xs||!i)return Promise.resolve();const s=!o&&function(e){const t=la.get(e);return la.delete(e),t}(aa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&sa(e))).catch((e=>O(e,t,n)))}const P=e=>r.go(e);let I;const j=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return pa(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:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:$.add,isReady:function(){return k&&l.value!==ha?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ga),e.component("RouterView",Ja),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>an(l)}),xs&&!I&&l.value===ha&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in ha)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Va,this),e.provide(Da,qt(t)),e.provide(qa,l);const n=e.unmount;j.add(e),e.unmount=function(){j.delete(e),j.size<1&&(c=ha,C&&C(),C=null,l.value=ha,I=!1,k=!1),n()}}};function B(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function Qa(){return vr(Da)}const el=["{","}"];const tl=/^(?:\d)+/,nl=/^(?:\w)+/;const ol=Object.prototype.hasOwnProperty,rl=(e,t)=>ol.call(e,t),il=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=el){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=tl.test(t)?"list":a&&nl.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function sl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-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 al{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||il,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=sl(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=>{rl(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=sl(t,this.messages))&&(o=this.messages[t]):n=t,rl(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 ll(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&&rf?rf():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new al({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=_p().$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 cl=ie((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ul;function fl(){if(!ul){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ul=ll(e),cl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ul.add(e,__uniConfig.locales[e]))),ul.setLocale(e)}}return ul}function dl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const pl=ie((()=>{const e="uni.async.",t=["error"];fl().add("en",dl(e,t,["The connection timed out, click the screen to try again."]),!1),fl().add("es",dl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),fl().add("fr",dl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),fl().add("zh-Hans",dl(e,t,["连接服务器超时,点击屏幕重试"]),!1),fl().add("zh-Hant",dl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),hl=ie((()=>{const e="uni.showToast.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showToast must be paired with hideToast"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),gl=ie((()=>{const e="uni.showLoading.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}));function ml(e){const t=new Le;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 vl=1;const yl=Object.create(null);function bl(e,t){return e+"."+t}function _l({id:e,name:t,args:n},o){t=bl(o,t);const r=t=>{e&&gh.publishHandler("invokeViewApi."+e,t)},i=yl[t];i?i(n,r):r({})}const wl=c(ml("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=gh,i=n?vl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),xl=ve(!0);let Sl;function Cl(){Sl&&(clearTimeout(Sl),Sl=null)}let Tl=0,kl=0;function El(e){if(Cl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Tl=t,kl=n,Sl=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 $l(e){if(!Sl)return;if(1!==e.touches.length)return Cl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Tl)>10||Math.abs(n-kl)>10?Cl():void 0}function Ol(e,t){const n=Number(e);return isNaN(n)?t:n}function Ll(){const e=__uniConfig.globalStyle||{},t=Ol(e.rpxCalcMaxDeviceWidth,960),n=Ol(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 Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pl,Il,jl=["top","left","right","bottom"],Rl={};function Bl(){return Il="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 Ml(){if(Il="string"==typeof Il?Il:Bl()){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"}),jl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Pl=!0}else jl.forEach((function(e){Rl[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:Il+"(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){Fl.length||setTimeout((function(){var e={};Fl.forEach((function(t){e[t]=Rl[t]})),Fl.length=0,Vl.forEach((function(t){t(e)}))}),0);Fl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Rl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Nl(e){return Pl||Ml(),Rl[e]}var Fl=[];var Vl=[];const Dl=Al({get support(){return 0!=("string"==typeof Il?Il:Bl()).length},get top(){return Nl("top")},get left(){return Nl("left")},get right(){return Nl("right")},get bottom(){return Nl("bottom")},onChange:function(e){Bl()&&(Pl||Ml(),"function"==typeof e&&Vl.push(e))},offChange:function(e){var t=Vl.indexOf(e);t>=0&&Vl.splice(t,1)}}),ql=ys((()=>{}),["prevent"]);function Wl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Hl(){const e=Wl(document.documentElement.style,"--window-top");return e?e+Dl.top:0}function zl(){const e=document.documentElement.style,t=Hl(),n=Wl(e,"--window-bottom"),o=Wl(e,"--window-left"),r=Wl(e,"--window-right"),i=Wl(e,"--top-window-height");return{top:t,bottom:n?n+Dl.bottom:0,left:o?o+Dl.left:0,right:r?r+Dl.right:0,topWindowHeight:i||0}}function Ul(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Gl(e){return Symbol(e)}function Xl(e){return e.$page}function Kl(e){return 0===e.tagName.indexOf("UNI-")}const Yl="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",Jl="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 Zl(e,t="#000",n=27){return ti("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ti("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ql(){{const{$pageInstance:e}=pi();return e&&ac(e.proxy)}}function ec(){const e=Gf(),t=e.length;if(t)return e[t-1]}function tc(){var e;const t=null==(e=ec())?void 0:e.$page;if(t)return t.meta}function nc(){const e=tc();return e?e.id:-1}function oc(){const e=ec();if(e)return e.$vm}const rc=["navigationBar","pullToRefresh"];function ic(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);rc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function sc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ie(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 ac(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function lc(e,t,n){if(v(e))n=t,t=e,e=oc();else if("number"==typeof e){const t=Gf().find((t=>Xl(t).id===e));e=t?t.$vm:oc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function cc(e){e.preventDefault()}let uc,fc=0;function dc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{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-fc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(fc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(uc=setTimeout(s,300))),o=!1};return function(){clearTimeout(uc),o||requestAnimationFrame(s),o=!0}}function pc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return pc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),re(i.concat(n).join("/"))}function hc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function gc(){Ll(),he(Kl),window.addEventListener("touchstart",El,xl),window.addEventListener("touchmove",$l,xl),window.addEventListener("touchend",Cl,xl),window.addEventListener("touchcancel",Cl,xl)}class mc{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?vc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=_c(n[o]);e&&t.push(vc(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||v(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:L(n);(v(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=W(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-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&&gh.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 vc(e,t=!0){if(t&&e&&(e=ce(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new mc(e)),e.$el.__wxsComponentDescriptor}function yc(e,t){return vc(e,t)}function bc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>yc(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,yc(r,!1)]}}function _c(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function wc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!Kl(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&&S(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 xc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Sc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const Cc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!Kl(o);if(r)return bc(e,t,n,!1)||[e];const i=wc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Hl();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[xc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Hl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[xc(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=Hl();i.touches=Sc(e.touches,t),i.changedTouches=Sc(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 bc(i,t,n)||[i]},createNativeEvent:wc},Symbol.toStringTag,{value:"Module"});function Tc(e){!function(e){const t=e.globalProperties;c(t,Cc),t.$gcd=yc}(e._context.config)}let kc=1;function Ec(e){return(e||nc())+".invokeViewApi"}const $c=c(ml("view"),{invokeOnCallback:(e,t)=>mh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=mh,s=o?kc++:0;o&&r("invokeViewApi."+s,o,!0),i(Ec(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=mh,a=kc++,l="invokeViewApi."+a;return r(l,n),s(Ec(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Oc(e){lc(ec(),"onResize",e),mh.invokeOnCallback("onWindowResize",e)}function Lc(e){const t=ec();lc(_p(),"onShow",e),lc(t,"onShow")}function Ac(){lc(_p(),"onHide"),lc(ec(),"onHide")}const Pc=["onPageScroll","onReachBottom"];function Ic(){Pc.forEach((e=>mh.subscribe(e,function(e){return(t,n)=>{lc(parseInt(n),e,t)}}(e))))}function jc(){!function(){const{on:e}=mh;e("onResize",Oc),e("onAppEnterForeground",Lc),e("onAppEnterBackground",Ac)}(),Ic()}function Rc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ce(this.$page.id)),e.eventChannel}}function Bc(e){e._context.config.globalProperties.getOpenerEventChannel=Rc}function Mc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Nc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Vu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Fc(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(Nc)),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)?Nc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout((()=>{i()}),0)}const Vc={props:["animation"],watch:{animation:{deep:!0,handler(){Fc(this)}}},mounted(){Fc(this)}},Dc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Vc),qc(e)},qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},vo(e));function Wc(e){return e.__wwe=!0,e}function Hc(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 zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Uc(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:Wc((function(e){e.touches.length>1||s(e)})),onMousedown:Wc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Wc((function(){a()})),onMouseup:Wc((function(){r&&l()})),onTouchcancel:Wc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Gc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Xc=Gl("uf"),Kc=Gl("ul");function Yc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&gh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?gh.on(r,t[r]):e&&gh.on(`uni-${r}-${o}-${e}`,t[r])}))}function Jc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&gh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?gh.off(r,t[r]):e&&gh.off(`uni-${r}-${o}-${e}`,t[r])}))}const Zc=Dc({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=vr(Xc,!1),{hovering:r,binding:i}=Uc(e),s=Wc(((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=vr(Kc,!1);return a&&(a.addHandler(s),Vo((()=>{a.removeHandler(s)}))),function(e,t){Yc(e.id,t),Zn((()=>e.id),((e,n)=>{Jc(n,t,!0),Yc(e,t,!0)})),Do((()=>{Jc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Gc(e,"disabled"),l=Gc(e,"loading"),c=Gc(e,"plain"),u=o&&"none"!==o;return ti("uni-button",li({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Qc=Gl("upm");function eu(){return vr(Qc)}function tu(e){const t=function(e){return Dt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Gf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(ic(Qa().meta,e)))))}(e);return mr(Qc,t),t}function nu(){return Qa()}function ou(){return history.state&&history.state.__id__||1}const ru=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function iu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let au=1;const lu={};function cu(e,t,n){if("number"==typeof e){const o=lu[e];if(o)return o.keepAlive||delete lu[e],o.callback(t,n)}return t}const uu="success",fu="fail",du="complete";function pu(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(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]=su(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=au++;return function(e,t,n,o=!1){lu[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 hu="success",gu="fail",mu="complete",vu={},yu={};function bu(e,t){return function(n){return e(n,t)||n}}function _u(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(bu(i,n));else{const e=i(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function wu(e,t={}){return[hu,gu,mu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){_u(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function xu(e,t){const n=[];p(vu.returnValue)&&n.push(...vu.returnValue);const o=yu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Su(e){const t=Object.create(null);Object.keys(vu).forEach((e=>{"returnValue"!==e&&(t[e]=vu[e].slice())}));const n=yu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Cu(e,t,n,o){const r=Su(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return _u(r.invoke,n).then((n=>t(wu(Su(e),n),...o)))}return t(wu(r,n),...o)}return t(n,...o)}function Tu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![uu,fu,du].find((t=>m(e[t]))))}(n)?xu(e,Cu(e,t,n,o)):xu(e,new Promise(((r,i)=>{Cu(e,t,c(n,{success:r,fail:i}),o)})))}function ku(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,cu(e,c({errMsg:i},o))}function Eu(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||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if(m(s)){const o=s(e[0][t],n);if(v(o))return o}else d(n,t)||(n[t]=s)}}(t,o);if(r)return r}function $u(e,t,n,o){return n=>{const r=pu(e,n,o),i=Eu(0,[n],0,o);return i?ku(r,e,i):t(n,{resolve:t=>function(e,t,n){return cu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ku(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 Ou(e,t,n,o){return Tu(e,$u(e,t,0,o))}function Lu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Eu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Au(e,t,n,o){return Tu(e,function(e,t,n,o){return $u(e,t,0,o)}(e,t,0,o))}let Pu=!1,Iu=0,ju=0,Ru=960,Bu=375,Mu=750;function Nu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=md(),t=bd(yd(e,vd(e)));return{platform:fd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Iu=e,ju=t,Pu="ios"===n}function Fu(e,t){const n=Number(e);return isNaN(n)?t:n}const Vu=Lu(0,((e,t)=>{if(0===Iu&&(Nu(),function(){const e=__uniConfig.globalStyle||{};Ru=Fu(e.rpxCalcMaxDeviceWidth,960),Bu=Fu(e.rpxCalcBaseDeviceWidth,375),Mu=Fu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Iu;n=e===Mu||n<=Ru?n:Bu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==ju&&Pu?.5:1),e<0?-o:o}));const Du=new class{constructor(){this.$emitter=new Le}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=Lu(0,((e,...t)=>{Du.emit(e,...t)})),Wu=[.5,.8,1,1.25,1.5,2];const Hu=(e,t,n,o)=>{!function(e,t,n,o,r){mh.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 zu={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 Uu(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(d(zu,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(zu[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 Gu{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Uu(t)])}}class Xu{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Ku{constructor(e){this.width=e}}let Yu=0,Ju={};function Zu(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Yu++);r.callbackId=e,Ju[e]=o}mh.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)}(Ju[e],t),delete Ju[e])}))}const Qu={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){mh.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 Gu("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Gu("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 Xu(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 Ku(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){Hu(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Hu(this.id,this.pageId,"moveToLocation",e)}getScale(e){Hu(this.id,this.pageId,"getScale",e)}getRegion(e){Hu(this.id,this.pageId,"getRegion",e)}includePoints(e){Hu(this.id,this.pageId,"includePoints",e)}translateMarker(e){Hu(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Hu(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Hu(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Hu(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Hu(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Hu(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Hu(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Hu(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Hu(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Hu(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Hu(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Hu(this.id,this.pageId,"openMapApp",e)}on(e,t){Hu(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){_d(this.id,this.pageId,"play")}pause(){_d(this.id,this.pageId,"pause")}stop(){_d(this.id,this.pageId,"stop")}seek(e){_d(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){_d(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Wu.indexOf(e)||(e=1),_d(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){_d(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){_d(this.id,this.pageId,"exitFullScreen")}showStatusBar(){_d(this.id,this.pageId,"showStatusBar")}hideStatusBar(){_d(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){Zu(this.id,this.pageId,e,t)}}};function ef(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Qu[n];e.context=new r(t,o),delete e.contextInfo}}class tf{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 nf{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):xd(i,n)?i:i.querySelector(n);return e?wd(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(wd(t,r))})),!l&&xd(i,n)&&e.unshift(wd(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(ef):ef(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 tf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new tf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new tf(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 of=Lu(0,(e=>((e=le(e))&&!function(e){const t=le(e);if(t.$page)return ac(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return ac(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?ac(n):void 0}(e)&&(e=null),new nf(e||oc())))),rf=Lu(0,(()=>{const e=_p();return e&&e.$vm?e.$vm.$locale:fl().getLocale()})),sf={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const af="json",lf=["text","arraybuffer"],cf=encodeURIComponent;ArrayBuffer,Boolean;const uf={formatArgs:{method(e,t){t.method=iu((e||"").toUpperCase(),ru)},data(e,t){t.data=e||""},url(e,t){t.method===ru[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(d(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[cf(a)]=cf(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!==ru[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||af).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===lf.indexOf(t.responseType)&&(t.responseType="text")}}};const ff={url:{type:String,required:!0}},df=(mf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),mf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),bf("navigateTo")),pf=bf("redirectTo"),hf=bf("reLaunch"),gf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Gf().length-1,e)}}};function mf(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 vf;function yf(){vf=""}function bf(e){return{formatArgs:{url:_f(e)},beforeAll:yf}}function _f(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=Gf();return n.length&&(t=Xl(n[n.length-1]).route),pc(t,e)}(t)).split("?")[0],r=hc(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(vf===t&&"appLaunch"!==n.openType)return`${vf} locked`;__uniConfig.ready&&(vf=t)}else if(r.meta.isTabBar){const e=Gf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const wf={formatArgs:{title:"",mask:!1}},xf=["success","loading","none","error"],Sf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=iu(e,xf)},image(e,t){t.image=e?ld(e):""},duration:1500,mask:!1}});function Cf(){const e=oc();if(!e)return;const t=Uf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Kf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,lc(e,"onHide"))}function Tf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function kf(e){const t=Uf().values();for(const n of t){const t=Vf(n);if(Tf(e,t))return n.$.__isActive=!0,t.id}}const Ef=Au("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Cf(),Pf({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},kf(e)).then(o).catch(r);Wf.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,bf("switchTab"));function $f(){const e=ec();if(!e)return;const t=Vf(e);Kf(Zf(t.path,t.id))}const Of=Au("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return $f(),Pf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Hf.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,pf);function Lf(){const e=Uf().keys();for(const t of e)Kf(t)}const Af=Au("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return Lf(),Pf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);zf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,hf);function Pf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=_p().$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||++Yf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(ba(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 Ce(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function If(){if(Df.handledBeforeEntryPageRoutes)return;Df.handledBeforeEntryPageRoutes=!0;const e=[...qf];qf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Pf(e).then(t).catch(n)));const t=[...Wf];Wf.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(Cf(),Pf(e,kf(e.url)).then(t).catch(n))));const n=[...Hf];Hf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>($f(),Pf(e).then(t).catch(n))));const o=[...zf];zf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Lf(),Pf(e).then(t).catch(n))))}function jf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Rf=jf("top:env(a)"),Bf=jf("top:constant(a)"),Mf=(()=>Rf?"env":Bf?"constant":"")();function Nf(e){var t,n;Ul({"--window-top":(n=0,Mf?`calc(${n}px + ${Mf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Mf?`calc(${t}px + ${Mf}(safe-area-inset-bottom))`:`${t}px`)})}const Ff=new Map;function Vf(e){return e.$page}const Df={handledBeforeEntryPageRoutes:!1},qf=[],Wf=[],Hf=[],zf=[];function Uf(){return Ff}function Gf(){return Xf()}function Xf(){const e=[],t=Ff.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Kf(e,t=!0){const n=Ff.get(e);n.$.__isUnload=!0,lc(n,"onUnload"),Ff.delete(e),t&&function(e){const t=Qf.get(e);t&&(Qf.delete(e),ed.pruneCacheEntry(t))}(e)}let Yf=ou();function Jf(e){const t=function(e){const t=eu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),sc("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),Ff.set(Zf(t.path,t.id),e),1===Ff.size&&setTimeout((()=>{If()}),0)}function Zf(e,t){return e+"$$"+t}const Qf=new Map,ed={get:e=>Qf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;ed.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(ed.delete(n),ed.pruneCacheEntry(e),Sn((()=>{Ff.forEach(((e,t)=>{e.$.isUnmounted&&Ff.delete(t)}))})))}))}(e),Qf.set(e,t)},delete(e){Qf.get(e)&&Qf.delete(e)},forEach(e){Qf.forEach(e)}};function td(e,t){!function(e){const t=od(e),{body:n}=document;rd&&n.removeAttribute(rd),t&&n.setAttribute(t,""),rd=t}(e),Nf(),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),sd(e,t)}function nd(e){const t=od(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function od(e){return e.type.__scopeId}let rd,id;function sd(e,t){if(document.removeEventListener("touchmove",cc),id&&document.removeEventListener("scroll",id),t.disableScroll)return document.addEventListener("touchmove",cc);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=Vf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&gh.publishHandler("onPageScroll",{scrollTop:o},e),n&&gh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>gh.publishHandler("onReachBottom",{},s)),id=dc(i),requestAnimationFrame((()=>document.addEventListener("scroll",id)))}function ad(e){const{base:t}=__uniConfig.router;return 0===re(e).indexOf(t)?re(e):t+e}function ld(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 ad(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=Xf();return o.length?ad(pc(Vf(o[o.length-1]).route,e).slice(1)):e}const cd=navigator.userAgent,ud=/android/i.test(cd),fd=/iphone|ipad|ipod/i.test(cd),dd=cd.match(/Windows NT ([\d|\d.\d]*)/i),pd=/Macintosh|Mac/i.test(cd),hd=/Linux|X11/i.test(cd),gd=pd&&navigator.maxTouchPoints>0;function md(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function vd(e){return e&&90===Math.abs(window.orientation)}function yd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function bd(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function _d(e,t,n,o){mh.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function wd(e,t){const n={},{top:o,topWindowHeight:r}=zl();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 xd(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 Sd=Mc(),Cd=Mc();const Td=Dc({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=Dt({width:-1,height:-1});return Zn((()=>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){ko(o),Mo((()=>{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),()=>ti("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"]),ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function kd(){}const Ed={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 $d(e,t,n){function o(e){const t=Ci((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",kd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",kd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Zn((()=>t.value),(e=>e&&o(e)))}const Od={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Ld={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Ad={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"]},Pd=Dc({name:"Image",props:Od,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=Ci((()=>{let e="auto",o="";const r=Ad[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=Dt({rootEl:e,src:Ci((()=>t.src?ld(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Mo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Hc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Ld[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){Id&&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 Zn((()=>t.mode),((e,t)=>{Ld[t]&&r(),Ld[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:f}=i;a(u,f,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:f})},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)};Zn((()=>e.src),(e=>l(e))),Zn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Mo((()=>l(e.src))),Vo((()=>c()))}(o,e,n,i,r),()=>ti("uni-image",{ref:n},[ti("div",{style:o.modeStyle},null,4),Ld[e.mode]?ti(Td,{onResize:i},null,8,["onResize"]):ti("span",null,null)],512)}});const Id="Google Inc."===navigator.vendor;const jd=ve(!0),Rd=[];let Bd=0,Md=!1;const Nd=e=>Rd.forEach((t=>t.userAction=e));function Fd(){const e=Dt({userAction:!1});return Mo((()=>{!function(e={userAction:!1}){Md||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Bd&&Nd(!0),Bd++,setTimeout((()=>{!--Bd&&Nd(!1)}),0)}),jd)})),Md=!0);Rd.push(e)}(e)})),Vo((()=>{!function(e){const t=Rd.indexOf(e);t>=0&&Rd.splice(t,1)}(e)})),{state:e}}function Vd(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)}const Dd=function(){var e,t,n;e=nc(),n=Vd,t=bl(e,t="getSelectedTextRange"),yl[t]||(yl[t]=n)};function qd(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Wd=["none","text","decimal","numeric","tel","search","email","url"],Hd=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=>!!~Wd.indexOf(e)},cursorColor:{type:String,default:""}},Ed),zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Ud(e,t,n,o){let r=null;r=Se((n=>{t.value=qd(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Zn((()=>e.modelValue),r),Zn((()=>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<t?n=setTimeout(o,t-(s-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Bo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Gd(e,t){Fd();const n=Ci((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Zn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Mo((()=>{n.value&&Sn(o)}))}function Xd(e,t,n,o){Dd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Hc(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=qd(e.modelValue,e.type)||qd(e.value,e.type);const u=Dt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Zn((()=>u.focus),(e=>n("update:focus",e))),Zn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Ud(e,i,n,s);Gd(e,r),$d(0,r);const{state:l}=function(){const e=Dt({attrs:{}});return Mo((()=>{let t=pi();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=vr(Xc,!1);if(!n)return;const o=pi(),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}Zn([()=>t.selectionStart,()=>t.selectionEnd],s),Zn((()=>t.cursor),a),Zn((()=>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 f(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,f(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)})),c.addEventListener("compositionupdate",f)}))}(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 Kd=c({},Hd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Yd=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 Jd(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&&Yd()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Zd=Dc({name:"Input",props:Kd,emits:["confirm",...zd],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(L(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 Zn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Zn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),l={fn:null};const c=on(null),{fieldRef:u,state:f,scopedAttrsState:d,fixDisabledColor:p,trigger:h}=Xd(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=Jd(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Jd(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}}}));Zn((()=>f.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),f.value=e.value}}),()=>{let t=e.disabled&&p?ti("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.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"]):ti("input",{key:"input",ref:u,value:f.value,onInput:e=>{f.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:f.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 ti("uni-input",{ref:c},[ti("div",{class:"uni-input-wrapper"},[oo(ti("div",li(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ui,!(f.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?ti("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Qd=Dc({name:"View",props:c({},zc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=Uc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ti("uni-view",li({class:o.value?i:"",ref:n},r),[Go(t,"default")],16):ti("uni-view",{ref:n},[Go(t,"default")],512)}}});function ep(e,t,n,o){m(t)&&jo(e,t.bind(n),o)}function tp(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=>ep(o,e,n,t))):ep(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,lc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&lc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function np(e,t,n){tp(e,t,n)}function op(e,t,n){return e[t]=n}function rp(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ip(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?lc(i.proxy,"onError",n):pn(n,0,o&&o.$.vnode,!1)}}function sp(e,t){return e?[...new Set([].concat(e,t))]:t}function ap(e){const t=e.config;var n;t.errorHandler=$e(e,ip),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=sp}));const o=t.globalProperties;o.$set=op,o.$applyOptions=np,o.$callMethod=rp,function(e){Ee.forEach((t=>t(e)))}(e)}function lp(e){const t=Za({history:fp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:up});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(cp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let cp=Object.create(null);const up=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,cp[o]);if(t)return t}return{left:0,top:0};var o};function fp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),da(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Xf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Vf(t[r]);Kf(Zf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const dp={install(e){ap(e),Tc(e),Bc(e),e.config.warnHandler||(e.config.warnHandler=pp),lp(e)}};function pp(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 hp={class:"uni-async-loading"},gp=ti("i",{class:"uni-loading"},null,-1),mp=qc({name:"AsyncLoading",render:()=>(Wr(),Xr("div",hp,[gp]))});function vp(){window.location.reload()}const yp=qc({name:"AsyncError",setup(){pl();const{t:e}=fl();return()=>ti("div",{class:"uni-async-error",onClick:vp},[e("uni.async.error")],8,["onClick"])}});let bp;function _p(){return bp}function wp(e){bp=e,Object.defineProperty(bp.$.ctx,"$children",{get:()=>Xf().map((e=>e.$vm))});const t=bp.$.appContext.app;t.component(mp.name)||t.component(mp.name,mp),t.component(yp.name)||t.component(yp.name,yp),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}})}(bp),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}})}(bp),jc(),gc()}function xp(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=pi();if(n(r.proxy),o(r),i)return i(e,t)},e}function Sp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?xp(e.default,t):xp(e,t)}function Cp(e){return Sp(e,{clone:!0,init:Jf,setup(e){e.$pageInstance=e;const t=nu(),n=_e(t.query);e.attrs.__pageQuery=n,Vf(e.proxy).options=n,e.proxy.options=n;const o=eu();var r,i;return e.onReachBottom=Dt([]),e.onPageScroll=Dt([]),Zn([e.onReachBottom,e.onPageScroll],(()=>{const t=ec();e.proxy===t&&sd(e,o)}),{once:!0}),Bo((()=>{td(e,o)})),Mo((()=>{nd(e);const{onReady:n}=e;n&&j(n),$p(t)})),$o((()=>{if(!e.__isVisible){td(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&j(n),Sn((()=>{$p(t)}))}}),"ba",r),function(e,t){$o(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&j(t)}}})),i=o.id,gh.subscribe(bl(i,"invokeViewApi"),_l),Vo((()=>{!function(e){gh.unsubscribe(bl(e,"invokeViewApi")),Object.keys(yl).forEach((t=>{0===t.indexOf(e+".")&&delete yl[t]}))}(o.id)})),n}})}function Tp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Vp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";mh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function kp(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&mh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Ep(){const{emit:e}=mh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Cd)):e("onAppEnterBackground")}function $p(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&lc("onTabItemTap",{index:n,text:t,pagePath:o})}const Op=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Lp;function Ap(){if(Lp=Lp||Op.__DC_STAT_UUID,!Lp){Lp=Date.now()+""+Math.floor(1e7*Math.random());try{Op.__DC_STAT_UUID=Lp}catch(e){}}return Lp}function Pp(){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 Ip(){let e,t="0",n="",o="phone";const r=navigator.language;if(fd){e="iOS";const o=cd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=cd.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(ud){e="Android";const o=cd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=cd.match(/\((.+?)\)/),i=r?r[1].split(";"):cd.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;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(gd){if(n="iPad",e="iOS",o="pad",t=m(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=cd.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(dd||pd||hd){n="PC",e="PC",o="pc",t="0";let r=cd.match(/\((.+?)\)/)[1];if(dd){switch(e="Windows",dd[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(pd){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(hd){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,s=e.toLocaleLowerCase();let a="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-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<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(cd)&&(a=t[n],l=cd.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:s,browserName:a.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:cd,osname:e,osversion:t,theme:Pp()}}const jp=Lu(0,(()=>{const e=window.devicePixelRatio,t=md(),n=vd(t),o=yd(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=bd(o);let s=window.innerHeight;const a=Dl.top,l={left:Dl.left,right:i-Dl.right,top:Dl.top,bottom:s-Dl.bottom,width:i-Dl.left-Dl.right,height:s-Dl.top-Dl.bottom},{top:c,bottom:u}=zl();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:Dl.top,right:Dl.right,bottom:Dl.bottom,left:Dl.left},screenTop:r-s}}));let Rp,Bp=!0;function Mp(){Bp&&(Rp=Ip())}const Np=Lu(0,(()=>{Mp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Rp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Ap(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),Fp=Lu(0,(()=>{Mp();const{theme:e,language:t,browserName:n,browserVersion:o}=Rp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:rf?rf():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},{})})),Vp=Lu(0,(()=>{Bp=!0,Mp(),Bp=!1;const e=jp(),t=Np(),n=Fp();Bp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Rp,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 S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Dp=Lu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),qp=Au("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{Dp(e,t),n()}catch(r){o(r.message)}}));function Wp(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 Hp=Au("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:Wp(e)})}catch(o){n(o.message)}})),zp={esc:["Esc","Escape"],enter:["Enter"]},Up=Object.keys(zp);function Gp(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=Up.find((e=>-1!==zp[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Mo((()=>{document.addEventListener("keyup",n)})),Vo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Zn((()=>e.visible),(e=>o.value=e)),Zn((()=>o.value),(e=>i.value=!e)),Yn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Xp=Ou("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 f=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"===f)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Kp(p);p.open(o,e);for(const v in n)d(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:Yp(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,uf);class Kp{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 Yp(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}const Jp=Au("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===lc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(_p().$router.go(-e.delta),t()):n("onBackPress")}),0,gf),Zp=Au("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Pf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);qf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,df);const Qp={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==xf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},eh={light:"#fff",dark:"rgba(255,255,255,0.9)"},th=e=>eh[e],nh=vo({name:"Toast",props:Qp,setup(e){hl(),gl();const{Icon:t}=function(e){const t=on(th(Pp())),n=({theme:e})=>t.value=th(e);Yn((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&mh.on("onThemeChange",t)):function(e){mh.off("onThemeChange",e)}(n)}));return{Icon:Ci((()=>{switch(e.icon){case"success":return ti(Zl(Yl,t.value,38),{class:"uni-toast__icon"});case"error":return ti(Zl(Jl,t.value,38),{class:"uni-toast__icon"});case"loading":return ti("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Gp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ti(Pi,{name:"uni-fade"},{default:()=>[oo(ti("uni-toast",{"data-duration":r},[o?ti("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ql},null,40,["onTouchmove"]):"",s||t.value?ti("div",{class:"uni-toast"},[s?ti("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ti("p",{class:"uni-toast__content"},[i])]):ti("div",{class:"uni-sample-toast"},[ti("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ui,n.value]])]})}}});let oh,rh,ih="";const sh=Me();function ah(e){oh?c(oh,e):(oh=Dt(c(e,{visible:!1})),Sn((()=>{var e,t,n;sh.run((()=>{Zn([()=>oh.visible,()=>oh.duration],(([e,t])=>{if(e){if(rh&&clearTimeout(rh),"onShowLoading"===ih)return;rh=setTimeout((()=>{dh("onHideToast")}),t)}else rh&&clearTimeout(rh)}))})),mh.on("onHidePopup",(()=>dh("onHidePopup"))),(e=nh,t=oh,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ws(vo({setup:()=>()=>(Wr(),Xr(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))}))),setTimeout((()=>{oh.visible=!0}),10)}const lh=Au("showToast",((e,{resolve:t,reject:n})=>{ah(e),ih="onShowToast",t()}),0,Sf),ch={icon:"loading",duration:1e8,image:""},uh=Au("showLoading",((e,{resolve:t,reject:n})=>{c(e,ch),ah(e),ih="onShowLoading",t()}),0,wf),fh=Au("hideLoading",((e,{resolve:t,reject:n})=>{dh("onHideLoading"),t()}));function dh(e){const{t:t}=fl();if(!ih)return;let n="";if("onHideToast"===e&&"onShowToast"!==ih?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==ih&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);ih="",setTimeout((()=>{oh.visible=!1}),10)}function ph(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,mh.emit("onNavigationBarChange",{titleText:t})}Yn(t),ko(t)}const hh=qc({name:"Layout",setup(e,{emit:t}){const n=on(null);Ul({"--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=Qa();return{routeKey:Ci((()=>Zf("/"+e.meta.route,ou()))),isTabBar:Ci((()=>e.meta.isTabBar)),routeCache:ed}}(),{layoutState:r,windowState:i}=function(){nu();{const e=Dt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Zn((()=>e.marginWidth),(e=>Ul({"--window-margin":e+"px"}))),Zn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ul({"--window-left":e+"px"})})),Zn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ul({"--window-right":e+"px"})})),{layoutState:e,windowState:Ci((()=>({})))}}}();!function(e,t){const n=nu();function o(){const o=document.body.clientWidth,r=Xf();let i={};if(r.length>0){i=Vf(r[r.length-1]).meta}else{const e=hc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((d(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")})))}Zn([()=>n.path],o),Mo((()=>{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 ti(Ja,null,{default:Nn((({Component:o})=>[(Wr(),Xr(Co,{matchBy:"key",cache:n},[(Wr(),Xr(zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ti("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const gh=c(wl,{publishHandler(e,t,n){mh.subscribeHandler(e,t,n)}}),mh=c($c,{publishHandler(e,t,n){gh.subscribeHandler(e,t,n)}}),vh=qc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Zn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ti(Mr,null,[!1,ti("uni-page-wrapper",li({ref:n},o.value),[ti("uni-page-body",null,[Go(t.slots,"default")]),null],16)])}}),yh=qc({name:"Page",setup(e,t){let n=tu(ou());n.navigationBar;const o={};return ph(n),()=>ti("uni-page",{"data-page":n.route,style:o},[bh(t),null])}});function bh(e){return Wr(),Xr(vh,{key:0},{default:Nn((()=>[Go(e.slots,"page")])),_:3})}const _h={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Vu;const wh=Object.assign({}),xh=Object.assign;window.__uniConfig=xh({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:_h,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(wh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return xh(e[n]||(e[n]={}),wh[t].default),e}),{}),router:{mode:"hash",base:"/wechat/thd/",assets:"assets",routerBase:"/wechat/thd/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Sh={delay:_h.delay,timeout:_h.timeout,suspensible:_h.suspensible};_h.loading&&(Sh.loadingComponent={name:"SystemAsyncLoading",render:()=>ti(Wn(_h.loading))}),_h.error&&(Sh.errorComponent={name:"SystemAsyncError",render:()=>ti(Wn(_h.error))});const Ch=()=>t((()=>import("./pages-index-index.DwQoNhOO.js")),__vite__mapDeps([0,1,2,3,4])).then((e=>Cp(e.default||e))),Th=bo(xh({loader:Ch},Sh)),kh=()=>t((()=>import("./pages-index-phonebumber.BA1uUnPp.js")),__vite__mapDeps([5,1,3,6])).then((e=>Cp(e.default||e))),Eh=bo(xh({loader:kh},Sh)),$h=()=>t((()=>import("./pages-index-code.A-2JBG3o.js")),__vite__mapDeps([7,1,8,3,9])).then((e=>Cp(e.default||e))),Oh=bo(xh({loader:$h},Sh)),Lh=()=>t((()=>import("./pages-index-callback.Cjt7QCcb.js")),__vite__mapDeps([10,8,2,3,11])).then((e=>Cp(e.default||e))),Ah=bo(xh({loader:Lh},Sh)),Ph=()=>t((()=>import("./pages-map-index.s85BvS79.js")),__vite__mapDeps([12,3,13])).then((e=>Cp(e.default||e))),Ih=bo(xh({loader:Ph},Sh)),jh=()=>t((()=>import("./pages-pay-index.BLyKtgIz.js")),__vite__mapDeps([14,3,15])).then((e=>Cp(e.default||e))),Rh=bo(xh({loader:jh},Sh));function Bh(e,t){return Wr(),Xr(yh,null,{page:Nn((()=>[ti(e,xh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Th,t)}},loader:Ch,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/phonebumber",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Eh,t)}},loader:kh,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/code",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Oh,t)}},loader:$h,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/callback",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Ah,t)}},loader:Lh,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Ih,t)}},loader:Ph,meta:{navigationBar:{titleText:"地图",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Rh,t)}},loader:jh,meta:{navigationBar:{titleText:"支付",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Mh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};Sp(Mh,{init:wp,setup(e){const t=nu(),n=()=>{var n;n=e,Object.keys(sf).forEach((e=>{sf[e].forEach((t=>{jo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(Sd,{path:e,query:t}),c(Cd,Sd),c({},Sd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&j(o,s),r&&j(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};If(),i&&j(i,e)}};return vr(Va).isReady().then(n),Mo((()=>{window.addEventListener("resize",Se(Tp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",kp),document.addEventListener("visibilitychange",Ep),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{mh.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(),Xr(hh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}});const Nh={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{of().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 Fh(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]?Fh(e[o]):e[o]);return n}function Vh(e={},t={}){if("object"!=typeof(e=Fh(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]=Vh(e[n],t[n]):e[n]=t[n]);return e}function Dh(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function qh(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 Wh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hh(e){return"function"==typeof e}const zh={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&&(Dh(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:Dh,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:qh,isEmpty:qh,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:Wh,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:Hh,promise:function(e){return Wh(e)&&Hh(e.then)&&Hh(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 Uh=new class{setConfig(e){this.config=Vh(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(fh(),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=zh.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((()=>{uh({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),Xp(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 Gh=(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||Zp({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Of({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Ef({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Af({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Jp({delta:o})}}).route;function Xh(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 Kh(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 Yh(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t<e.length;t++){let o=Number(e[t]).toString(16);o=1==String(o).length?"0"+o:o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{let e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let n=0;n<e.length;n+=1)t+=e[n]+e[n];return t}}}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");let n=this;if(n.length>=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 Jh={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=Kh(e,!1),r=o[0],i=o[1],s=o[2],a=Kh(t,!1),l=(a[0]-r)/n,c=(a[1]-i)/n,u=(a[2]-s)/n,f=[];for(let d=0;d<n;d++){let e=Yh("rgb("+Math.round(l*d+r)+","+Math.round(c*d+i)+","+Math.round(u*d+s)+")");f.push(e)}return f},hexToRgb:Kh,rgbToHex:Yh,colorToRgba:function(e,t=.3){let n=(e=Yh(e)).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){var o="#";for(let e=1;e<4;e+=1)o+=n.slice(e,e+1).concat(n.slice(e,e+1));n=o}var r=[];for(let e=1;e<7;e+=2)r.push(parseInt("0x"+n.slice(e,e+2)));return"rgba("+r.join(",")+","+t+")"}return n}};function Zh(){return Vp()}let Qh=null;let eg=[],tg=[];function ng(e,t="both"){return e=String(e),"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}const og={v:"1.10.1",version:"1.10.1",type:["primary","success","info","error","warning"]};const rg={queryParams:function(e={},t=!0,n="brackets"){let o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(let i in e){let t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)r.push(i+"["+n+"]="+t[n]);break;case"brackets":default:t.forEach((e=>{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:Gh,timeFormat:Xh,date:Xh,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)+"年前":Xh(n,t)}return r},colorGradient:Jh.colorGradient,colorToRgba:Jh.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;i<e;i++)r[i]=o[0|Math.random()*n];else{let e;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let t=0;t<36;t++)r[t]||(e=0|16*Math.random(),r[t]=o[19==t?3&e|8:e])}return t?(r.shift(),"u"+r.join("")):r.join("")},color:{primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",bgColor:"#f3f4f6",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},sys:function(){return Zh()},os:function(){return Zh().platform},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},wranning:function(e){},get:Uh.get,post:Uh.post,put:Uh.put,delete:Uh.delete,hexToRgb:Jh.hexToRgb,rgbToHex:Jh.rgbToHex,test:zh,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:Fh,deepMerge:Vh,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),zh.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:Uh,toast:function(e,t=1500){lh({title:e,icon:"none",duration:t})},config:og,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!==Qh&&clearTimeout(Qh),n){var o=!Qh;Qh=setTimeout((function(){Qh=null}),t),o&&"function"==typeof e&&e()}else Qh=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){eg[o]||(eg[o]=null),n?tg[o]||(tg[o]=!0,"function"==typeof e&&e(),eg[o]=setTimeout((()=>{tg[o]=!1}),t)):tg[o]||(tg[o]=!0,eg[o]=setTimeout((()=>{tg[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(zh.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=ng(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");n[ng(o[0])]=ng(o[1])}return n}let n="";for(const o in e){n+=`${o.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[o]};`}return ng(n)},getSystemInfoSync:Zh};uni.$u=rg;const ig={install:e=>{e.mixin(Nh),e.config.globalProperties.$u=rg}};(function(){const e=ws(Mh);return e.use(ig),{app:e}})().app.use(dp).mount("#app");export{Mr as F,Zd as I,ne as O,ti as a,oi as b,Xr as c,oo as d,ei as e,Zp as f,Pd as g,Gr as h,Qd as i,Uo as j,Sn as k,Dt as l,bi as m,de as n,Wr as o,jo as p,pi as q,on as r,qp as s,G as t,Mo as u,Ui as v,Nn as w,ri as x,Hp as y,Zc as z};
|