index-C1kRunFF.js 281 KB

12345678910111213141516171819202122232425
  1. function __vite__mapDeps(indexes) {
  2. if (!__vite__mapDeps.viteFileDeps) {
  3. __vite__mapDeps.viteFileDeps = ["assets/pages-home-index.Cr_LvuY5.js","assets/useResource.CPyeEgMD.js","assets/format.D7Ah6vn5.js","assets/PackageCard.D16XCEv1.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/PackageCard-BM3oQsLe.css","assets/PageState.CBFV4zpS.js","assets/PageState-CRHsiTbC.css","assets/BottomNav.C_0xx0tr.js","assets/BottomNav-Cegm4_t0.css","assets/index-DKJm8teD.css","assets/pages-account-login.6LG9dJDF.js","assets/login-N9WIuyOp.css","assets/pages-account-identities.D0J9tJDz.js","assets/IdentityGuard.3wjiCdX-.js","assets/IdentityGuard-BK2wCKJb.css","assets/pages-account-profile.CCk_jNUv.js","assets/profile-BMctdCeg.css","assets/pages-packages-index.xsWzBGWl.js","assets/usePaged.Duq9Ewgz.js","assets/cart.D6H4eANe.js","assets/index-BjJakDUp.css","assets/pages-packages-detail.1r9RtYzJ.js","assets/pages-packages-cart.C7jeQQ5_.js","assets/CommandStatus.vue_vue_type_script_setup_true_lang.Dv81928x.js","assets/cart-CfPLaYo6.css","assets/pages-orders-checkout.DzsGuaNj.js","assets/pages-orders-index.CGnjWxbt.js","assets/pages-orders-tracking.Cbst-ryv.js","assets/PrivatePhotos.DN2OkunK.js","assets/PrivatePhotos-DoYR5nb8.css","assets/tracking-C6MgAuE8.css","assets/pages-addresses-index.BUvDWCM-.js","assets/index-C-dZn8_h.css","assets/pages-addresses-edit.DhyFhVyR.js","assets/edit-DztC-Iy5.css","assets/pages-rights-index.CLrwB4gt.js","assets/QuantityInput.B4RwUfWS.js","assets/QuantityInput-CcMAAR1a.css","assets/index-DjyImymn.css","assets/pages-rights-ledger.BBOIikkT.js","assets/pages-devices-index.ByFqkUxZ.js","assets/DevicePageHeader.CPhRQ1T6.js","assets/DevicePageHeader-DnWVwEXL.css","assets/index-BR5wP6Pg.css","assets/pages-devices-detail.pimJ2pUN.js","assets/detail-DVvCOt3i.css","assets/pages-account-rewards.BojqqBJr.js","assets/rewards-zAHhxYZu.css","assets/pages-driver-dashboard.C4yP4Pst.js","assets/TaskCard.vue_vue_type_script_setup_true_lang.B1BC0W3T.js","assets/dashboard-DA6VcoRU.css","assets/pages-driver-tasks.2P6Tz9X5.js","assets/tasks-gvVHc1mk.css","assets/pages-driver-task.8g53rrW2.js","assets/location.Dmmk7why.js","assets/task-DzJSjOaJ.css","assets/pages-driver-device.ClbhhTbs.js","assets/device-CC9ePvxy.css","assets/pages-driver-fulfill.pNNoeb0H.js","assets/fulfill-oiUslGqF.css","assets/pages-driver-routes.Ck0M-cyV.js","assets/routes-B58mW8dv.css","assets/pages-agent-dashboard.BJVZamEB.js","assets/dashboard-BsYu0nLx.css","assets/pages-agent-customers.BN97XoxW.js","assets/customers-BcV2OQZy.css","assets/pages-agent-orders.BtDvOnLZ.js","assets/pages-agent-commissions.CDFNwy4r.js","assets/commissions-DkK4A_PO.css","assets/pages-common-map.DcEMshWH.js","assets/map-9jnGqc5W.css"]
  4. }
  5. return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
  6. }
  7. !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 i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),o=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));i=Promise.all(n.map(t=>{if((t=function(e){return"/water-mini/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),i=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${i}`))return;const r=document.createElement("link");return r.rel=n?"stylesheet":"modulepreload",n||(r.as="script",r.crossOrigin=""),r.href=t,o&&r.setAttribute("nonce",o),document.head.appendChild(r),n?new Promise((e,n)=>{r.addEventListener("load",e),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}))}return i.then(()=>t()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})};
  8. /**
  9. * @vue/shared v3.4.21
  10. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  11. * @license MIT
  12. **/
  13. function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},i=[],r=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),f=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,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),C=e=>"[object Object]"===x(e),T=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=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,M=k(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),O=/\B([A-Z])/g,A=k(e=>e.replace(O,"-$1").toLowerCase()),$=k(e=>e.charAt(0).toUpperCase()+e.slice(1)),P=k(e=>e?`on${$(e)}`:""),L=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},D=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let B;const N=()=>B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=v(o)?H(o):j(o);if(i)for(const e in i)t[e]=i[e]}return t}if(v(e)||_(e))return e}const V=/;(?![^(]*\))/g,F=/:([^]+)/,q=/\/\*[^]*?\*\//g;function H(e){const t={};return e.replace(q,"").split(V).forEach(e=>{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function W(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=W(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}const X=e=>v(e)?e:null==e?"":f(e)||_(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,U,2):String(e),U=(e,t)=>t&&t.__v_isRef?U(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):!_(t)||f(t)||C(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var G={};const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map(e=>"uni-"+e),Q=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map(e=>"uni-"+e),Z=["list-item"].map(e=>"uni-"+e);function ee(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==G.UNI_APP_X?-1!==J.indexOf(t):-1!==J.indexOf(t)||-1!==Q.indexOf(t)}const te="\n",ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,ie="onShow",re="onHide",se="onLaunch",ae="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",pe="onUnload",fe="onInit",he="onSaveExitState",ge="onUploadDouyinVideo",me="onLiveMount",ve="onTitleClick",ye="onResize",_e="onBackPress",be="onPageScroll",we="onTabItemTap",xe="onReachBottom",Ce="onPullDownRefresh",Te="onShareTimeline",Se="onShareChat",ke="onCopyUrl",Ee="onAddToFavorites",Me="onShareAppMessage",Oe="onNavigationBarButtonTap",Ae="onNavigationBarSearchInputClicked",$e="onNavigationBarSearchInputChanged",Pe="onNavigationBarSearchInputConfirmed",Le="onNavigationBarSearchInputFocusChanged",Re="onAppEnterForeground",Ie="onAppEnterBackground",De="onWebInvokeAppService";function Be(e){return void 0===e?null:e}class Ne{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n<t.length;n++){const o=t[n];for(let t in o)e[t]=o[t]}return e}constructor(e={}){if(e instanceof Map)e.forEach((e,t)=>{this[t]=e});else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o<t.length;o++){const i=t[o];n[i]={enumerable:!1,value:e[i]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let i=0;i<e.length;i++){const r=e[i];switch(r){case".":t.length>0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=r}i===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=Be(t);if(0===n.length)return o;let i=this;for(let r=0;r<n.length;r++){const e=n[r];if(!(i instanceof Object))return o;if(!(e in i))return o;i=i[e]}return i}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=Be(t);return this._getValue(e,n)}getString(e,t){const n=Be(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=Be(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=Be(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=Be(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=Be(t);let o=this._getValue(e,n);return o instanceof Array?o:n}toMap(){let e=new Map;for(let t in this)e.set(t,this[t]);return e}forEach(e){for(let t in this)e(this[t],t)}}function je(e){if(!e)return;let t=e.type.name;for(;t&&ee(A(t));)t=(e=e.parent).type.name;return e.proxy}function Ve(e){return 1===e.nodeType}function Fe(e){if(e instanceof Ne){const t={};return Ne.keys(e).forEach(n=>{t[n]=e[n]}),j(t)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),j(t)}if(v(e))return H(e);if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=v(o)?H(o):Fe(o);if(i)for(const e in i)t[e]=i[e]}return t}return j(e)}function qe(e){let t="";if(e instanceof Ne)Ne.keys(e).forEach(n=>{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(f(e))for(let n=0;n<e.length;n++){const o=qe(e[n]);o&&(t+=o+" ")}else t=W(e);return t.trim()}function He(e){return 0===e.indexOf("/")}function We(e){return He(e)?e:"/"+e}function ze(e,t){for(const n in t)e.style[n]=t[n]}function Ye(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const Xe=e=>e>9?e:"0"+e;function Ue({date:e=new Date,mode:t="date"}){return"time"===t?Xe(e.getHours())+":"+Xe(e.getMinutes()):e.getFullYear()+"-"+Xe(e.getMonth()+1)+"-"+Xe(e.getDate())}function Ke(e){return M(e.substring(5))}const Ge=Ye(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={}))[Ke(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[Ke(t)],o.call(this,t)}});function Je(e){return c({},e.dataset,e.__uniDataset)}const Qe=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Ze(e){return{passive:e}}function et(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Je(e),offsetTop:n,offsetLeft:o}}function tt(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function nt(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=tt(e[n])}catch(o){t[n]=e[n]}}),t}const ot=/\+/g;function it(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(ot," ");let i=e.indexOf("="),r=tt(i<0?e:e.slice(0,i)),s=i<0?null:tt(e.slice(i+1));if(r in t){let e=t[r];f(e)||(e=t[r]=[e]),e.push(s)}else t[r]=s}return t}function rt(e,t,{clearTimeout:n,setTimeout:o}){let i;const r=function(){n(i);i=o(()=>e.apply(this,arguments),t)};return r.cancel=function(){n(i)},r}class st{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 at=[fe,de,ie,re,pe,ye,_e,be,we,xe,Ce,Te,Me,Se,ke,ge,me,ve,Ee,he,Oe,Ae,$e,Pe,Le];const lt=[ie,re,se,ae,le,ce,ue,"onExit",fe,de,"onReady",pe,ye,_e,be,we,xe,Ce,Te,Ee,Me,Se,ke,ge,me,ve,he,Oe,Ae,$e,Pe,Le,"onLastPageBackPress"];const ct=[];const ut=Ye((e,t)=>t(e)),dt=function(){};dt.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 i(){o.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;o<i;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],i=[];if(o&&t){for(var r=o.length-1;r>=0;r--)if(o[r].fn===t||o[r].fn._===t||o[r]._id===t){o.splice(r,1);break}i=o}return i.length?n[e]=i:delete n[e],this}};var pt=dt;const ft={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function ht(e,t,n){if(v(t)&&t.startsWith("@")){let i=e[t.replace("@","")]||t;switch(n){case"titleColor":i="black"===i?"#000000":"#ffffff";break;case"borderStyle":i=(o=i)&&o in ft?ft[o]:o}return i}var o;return t}function gt(e,t={},n="light"){const o=t[n],i={};return void 0!==o&&e?(Object.keys(e).forEach(r=>{const s=e[r];i[r]=C(s)?gt(s,t,n):f(s)?s.map(e=>C(e)?gt(e,t,n):ht(o,e)):ht(o,s,r)}),i):e}
  14. /**
  15. * @dcloudio/uni-h5-vue v3.4.21
  16. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  17. * @license MIT
  18. **/let mt,vt;class yt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=mt,!e&&mt&&(this.index=(mt.scopes||(mt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=mt;try{return mt=this,e()}finally{mt=t}}}on(){mt=this}off(){mt=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 _t(e){return new yt(e)}class bt{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=mt){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Mt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(wt(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ot()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=St,t=vt;try{return St=!0,vt=this,this._runnings++,xt(this),this.fn()}finally{Ct(this),this._runnings--,vt=t,St=e}}stop(){var e;this.active&&(xt(this),Ct(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function wt(e){return e.value}function xt(e){e._trackId++,e._depsLength=0}function Ct(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Tt(e.deps[t],e);e.deps.length=e._depsLength}}function Tt(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let St=!0,kt=0;const Et=[];function Mt(){Et.push(St),St=!1}function Ot(){const e=Et.pop();St=void 0===e||e}function At(){kt++}function $t(){for(kt--;!kt&&Lt.length;)Lt.shift()()}function Pt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Tt(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Lt=[];function Rt(e,t,n){At();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&&Lt.push(o.scheduler)))}$t()}const It=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Dt=new WeakMap,Bt=Symbol(""),Nt=Symbol("");function jt(e,t,n){if(St&&vt){let t=Dt.get(e);t||Dt.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=It(()=>t.delete(n))),Pt(vt,o)}}function Vt(e,t,n,o,i,r){const s=Dt.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&f(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":f(e)?T(n)&&a.push(s.get("length")):(a.push(s.get(Bt)),h(e)&&a.push(s.get(Nt)));break;case"delete":f(e)||(a.push(s.get(Bt)),h(e)&&a.push(s.get(Nt)));break;case"set":h(e)&&a.push(s.get(Bt))}At();for(const l of a)l&&Rt(l,4);$t()}const Ft=n("__proto__,__v_isRef,__isVue"),qt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y)),Ht=Wt();function Wt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Ln(this);for(let t=0,i=this.length;t<i;t++)jt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ln)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Mt(),At();const n=Ln(this)[t].apply(this,e);return $t(),Ot(),n}}),e}function zt(e){const t=Ln(this);return jt(t,0,e),t.hasOwnProperty(e)}class Yt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?Cn:xn:i?wn:bn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=f(e);if(!o){if(r&&p(Ht,t))return Reflect.get(Ht,t,n);if("hasOwnProperty"===t)return zt}const s=Reflect.get(e,t,n);return(y(t)?qt.has(t):Ft(t))?s:(o||jt(e,0,t),i?s:Vn(s)?r&&T(t)?s:s.value:_(s)?o?En(s):Sn(s):s)}}class Xt extends Yt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=An(i);if($n(n)||An(n)||(i=Ln(i),n=Ln(n)),!f(e)&&Vn(i)&&!Vn(n))return!t&&(i.value=n,!0)}const r=f(e)&&T(t)?Number(t)<e.length:p(e,t),s=Reflect.set(e,t,n,o);return e===Ln(o)&&(r?L(n,i)&&Vt(e,"set",t,n):Vt(e,"add",t,n)),s}deleteProperty(e,t){const n=p(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Vt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&qt.has(t)||jt(e,0,t),n}ownKeys(e){return jt(e,0,f(e)?"length":Bt),Reflect.ownKeys(e)}}class Ut extends Yt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Kt=new Xt,Gt=new Ut,Jt=new Xt(!0),Qt=e=>e,Zt=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,o=!1){const i=Ln(e=e.__v_raw),r=Ln(t);n||(L(t,r)&&jt(i,0,t),jt(i,0,r));const{has:s}=Zt(i),a=o?Qt:n?Dn:In;return s.call(i,t)?a(e.get(t)):s.call(i,r)?a(e.get(r)):void(e!==i&&e.get(t))}function tn(e,t=!1){const n=this.__v_raw,o=Ln(n),i=Ln(e);return t||(L(e,i)&&jt(o,0,e),jt(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function nn(e,t=!1){return e=e.__v_raw,!t&&jt(Ln(e),0,Bt),Reflect.get(e,"size",e)}function on(e){e=Ln(e);const t=Ln(this);return Zt(t).has.call(t,e)||(t.add(e),Vt(t,"add",e,e)),this}function rn(e,t){t=Ln(t);const n=Ln(this),{has:o,get:i}=Zt(n);let r=o.call(n,e);r||(e=Ln(e),r=o.call(n,e));const s=i.call(n,e);return n.set(e,t),r?L(t,s)&&Vt(n,"set",e,t):Vt(n,"add",e,t),this}function sn(e){const t=Ln(this),{has:n,get:o}=Zt(t);let i=n.call(t,e);i||(e=Ln(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&Vt(t,"delete",e,void 0),r}function an(){const e=Ln(this),t=0!==e.size,n=e.clear();return t&&Vt(e,"clear",void 0,void 0),n}function ln(e,t){return function(n,o){const i=this,r=i.__v_raw,s=Ln(r),a=t?Qt:e?Dn:In;return!e&&jt(s,0,Bt),r.forEach((e,t)=>n.call(o,a(e),a(t),i))}}function cn(e,t,n){return function(...o){const i=this.__v_raw,r=Ln(i),s=h(r),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=i[e](...o),u=n?Qt:t?Dn:In;return!t&&jt(r,0,l?Nt:Bt),{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 un(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function dn(){const e={get(e){return en(this,e)},get size(){return nn(this)},has:tn,add:on,set:rn,delete:sn,clear:an,forEach:ln(!1,!1)},t={get(e){return en(this,e,!1,!0)},get size(){return nn(this)},has:tn,add:on,set:rn,delete:sn,clear:an,forEach:ln(!1,!0)},n={get(e){return en(this,e,!0)},get size(){return nn(this,!0)},has(e){return tn.call(this,e,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:ln(!0,!1)},o={get(e){return en(this,e,!0,!0)},get size(){return nn(this,!0)},has(e){return tn.call(this,e,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=cn(i,!1,!1),n[i]=cn(i,!0,!1),t[i]=cn(i,!1,!0),o[i]=cn(i,!0,!0)}),[e,n,t,o]}const[pn,fn,hn,gn]=dn();function mn(e,t){const n=t?e?gn:hn:e?fn:pn;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,i)}const vn={get:mn(!1,!1)},yn={get:mn(!1,!0)},_n={get:mn(!0,!1)},bn=new WeakMap,wn=new WeakMap,xn=new WeakMap,Cn=new WeakMap;function Tn(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 Sn(e){return An(e)?e:Mn(e,!1,Kt,vn,bn)}function kn(e){return Mn(e,!1,Jt,yn,wn)}function En(e){return Mn(e,!0,Gt,_n,xn)}function Mn(e,t,n,o,i){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const s=Tn(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return i.set(e,a),a}function On(e){return An(e)?On(e.__v_raw):!(!e||!e.__v_isReactive)}function An(e){return!(!e||!e.__v_isReadonly)}function $n(e){return!(!e||!e.__v_isShallow)}function Pn(e){return On(e)||An(e)}function Ln(e){const t=e&&e.__v_raw;return t?Ln(t):e}function Rn(e){return Object.isExtensible(e)&&I(e,"__v_skip",!0),e}const In=e=>_(e)?Sn(e):e,Dn=e=>_(e)?En(e):e;class Bn{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 bt(()=>e(this._value),()=>jn(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=Ln(this);return e._cacheable&&!e.effect.dirty||!L(e._value,e._value=e.effect.run())||jn(e,4),Nn(e),e.effect._dirtyLevel>=2&&jn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Nn(e){var t;St&&vt&&(e=Ln(e),Pt(vt,null!=(t=e.dep)?t:e.dep=It(()=>e.dep=void 0,e instanceof Bn?e:void 0)))}function jn(e,t=4,n){const o=(e=Ln(e)).dep;o&&Rt(o,t)}function Vn(e){return!(!e||!0!==e.__v_isRef)}function Fn(e){return Hn(e,!1)}function qn(e){return Hn(e,!0)}function Hn(e,t){return Vn(e)?e:new Wn(e,t)}class Wn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ln(e),this._value=t?e:In(e)}get value(){return Nn(this),this._value}set value(e){const t=this.__v_isShallow||$n(e)||An(e);e=t?e:Ln(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:In(e),jn(this,4))}}function zn(e){return Vn(e)?e.value:e}const Yn={get:(e,t,n)=>zn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return Vn(i)&&!Vn(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Xn(e){return On(e)?e:new Proxy(e,Yn)}function Un(e,t,n,o){try{return o?e(...o):e()}catch(i){Gn(i,t,n)}}function Kn(e,t,n,o){if(m(e)){const i=Un(e,t,n,o);return i&&b(i)&&i.catch(e=>{Gn(e,t,n)}),i}const i=[];for(let r=0;r<e.length;r++)i.push(Kn(e[r],t,n,o));return i}function Gn(e,t,n,o=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,r=`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,i,r))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Un(s,null,10,[e,i,r])}Jn(e,n,i,o)}function Jn(e,t,n,o=!0){console.error(e)}let Qn=!1,Zn=!1;const eo=[];let to=0;const no=[];let oo=null,io=0;const ro=Promise.resolve();let so=null;function ao(e){const t=so||ro;return e?t.then(this?e.bind(this):e):t}function lo(e){eo.length&&eo.includes(e,Qn&&e.allowRecurse?to+1:to)||(null==e.id?eo.push(e):eo.splice(function(e){let t=to+1,n=eo.length;for(;t<n;){const o=t+n>>>1,i=eo[o],r=fo(i);r<e||r===e&&i.pre?t=o+1:n=o}return t}(e.id),0,e),co())}function co(){Qn||Zn||(Zn=!0,so=ro.then(go))}function uo(e,t,n=(Qn?to+1:0)){for(;n<eo.length;n++){const t=eo[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;eo.splice(n,1),n--,t()}}}function po(e){if(no.length){const e=[...new Set(no)].sort((e,t)=>fo(e)-fo(t));if(no.length=0,oo)return void oo.push(...e);for(oo=e,io=0;io<oo.length;io++)oo[io]();oo=null,io=0}}const fo=e=>null==e.id?1/0:e.id,ho=(e,t)=>{const n=fo(e)-fo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function go(e){Zn=!1,Qn=!0,eo.sort(ho);try{for(to=0;to<eo.length;to++){const e=eo[to];e&&!1!==e.active&&Un(e,null,14)}}finally{to=0,eo.length=0,po(),Qn=!1,so=null,(eo.length||no.length)&&go()}}function mo(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||o;let r=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in i){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=i[e]||o;s&&(r=n.map(e=>v(e)?e.trim():e)),t&&(r=n.map(D))}let l,c=i[l=P(t)]||i[l=P(M(t))];!c&&s&&(c=i[l=P(A(t))]),c&&Kn(c,e,6,vo(e,c,r));const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Kn(u,e,6,vo(e,u,r))}}function vo(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&&p(o,"type")&&p(o,"timeStamp")&&p(o,"target")&&p(o,"currentTarget")&&p(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function yo(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const r=e.emits;let s={},a=!1;if(!m(e)){const o=e=>{const n=yo(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 r||a?(f(r)?r.forEach(e=>s[e]=null):c(s,r),_(e)&&o.set(e,s),s):(_(e)&&o.set(e,null),null)}function _o(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,A(t))||p(e,t))}let bo=null,wo=null;function xo(e){const t=bo;return bo=e,wo=e&&e.type.__scopeId||null,t}function Co(e,t=bo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&$r(-1);const i=xo(t);let r;try{r=e(...n)}finally{xo(i),o._d&&$r(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function To(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=xo(e);try{if(4&n.shapeFlag){const e=i||o,t=e;v=zr(d.call(t,e,p,r,h,f,g)),y=c}else{const e=t;0,v=zr(e.length>1?e(r,{attrs:c,slots:a,emit:u}):e(r,null)),y=t.props?c:So(c)}}catch(w){Er.length=0,Gn(w,e,1),v=Fr(Sr)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(l)&&(y=ko(y,s)),b=qr(b,y))}return n.dirs&&(b=qr(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,xo(_),v}const So=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},ko=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Eo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const r=o[i];if(t[r]!==e[r]&&!_o(n,r))return!0}return!1}const Mo="components";function Oo(e,t){return Po(Mo,e,!0,t)||e}const Ao=Symbol.for("v-ndc");function $o(e){return v(e)?Po(Mo,e,!1)||e:e||Ao}function Po(e,t,n=!0,o=!1){const i=bo||Qr;if(i){const n=i.type;{const e=cs(n,!1);if(e&&(e===t||e===M(t)||e===$(M(t))))return n}const r=Lo(i[e]||n[e],t)||Lo(i.appContext[e],t);return!r&&o?n:r}}function Lo(e,t){return e&&(e[t]||e[M(t)]||e[$(M(t))])}const Ro=e=>e.__isSuspense;const Io=Symbol.for("v-scx");function Do(e,t){return jo(e,null,t)}const Bo={};function No(e,t,n){return jo(e,t,n)}function jo(e,t,{immediate:n,deep:i,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),k()}}const d=Qr,p=e=>!0===i?e:qo(e,!1===i?1:void 0);let h,g,v=!1,y=!1;if(Vn(e)?(h=()=>e.value,v=$n(e)):On(e)?(h=()=>p(e),v=!0):f(e)?(y=!0,v=e.some(e=>On(e)||$n(e)),h=()=>e.map(e=>Vn(e)?e.value:On(e)?p(e):m(e)?Un(e,d,2):void 0)):h=m(e)?t?()=>Un(e,d,2):()=>(g&&g(),Kn(e,d,3,[b])):r,t&&i){const e=h;h=()=>qo(e())}let _,b=e=>{g=T.onStop=()=>{Un(e,d,4),g=T.onStop=void 0}};if(rs){if(b=r,t?n&&Kn(t,d,3,[h(),y?[]:void 0,b]):h(),"sync"!==s)return r;{const e=nr(Io);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Bo):Bo;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(i||v||(y?e.some((e,t)=>L(e,w[t])):L(e,w)))&&(g&&g(),Kn(t,d,3,[e,w===Bo?void 0:y&&w[0]===Bo?[]:w,b]),w=e)}else T.run()};let C;x.allowRecurse=!!t,"sync"===s?C=x:"post"===s?C=()=>vr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),C=()=>lo(x));const T=new bt(h,r,C),S=mt,k=()=>{T.stop(),S&&u(S.effects,T)};return t?n?x():w=T.run():"post"===s?vr(T.run.bind(T),d&&d.suspense):T.run(),_&&_.push(k),k}function Vo(e,t,n){const o=this.proxy,i=v(e)?e.includes(".")?Fo(o,e):()=>o[e]:e.bind(o,o);let r;m(t)?r=t:(r=t.handler,n=t);const s=ns(this),a=jo(i,r.bind(o),n);return s(),a}function Fo(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 qo(e,t,n=0,o){if(!_(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),Vn(e))qo(e.value,t,n,o);else if(f(e))for(let i=0;i<e.length;i++)qo(e[i],t,n,o);else if(g(e)||h(e))e.forEach(e=>{qo(e,t,n,o)});else if(C(e))for(const i in e)qo(e[i],t,n,o);return e}function Ho(e,t){if(null===bo)return e;const n=ls(bo)||bo.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[e,s,a,l=o]=t[r];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&qo(s),i.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Wo(e,t,n,o){const i=e.dirs,r=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];r&&(a.oldValue=r[s].value);let l=a.dir[o];l&&(Mt(),Kn(l,n,8,[e.el,a,e,t]),Ot())}}const zo=Symbol("_leaveCb"),Yo=Symbol("_enterCb");const Xo=[Function,Array],Uo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xo,onEnter:Xo,onAfterEnter:Xo,onEnterCancelled:Xo,onBeforeLeave:Xo,onLeave:Xo,onAfterLeave:Xo,onLeaveCancelled:Xo,onBeforeAppear:Xo,onAppear:Xo,onAfterAppear:Xo,onAppearCancelled:Xo},Ko={name:"BaseTransition",props:Uo,setup(e,{slots:t}){const n=Zr(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xi(()=>{e.isMounted=!0}),Si(()=>{e.isUnmounting=!0}),e}();return()=>{const i=t.default&&ti(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1)for(const e of i)if(e.type!==Sr){r=e;break}const s=Ln(e),{mode:a}=s;if(o.isLeaving)return Qo(r);const l=Zo(r);if(!l)return Qo(r);const c=Jo(l,s,o,n);ei(l,c);const u=n.subTree,d=u&&Zo(u);if(d&&d.type!==Sr&&!Dr(l,d)){const e=Jo(d,s,o,n);if(ei(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Qo(r);"in-out"===a&&l.type!==Sr&&(e.delayLeave=(e,t,n)=>{Go(o,d)[String(d.key)]=d,e[zo]=()=>{t(),e[zo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function Go(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 Jo(e,t,n,o){const{appear:i,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=Go(n,e),x=(e,t)=>{e&&Kn(e,o,9,t)},C=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:r,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!i)return;o=m||a}t[zo]&&t[zo](!0);const r=w[b];r&&Dr(e,r)&&r.el[zo]&&r.el[zo](),x(o,[t])},enter(e){let t=l,o=c,r=u;if(!n.isMounted){if(!i)return;t=v||l,o=y||c,r=_||u}let s=!1;const a=e[Yo]=t=>{s||(s=!0,x(t?r:o,[e]),T.delayedLeave&&T.delayedLeave(),e[Yo]=void 0)};t?C(t,[e,a]):a()},leave(t,o){const i=String(e.key);if(t[Yo]&&t[Yo](!0),n.isUnmounting)return o();x(d,[t]);let r=!1;const s=t[zo]=n=>{r||(r=!0,o(),x(n?g:h,[t]),t[zo]=void 0,w[i]===e&&delete w[i])};w[i]=e,p?C(p,[t,s]):s()},clone:e=>Jo(e,t,n,o)};return T}function Qo(e){if(si(e))return(e=qr(e)).children=null,e}function Zo(e){return si(e)?e.children?e.children[0]:void 0:e}function ei(e,t){6&e.shapeFlag&&e.component?ei(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 ti(e,t=!1,n){let o=[],i=0;for(let r=0;r<e.length;r++){let s=e[r];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:r);s.type===Cr?(128&s.patchFlag&&i++,o=o.concat(ti(s.children,t,a))):(t||s.type!==Sr)&&o.push(null!=a?qr(s,{key:a}):s)}if(i>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}
  19. /*! #__NO_SIDE_EFFECTS__ */function ni(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const oi=e=>!!e.type.__asyncLoader;
  20. /*! #__NO_SIDE_EFFECTS__ */function ii(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:r,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t((u++,c=null,d())),()=>n(e),u+1)});throw e}).then(t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return ni({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Qr;if(l)return()=>ri(l,e);const t=t=>{c=null,Gn(t,e,13,!o)};if(s&&e.suspense||rs)return d().then(t=>()=>ri(t,e)).catch(e=>(t(e),()=>o?Fr(o,{error:e}):null));const a=Fn(!1),u=Fn(),p=Fn(!!i);return i&&setTimeout(()=>{p.value=!1},i),null!=r&&setTimeout(()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}},r),d().then(()=>{a.value=!0,e.parent&&si(e.parent.vnode)&&(e.parent.effect.dirty=!0,lo(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>a.value&&l?ri(l,e):u.value&&o?Fr(o,{error:u.value}):n&&!p.value?Fr(n):void 0}})}function ri(e,t){const{ref:n,props:o,children:i,ce:r}=t.vnode,s=Fr(e,o,i);return s.ref=n,s.ce=r,delete t.vnode.ce,s}const si=e=>e.type.__isKeepAlive;class ai{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,i=t.get(e);if(i)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 i}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 li={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=Zr(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=e.cache||new ai(e.max);i.pruneCacheEntry=s;let r=null;function s(t){var o;!r||!Dr(t,r)||"key"===e.matchBy&&t.key!==r.key?(gi(o=t),u(o,n,a,!0)):r&&gi(r)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){i.forEach((n,o)=>{const r=vi(n,e.matchBy);!r||t&&t(r)||(i.delete(o),s(n))})}o.activate=(e,t,n,o,i)=>{const r=e.component;if(r.ba){const e=r.isDeactivated;r.isDeactivated=!1,R(r.ba),r.isDeactivated=e}c(e,t,n,0,a),l(r.vnode,e,t,n,r,a,o,e.slotScopeIds,i),vr(()=>{r.isDeactivated=!1,r.a&&R(r.a);const t=e.props&&e.props.onVnodeMounted;t&&Kr(t,r.parent,e)},a)},o.deactivate=e=>{const t=e.component;t.bda&&yi(t.bda),c(e,p,null,1,a),vr(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Kr(n,t.parent,e),t.isDeactivated=!0},a)},No(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&f(t=>ui(e,t)),t&&f(e=>!ui(t,e))},{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&i.set(h,mi(n.subTree))};return xi(g),Ti(g),Si(()=>{i.forEach((t,o)=>{i.delete(o),s(t);const{subTree:r,suspense:a}=n,l=mi(r);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&R(l.component.bda),gi(l);const e=l.component.da;return void(e&&vr(e,a))}})}),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return r=null,n;if(!Ir(o)||!(4&o.shapeFlag)&&!Ro(o.type))return r=null,o;let s=mi(o);const a=s.type,l=vi(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ui(c,l))||u&&l&&ui(u,l))return r=s,o;const d=null==s.key?a:s.key,p=i.get(d);return s.el&&(s=qr(s),Ro(o.type)&&(o.ssContent=s)),h=d,p&&(s.el=p.el,s.component=p.component,s.transition&&ei(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,r=s,Ro(o.type)?o:s}}},ci=li;function ui(e,t){return f(e)?e.some(e=>ui(e,t)):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function di(e,t){fi(e,"a",t)}function pi(e,t){fi(e,"da",t)}function fi(e,t,n=Qr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,_i(t,o,n),n){let e=n.parent;for(;e&&e.parent;)si(e.parent.vnode)&&hi(o,t,n,e),e=e.parent}}function hi(e,t,n,o){const i=_i(t,e,o,!0);ki(()=>{u(o[t],i)},n)}function gi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function mi(e){return Ro(e.type)?e.ssContent:e}function vi(e,t){if("name"===t){const t=e.type;return cs(oi(e)?t.__asyncResolved||{}:t)}return String(e.key)}function yi(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function _i(e,t,n=Qr,o=!1){if(n){if(i=e,at.indexOf(i)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[de,ie].indexOf(e)>-1}(e))){const o=n.proxy;Kn(t.bind(o),n,e,de===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt();const i=ns(n),r=Kn(t,n,e,o);return i(),Ot(),r});return o?r.unshift(s):r.push(s),s}var i}const bi=e=>(t,n=Qr)=>(!rs||"sp"===e)&&_i(e,(...e)=>t(...e),n),wi=bi("bm"),xi=bi("m"),Ci=bi("bu"),Ti=bi("u"),Si=bi("bum"),ki=bi("um"),Ei=bi("sp"),Mi=bi("rtg"),Oi=bi("rtc");function Ai(e,t=Qr){_i("ec",e,t)}function $i(e,t,n,o){let i;const r=n;if(f(e)||v(e)){i=new Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(e[n],n,void 0,r)}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,r)}else if(_(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,r));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];i[o]=t(e[s],s,o,r)}}else i=[];return i}function Pi(e,t,n={},o,i){if(bo.isCE||bo.parent&&oi(bo.parent)&&bo.parent.isCE)return"default"!==t&&(n.name=t),Fr("slot",n,o);let r=e[t];r&&r._c&&(r._d=!1),Or();const s=r&&Li(r(n)),a=Rr(Cr,{key:n.key||s&&s.key||`_${t}`},s||[],s&&1===e._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Li(e){return e.some(e=>!Ir(e)||e.type!==Sr&&!(e.type===Cr&&!Li(e.children)))?e:null}const Ri=e=>{if(!e)return null;if(is(e)){return ls(e)||e.proxy}return Ri(e.parent)},Ii=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=>Ri(e.parent),$root:e=>Ri(e.root),$emit:e=>e.emit,$options:e=>Hi(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,lo(e.update)})(e)),$nextTick:e=>e.n||(e.n=ao.bind(e.proxy)),$watch:e=>Vo.bind(e)}),Di=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),Bi={get({_:e},t){const{ctx:n,setupState:i,data:r,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 i[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Di(i,t))return a[t]=1,i[t];if(r!==o&&p(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&p(u,t))return a[t]=3,s[t];if(n!==o&&p(n,t))return a[t]=4,n[t];ji&&(a[t]=0)}}const d=Ii[t];let f,h;return d?("$attrs"===t&&jt(e,0,t),d(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o&&p(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:i,setupState:r,ctx:s}=e;return Di(r,t)?(r[t]=n,!0):i!==o&&p(i,t)?(i[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:s}},a){let l;return!!n[a]||e!==o&&p(e,a)||Di(t,a)||(l=s[0])&&p(l,a)||p(i,a)||p(Ii,a)||p(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ni(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let ji=!0;function Vi(e){const t=Hi(e),n=e.proxy,o=e.ctx;ji=!1,t.beforeCreate&&Fi(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:C,unmounted:T,render:S,renderTracked:k,renderTriggered:E,errorCaptured:M,serverPrefetch:O,expose:A,inheritAttrs:$,components:P,directives:L,filters:R}=t;if(u&&function(e,t){f(e)&&(e=Xi(e));for(const n in e){const o=e[n];let i;i=_(o)?"default"in o?nr(o.from||n,o.default,!0):nr(o.from||n):nr(o),Vn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,o,null),a)for(const r in a){const e=a[r];m(e)&&(o[r]=e.bind(n))}if(i){const t=i.call(n,n);_(t)&&(e.data=Sn(t))}if(ji=!0,s)for(const f in s){const e=s[f],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):r,i=!m(e)&&m(e.set)?e.set.bind(n):r,a=us({get:t,set:i});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const r in l)qi(l[r],o,n,r);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{tr(t,e[t])})}function I(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Fi(d,e,"c"),I(wi,p),I(xi,h),I(Ci,g),I(Ti,v),I(di,y),I(pi,b),I(Ai,M),I(Oi,k),I(Mi,E),I(Si,x),I(ki,T),I(Ei,O),f(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===r&&(e.render=S),null!=$&&(e.inheritAttrs=$),P&&(e.components=P),L&&(e.directives=L);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function Fi(e,t,n){Kn(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,o){const i=o.includes(".")?Fo(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&No(i,n)}else if(m(e))No(i,e.bind(n));else if(_(e))if(f(e))e.forEach(e=>qi(e,t,n,o));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&No(i,o,e)}}function Hi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let l;return a?l=a:i.length||n||o?(l={},i.length&&i.forEach(e=>Wi(l,e,s,!0)),Wi(l,t,s)):l=t,_(t)&&r.set(t,l),l}function Wi(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Wi(e,r,n,!0),i&&i.forEach(t=>Wi(e,t,n,!0));for(const s in t)if(o&&"expose"===s);else{const o=zi[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const zi={data:Yi,props:Gi,emits:Gi,methods:Ki,computed:Ki,beforeCreate:Ui,created:Ui,beforeMount:Ui,mounted:Ui,beforeUpdate:Ui,updated:Ui,beforeDestroy:Ui,beforeUnmount:Ui,destroyed:Ui,unmounted:Ui,activated:Ui,deactivated:Ui,errorCaptured:Ui,serverPrefetch:Ui,components:Ki,directives:Ki,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]=Ui(e[o],t[o]);return n},provide:Yi,inject:function(e,t){return Ki(Xi(e),Xi(t))}};function Yi(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 Xi(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ui(e,t){return e?[...new Set([].concat(e,t))]:t}function Ki(e,t){return e?c(Object.create(null),e,t):t}function Gi(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),Ni(e),Ni(null!=t?t:{})):t}function Ji(){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 Qi=0;function Zi(e,t){return function(t,n=null){m(t)||(t=c({},t)),null==n||_(n)||(n=null);const o=Ji(),i=new WeakSet;let r=!1;const s=o.app={_uid:Qi++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:ps,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(s,...t)):m(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(i,a,l){if(!r){const a=Fr(t,n);return a.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(a,i,l),r=!0,s._container=i,i.__vue_app__=s,s._instance=a.component,ls(a.component)||a.component.proxy}},unmount(){r&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s),runWithContext(e){const t=er;er=s;try{return e()}finally{er=t}}};return s}}let er=null;function tr(e,t){if(Qr){let n=Qr.provides;const o=Qr.parent&&Qr.parent.provides;o===n&&(n=Qr.provides=Object.create(o)),n[e]=t,"app"===Qr.type.mpType&&Qr.appContext.app.provide(e,t)}else;}function nr(e,t,n=!1){const o=Qr||bo;if(o||er){const i=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:er._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function or(e,t,n,i){const[r,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(S(o))continue;const c=t[o];let u;r&&p(r,u=M(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:_o(e.emitsOptions,o)||o in i&&c===i[o]||(i[o]=ir(e,o,c),l=!0)}if(s){const t=Ln(n),i=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=rr(r,t,a,i[a],e,!p(i,a))}}return l}function ir(e,t,n){return n}function rr(e,t,n,o,i,r){const s=function(e,t,n,o,i,r){const s=e[n];if(null!=s){const e=p(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&m(e)){const{propsDefaults:r}=i;if(n in r)o=r[n];else{const s=ns(i);o=r[n]=e.call(null,t),s()}}else o=e}s[0]&&(r&&!e?o=!1:!s[1]||""!==o&&o!==A(n)||(o=!0))}return o}(e,t,n,o,i,r);return s}function sr(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const a=e.props,l={},u=[];let d=!1;if(!m(e)){const o=e=>{d=!0;const[n,o]=sr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return _(e)&&r.set(e,i),i;if(f(a))for(let i=0;i<a.length;i++){const e=M(a[i]);ar(e)&&(l[e]=o)}else if(a)for(const o in a){const e=M(o);if(ar(e)){const t=a[o],n=l[e]=f(t)||m(t)?{type:t}:c({},t);if(n){const t=ur(Boolean,n.type),o=ur(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||p(n,"default"))&&u.push(e)}}}const h=[l,u];return _(e)&&r.set(e,h),h}function ar(e){return"$"!==e[0]&&!S(e)}function lr(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 cr(e,t){return lr(e)===lr(t)}function ur(e,t){return f(t)?t.findIndex(t=>cr(t,e)):m(t)&&cr(t,e)?0:-1}const dr=e=>"_"===e[0]||"$stable"===e,pr=e=>f(e)?e.map(zr):[zr(e)],fr=(e,t,n)=>{if(t._n)return t;const o=Co((...e)=>pr(t(...e)),n);return o._c=!1,o},hr=(e,t,n)=>{const o=e._ctx;for(const i in e){if(dr(i))continue;const n=e[i];if(m(n))t[i]=fr(0,n,o);else if(null!=n){const e=pr(n);t[i]=()=>e}}},gr=(e,t)=>{const n=pr(t);e.slots.default=()=>n};function mr(e,t,n,i,r=!1){if(f(e))return void e.forEach((e,o)=>mr(e,t&&(f(t)?t[o]:t),n,i,r));if(oi(i)&&!r)return;const s=4&i.shapeFlag?ls(i.component)||i.component.proxy:i.el,a=r?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,p(g,d)&&(g[d]=null)):Vn(d)&&(d.value=null)),m(c))Un(c,l,12,[a,h]);else{const t=v(c),o=Vn(c);if(t||o){const i=()=>{if(e.f){const n=t?p(g,c)?g[c]:h[c]:c.value;r?f(n)&&u(n,s):f(n)?n.includes(s)||n.push(s):t?(h[c]=[s],p(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,p(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(i.id=-1,vr(i,n)):i()}}}const vr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?no.push(...n):oo&&oo.includes(n,n.allowRecurse?io+1:io)||no.push(n),co())};function yr(e){return function(e){N().__VUE__=!0;const{insert:t,remove:n,patchProp:s,forcePatchProp:a,createElement:l,createText:u,createComment:d,setText:f,setElementText:h,parentNode:g,nextSibling:m,setScopeId:v=r,insertStaticContent:y}=e,_=(e,t,n,o=null,i=null,r=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Dr(e,t)&&(o=ee(e),K(e,i,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Tr:w(e,t,n,o);break;case Sr:x(e,t,n,o);break;case kr:null==e&&C(t,n,o,s);break;case Cr:j(e,t,n,o,i,r,s,a,l);break;default:1&d?E(e,t,n,o,i,r,s,a,l):6&d?V(e,t,n,o,i,r,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,i,r,s,a,l,oe)}null!=u&&i&&mr(u,e&&e.ref,r,t||e,!t)},w=(e,n,o,i)=>{if(null==e)t(n.el=u(n.children),o,i);else{const t=n.el=e.el;n.children!==e.children&&f(t,n.children)}},x=(e,n,o,i)=>{null==e?t(n.el=d(n.children||""),o,i):n.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},T=({el:e,anchor:n},o,i)=>{let r;for(;e&&e!==n;)r=m(e),t(e,o,i),e=r;t(n,o,i)},k=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=m(e),n(e),e=o;n(t)},E=(e,t,n,o,i,r,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?O(t,n,o,i,r,s,a,l):L(e,t,i,r,s,a,l)},O=(e,n,o,i,r,a,c,u)=>{let d,p;const{props:f,shapeFlag:g,transition:m,dirs:v}=e;if(d=e.el=l(e.type,a,f&&f.is,f),8&g?h(d,e.children):16&g&&P(e.children,d,null,i,r,_r(e,a),c,u),v&&Wo(e,null,i,"created"),$(d,e,e.scopeId,c,i),f){for(const t in f)"value"===t||S(t)||s(d,t,null,f[t],a,e.children,i,r,Z);"value"in f&&s(d,"value",null,f.value,a),(p=f.onVnodeBeforeMount)&&Kr(p,i,e)}Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),v&&Wo(e,null,i,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,m);y&&m.beforeEnter(d),t(d,n,o),((p=f&&f.onVnodeMounted)||y||v)&&vr(()=>{p&&Kr(p,i,e),y&&m.enter(d),v&&Wo(e,null,i,"mounted")},r)},$=(e,t,n,o,i)=>{if(n&&v(e,n),o)for(let r=0;r<o.length;r++)v(e,o[r]);if(i){if(t===i.subTree){const t=i.vnode;$(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},P=(e,t,n,o,i,r,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Yr(e[c]):zr(e[c]);_(null,l,t,n,o,i,r,s,a)}},L=(e,t,n,i,r,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const g=e.props||o,m=t.props||o;let v;if(n&&br(n,!1),(v=m.onVnodeBeforeUpdate)&&Kr(v,n,t,e),f&&Wo(t,e,n,"beforeUpdate"),n&&br(n,!0),p?D(e.dynamicChildren,p,u,n,i,_r(t,r),l):c||z(e,t,u,null,n,i,_r(t,r),l,!1),d>0){if(16&d)B(u,t,g,m,n,i,r);else if(2&d&&g.class!==m.class&&s(u,"class",null,m.class,r),4&d&&s(u,"style",g.style,m.style,r),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const l=o[t],c=g[l],d=m[l];(d!==c||"value"===l||a&&a(u,l))&&s(u,l,c,d,r,e.children,n,i,Z)}}1&d&&e.children!==t.children&&h(u,t.children)}else c||null!=p||B(u,t,g,m,n,i,r);((v=m.onVnodeUpdated)||f)&&vr(()=>{v&&Kr(v,n,t,e),f&&Wo(t,e,n,"updated")},i)},D=(e,t,n,o,i,r,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Cr||!Dr(l,c)||70&l.shapeFlag)?g(l.el):n;_(l,c,u,null,o,i,r,s,!0)}},B=(e,t,n,i,r,l,c)=>{if(n!==i){if(n!==o)for(const o in n)S(o)||o in i||s(e,o,n[o],null,c,t.children,r,l,Z);for(const o in i){if(S(o))continue;const u=i[o],d=n[o];(u!==d&&"value"!==o||a&&a(e,o))&&s(e,o,d,u,c,t.children,r,l,Z)}"value"in i&&s(e,"value",n.value,i.value,c)}},j=(e,n,o,i,r,s,a,l,c)=>{const d=n.el=e?e.el:u(""),p=n.anchor=e?e.anchor:u("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=n;g&&(l=l?l.concat(g):g),null==e?(t(d,o,i),t(p,o,i),P(n.children||[],o,p,r,s,a,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(D(e.dynamicChildren,h,o,r,s,a,l),(null!=n.key||r&&n===r.subTree)&&wr(e,n,!0)):z(e,n,o,p,r,s,a,l,c)},V=(e,t,n,o,i,r,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,n,o,s,l):F(t,n,o,i,r,s,l):q(e,t,l)},F=(e,t,n,i,r,s,a)=>{const l=e.component=function(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||Gr,s={uid:Jr++,vnode:e,type:i,parent:t,appContext:r,get renderer(){return"app"===i.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new yt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sr(i,r),emitsOptions:yo(i,r),emit:null,emitted:null,propsDefaults:o,inheritAttrs:i.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=mo.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,i,r);if(si(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&ts(t);const{props:n,children:o}=e.vnode,i=is(e);(function(e,t,n,o=!1){const i={},r={};I(r,Br,1),e.propsDefaults=Object.create(null),or(e,t,i,r);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=o?i:kn(i):e.type.props?e.props=i:e.props=r,e.attrs=r})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ln(t),I(t,"_",n)):hr(t,e.slots={})}else e.slots={},t&&gr(e,t);I(e.slots,Br,1)})(e,o);const r=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Rn(new Proxy(e.ctx,Bi));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)=>(jt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,i=ns(e);Mt();const r=Un(o,e,0,[e.props,n]);if(Ot(),i(),b(r)){if(r.then(os,os),t)return r.then(t=>{ss(e,t)}).catch(t=>{Gn(t,e,0)});e.asyncDep=r}else ss(e,r)}else as(e)}(e,t):void 0;t&&ts(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,H),!e.el){const e=l.subTree=Fr(Sr);x(null,e,t,n)}}else H(l,e,t,n,r,s,a)},q=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:i,component:r}=e,{props:s,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||o!==s&&(o?!s||Eo(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Eo(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]&&!_o(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void W(o,t,n);o.next=t,function(e){const t=eo.indexOf(e);t>to&&eo.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=(e,t,n,o,i,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:r,vnode:c}=e;{const n=xr(e);if(n)return t&&(t.el=c.el,W(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;br(e,!1),t?(t.el=c.el,W(e,t,a)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Kr(u,r,t,c),br(e,!0);const p=To(e),f=e.subTree;e.subTree=p,_(f,p,g(f.el),ee(f),e,i,s),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&vr(o,i),(u=t.props&&t.props.onVnodeUpdated)&&vr(()=>Kr(u,r,t,c),i)}else{let r;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,p=oi(t);br(e,!1),c&&R(c),!p&&(r=l&&l.onVnodeBeforeMount)&&Kr(r,d,t),br(e,!0);{const r=e.subTree=To(e);_(null,r,n,o,e,i,s),t.el=r.el}if(u&&vr(u,i),!p&&(r=l&&l.onVnodeMounted)){const e=t;vr(()=>Kr(r,d,e),i)}(256&t.shapeFlag||d&&oi(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&yi(e.ba),e.a&&vr(e.a,i)),e.isMounted=!0,t=n=o=null}},c=e.effect=new bt(l,r,()=>lo(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,br(e,!0),u()},W=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:s}}=e,a=Ln(i),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;or(e,t,i,r)&&(c=!0);for(const r in a)t&&(p(t,r)||(o=A(r))!==r&&p(t,o))||(l?!n||void 0===n[r]&&void 0===n[o]||(i[r]=rr(l,a,r,void 0,e,!0)):delete i[r]);if(r!==a)for(const e in r)t&&p(t,e)||(delete r[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(_o(e.emitsOptions,s))continue;const u=t[s];if(l)if(p(r,s))u!==r[s]&&(r[s]=ir(0,0,u),c=!0);else{const t=M(s);i[t]=rr(l,a,t,u,e,!1)}else u!==r[s]&&(r[s]=ir(0,0,u),c=!0)}}c&&Vt(e,"set","$attrs")}(e,t.props,i,n),((e,t,n)=>{const{vnode:i,slots:r}=e;let s=!0,a=o;if(32&i.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(r,t),n||1!==e||delete r._):(s=!t.$stable,hr(t,r)),a=t}else t&&(gr(e,t),a={default:1});if(s)for(const o in r)dr(o)||null!=a[o]||delete r[o]})(e,t.children,n),Mt(),uo(e),Ot()},z=(e,t,n,o,i,r,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void X(c,d,n,o,i,r,s,a,l);if(256&p)return void Y(c,d,n,o,i,r,s,a,l)}8&f?(16&u&&Z(c,i,r),d!==c&&h(n,d)):16&u?16&f?X(c,d,n,o,i,r,s,a,l):Z(c,i,r,!0):(8&u&&h(n,""),16&f&&P(d,n,o,i,r,s,a,l))},Y=(e,t,n,o,r,s,a,l,c)=>{t=t||i;const u=(e=e||i).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Yr(t[f]):zr(t[f]);_(e[f],o,n,null,r,s,a,l,c)}u>d?Z(e,r,s,!0,!1,p):P(t,n,o,r,s,a,l,c,p)},X=(e,t,n,o,r,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],i=t[u]=c?Yr(t[u]):zr(t[u]);if(!Dr(o,i))break;_(o,i,n,null,r,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],i=t[f]=c?Yr(t[f]):zr(t[f]);if(!Dr(o,i))break;_(o,i,n,null,r,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,i=e<d?t[e].el:o;for(;u<=f;)_(null,t[u]=c?Yr(t[u]):zr(t[u]),n,i,r,s,a,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],r,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=f;u++){const e=t[u]=c?Yr(t[u]):zr(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=f-g+1;let w=!1,x=0;const C=new Array(b);for(u=0;u<b;u++)C[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){K(o,r,s,!0);continue}let i;if(null!=o.key)i=m.get(o.key);else for(v=g;v<=f;v++)if(0===C[v-g]&&Dr(o,t[v])){i=v;break}void 0===i?K(o,r,s,!0):(C[i-g]=u+1,i>=x?x=i:w=!0,_(o,t[i],n,null,r,s,a,l,c),y++)}const T=w?function(e){const t=e.slice(),n=[0];let o,i,r,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(i=n[n.length-1],e[i]<l){t[o]=i,n.push(o);continue}for(r=0,s=n.length-1;r<s;)a=r+s>>1,e[n[a]]<l?r=a+1:s=a;l<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}r=n.length,s=n[r-1];for(;r-- >0;)n[r]=s,s=t[s];return n}(C):i;for(v=T.length-1,u=b-1;u>=0;u--){const e=g+u,i=t[e],p=e+1<d?t[e+1].el:o;0===C[u]?_(null,i,n,p,r,s,a,l,c):w&&(v<0||u!==T[v]?U(i,n,p,2):v--)}}},U=(e,n,o,i,r=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void U(e.component.subTree,n,o,i);if(128&u)return void e.suspense.move(n,o,i);if(64&u)return void a.move(e,n,o,oe);if(a===Cr){t(s,n,o);for(let e=0;e<c.length;e++)U(c[e],n,o,i);return void t(e.anchor,n,o)}if(a===kr)return void T(e,n,o);if(2!==i&&1&u&&l)if(0===i)l.beforeEnter(s),t(s,n,o),vr(()=>l.enter(s),r);else{const{leave:e,delayLeave:i,afterLeave:r}=l,a=()=>t(s,n,o),c=()=>{e(s,()=>{a(),r&&r()})};i?i(s,a,c):c()}else t(s,n,o)},K=(e,t,n,o=!1,i=!1)=>{const{type:r,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&mr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!oi(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&Kr(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Wo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,oe,o):c&&(r!==Cr||d>0&&64&d)?Z(c,t,n,!1,!0):(r===Cr&&384&d||!i&&16&u)&&Z(l,t,n),o&&G(e)}(h&&(g=s&&s.onVnodeUnmounted)||f)&&vr(()=>{g&&Kr(g,t,e),f&&Wo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:o,anchor:i,transition:r}=e;if(t===Cr)return void J(o,i);if(t===kr)return void k(e);const s=()=>{n(o),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:n}=r,i=()=>t(o,s);n?n(e.el,s,i):i()}else s()},J=(e,t)=>{let o;for(;e!==t;)o=m(e),n(e),e=o;n(t)},Q=(e,t,n)=>{const{bum:o,scope:i,update:r,subTree:s,um:a}=e;o&&R(o),i.stop(),r&&(r.active=!1,K(s,e,t,n)),a&&vr(a,t),vr(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,o=!1,i=!1,r=0)=>{for(let s=r;s<e.length;s++)K(e[s],t,n,o,i)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),te||(te=!0,uo(),po(),te=!1),t._vnode=e},oe={p:_,um:K,m:U,r:G,mt:F,mc:P,pc:z,pbc:D,n:ee,o:e};let ie;return{render:ne,hydrate:ie,createApp:Zi(ne)}}(e)}function _r({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function br({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wr(e,t,n=!1){const o=e.children,i=t.children;if(f(o)&&f(i))for(let r=0;r<o.length;r++){const e=o[r];let t=i[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=i[r]=Yr(i[r]),t.el=e.el),n||wr(e,t)),t.type===Tr&&(t.el=e.el)}}function xr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xr(t)}const Cr=Symbol.for("v-fgt"),Tr=Symbol.for("v-txt"),Sr=Symbol.for("v-cmt"),kr=Symbol.for("v-stc"),Er=[];let Mr=null;function Or(e=!1){Er.push(Mr=e?null:[])}let Ar=1;function $r(e){Ar+=e}function Pr(e){return e.dynamicChildren=Ar>0?Mr||i:null,Er.pop(),Mr=Er[Er.length-1]||null,Ar>0&&Mr&&Mr.push(e),e}function Lr(e,t,n,o,i,r){return Pr(Vr(e,t,n,o,i,r,!0))}function Rr(e,t,n,o,i){return Pr(Fr(e,t,n,o,i,!0))}function Ir(e){return!!e&&!0===e.__v_isVNode}function Dr(e,t){return e.type===t.type&&e.key===t.key}const Br="__vInternal",Nr=({key:e})=>null!=e?e:null,jr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Vn(e)||m(e)?{i:bo,r:e,k:t,f:!!n}:e:null);function Vr(e,t=null,n=null,o=0,i=null,r=(e===Cr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&jr(t),scopeId:wo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:bo};return a?(Xr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Ar>0&&!s&&Mr&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&Mr.push(l),l}const Fr=function(e,t=null,n=null,o=0,i=null,r=!1){e&&e!==Ao||(e=Sr);if(Ir(e)){const o=qr(e,t,!0);return n&&Xr(o,n),Ar>0&&!r&&Mr&&(6&o.shapeFlag?Mr[Mr.indexOf(e)]=o:Mr.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?Pn(e)||Br in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=qe(e)),_(n)&&(Pn(n)&&!f(n)&&(n=c({},n)),t.style=Fe(n))}const a=v(e)?1:Ro(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:m(e)?2:0;return Vr(e,t,n,o,i,a,r,!0)};function qr(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:s}=e,a=t?Ur(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Nr(a),ref:t&&t.ref?n&&i?f(i)?i.concat(jr(t)):[i,jr(t)]:jr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Cr?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qr(e.ssContent),ssFallback:e.ssFallback&&qr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Hr(e=" ",t=0){return Fr(Tr,null,e,t)}function Wr(e="",t=!1){return t?(Or(),Rr(Sr,null,e)):Fr(Sr,null,e)}function zr(e){return null==e||"boolean"==typeof e?Fr(Sr):f(e)?Fr(Cr,null,e.slice()):"object"==typeof e?Yr(e):Fr(Tr,null,String(e))}function Yr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:qr(e)}function Xr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Xr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Br in t?3===o&&bo&&(1===bo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=bo}}else m(t)?(t={default:t,_ctx:bo},n=32):(t=String(t),64&o?(n=16,t=[Hr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ur(...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=qe([t.class,o.class]));else if("style"===e)t.style=Fe([t.style,o.style]);else if(a(e)){const n=t[e],i=o[e];!i||n===i||f(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=o[e])}return t}function Kr(e,t,n,o=null){Kn(e,t,7,[n,o])}const Gr=Ji();let Jr=0;let Qr=null;const Zr=()=>Qr||bo;let es,ts;{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)}};es=t("__VUE_INSTANCE_SETTERS__",e=>Qr=e),ts=t("__VUE_SSR_SETTERS__",e=>rs=e)}const ns=e=>{const t=Qr;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},os=()=>{Qr&&Qr.scope.off(),es(null)};function is(e){return 4&e.vnode.shapeFlag}let rs=!1;function ss(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=Xn(t)),as(e)}function as(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=ns(e);Mt();try{Vi(e)}finally{Ot(),t()}}}function ls(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Xn(Rn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ii?Ii[n](e):void 0,has:(e,t)=>t in e||t in Ii}))}function cs(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const us=(e,t)=>{const n=function(e,t,n=!1){let o,i;const s=m(e);return s?(o=e,i=r):(o=e.get,i=e.set),new Bn(o,i,s||!i,n)}(e,0,rs);return n};function ds(e,t,n){const o=arguments.length;return 2===o?_(t)&&!f(t)?Ir(t)?Fr(e,null,[t]):Fr(e,t):Fr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ir(n)&&(n=[n]),Fr(e,t,n))}const ps="3.4.21",fs="undefined"!=typeof document?document:null,hs=fs&&fs.createElement("template"),gs={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 i="svg"===t?fs.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?fs.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?fs.createElement(e,{is:n}):fs.createElement(e);return"select"===e&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:e=>fs.createTextNode(e),createComment:e=>fs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const s=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==r&&(i=i.nextSibling););else{hs.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const i=hs.content;if("svg"===o||"mathml"===o){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ms="transition",vs="animation",ys=Symbol("_vtc"),_s=(e,{slots:t})=>ds(Ko,function(e){const t={};for(const c in e)c in bs||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[Cs(e.enter),Cs(e.leave)];{const t=Cs(e);return[t,t]}}(i),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:C,onBeforeAppear:T=y,onAppear:S=b,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Ss(e,t?d:a),Ss(e,t?u:s),n&&n()},M=(e,t)=>{e._isLeaving=!1,Ss(e,p),Ss(e,h),Ss(e,f),t&&t()},O=e=>(t,n)=>{const i=e?S:b,s=()=>E(t,e,n);ws(i,[t,s]),ks(()=>{Ss(t,e?l:r),Ts(t,e?d:a),xs(i)||Ms(t,o,m,s)})};return c(t,{onBeforeEnter(e){ws(y,[e]),Ts(e,r),Ts(e,s)},onBeforeAppear(e){ws(T,[e]),Ts(e,l),Ts(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>M(e,t);Ts(e,p),document.body.offsetHeight,Ts(e,f),ks(()=>{e._isLeaving&&(Ss(e,p),Ts(e,h),xs(x)||Ms(e,o,v,n))}),ws(x,[e,n])},onEnterCancelled(e){E(e,!1),ws(w,[e])},onAppearCancelled(e){E(e,!0),ws(k,[e])},onLeaveCancelled(e){M(e),ws(C,[e])}})}(e),t);_s.displayName="Transition";const bs={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};_s.props=c({},Uo,bs);const ws=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},xs=e=>!!e&&(f(e)?e.some(e=>e.length>1):e.length>1);function Cs(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ts(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[ys]||(e[ys]=new Set)).add(t)}function Ss(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[ys];n&&(n.delete(t),n.size||(e[ys]=void 0))}function ks(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Es=0;function Ms(e,t,n,o){const i=e._endId=++Es,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),i=o(`${ms}Delay`),r=o(`${ms}Duration`),s=Os(i,r),a=o(`${vs}Delay`),l=o(`${vs}Duration`),c=Os(a,l);let u=null,d=0,p=0;t===ms?s>0&&(u=ms,d=s,p=r.length):t===vs?c>0&&(u=vs,d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?ms:vs:null,p=u?u===ms?r.length:l.length:0);const f=u===ms&&/\b(transform|all)(,|$)/.test(o(`${ms}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),r()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,p)}function Os(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>As(t)+As(e[n])))}function As(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const $s=Symbol("_vod"),Ps=Symbol("_vsh"),Ls={beforeMount(e,{value:t},{transition:n}){e[$s]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Rs(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),Rs(e,!0),o.enter(e)):o.leave(e,()=>{Rs(e,!1)}):Rs(e,t))},beforeUnmount(e,{value:t}){Rs(e,t)}};function Rs(e,t){e.style.display=t?e[$s]:"none",e[Ps]=!t}const Is=Symbol(""),Ds=/(^|;)\s*display\s*:/;const Bs=/\s*!important$/;function Ns(e,t,n){if(f(n))n.forEach(n=>Ns(e,t,n));else if(null==n&&(n=""),n=Us(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Vs[t];if(n)return n;let o=M(t);if("filter"!==o&&o in e)return Vs[t]=o;o=$(o);for(let i=0;i<js.length;i++){const n=js[i]+o;if(n in e)return Vs[t]=n}return t}(e,t);Bs.test(n)?e.setProperty(A(o),n.replace(Bs,""),"important"):e[o]=n}}const js=["Webkit","Moz","ms"],Vs={};const{unit:Fs,unitRatio:qs,unitPrecision:Hs}={unit:"rem",unitRatio:10/320,unitPrecision:5},Ws=(zs=Fs,Ys=qs,Xs=Hs,e=>e.replace(Qe,(e,t)=>{if(!t)return e;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)*Ys,Xs);return 0===n?"0":`${n}${zs}`}));var zs,Ys,Xs;const Us=e=>v(e)?Ws(e):e,Ks="http://www.w3.org/1999/xlink";const Gs=Symbol("_vei");function Js(e,t,n,o,i=null){const r=e[Gs]||(e[Gs]={}),s=r[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Qs.test(e)){let n;for(t={};n=e.match(Qs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):A(e.slice(2));return[n,t]}(t);if(o){const s=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,i=o&&o.$nne,{value:r}=n;if(i&&f(r)){const n=na(e,r);for(let o=0;o<n.length;o++){const r=n[o];Kn(r,t,5,r.__wwe?[e]:i(e))}return}Kn(na(e,n.value),t,5,i&&!r.__wwe?i(e,r,t):[e])};return n.value=e,n.attached=ta(),n}(o,i);!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),r[t]=void 0)}}const Qs=/(?:Once|Passive|Capture)$/;let Zs=0;const ea=Promise.resolve(),ta=()=>Zs||(ea.then(()=>Zs=0),Zs=Date.now());function na(e,t){if(f(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 oa=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ia=["ctrl","shift","alt","meta"],ra={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)=>ia.some(n=>e[`${n}Key`]&&!t.includes(n))},sa=(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=ra[t[e]];if(o&&o(n,t))return}return e(n,...o)})},aa=c({patchProp:(e,t,n,o,i,r,s,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const i=t.replace("change:",""),{attrs:r}=o,s=r[i],a=(e.__wxsProps||(e.__wxsProps={}))[i];if(a===s)return;e.__wxsProps[i]=s;const l=o.proxy;ao(()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))})}(e,t,o,s);const d="svg"===i;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:i}=e;i&&i.length&&(t=(t||"").split(/\s+/).filter(e=>-1===i.indexOf(e)).join(" "),i.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const r=e[ys];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,i=v(n);let r=!1;if(n&&!i){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ns(o,t,"")}else for(const e in t)null==n[e]&&Ns(o,e,"");for(const e in n)"display"===e&&(r=!0),Ns(o,e,n[e])}else if(i){if(t!==n){const e=o[Is];e&&(n+=";"+e),o.cssText=n,r=Ds.test(n)}}else t&&e.removeAttribute("style");$s in e&&(e[$s]=r?o.display:"",e[Ps]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Ns(o,a,s[a])}(e,n,o):a(t)?l(t)||Js(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&&oa(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(oa(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,i,r,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,i,r),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=Y(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,r,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ks,t.slice(6,t.length)):e.setAttributeNS(Ks,t,n);else{const o=z(t);null==n||o&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},gs);let la;const ca=(...e)=>{const t=(la||(la=yr(aa))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}
  21. /*!
  22. * vue-router v4.4.4
  23. * (c) 2024 Eduardo San Martin Morote
  24. * @license MIT
  25. */(e);if(!o)return;const i=t._component;m(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=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","")),r},t};const ua="undefined"!=typeof document;function da(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const pa=Object.assign;function fa(e,t){const n={};for(const o in t){const i=t[o];n[o]=ga(i)?i.map(e):e(i)}return n}const ha=()=>{},ga=Array.isArray,ma=/#/g,va=/&/g,ya=/\//g,_a=/=/g,ba=/\?/g,wa=/\+/g,xa=/%5B/g,Ca=/%5D/g,Ta=/%5E/g,Sa=/%60/g,ka=/%7B/g,Ea=/%7C/g,Ma=/%7D/g,Oa=/%20/g;function Aa(e){return encodeURI(""+e).replace(Ea,"|").replace(xa,"[").replace(Ca,"]")}function $a(e){return Aa(e).replace(wa,"%2B").replace(Oa,"+").replace(ma,"%23").replace(va,"%26").replace(Sa,"`").replace(ka,"{").replace(Ma,"}").replace(Ta,"^")}function Pa(e){return $a(e).replace(_a,"%3D")}function La(e){return null==e?"":function(e){return Aa(e).replace(ma,"%23").replace(ba,"%3F")}(e).replace(ya,"%2F")}function Ra(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ia=/\/$/;function Da(e,t,n="/"){let o,i={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),i=e(r)),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("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,s,a=n.length-1;for(r=0;r<o.length;r++)if(s=o[r],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+s,path:o,query:i,hash:Ra(s)}}function Ba(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Na(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ja(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Va(e[n],t[n]))return!1;return!0}function Va(e,t){return ga(e)?Fa(e,t):ga(t)?Fa(t,e):e===t}function Fa(e,t){return ga(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const qa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ha,Wa,za,Ya;function Xa(e){if(!e)if(ua){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ia,"")}(Wa=Ha||(Ha={})).pop="pop",Wa.push="push",(Ya=za||(za={})).back="back",Ya.forward="forward",Ya.unknown="";const Ua=/^[^#]+#/;function Ka(e,t){return e.replace(Ua,"#")+t}const Ga=()=>({left:window.scrollX,top:window.scrollY});function Ja(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)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)}}(i,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 Qa(e,t){return(history.state?history.state.position-t:-1)+e}const Za=new Map;function el(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Ba(n,"")}return Ba(n,e)+o+i}function tl(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Ga():null}}function nl(e){const{history:t,location:n}=window,o={value:el(e,n)},i={value:t.state};function r(o,r,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"](r,"",l),i.value=r}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const s=pa({},i.value,t.state,{forward:e,scroll:Ga()});r(s.current,s,!0),r(e,pa({},tl(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){r(e,pa({},t.state,tl(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function ol(e){const t=nl(e=Xa(e)),n=function(e,t,n,o){let i=[],r=[],s=null;const a=({state:r})=>{const a=el(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=a,t.value=r,s&&s===l)return void(s=null);u=c?r.position-c.position:0}else o(a);i.forEach(e=>{e(n.value,l,{delta:u,type:Ha.pop,direction:u?u>0?za.forward:za.back:za.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(pa({},e.state,{scroll:Ga()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=pa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ka.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 il(e){return"string"==typeof e||"symbol"==typeof e}const rl=Symbol("");var sl,al;function ll(e,t){return pa(new Error,{type:e,[rl]:!0},t)}function cl(e,t){return e instanceof Error&&rl in e&&(null==t||!!(e.type&t))}(al=sl||(sl={}))[al.aborted=4]="aborted",al[al.cancelled=8]="cancelled",al[al.duplicated=16]="duplicated";const ul="[^/]+?",dl={sensitive:!1,strict:!1,start:!0,end:!0},pl=/[.+*?^${}()[\]/\\]/g;function fl(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 hl(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const e=fl(o[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-o.length)){if(gl(o))return 1;if(gl(i))return-1}return i.length-o.length}function gl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ml={type:0,value:""},vl=/[a-zA-Z0-9_]/;function yl(e,t,n){const o=function(e,t){const n=pa({},dl,t),o=[];let i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t<l.length;t++){const o=l[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(i+="/"),i+=o.value.replace(pl,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;r.push({name:e,repeatable:n,optional:c});const d=u||ul;if(d!==ul){s+=10;try{new RegExp(`(${d})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+a.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),i+=p,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(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||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");return{re:s,score:o,keys:r,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]||"",i=r[o-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const i of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of i)if(0===e.type)n+=e.value;else if(1===e.type){const{value:r,repeatable:s,optional:a}=e,l=r in t?t[r]:"";if(ga(l)&&!s)throw new Error(`Provided param "${r}" is an array but it is not repeatable (* or + modifiers)`);const c=ga(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${r}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[ml]];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 i=[];let r;function s(){r&&i.push(r),r=[]}let a,l=0,c="",u="";function d(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===a?n=2:vl.test(a)?p():(d(),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:d(),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}"`),d(),s(),i}(e.path),n),i=pa(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function _l(e,t){const n=[],o=new Map;function i(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:wl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Tl(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(pa({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,p;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(d=yl(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),a&&e.name&&!xl(d)&&r(e.name)),Sl(d)&&s(d),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],d,o&&o.children[t])}o=o||d}return p?()=>{r(p)}:ha}function r(e){if(il(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;hl(e,t[i])<0?o=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(Sl(t)&&0===hl(e,t))return t;return}(e);i&&(o=t.lastIndexOf(i,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!xl(e)&&o.set(e.record.name,e)}return t=Tl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,s,a={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw ll(1,{location:e});s=i.record.name,a=pa(bl(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&bl(e.params,i.keys.map(e=>e.name))),r=i.stringify(a)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(a=i.parse(r),s=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw ll(1,{location:e,currentLocation:t});s=i.record.name,a=pa({},t.params,e.params),r=i.stringify(a)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:r,params:a,matched:l,meta:Cl(l)}},removeRoute:r,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function bl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function wl(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 xl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cl(e){return e.reduce((e,t)=>pa(e,t.meta),{})}function Tl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Sl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kl(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(wa," "),i=e.indexOf("="),r=Ra(i<0?e:e.slice(0,i)),s=i<0?null:Ra(e.slice(i+1));if(r in t){let e=t[r];ga(e)||(e=t[r]=[e]),e.push(s)}else t[r]=s}return t}function El(e){let t="";for(let n in e){const o=e[n];if(n=Pa(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(ga(o)?o.map(e=>e&&$a(e)):[o&&$a(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Ml(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ga(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Ol=Symbol(""),Al=Symbol(""),$l=Symbol(""),Pl=Symbol(""),Ll=Symbol("");function Rl(){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 Il(e,t,n,o,i,r=e=>e()){const s=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=e=>{var r;!1===e?l(ll(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(ll(2,{from:t,to:e})):(s&&o.enterCallbacks[i]===s&&"function"==typeof e&&s.push(e),a())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Dl(e,t,n,o,i=e=>e()){const r=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(da(a)){const l=(a.__vccOpts||a)[t];l&&r.push(Il(l,n,o,s,e,i))}else{let l=a();r.push(()=>l.then(r=>{if(!r)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&da(l.default)?r.default:r;var l;s.mods[e]=r,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Il(c,n,o,s,e,i)()}))}}return r}function Bl(e){const t=nr($l),n=nr(Pl),o=us(()=>{const n=zn(e.to);return t.resolve(n)}),i=us(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const s=r.findIndex(Na.bind(null,i));if(s>-1)return s;const a=jl(e[t-2]);return t>1&&jl(i)===a&&r[r.length-1].path!==a?r.findIndex(Na.bind(null,e[t-2])):s}),r=us(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!ga(i)||i.length!==o.length||o.some((e,t)=>e!==i[t]))return!1}return!0}(n.params,o.value.params)),s=us(()=>i.value>-1&&i.value===n.matched.length-1&&ja(n.params,o.value.params));return{route:o,href:us(()=>o.value.href),isActive:r,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[zn(e.replace)?"replace":"push"](zn(e.to)).catch(ha):Promise.resolve()}}}const Nl=ni({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:Bl,setup(e,{slots:t}){const n=Sn(Bl(e)),{options:o}=nr($l),i=us(()=>({[Vl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Vl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ds("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function jl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vl=(e,t,n)=>null!=e?e:null!=t?t:n,Fl=ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=nr(Ll),i=us(()=>e.route||o.value),r=nr(Al,0),s=us(()=>{let e=zn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),a=us(()=>i.value.matched[s.value]);tr(Al,us(()=>s.value+1)),tr(Ol,a),tr(Ll,i);const l=Fn();return No(()=>[l.value,a.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&Na(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,s=a.value,c=s&&s.components[r];if(!c)return ql(n.default,{Component:c,route:o});const u=s.props[r],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=ds(c,pa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[r]=null)},ref:l}));return ql(n.default,{Component:p,route:o})||p}}});function ql(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Hl=Fl;function Wl(e){const t=_l(e.routes,e),n=e.parseQuery||kl,o=e.stringifyQuery||El,i=e.history,r=Rl(),s=Rl(),a=Rl(),l=qn(qa);let c=qa;ua&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=fa.bind(null,e=>""+e),d=fa.bind(null,La),p=fa.bind(null,Ra);function f(e,r){if(r=pa({},r||l.value),"string"==typeof e){const o=Da(n,e,r.path),s=t.resolve({path:o.path},r),a=i.createHref(o.fullPath);return pa(o,s,{params:p(s.params),hash:Ra(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=pa({},e,{path:Da(n,e.path,r.path).path});else{const t=pa({},e.params);for(const e in t)null==t[e]&&delete t[e];s=pa({},e,{params:d(t)}),r.params=d(r.params)}const a=t.resolve(s,r),c=e.hash||"";a.params=u(p(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,pa({},e,{hash:(h=c,Aa(h).replace(ka,"{").replace(Ma,"}").replace(Ta,"^")),path:a.path}));var h;const g=i.createHref(f);return pa({fullPath:f,hash:c,query:o===El?Ml(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Da(n,e,l.value.path):pa({},e)}function g(e,t){if(c!==e)return ll(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={}),pa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),i=l.value,r=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(pa(h(u),{state:"object"==typeof u?pa({},r,u.state):r,force:s,replace:a}),t||n);const d=n;let p;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&Na(t.matched[o],n.matched[i])&&ja(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(p=ll(16,{to:d,from:i}),$(i,i,!0,!1)),(p?Promise.resolve(p):w(d,i)).catch(e=>cl(e)?cl(e,2)?e:A(e):O(e,d,i)).then(e=>{if(e){if(cl(e,2))return y(pa({replace:a},h(e.to),{state:"object"==typeof e.to?pa({},r,e.to.state):r,force:s}),t||d)}else e=C(d,i,!0,a,r);return x(d,i,e),e})}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,a]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s<r;s++){const r=t.matched[s];r&&(e.matched.find(e=>Na(e,r))?o.push(r):n.push(r));const a=e.matched[s];a&&(t.matched.find(e=>Na(e,a))||i.push(a))}return[n,o,i]}(e,t);n=Dl(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(Il(o,e,t))});const l=_.bind(null,e,t);return n.push(l),D(n).then(()=>{n=[];for(const o of r.list())n.push(Il(o,e,t));return n.push(l),D(n)}).then(()=>{n=Dl(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(Il(o,e,t))});return n.push(l),D(n)}).then(()=>{n=[];for(const o of a)if(o.beforeEnter)if(ga(o.beforeEnter))for(const i of o.beforeEnter)n.push(Il(i,e,t));else n.push(Il(o.beforeEnter,e,t));return n.push(l),D(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Dl(a,"beforeRouteEnter",e,t,b),n.push(l),D(n))).then(()=>{n=[];for(const o of s.list())n.push(Il(o,e,t));return n.push(l),D(n)}).catch(e=>cl(e,8)?e:Promise.reject(e))}function x(e,t,n){a.list().forEach(o=>b(()=>o(e,t,n)))}function C(e,t,n,o,r){const s=g(e,t);if(s)return s;const a=t===qa,c=ua?history.state:{};n&&(o||a?i.replace(e.fullPath,pa({scroll:a&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,$(e,t,n,a),A()}let T;function S(){T||(T=i.listen((e,t,n)=>{if(!I.listening)return;const o=f(e),r=v(o);if(r)return void y(pa(r,{replace:!0}),o).catch(ha);c=o;const s=l.value;var a,u;ua&&(a=Qa(s.fullPath,n.delta),u=Ga(),Za.set(a,u)),w(o,s).catch(e=>cl(e,12)?e:cl(e,2)?(y(e.to,o).then(e=>{cl(e,20)&&!n.delta&&n.type===Ha.pop&&i.go(-1,!1)}).catch(ha),Promise.reject()):(n.delta&&i.go(-n.delta,!1),O(e,o,s))).then(e=>{(e=e||C(o,s,!1))&&(n.delta&&!cl(e,8)?i.go(-n.delta,!1):n.type===Ha.pop&&cl(e,20)&&i.go(-1,!1)),x(o,s,e)}).catch(ha)}))}let k,E=Rl(),M=Rl();function O(e,t,n){A(e);const o=M.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function A(e){return k||(k=!e,S(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function $(t,n,o,i){const{scrollBehavior:r}=e;if(!ua||!r)return Promise.resolve();const s=!o&&function(e){const t=Za.get(e);return Za.delete(e),t}(Qa(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return ao().then(()=>r(t,n,s)).then(e=>e&&Ja(e)).catch(e=>O(e,t,n))}const P=e=>i.go(e);let L;const R=new Set,I={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return il(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:f,options:e,push:m,replace:function(e){return m(pa(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:M.add,isReady:function(){return k&&l.value!==qa?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Nl),e.component("RouterView",Hl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>zn(l)}),ua&&!L&&l.value===qa&&(L=!0,m(i.location).catch(e=>{}));const t={};for(const o in qa)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide($l,this),e.provide(Pl,kn(t)),e.provide(Ll,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=qa,T&&T(),T=null,l.value=qa,L=!1,k=!1),n()}}};function D(e){return e.reduce((e,t)=>e.then(()=>b(t)),Promise.resolve())}return I}function zl(e){return nr(Pl)}const Yl=["{","}"];const Xl=/^(?:\d)+/,Ul=/^(?:\w)+/;const Kl="zh-Hans",Gl="zh-Hant",Jl="en",Ql="fr",Zl="es",ec=Object.prototype.hasOwnProperty,tc=(e,t)=>ec.call(e,t),nc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Yl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i<e.length;){let s=e[i++];if(s===t){r&&o.push({type:"text",value:r}),r="";let t="";for(s=e[i++];void 0!==s&&s!==n;)t+=s,s=e[i++];const a=s===n,l=Xl.test(t)?"list":a&&Ul.test(t)?"named":"unknown";o.push({value:t,type:l})}else r+=s}return r&&o.push({type:"text",value:r}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const i=Array.isArray(t)?"list":(r=t,null!==r&&"object"==typeof r?"named":"unknown");var r;if("unknown"===i)return n;for(;o<e.length;){const r=e[o];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===i&&n.push(t[r.value])}o++}return n}(o,t)}};function oc(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Kl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Kl:e.indexOf("-hant")>-1?Gl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Gl:Kl);var n;let o=[Jl,Ql,Zl];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class ic{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Jl,this.fallbackLocale=Jl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||nc,this.messages=n||{},this.setLocale(e||Jl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=oc(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=>{tc(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=oc(t,this.messages))&&(o=this.messages[t]):n=t,tc(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 rc(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&&tp?tp():"undefined"!=typeof global&&global.getLocale?global.getLocale():Jl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Jl);const i=new ic({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=Rg().$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,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}var sc=Object.defineProperty,ac=(e,t,n)=>(((e,t,n)=>{t in e?sc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const lc=Ye(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let cc;function uc(){if(!cc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,cc=rc(e),lc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>cc.add(e,__uniConfig.locales[e])),cc.setLocale(e)}}return cc}function dc(e,t,n){return t.reduce((t,o,i)=>(t[e+o]=n[i],t),{})}const pc=Ye(()=>{const e="uni.async.",t=["error"];uc().add(Jl,dc(e,t,["The connection timed out, click the screen to try again."]),!1),uc().add(Zl,dc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),uc().add(Ql,dc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),uc().add(Kl,dc(e,t,["连接服务器超时,点击屏幕重试"]),!1),uc().add(Gl,dc(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),fc=Ye(()=>{const e="uni.showToast.",t=["unpaired"];uc().add(Jl,dc(e,t,["Please note showToast must be paired with hideToast"]),!1),uc().add(Zl,dc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),uc().add(Ql,dc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),uc().add(Kl,dc(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),uc().add(Gl,dc(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),hc=Ye(()=>{const e="uni.showLoading.",t=["unpaired"];uc().add(Jl,dc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),uc().add(Zl,dc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),uc().add(Ql,dc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),uc().add(Kl,dc(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),uc().add(Gl,dc(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),gc=Ye(()=>{const e="uni.showModal.",t=["cancel","confirm"];uc().add(Jl,dc(e,t,["Cancel","OK"]),!1),uc().add(Zl,dc(e,t,["Cancelar","OK"]),!1),uc().add(Ql,dc(e,t,["Annuler","OK"]),!1),uc().add(Kl,dc(e,t,["取消","确定"]),!1),uc().add(Gl,dc(e,t,["取消","確定"]),!1)}),mc=Ye(()=>{const e="uni.chooseFile.",t=["notUserActivation"];uc().add(Jl,dc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),uc().add(Zl,dc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),uc().add(Ql,dc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),uc().add(Kl,dc(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),uc().add(Gl,dc(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),vc=Ye(()=>{const e="uni.setClipboardData.",t=["success","fail"];uc().add(Jl,dc(e,t,["Content copied","Copy failed, please copy manually"]),!1),uc().add(Zl,dc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),uc().add(Ql,dc(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),uc().add(Kl,dc(e,t,["内容已复制","复制失败,请手动复制"]),!1),uc().add(Gl,dc(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),yc=Ye(()=>{const e="uni.picker.",t=["done","cancel"];uc().add(Jl,dc(e,t,["Done","Cancel"]),!1),uc().add(Zl,dc(e,t,["OK","Cancelar"]),!1),uc().add(Ql,dc(e,t,["OK","Annuler"]),!1),uc().add(Kl,dc(e,t,["完成","取消"]),!1),uc().add(Gl,dc(e,t,["完成","取消"]),!1)});function _c(e){const t=new pt;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,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const bc="invokeViewApi",wc="invokeServiceApi";let xc=1;const Cc=Object.create(null);function Tc(e,t){return e+"."+t}function Sc(e,t,n){t=Tc(e,t),Cc[t]||(Cc[t]=n)}function kc({id:e,name:t,args:n},o){t=Tc(o,t);const i=t=>{e&&Hv.publishHandler(bc+"."+e,t)},r=Cc[t];r?r(n,i):i({})}const Ec=c(_c("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=Hv,r=n?xc++:0;n&&o(wc+"."+r,n,!0),i(wc,{id:r,name:e,args:t})}}),Mc=Ze(!0);let Oc;function Ac(){Oc&&(clearTimeout(Oc),Oc=null)}let $c=0,Pc=0;function Lc(e){if(Ac(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];$c=t,Pc=n,Oc=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 Rc(e){if(!Oc)return;if(1!==e.touches.length)return Ac();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-$c)>10||Math.abs(n-Pc)>10?Ac():void 0}function Ic(e,t){const n=Number(e);return isNaN(n)?t:n}function Dc(){const e=__uniConfig.globalStyle||{},t=Ic(e.rpxCalcMaxDeviceWidth,960),n=Ic(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor);var t=e&&window.matchMedia("(orientation:landscape)").matches?Math.max(screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t:Math.min(window.innerWidth,document.documentElement.clientWidth)}();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),/^Apple/.test(navigator.vendor)&&window.addEventListener("orientationchange",()=>{o(),setTimeout(o,50)})}function Bc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nc,jc,Vc=["top","left","right","bottom"],Fc={};function qc(){return jc="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 Hc(){if(jc="string"==typeof jc?jc:qc()){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");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Vc.forEach(function(e){s(o,e)}),document.body.appendChild(o),r(),Nc=!0}else Vc.forEach(function(e){Fc[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(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:jc+"(safe-area-inset-"+n+")"};i(o,c),i(s,c),i(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),r(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,i=s.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,i=s.scrollTop,function(e){zc.length||setTimeout(function(){var e={};zc.forEach(function(t){e[t]=Fc[t]}),zc.length=0,Yc.forEach(function(t){t(e)})},0);zc.push(e)}(n))}o.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(Fc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Wc(e){return Nc||Hc(),Fc[e]}var zc=[];var Yc=[];const Xc=Bc({get support(){return 0!=("string"==typeof jc?jc:qc()).length},get top(){return Wc("top")},get left(){return Wc("left")},get right(){return Wc("right")},get bottom(){return Wc("bottom")},onChange:function(e){qc()&&(Nc||Hc(),"function"==typeof e&&Yc.push(e))},offChange:function(e){var t=Yc.indexOf(e);t>=0&&Yc.splice(t,1)}}),Uc=sa(()=>{},["prevent"]),Kc=sa(e=>{},["stop"]);function Gc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Jc(){const e=Gc(document.documentElement.style,"--window-top");return e?e+Xc.top:0}function Qc(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Zc(e){return Symbol(e)}function eu(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function tu(e,t=!1){if(t)return function(e){if(!eu(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>ep(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return eu(e)?ep(t):t}return e}function nu(e){return e.$page}function ou(e){return 0===e.tagName.indexOf("UNI-")}const iu="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",ru="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",su="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function au(e,t="#000",n=27){return Fr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Fr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function lu(){{const{$pageInstance:e}=Zr();return e&&gu(e.proxy)}}function cu(){const e=rf(),t=e.length;if(t)return e[t-1]}function uu(){var e;const t=null==(e=cu())?void 0:e.$page;if(t)return t.meta}function du(){const e=uu();return e?e.id:-1}function pu(){const e=cu();if(e)return e.$vm}const fu=["navigationBar","pullToRefresh"];function hu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);fu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function gu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function mu(e,t,n){if(v(e))n=t,t=e,e=pu();else if("number"==typeof e){const t=rf().find(t=>nu(t).id===e);e=t?t.$vm:pu()}if(!e)return;const o=e.$[t];return t===_e?o&&(i=o,r=n,i.map(e=>e(r))).some(e=>!0===e):o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n);var i,r}function vu(e){e.preventDefault()}let yu,_u=0;function bu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,i=!1,r=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-_u)>n;return!r||i&&!s?(!r&&i&&(i=!1),!1):(_u=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(yu=setTimeout(s,300))),o=!1};return function(){clearTimeout(yu),o||requestAnimationFrame(s),o=!0}}function wu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return wu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i<o&&".."===n[i];i++);n.splice(0,i),t=n.join("/");const r=e.length>0?e.split("/"):[];return r.splice(r.length-i-1,i+1),We(r.concat(n).join("/"))}function xu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Cu(){Dc(),Ge(ou),window.addEventListener("touchstart",Lc,Mc),window.addEventListener("touchmove",Rc,Mc),window.addEventListener("touchend",Ac,Mc),window.addEventListener("touchcancel",Ac,Mc)}class Tu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Ve(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&&Ve(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=Mu(this.$el.querySelector(e));return t?Su(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=Mu(n[o]);e&&t.push(Su(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],i=n.startsWith("--")?n:A(n);(v(o)||"number"==typeof o)&&(t+=`${i}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(v(e)&&(e=H(e)),C(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&&Hv.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 Su(e,t=!0){if(t&&e&&(e=je(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Tu(e)),e.$el.__wxsComponentDescriptor}function ku(e,t){return Su(e,t)}function Eu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ku(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=je(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,ku(i,!1)]}}function Mu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Ou(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let s,a;s=et(t?i:function(e){for(;!ou(e);)e=e.parentElement;return e}(i)),a=et(r);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return"undefined"!=typeof CustomEvent&&e instanceof CustomEvent&&C(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 Au(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function $u(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:i,pageX:r,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:i,pageX:r,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const Pu=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const i=!ou(o);if(i)return Eu(e,t,n,!1)||[e];const r=Ou(e,i);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,i=Jc();e.detail={x:n,y:o-i},e.touches=e.changedTouches=[Au(t,i)]}(r,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Jc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Au(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Jc();r.touches=$u(e.touches,t),r.changedTouches=$u(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Eu(r,t,n)||[r]},createNativeEvent:Ou},Symbol.toStringTag,{value:"Module"});function Lu(e){!function(e){const t=e.globalProperties;c(t,Pu),t.$gcd=ku}(e._context.config)}let Ru=1;function Iu(e){return(e||du())+"."+bc}const Du=c(_c("view"),{invokeOnCallback:(e,t)=>Wv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=Wv,s=o?Ru++:0;o&&i(bc+"."+s,o,!0),r(Iu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:s}=Wv,a=Ru++,l=bc+"."+a;return i(l,n),s(Iu(o),{id:a,name:e,args:t},o),()=>{r(l)}}});function Bu(e){mu(cu(),ye,e),Wv.invokeOnCallback("onWindowResize",e)}function Nu(e){const t=cu();mu(Rg(),ie,e),mu(t,ie)}function ju(){mu(Rg(),re),mu(cu(),re)}const Vu=[be,xe];function Fu(){Vu.forEach(e=>Wv.subscribe(e,function(e){return(t,n)=>{mu(parseInt(n),e,t)}}(e)))}function qu(){!function(){const{on:e}=Wv;e(ye,Bu),e(Re,Nu),e(Ie,ju)}(),Fu()}function Hu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new st(this.$page.id)),e.eventChannel}}function Wu(e){e._context.config.globalProperties.getOpenerEventChannel=Hu}function zu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Yu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${ep(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Xu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){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"],i=["width","height","left","right","top","bottom"],r=e.animates,s=e.option,a=s.transition,l={},c=[];return r.forEach(e=>{let r=e.type,s=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(s=s.map(Yu)),n.indexOf(r)>=0&&(s.length=1),c.push(`${r}(${s.join(",")})`);else if(o.concat(i).includes(s[0])){r=s[0];const e=s[1];l[r]=i.includes(r)?Yu(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n<i&&setTimeout(r,s.duration+s.delay)}setTimeout(()=>{r()},0)}const Uu={props:["animation"],watch:{animation:{deep:!0,handler(){Xu(this)}}},mounted(){Xu(this)}},Ku=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Uu),Gu(e)},Gu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ni(e));function Ju(e){return e.__wwe=!0,e}function Qu(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){const i=et(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const Zu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ed(e){const t=Fn(!1);let n,o,i=!1;function r(){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),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function a(){i=!1,t.value&&r()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Ju(function(e){e.touches.length>1||s(e)}),onMousedown:Ju(function(e){i||(s(e),window.addEventListener("mouseup",l))}),onTouchend:Ju(function(){a()}),onMouseup:Ju(function(){i&&l()}),onTouchcancel:Ju(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function td(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const nd=Zc("uf"),od={for:{type:String,default:""}},id=Zc("ul");const rd=Ku({name:"Label",props:od,setup(e,{slots:t}){const n=Fn(null),o=lu(),i=function(){const e=[];return tr(id,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),r=us(()=>e.for||t.default&&t.default.length),s=Ju(t=>{const n=t.target;let r=/^uni-(checkbox|radio|switch)-/.test(n.className);r||(r=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),r||(e.for?Hv.emit("uni-label-click-"+o+"-"+e.for,t,!0):i.length&&i[0](t,!0))});return()=>Fr("uni-label",{ref:n,class:{"uni-label-pointer":r},onClick:s},[t.default&&t.default()],10,["onClick"])}});function sd(e,t){ad(e.id,t),No(()=>e.id,(e,n)=>{ld(n,t,!0),ad(e,t,!0)}),ki(()=>{ld(e.id,t)})}function ad(e,t,n){const o=lu();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Hv.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Hv.on(i,t[i]):e&&Hv.on(`uni-${i}-${o}-${e}`,t[i])})}function ld(e,t,n){const o=lu();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Hv.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Hv.off(i,t[i]):e&&Hv.off(`uni-${i}-${o}-${e}`,t[i])})}const cd=Ku({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=Fn(null),o=nr(nd,!1),{hovering:i,binding:r}=ed(e),s=Ju((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),a=nr(id,!1);return a&&(a.addHandler(s),Si(()=>{a.removeHandler(s)})),sd(e,{"label-click":s}),()=>{const o=e.hoverClass,a=td(e,"disabled"),l=td(e,"loading"),c=td(e,"plain"),u=o&&"none"!==o;return Fr("uni-button",Ur({ref:n,onClick:s,id:e.id,class:u&&i.value?o:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),ud=Zc("upm");function dd(){return nr(ud)}function pd(e){const t=function(e){return Sn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=tu(e.offset)),e.height&&(e.height=tu(e.height)),e.range&&(e.range=tu(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:i}=n;"custom"!==i&&"transparent"!==o&&(t.offset+=44+Xc.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:i}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=i||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==rf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(hu(zl().meta,e)))))}(e);return tr(ud,t),t}function fd(){return zl()}function hd(){return history.state&&history.state.__id__||1}const gd=["original","compressed"],md=["album","camera"],vd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function yd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function _d(e,t){return!f(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function bd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let wd=1;const xd={};function Cd(e,t,n){if("number"==typeof e){const o=xd[e];if(o)return o.keepAlive||delete xd[e],o.callback(t,n)}return t}const Td="success",Sd="fail",kd="complete";function Ed(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:i,fail:r,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=bd(o),delete e[n])}return t}(t),a=m(i),l=m(r),c=m(s),u=wd++;return function(e,t,n,o=!1){xd[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&&i(u)):l&&r(u),c&&s(u)}),u}const Md="success",Od="fail",Ad="complete",$d={},Pd={};function Ld(e,t){return function(n){return e(n,t)||n}}function Rd(e,t,n){let o=!1;for(let i=0;i<e.length;i++){const r=e[i];if(o)o=Promise.resolve(Ld(r,n));else{const e=r(t,n);if(b(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Id(e,t={}){return[Md,Od,Ad].forEach(n=>{const o=e[n];if(!f(o))return;const i=t[n];t[n]=function(e){Rd(o,e,t).then(e=>m(i)&&i(e)||e)}}),t}function Dd(e,t){const n=[];f($d.returnValue)&&n.push(...$d.returnValue);const o=Pd[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Bd(e){const t=Object.create(null);Object.keys($d).forEach(e=>{"returnValue"!==e&&(t[e]=$d[e].slice())});const n=Pd[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Nd(e,t,n,o){const i=Bd(e);if(i&&Object.keys(i).length){if(f(i.invoke)){return Rd(i.invoke,n).then(n=>t(Id(Bd(e),n),...o))}return t(Id(i,n),...o)}return t(n,...o)}function jd(e,t){return(n={},...o)=>function(e){return!(!C(e)||![Td,Sd,kd].find(t=>m(e[t])))}(n)?Dd(e,Nd(e,t,c({},n),o)):Dd(e,new Promise((i,r)=>{Nd(e,t,c({},n,{success:i,fail:r}),o)}))}function Vd(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,Cd(e,c({errMsg:r},o))}function Fd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r<i.length;r++){const t=i[r],s=o[t];if(m(s)){const o=s(e[0][t],n);if(v(o))return o}else p(n,t)||(n[t]=s)}}(t,o);if(i)return i}function qd(e,t,n,o){return n=>{const i=Ed(e,n,o),r=Fd(0,[n],0,o);return r?Vd(i,e,r):t(n,{resolve:t=>function(e,t,n){return Cd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Vd(i,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 Hd(e,t,n,o){return jd(e,qd(e,t,0,o))}function Wd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Fd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function zd(e,t,n,o){return jd(e,function(e,t,n,o){return qd(e,t,0,o)}(e,t,0,o))}let Yd=!1,Xd=0,Ud=0,Kd=960,Gd=375,Jd=750;function Qd(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=Df();return{platform:Sf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=i,n=r}Xd=e,Ud=t,Yd="ios"===n}function Zd(e,t){const n=Number(e);return isNaN(n)?t:n}const ep=Wd(0,(e,t)=>{if(0===Xd&&(Qd(),function(){const e=__uniConfig.globalStyle||{};Kd=Zd(e.rpxCalcMaxDeviceWidth,960),Gd=Zd(e.rpxCalcBaseDeviceWidth,375),Jd=Zd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Xd;n=e===Jd||n<=Kd?n:Gd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Ud&&Yd?.5:1),e<0?-o:o}),tp=Wd(0,()=>{const e=Rg();return e&&e.$vm?e.$vm.$locale:uc().getLocale()}),np={[ue]:[],[ce]:[],[ae]:[],[ie]:[],[re]:[]};const op={formatArgs:{showToast:!0},beforeInvoke(){vc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=uc(),o=n("uni.setClipboardData.success");o&&wv({title:o,icon:"success",mask:!1})}},ip=["wgs84","gcj02"],rp={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===ip.indexOf(e)?t.type=ip[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},sp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=_d(e,gd)},sourceType(e,t){t.sourceType=_d(e,md)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},ap={formatArgs:{src(e,t){t.src=xf(e)}}},lp={formatArgs:{urls(e,t){t.urls=e.map(e=>v(e)&&e?xf(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:v(e)&&e&&(t.current=xf(e))}}},cp="json",up=["text","arraybuffer"],dp=encodeURIComponent;const pp={formatArgs:{method(e,t){t.method=yd((e||"").toUpperCase(),vd)},data(e,t){t.data=e||""},url(e,t){t.method===vd[0]&&C(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 i=n[1]||"";e=n[0];const r=i.split("&").filter(e=>e),s={};r.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(p(t,a)){let e=t[a];null==e?e="":C(e)&&(e=JSON.stringify(e)),s[dp(a)]=dp(e)}return i=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==vd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||cp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===up.indexOf(t.responseType)&&(t.responseType="text")}}},fp={formatArgs:{header(e,t){t.header=e||{}}}};const hp={url:{type:String,required:!0}},gp="navigateTo",mp="redirectTo",vp="reLaunch",yp="switchTab",_p="preloadPage",bp=(Sp(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Sp(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Mp(gp)),wp=Mp(mp),xp=Mp(vp),Cp=Mp(yp),Tp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(rf().length-1,e)}}};function Sp(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 kp;function Ep(){kp=""}function Mp(e){return{formatArgs:{url:Op(e)},beforeAll:Ep}}function Op(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=rf();return n.length&&(t=nu(n[n.length-1]).route),wu(t,e)}(t)).split("?")[0],i=xu(o,!0);if(!i)return"page `"+t+"` is not found";if(e===gp||e===mp){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===yp&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==yp&&e!==_p||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==_p){if(kp===t&&"appLaunch"!==n.openType)return`${kp} locked`;__uniConfig.ready&&(kp=t)}else if(i.meta.isTabBar){const e=rf(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Ap={beforeInvoke(){gc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=uc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=uc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},$p=["success","loading","none","error"],Pp={formatArgs:{title:"",icon(e,t){t.icon=yd(e,$p)},image(e,t){t.image=e?xf(e):""},duration:1500,mask:!1}},Lp="stopPullDownRefresh";function Rp(){const e=pu();if(!e)return;const t=of(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:af(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,mu(e,re))}function Ip(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Dp(e){const t=of().values();for(const n of t){const t=Jp(n);if(Ip(e,t))return n.$.__isActive=!0,t.id}}const Bp=zd(yp,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Qp.handledBeforeEntryPageRoutes)return Rp(),qp({type:yp,url:e,tabBarText:t,isAutomatedTesting:n},Dp(e)).then(o).catch(i);ef.push({args:{type:yp,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Cp);function Np(){const e=cu();if(!e)return;const t=Jp(e);af(df(t.path,t.id))}const jp=zd(mp,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Qp.handledBeforeEntryPageRoutes)return Np(),qp({type:mp,url:e,isAutomatedTesting:t}).then(n).catch(o);tf.push({args:{type:mp,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,wp);function Vp(){const e=of().keys();for(const t of e)af(t)}const Fp=zd(vp,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Qp.handledBeforeEntryPageRoutes)return Vp(),qp({type:vp,url:e,isAutomatedTesting:t}).then(n).catch(o);nf.push({args:{type:vp,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,xp);function qp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const s=Rg().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:it(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++lf,__type__:e}}(e,r);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(r=>{if(cl(r))return c(r.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 st(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}function Hp(){if(Qp.handledBeforeEntryPageRoutes)return;Qp.handledBeforeEntryPageRoutes=!0;const e=[...Zp];Zp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>qp(e).then(t).catch(n));const t=[...ef];ef.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Rp(),qp(e,Dp(e.url)).then(t).catch(n)));const n=[...tf];tf.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Np(),qp(e).then(t).catch(n)));const o=[...nf];nf.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(Vp(),qp(e).then(t).catch(n)))}function Wp(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const zp=Wp("top:env(a)"),Yp=Wp("top:constant(a)"),Xp=(()=>zp?"env":Yp?"constant":"")();function Up(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),Qc({"--window-top":(o=t,Xp?`calc(${o}px + ${Xp}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,Xp?`calc(${n}px + ${Xp}(safe-area-inset-bottom))`:`${n}px`)})}const Kp="$$",Gp=new Map;function Jp(e){return e.$page}const Qp={handledBeforeEntryPageRoutes:!1},Zp=[],ef=[],tf=[],nf=[];function of(){return Gp}function rf(){return sf()}function sf(){const e=[],t=Gp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function af(e,t=!0){const n=Gp.get(e);n.$.__isUnload=!0,mu(n,pe),Gp.delete(e),t&&function(e){const t=pf.get(e);t&&(pf.delete(e),ff.pruneCacheEntry(t))}(e)}let lf=hd();function cf(e){const t=dd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,i,r){const{id:s,route:a}=o,l=gt(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:We(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function uf(e){const t=cf(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),Gp.set(df(t.path,t.id),e),1===Gp.size&&setTimeout(()=>{Hp()},0)}function df(e,t){return e+Kp+t}const pf=new Map,ff={get:e=>pf.get(e),set(e,t){!function(e){const t=parseInt(e.split(Kp)[1]);if(!t)return;ff.forEach((e,n)=>{const o=parseInt(n.split(Kp)[1]);o&&o>t&&(ff.delete(n),ff.pruneCacheEntry(e),ao(()=>{Gp.forEach((e,t)=>{e.$.isUnmounted&&Gp.delete(t)})}))})}(e),pf.set(e,t)},delete(e){pf.get(e)&&pf.delete(e)},forEach(e){pf.forEach(e)}};function hf(e,t){!function(e){const t=mf(e),{body:n}=document;vf&&n.removeAttribute(vf),t&&n.setAttribute(t,""),vf=t}(e),Up(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),bf(e,t)}function gf(e){const t=mf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function mf(e){return e.type.__scopeId}let vf;const yf=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let _f;function bf(e,t){if(document.removeEventListener("touchmove",vu),_f&&document.removeEventListener("scroll",_f),t.disableScroll)return document.addEventListener("touchmove",vu,yf);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},s=Jp(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Hv.publishHandler(be,{scrollTop:o},e),n&&Hv.emit(e+"."+be,{scrollTop:o})}}(s,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Hv.publishHandler(xe,{},s)),_f=bu(r),requestAnimationFrame(()=>document.addEventListener("scroll",_f))}function wf(e){const{base:t}=__uniConfig.router;return 0===We(e).indexOf(t)?We(e):t+e}function xf(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 wf(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=sf();return o.length?wf(wu(Jp(o[o.length-1]).route,e).slice(1)):e}const Cf=navigator.userAgent,Tf=/android/i.test(Cf),Sf=/iphone|ipad|ipod/i.test(Cf),kf=Cf.match(/Windows NT ([\d|\d.\d]*)/i),Ef=/Macintosh|Mac/i.test(Cf),Mf=/Linux|X11/i.test(Cf),Of=Ef&&navigator.maxTouchPoints>0,Af=/OpenHarmony/i.test(Cf),$f=Af&&/PC/i.test(Cf),Pf=Af&&/Tablet/i.test(Cf);function Lf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Rf(e){return e&&90===Math.abs(window.orientation)}function If(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Df(){const e=Lf();if(e){const t=If(e,Rf(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const Bf={};function Nf(e){for(const n in Bf)if(p(Bf,n)){if(Bf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Bf[t]=e,t}const jf=zu(),Vf=zu();const Ff=Ku({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Fn(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),i=function(e,t,n){const o=Sn({width:-1,height:-1});return No(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;if(!t)return;const i=t.getBoundingClientRect();o.width=i.width,o.height=i.height,n()}}(n,t,o);return function(e,t,n,o){di(o),xi(()=>{t.initial&&ao(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>Fr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[Fr("div",{onScroll:i},[Fr("div",null,null)],40,["onScroll"]),Fr("div",{onScroll:i},[Fr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const qf=Zc("ucg"),Hf=Ku({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""},foreColor:{type:String,default:""}},setup(e,{slots:t}){const n=Fn(null),o=Fn(e.checked),i=us(()=>"true"===o.value||!0===o.value),r=Fn(e.value);const s=us(()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(i.value));No([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,r.value=t});const{uniCheckGroup:a,uniLabel:l}=function(e,t,n){const o=us(()=>({checkboxChecked:Boolean(e.value),value:t.value})),i={reset:n},r=nr(qf,!1);r&&r.addField(o);const s=nr(nd,!1);s&&s.addField(i);const a=nr(id,!1);return Si(()=>{r&&r.removeField(o),s&&s.removeField(i)}),{uniCheckGroup:r,uniForm:s,uniLabel:a}}(o,r,()=>{o.value=!1}),c=t=>{e.disabled||(o.value=!o.value,a&&a.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Si(()=>{l.removeHandler(c)})),sd(e,{"label-click":c}),()=>{const i=td(e,"disabled");let r;return r=o.value,Fr("uni-checkbox",Ur(i,{id:e.id,onClick:c,ref:n}),[Fr("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[Fr("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:s.value},[r?au(iu,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Wf(){}const zf={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 Yf(e,t,n){function o(e){const t=us(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Wf,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Wf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}No(()=>t.value,e=>e&&o(e))}const Xf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Uf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Kf={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"]},Gf=Ku({name:"Image",props:Xf,setup(e,{emit:t}){const n=Fn(null),o=function(e,t){const n=Fn(""),o=us(()=>{let e="auto",o="";const i=Kf[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=Sn({rootEl:e,src:us(()=>t.src?xf(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return xi(()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0}),i}(n,e),i=Qu(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=Uf[o];if(!i)return;const{origWidth:r,origHeight:s}=n,a=r&&s?r/s:0;if(!a)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Jf&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,a))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return No(()=>t.mode,(e,t)=>{Uf[t]&&i(),Uf[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,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();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;a(u,d,l),ao(()=>{o()}),r.draggable=t.draggable,s&&s.remove(),s=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{a(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};No(()=>e.src,e=>l(e)),No(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),xi(()=>l(e.src)),Si(()=>c())}(o,e,n,r,i),()=>Fr("uni-image",{ref:n},[Fr("div",{style:o.modeStyle},null,4),Uf[e.mode]?Fr(Ff,{onResize:r},null,8,["onResize"]):Fr("span",null,null)],512)}});const Jf="Google Inc."===navigator.vendor;const Qf=Ze(!0),Zf=[];let eh=0,th=!1;const nh=e=>Zf.forEach(t=>t.userAction=e);function oh(e={userAction:!1}){if(!th){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!eh&&nh(!0),eh++,setTimeout(()=>{! --eh&&nh(!1)},0)},Qf)}),th=!0}Zf.push(e)}function ih(){const e=Sn({userAction:!1});return xi(()=>{oh(e)}),Si(()=>{!function(e){const t=Zf.indexOf(e);t>=0&&Zf.splice(t,1)}(e)}),{state:e}}function rh(){const e=Sn({attrs:{}});return xi(()=>{let t=Zr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function sh(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function ah(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const lh=["none","text","decimal","numeric","tel","search","email","url"],ch=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=>!!~lh.indexOf(e)},cursorColor:{type:String,default:""}},zf),uh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function dh(e,t,n,o,i){let r=null,s=null;s=rt(n=>{const o=i.value,s=ah(n,e.type);o&&document.activeElement===o&&s===r||(t.value=s)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),No(()=>e.modelValue,s),No(()=>e.value,s);const a=function(e,t){let n,o,i=0;const r=function(...r){const s=Date.now();clearTimeout(n),o=()=>{o=null,i=s,e.apply(this,r)},s-i<t?n=setTimeout(o,t-(s-i)):o()};return r.cancel=function(){clearTimeout(n),o=null},r.flush=function(){clearTimeout(n),o&&o()},r}((e,t)=>{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return wi(()=>{s.cancel(),a.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),r=t.value,a(e,t),n&&a.flush()}}}function ph(e,t){ih();const n=us(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}No(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),xi(()=>{n.value&&ao(o)})}function fh(e,t,n,o){Sc(du(),"getSelectedTextRange",sh);const{fieldRef:i,state:r,trigger:s}=function(e,t,n){const o=Fn(null),i=Qu(t,n),r=us(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=us(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=us(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=us(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=ah(e.modelValue,e.type)||ah(e.value,e.type);const u=Sn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:s,cursor:a});return No(()=>u.focus,e=>n("update:focus",e)),No(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:a}=dh(e,r,n,s,i);ph(e,i),Yf(0,i);const{state:l}=rh();!function(e,t){const n=nr(nd,!1);if(!n)return;const o=Zr(),i={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(i),Si(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){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}No([()=>t.selectionStart,()=>t.selectionEnd],s),No(()=>t.cursor,a),No(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(i,r,e,s,a,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const hh=Ye(()=>{{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 gh(e,t,n,o,i){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(".")&&t.value===o.value)return t.value+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&hh()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function mh(e){return"insertFromPaste"===e.inputType}const vh=Ku({name:"Input",props:c({},ch,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...uh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=us(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=us(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(A(e.textContentType));return i[-1!==t?t:-1!==n?n:0]}),a=us(()=>{if(void 0!==e.inputmode)return e.inputmode;if(lh.includes(e.type))return e.type;let t={};return t={idcard:"text"},t[e.type]});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Fn(null!=t?t.toLocaleString():"");return No(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),No(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Fn("")}(e,r),c={fn:null};const u=Fn(null),{fieldRef:d,state:p,scopedAttrsState:f,fixDisabledColor:h,trigger:g}=fh(e,u,t,(e,t)=>{const n=e.target;if("number"===r.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=gh(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=gh(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!mh(e))return n.value=l.value=t.value,!1}});No(()=>p.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),No(()=>e.maxlength,e=>{e=parseInt(e,10);const t=p.value.slice(0,e);t!==p.value&&(p.value=t)});const m=["number","digit"],v=us(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),p.value=e.value}}),()=>{let t=e.disabled&&h?Fr("input",{key:"disabled-input",ref:d,value:p.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:p.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):Fr("input",{key:"input",ref:d,value:p.value,onInput:sa(e=>{const t=e.target.value.toString();"number"===r.value&&p.maxlength>0&&t.length>p.maxlength?mh(e)&&(p.value=t.slice(0,p.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(p.value=t)},["stop"]),disabled:!!e.disabled,type:r.value,maxlength:p.maxlength,step:v.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:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Fr("uni-input",{ref:u},[Fr("div",{class:"uni-input-wrapper"},[Ho(Fr("div",Ur(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ls,!(p.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Fr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const yh=["class","style"],_h=/^on[A-Z]+/,bh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Zr(),i=qn({}),r=qn({}),s=qn({}),a=n.concat(yh);return o.attrs=Sn(o.attrs),Do(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:_h.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,s.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:s}};function wh(e){const t=[];return f(e)&&e.forEach(e=>{Ir(e)?e.type===Cr?t.push(...wh(e.children)):t.push(e):f(e)&&t.push(...wh(e))}),t}const xh=Ku({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Fn(null),o=Fn(!1);let{setContexts:i,events:r}=function(e,t){const n=Fn(0),o=Fn(0),i=Sn({x:null,y:null}),r=Fn(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach(function(e){e._setScale(t)}):s&&s._setScale(t))}function c(e,n=a){let o=t.value;function i(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:i(e.parentNode)}return i(e)}const u=Ju(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=Ch(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}}),d=Ju(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&r.value&&r.value>0){l(Ch(n)/r.value)}i.x=n.x,i.y=n.y}}),p=Ju(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?a.forEach(function(e){e._endScale()}):s&&s._endScale())});function f(){h(),a.forEach(function(e,t){e.setParent()})}function h(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=i.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return tr("movableAreaWidth",n),tr("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=bh(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n}),xi(()=>{r._resize(),o.value=!0});let u=[];const d=[];function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find(e=>n===e.rootRef.value);o&&e.push(Rn(o))}i(e)}return tr("_isMounted",o),tr("movableAreaRootRef",n),tr("addMovableViewContext",e=>{d.push(e),p()}),tr("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}),()=>{const e=t.default&&t.default();return u=wh(e),Fr("uni-movable-area",Ur({ref:n},a.value,l.value,c),[Fr(Ff,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function Ch(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Th=function(e,t,n,o){e.addEventListener(t,e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let Sh,kh;function Eh(e,t,n){Si(()=>{document.removeEventListener("mousemove",Sh),document.removeEventListener("mouseup",kh)});let o=0,i=0,r=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-i,ddx:a-r,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Th(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=s=e.touches[0].pageY,a(e,"start",o,i)}),Th(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=s=e.pageY,a(e,"start",o,i)}),Th(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=Sh=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return r=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Th(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const p=kh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),Th(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Mh(e,t,n){return e>t-n&&e<t+n}function Oh(e,t){return Mh(e,0,t)}function Ah(){}function $h(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Ph(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Lh(e,t,n){this._springX=new Ph(e,t,n),this._springY=new Ph(e,t,n),this._springScale=new Ph(e,t,n),this._startTime=0}Ah.prototype.x=function(e){return Math.sqrt(e)},$h.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},$h.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},$h.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},$h.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},$h.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},$h.prototype.dt=function(){return-this._x_v/this._x_a},$h.prototype.done=function(){const e=Mh(this.s().x,this._endPositionX)||Mh(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},$h.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},$h.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Ph.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,s=t/(i*e);return{x:function(e){return(r+s*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+s*e)*t+s*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},Ph.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Ph.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Ph.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Oh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Oh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Oh(t,.1)&&(t=0),Oh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Oh(o-e,.1)&&Oh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Ph.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Ph.prototype.done=function(e){return e||(e=(new Date).getTime()),Mh(this.x(),this._endPosition,.1)&&Oh(this.dx(),.1)},Ph.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Ph.prototype.springConstant=function(){return this._k},Ph.prototype.damping=function(){return this._c},Ph.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Lh.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},Lh.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Lh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Lh.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Rh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Ih=Ku({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Fn(null),i=Qu(o,n),{setParent:r}=function(e,t,n){const o=nr("_isMounted",Fn(!1)),i=nr("addMovableViewContext",()=>{}),r=nr("removeMovableViewContext",()=>{});let s,a,l=Fn(1),c=Fn(1),u=Fn(!1),d=Fn(0),p=Fn(0),f=null,h=null,g=!1,m=null,v=null;const y=new Ah,_=new Ah,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=us(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),x=new $h(1,w.value);No(()=>e.disabled,()=>{z()});const{_updateOldScale:C,_endScale:T,_setScale:S,scaleValueSync:k,_updateBoundary:E,_updateOffset:M,_updateWH:O,_scaleOffset:A,minX:$,minY:P,maxX:L,maxY:R,FAandSFACancel:I,_getLimitXY:D,_setTransform:B,_revise:N,dampingNumber:j,xMove:V,yMove:F,xSync:q,ySync:H,_STD:W}=function(e,t,n,o,i,r,s,a,l,c){const u=us(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=us(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),p=Fn(Number(e.scaleValue)||1);No(p,e=>{B(e)}),No(u,()=>{D()}),No(d,()=>{D()}),No(()=>e.scaleValue,e=>{p.value=Number(e)||0});const{_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const o=nr("movableAreaWidth",Fn(0)),i=nr("movableAreaHeight",Fn(0)),r=nr("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=Fn(0),c=Fn(0),u=Fn(0),d=Fn(0),p=Fn(0),f=Fn(0);function h(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-s.y+a.y,r=i.value-c.value-s.y-a.y;d.value=Math.min(n,r),f.value=Math.max(n,r)}function g(){s.x=Nh(e.value,r.value),s.y=jh(e.value,r.value)}function m(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,s=l.value*o;a.x=(s-l.value)/2,a.y=(r-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:p,maxY:f}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:T,_revise:S,dampingNumber:k,xMove:E,yMove:M,xSync:O,ySync:A,_STD:$}=function(e,t,n,o,i,r,s,a,l,c,u,d,p,f){const h=us(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),g=us(()=>"all"===t.direction||"horizontal"===t.direction),m=us(()=>"all"===t.direction||"vertical"===t.direction),v=Fn(Fh(t.x)),y=Fn(Fh(t.y));No(()=>t.x,e=>{v.value=Fh(e)}),No(()=>t.y,e=>{y.value=Fh(e)}),No(v,e=>{S(e)}),No(y,e=>{k(e)});const _=new Lh(1,9*Math.pow(h.value,2)/40,h.value);function b(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):e<s.value&&(e=s.value,n=!0),t>r.value?(t=r.value,n=!0):t<a.value&&(t=a.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,i,r,s,a){w(),g.value||(e=l.value),m.value||(n=c.value),t.scale||(i=o.value);let d=b(e,n);e=d.x,n=d.y,t.animation?(_._springX._solution=null,_._springY._solution=null,_._springScale._solution=null,_._springX._endPosition=l.value,_._springY._endPosition=c.value,_._springScale._endPosition=o.value,_.setEnd(e,n,i,1),u=Vh(_,function(){let e=_.x();C(e.x,e.y,e.scale,r,s,a)},function(){u.cancel()})):C(e,n,i,r,s,a)}function C(i,r,s,a="",u,d){null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=c.value||0),i=Number(i.toFixed(1)),r=Number(r.toFixed(1)),s=Number(s.toFixed(1)),l.value===i&&c.value===r||u||f("change",{},{x:Rh(i,n.x),y:Rh(r,n.y),source:a}),t.scale||(s=o.value),s=+(s=p(s)).toFixed(3),d&&s!==o.value&&f("scale",{},{x:i,y:r,scale:s});let h="translateX("+i+"px) translateY("+r+"px) translateZ(0px) scale("+s+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=i,c.value=r,o.value=s)}function T(e){let t=b(l.value,c.value),n=t.x,i=t.y,r=t.outOfBounds;return r&&x(n,i,o.value,e),r}function S(e){if(g.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function k(e){if(m.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:C,_revise:T,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:_}}(t,e,m,o,_,b,v,y,s,a,l,c,I,n);function P(t,n){if(e.scale){t=I(t),g(t),f();const e=x(s.value,a.value),o=e.x,i=e.y;n?C(o,i,t,"",!0,!0):Bh(function(){T(o,i,t,"",!0,!0)})}}function L(){r.value=!0}function R(e){i.value=e}function I(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function D(){if(!e.scale)return!1;P(o.value,!0),R(o.value)}function B(t){return!!e.scale&&(P(t=I(t),!0),R(t),t)}function N(){r.value=!1,R(o.value)}function j(e){e&&(e=i.value*e,L(),P(e))}return{_updateOldScale:R,_endScale:N,_setScale:j,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:C,_setTransform:T,_revise:S,dampingNumber:k,xMove:E,yMove:M,xSync:O,ySync:A,_STD:$}}(e,n,t,l,c,u,d,p,f,h);function z(){u.value||e.disabled||(I(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],V.value&&(s=d.value),F.value&&(a=p.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function Y(t){if(!u.value&&!e.disabled&&g){let n=d.value,o=p.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),V.value&&(n=t.detail.dx+s,b.historyX.shift(),b.historyX.push(n),F.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+a,b.historyY.shift(),b.historyY.push(o),V.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let i="touch";n<$.value?e.outOfBounds?(i="touch-out-of-bounds",n=$.value-y.x($.value-n)):n=$.value:n>L.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),o<P.value?e.outOfBounds?(i="touch-out-of-bounds",o=P.value-_.x(P.value-o)):o=P.value:o>R.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=R.value+_.x(o-R.value)):o=R.value),Bh(function(){B(n,o,l.value,i)})}}}function X(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!N("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,o=p.value;x.setV(e,t),x.setS(n,o);const i=x.delta().x,r=x.delta().y;let s=i+n,a=r+o;s<$.value?(s=$.value,a=o+($.value-n)*r/i):s>L.value&&(s=L.value,a=o+(L.value-n)*r/i),a<P.value?(a=P.value,s=n+(P.value-o)*i/r):a>R.value&&(a=R.value,s=n+(R.value-o)*i/r),x.setEnd(s,a),h=Vh(x,function(){let e=x.s(),t=e.x,n=e.y;B(t,n,l.value,"friction")},function(){h.cancel()})}e.outOfBounds||e.inertia||I()}function U(){if(!o.value)return;I();let t=e.scale?k.value:1;M(),O(t),E();let n=D(q.value+A.x,H.value+A.y),i=n.x,r=n.y;B(i,r,t,"",!0),C(t)}return xi(()=>{Eh(n.value,e=>{switch(e.detail.state){case"start":z();break;case"move":Y(e);break;case"end":X()}}),U(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:U,_endScale:T,_setScale:S};i(e),ki(()=>{r(e)})}),ki(()=>{I()}),{setParent:U}}(e,i,o);return()=>Fr("uni-movable-view",{ref:o},[Fr(Ff,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let Dh=!1;function Bh(e){Dh||(Dh=!0,requestAnimationFrame(function(){e(),Dh=!1}))}function Nh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Nh(e.offsetParent,t):0}function jh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=jh(e.offsetParent,t):0}function Vh(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Fh(e){return/\d+[ur]px$/i.test(e)?ep(parseFloat(e)):Number(e)||0}const qh=Ku({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return f(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Fn(null),i=Fn(null),r=Qu(o,n),s=function(e){const t=Sn([...e.value]),n=Sn({value:t,height:34});return No(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),a=Fn(null);xi(()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)});let l=Fn([]),c=Fn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==Sr);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return tr("getPickerViewColumn",function(e){return us({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map(e=>e);n("update:value",e),r("change",{},{value:e})}}})}),tr("pickerViewProps",e),tr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=wh(e);l.value=t,ao(()=>{c.value=t})}return Fr("uni-picker-view",{ref:o},[Fr(Ff,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),Fr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Hh{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Wh(e,t,n){return e>t-n&&e<t+n}function zh(e,t){return Wh(e,0,t)}class Yh{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,s=t/(i*e);return{x:function(e){return(r+s*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+s*e)*t+s*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!zh(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(zh(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),zh(t,.4)&&(t=0),zh(o,.4)&&(o=0),o+=this._endPosition),this._solution&&zh(o-e,.4)&&zh(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Wh(this.x(),this._endPosition,.4)&&zh(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Xh{constructor(e,t,n){this._extent=e,this._friction=t||new Hh(.01),this._spring=n||new Yh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function Uh(e,t){return Math.round(Math.abs(e)/t)}class Kh{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Xh(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Uh(this._position,this._itemSize),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),m(this._options.onSnap)&&this._options.onSnap(Uh(this._position,this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),m(this._options.onSnap)&&this._options.onSnap(Math.round(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(m(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),m(this._options.onSnap)&&this._options.onSnap(Math.round(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const Gh=Ku({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Fn(null),i=Fn(null),r=nr("getPickerViewColumn"),s=Zr(),a=r?r(s):Fn(0),l=nr("pickerViewProps"),c=nr("pickerViewState"),u=Fn(34),d=Fn(null);xi(()=>{const e=d.value;u.value=e.$el.getBoundingClientRect().height});const p=us(()=>(c.height-u.value)/2),{state:f}=rh();let h;const g=Sn({current:a.value,length:0});let m;function v(){h&&!m&&(m=!0,ao(()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)}))}No(()=>a.value,e=>{e!==g.current&&(g.current=e,v())}),No(()=>g.current,e=>a.value=e),No([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function _(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function b({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(g.current+t,g.length-1);g.current=i=Math.max(i,0),h.scrollTo(i*u.value)}}}const w=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Kh(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Hh(1e-4),spring:new Yh(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,Eh(e,e=>{switch(e.detail.state){case"start":r(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),v()};return xi(w),()=>{const e=t.default&&t.default();g.length=wh(e).length;const n=`${p.value}px 0`;return Fr("uni-picker-view-column",{ref:o},[Fr("div",{onWheel:_,onClick:b,class:"uni-picker-view-group"},[Fr("div",Ur(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),Fr("div",Ur(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Fr(Ff,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Fr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}});function Jh(e,t,n,o,i,r){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const v=us(()=>n.value.length>t.displayMultipleItems),y=us(()=>e.circular&&v.value);function _(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||y.value&&function(o){if(!u)for(let i=n.value,r=i.length,s=o+t.displayMultipleItems,a=0;a<r;a++){const t=i[a],n=Math.floor(o/r)*r+a,l=n+r,c=n-r,u=Math.max(o-(n+1),n-s,0),d=Math.max(o-(l+1),l-s,0),p=Math.max(o-(c+1),c-s,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(i);const s="translate("+(e.vertical?"0":100*-i*p+"%")+", "+(e.vertical?100*-i*p+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=s,l.style.transform=s),d=i,!a){if(i%1==0)return;a=i}i-=Math.floor(a);const c=n.value;i<=-(c.length-1)?i+=c.length:i>=c.length&&(i-=c.length),i=a%1>.5||a<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,i=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){_(o),f=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}_(o+i*u*u/2),l=requestAnimationFrame(x)}function C(e,o,i){w();const r=t.duration,s=n.value.length;let a=d;if(y.value)if(i<0){for(;a<e;)a+=s;for(;a-s>e;)a-=s}else if(i>0){for(;a>e;)a-=s;for(;a+s<e;)a+=s;a+s-e<e-a&&(a+=s)}else{for(;a+s<e;)a+=s;for(;a-s>e;)a-=s;a+s-e<e-a&&(a+=s)}else"click"===o&&(e=e+t.displayMultipleItems-1<s?e:0);f={toPos:e,acc:2*(a-e)/(r*r),endTime:Date.now()+r,source:o},h||(h=!0,l=requestAnimationFrame(x))}function T(){s();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,C(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function S(e){e?T():s()}return No([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;t<i.length;t++){if(i[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(m="",t.current=o)}),No([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),f&&(_(f.toPos),f=null);const i=n.value;for(let t=0;t<i.length;t++)i[t].updatePosition(t,e.vertical);p=1;const r=o.value;if(1===t.displayMultipleItems&&i.length){const e=i[0].getBoundingClientRect(),t=r.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(_(a+l-g),g=l):(_(l),e.autoplay&&T())):(u=!0,_(-t.displayMultipleItems-1))}),No(()=>t.interval,()=>{c&&(s(),T())}),No(()=>t.current,(e,o)=>{!function(e,o){const i=m;m="";const s=n.value;if(!i){const t=s.length;C(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),No(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),No(()=>e.autoplay&&!t.userTracking,S),S(e.autoplay&&!t.userTracking),xi(()=>{let i=!1,r=0,a=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=b(d+o);e?C(t.current,"",0):(m="touch",t.current=i,C(i,"touch",0!==o?o:0===i&&y.value&&d>=1?1:0))}Eh(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,s(),g=d,r=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(i){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;r=.6*r+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),_(n)}const d=a-s||1,p=o.value;e.vertical?u(-i.dy/p.offsetHeight,-i.ddy/d):u(-i.dx/p.offsetWidth,-i.ddx/d)}(c.detail),!1}}},!0)}),ki(()=>{s(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){C(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Qh=Ku({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Fn(null),i=Qu(o,n),r=Fn(null),s=Fn(null),a=function(e){return Sn({interval:us(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:us(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:us(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=us(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:tu(e.previousMargin,!0),bottom:tu(e.nextMargin,!0)}:{top:0,bottom:0,left:tu(e.previousMargin,!0),right:tu(e.nextMargin,!0)}),t}),c=us(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],p=Fn([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find(e=>n===e.rootRef.value);o&&e.push(Rn(o))}p.value=e}tr("addSwiperContext",function(e){d.push(e),f()});tr("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Jh(e,a,p,s,n,i);let v=()=>null;return v=Zh(o,e,a,h,p,g,m),()=>{const n=t.default&&t.default();return u=wh(n),Fr("uni-swiper",{ref:o},[Fr("div",{ref:r,class:"uni-swiper-wrapper"},[Fr("div",{class:"uni-swiper-slides",style:l.value},[Fr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Fr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map((t,n,o)=>Fr("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<a.current+a.displayMultipleItems&&n>=a.current||n<a.current+a.displayMultipleItems-o.length},style:{background:n===a.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),v()],512)],512)}}}),Zh=(e,t,n,o,i,r,s)=>{let a=!1,l=!1,u=!1,d=Fn(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Do(()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,_()}),Do(()=>{const e=i.value.length,t=!r.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,u=!0,a&&(d.value=!0))});const f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=a-1);break;case"next":l++,l>=a&&r.value&&(l=0)}o(l)}const g=()=>au(su,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:i}=n,{left:r,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(i-a<u/3||l-i<u/3):!(o-r<c/3||s-o<c/3),p)return m=setTimeout(()=>{d.value=p},300);d.value=p},y=()=>{d.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return xi(_),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Fr(Cr,null,[Fr("div",Ur({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},f),[g()],16,["onClick"]),Fr("div",Ur({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},f),[g()],16,["onClick"])]):null}},eg=Ku({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Fn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,s=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=s,r.style.transform=s)}};return xi(()=>{const e=nr("addSwiperContext");e&&e(o)}),ki(()=>{const e=nr("removeSwiperContext");e&&e(o)}),()=>Fr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),tg=Ku({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Fn(null),o=Fn(e.checked),i=function(e,t){const n=nr(nd,!1),o=nr(id,!1),i={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),ki(()=>{n.removeField(i)}));return o}(e,o),r=Qu(n,t);No(()=>e.checked,e=>{o.value=e});const s=t=>{e.disabled||(o.value=!o.value,r("change",t,{value:o.value}))};return i&&(i.addHandler(s),Si(()=>{i.removeHandler(s)})),sd(e,{"label-click":s}),()=>{const{color:t,type:i}=e,r=td(e,"disabled"),a={};let l;return t&&o.value&&(a.backgroundColor=t,a.borderColor=t),l=o.value,Fr("uni-switch",Ur({id:e.id,ref:n},r,{onClick:s}),[Fr("div",{class:"uni-switch-wrapper"},[Ho(Fr("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:a},null,6),[[Ls,"switch"===i]]),Ho(Fr("div",{class:"uni-checkbox-input"},[l?au(iu,e.color,22):""],512),[[Ls,"checkbox"===i]])])],16,["id","onClick"])}}});const ng={ensp:" ",emsp:" ",nbsp:" "};function og(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&ng[t]&&" "===r&&(r=ng[t]),i?(o+="n"===r?te:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/&nbsp;/g,ng.nbsp).replace(/&ensp;/g,ng.ensp).replace(/&emsp;/g,ng.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split(te)}const ig=Ku({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Fn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==Sr){let n=[];n=og(t.children,{space:e.space,decode:e.decode});const i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Hr(e)),t!==i&&o.push(Fr("br"))})}else o.push(t)}),Fr("uni-text",{ref:n,selectable:!!e.selectable||null},[Fr("span",null,o)],8,["selectable"])}}}),rg=c({},ch,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ag.concat("return").includes(e)}});let sg=!1;const ag=["done","go","next","search","send"];const lg=Ku({name:"Textarea",props:rg,emits:["confirm","change","linechange",...uh],setup(e,{emit:t,expose:n}){const o=Fn(null),i=Fn(null),{fieldRef:r,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=fh(e,o,t),u=us(()=>s.value.split(te)),d=us(()=>ag.includes(e.confirmType)),p=Fn(0),f=Fn(null);function h({height:e}){p.value=e}function g(e){}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function v(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return No(()=>p.value,t=>{const n=o.value,r=f.value,s=i.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=r.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";sg=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?Fr("textarea",{key:"disabled-textarea",ref:r,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":sg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Fr("textarea",{key:"textarea",ref:r,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":sg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:v,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return Fr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[Fr("div",{ref:i,class:"uni-textarea-wrapper"},[Ho(Fr("div",Ur(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ls,!s.value.length]]),Fr("div",{ref:f,class:"uni-textarea-line"},[" "],512),Fr("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map(e=>Fr("div",null,[e.trim()?e:"."])),Fr(Ff,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?Fr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),cg=Ku({name:"View",props:c({},Zu),setup(e,{slots:t}){const n=Fn(null),{hovering:o,binding:i}=ed(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Fr("uni-view",Ur({class:o.value?r:"",ref:n},i),[Pi(t,"default")],16):Fr("uni-view",{ref:n},[Pi(t,"default")],512)}}});function ug(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function dg(e,t,n){e&&Sc(n||du(),e,({type:e,data:n},o)=>{t(e,n,o)})}function pg(e,t){e&&function(e,t){t=Tc(e,t),delete Cc[t]}(t||du(),e)}function fg(e,t,n,o){const i=Zr().proxy;o=null==o?lu():o,xi(()=>{dg(t||ug(i),e,o),t||No(()=>i.id,(t,n)=>{dg(ug(i,t),e,o),pg(n&&ug(i,n))})}),Si(()=>{pg(t||ug(i),o)})}function hg(e,t,n,o){m(t)&&_i(e,t.bind(n),o)}function gg(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(lt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];f(i)?i.forEach(e=>hg(o,e,n,t)):hg(o,i,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,mu(n,de,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&mu(n,ie)}catch(i){console.error(i.message+te+i.stack)}}}function mg(e,t,n){gg(e,t,n)}function vg(e,t,n){return e[t]=n}function yg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function _g(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r[ae]?mu(r.proxy,ae,n):Jn(n,0,o&&o.$.vnode,!1)}}function bg(e,t){return e?[...new Set([].concat(e,t))]:t}function wg(e){const t=e.config;var n;t.errorHandler=ut(e,_g),n=t.optionMergeStrategies,lt.forEach(e=>{n[e]=bg});const o=t.globalProperties;o.$set=vg,o.$applyOptions=mg,o.$callMethod=yg,function(e){ct.forEach(t=>t(e))}(e)}function xg(e){const t=Wl({history:Sg(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Tg});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Cg[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Cg=Object.create(null);const Tg=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Cg[o]);if(t)return t}return{left:0,top:0};var o};function Sg(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ol(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=sf(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=Jp(t[i]);af(df(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const kg={install(e){wg(e),Lu(e),Wu(e),e.config.warnHandler||(e.config.warnHandler=Eg),xg(e)}};function Eg(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 Mg={class:"uni-async-loading"},Og=Fr("i",{class:"uni-loading"},null,-1),Ag=Gu({name:"AsyncLoading",render:()=>(Or(),Rr("div",Mg,[Og]))});function $g(){window.location.reload()}const Pg=Gu({name:"AsyncError",props:["error"],setup(){pc();const{t:e}=uc();return()=>Fr("div",{class:"uni-async-error",onClick:$g},[e("uni.async.error")],8,["onClick"])}});let Lg;function Rg(){return Lg}function Ig(e){Lg=e,Object.defineProperty(Lg.$.ctx,"$children",{get:()=>sf().map(e=>e.$vm)});const t=Lg.$.appContext.app;t.component(Ag.name)||t.component(Ag.name,Ag),t.component(Pg.name)||t.component(Pg.name,Pg),function(e){e.$vm=e,e.$mpType="app";const t=Fn(uc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Lg),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}})}(Lg),qu(),Cu()}function Dg(e,{type:t,clone:n,init:o,setup:i,before:r,options:s}){n&&(e=c({},e)),r&&r(e);const a=e.setup;return e.setup=(e,t)=>{const n=Zr();if(o(n.proxy),i(n),a)return a(e,t)},e}function Bg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Dg(e.default,t):Dg(e,t)}function Ng(e,t){return Bg(e,{type:"page",clone:!0,init:uf,setup(e){e.$pageInstance=e;const t=fd(),n=nt(t.query);e.attrs.__pageQuery=n,Jp(e.proxy).options=n,e.proxy.options=n;const o=dd();var i;Up(o),e.onReachBottom=Sn([]),e.onPageScroll=Sn([]),No([e.onReachBottom,e.onPageScroll],()=>{const t=cu();e.proxy===t&&bf(e,o)},{once:!0}),wi(()=>{hf(e,o)}),xi(()=>{gf(e);const{onReady:n}=e;n&&R(n),qg(t)}),fi(()=>{if(!e.__isVisible){hf(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&R(t)}ao(()=>{qg(t)})}},"ba",i),function(e,t){fi(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}});const r=gu(e.proxy);return function(e){Hv.subscribe(Tc(e,bc),kc)}(r),Si(()=>{!function(e){Hv.unsubscribe(Tc(e,bc)),Object.keys(Cc).forEach(t=>{0===t.indexOf(e+".")&&delete Cc[t]})}(r)}),n}})}function jg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ym(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Wv.emit(ye,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Vg(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Wv.emit(De,e.data.data,e.data.pageId)}function Fg(){const{emit:e}=Wv;"visible"===document.visibilityState?e(Re,c({},Vf)):e(Ie)}function qg(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&mu("onTabItemTap",{index:n,text:t,pagePath:o})}const Hg=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":ev(t);break;case"navigateBack":Zm(t);break;case"switchTab":Bp(t);break;case"reLaunch":Fp(t);break;case"redirectTo":jp(t)}},Wg=Ye(()=>Wv.on(De,Hg)),zg=Ku({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Wg();const n=Fn(null),o=Fn(null),{$attrs:i,$excludeAttrs:r,$listeners:s}=bh({excludeListeners:!0}),a=Qu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){a("load",t,{src:e.src})},Do(()=>{for(const e in i.value)if(p(i.value,e)){const n=i.value[e];t[e]=n}}),Do(()=>{t.src=xf(e.src)}),o.value=t,l=function(e,t,n){const o=()=>{var o,i;if(n){const{top:n,left:o,width:i,height:r}=e.value.getBoundingClientRect();ze(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:i+"px",height:r+"px"})}else ze(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(i=e.value)?void 0:i.style.height)||"150px"})};return o}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),xi(()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))}),di(()=>{e.fullscreen&&(o.value.style.display="block")}),pi(()=>{e.fullscreen&&(o.value.style.display="none")}),Si(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>Fr(Cr,null,[Fr("uni-web-view",Ur({class:e.fullscreen?"uni-webview--fullscreen":""},s.value,r.value,{ref:n}),[Fr(Ff,{onResize:l},null,8,["onResize"])],16)])}});let Yg,Xg=0;function Ug(e,t,n,o){var i,r=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+Xg++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[a],r.remove()}window[a]=e=>{m(n)&&n(e),c()},r.onerror=()=>{m(o)&&o(),c()},i=setTimeout(function(){m(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(r)}function Kg(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function i(){}function r(){this.Text&&this.option.map.remove(this.Text)}function s(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(e={},a){this.createAMapText=o,this.removeAMapText=r,this.createBMapText=i,this.removeBMapText=s,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(om())this.callback=a,this.visible&&this.createAMapText();else if(im())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const i=this.triangle=document.createElement("div");i.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(i),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,om()?this.visible&&this.createAMapText():im()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!om()&&!im()){const t=new(e.OverlayView||e.Overlay);a.prototype.setMap=t.setMap,a.prototype.getMap=t.getMap,a.prototype.getPanes=t.getPanes,a.prototype.getProjection=t.getProjection,a.prototype.map_changed=t.map_changed,a.prototype.set=t.set,a.prototype.get=t.get,a.prototype.setOptions=t.setValues,a.prototype.bindTo=t.bindTo,a.prototype.bindsTo=t.bindsTo,a.prototype.notify=t.notify,a.prototype.setValues=t.setValues,a.prototype.unbind=t.unbind,a.prototype.unbindAll=t.unbindAll,a.prototype.addListener=t.addListener}return a}const Gg={};function Jg(e,t){const n=em();if(!n.key)return void console.error("Map key not configured.");const o=Gg[n.type]=Gg[n.type]||[];if(Yg)t(Yg);else if(window[n.type]&&window[n.type].maps)Yg=om()||im()?window[n.type]:window[n.type].maps,Yg.Callout=Yg.Callout||Kg(Yg),t(Yg);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],Yg=om()||im()?window[n.type]:window[n.type].maps,Yg.Callout=Kg(Yg),o.forEach(e=>e(Yg)),o.length=0},om()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=Qg(n.type);n.type===Zg.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===Zg.BMAP?s.src=`${a}ak=${n.key}&callback=${r}`:s.src=`${a}key=${n.key}&callback=${r}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const Qg=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var Zg=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Zg||{});function em(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let tm=!1,nm=!1;const om=()=>nm?tm:(nm=!0,tm="AMap"===em().type),im=()=>"BMapGL"===em().type;const rm=zd("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),sm="__DC_STAT_UUID",am=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let lm;function cm(){if(lm=lm||am[sm],!lm){lm=Date.now()+""+Math.floor(1e7*Math.random());try{am[sm]=lm}catch(e){}}return lm}function um(){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 dm(){let e,t,n,o="0",i="phone",r="";const s=navigator.language;if(Sf){n="iPhone",e="iOS";const i=Cf.match(/OS\s([\w_]+)\slike/);i&&(o=i[1].replace(/_/g,"."));const r=o.split(".")[0];if(Number(r)>=18){const e=Cf.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const s=Cf.match(/\(([a-zA-Z]+);/);s&&(t=s[1])}else if(Tf){e="Android";const n=Cf.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const i=Cf.match(/\((.+?)\)/),r=i?i[1].split(";"):Cf.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<r.length;e++){const n=r[e];if(n.indexOf("Build")>0){t=n.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(n)){o=!0;break}if(!o){t=n.trim();break}}}else if(Of){if(n="iPad",t="iPad",e="iOS",i="pad",o=m(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=Cf.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(kf||Ef||Mf){t="PC",e="PC",i="pc",o="0";let n=Cf.match(/\((.+?)\)/)[1];if(kf){switch(e="Windows",kf[1]){case"5.1":o="XP";break;case"6.0":o="Vista";break;case"6.1":o="7";break;case"6.2":o="8";break;case"6.3":o="8.1";break;case"10.0":o="10"}const t=n&&n.match(/[Win|WOW]([\d]+)/);t&&(o+=` x${t[1]}`)}else if(Ef){e="macos",r="mac";const t=n&&n.match(/Mac OS X (.+)/)||"";o&&(o=t[1].replace(/_/g,"."),-1!==o.indexOf(";")&&(o=o.split(";")[0]))}else if(Mf){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(Af){n="HUAWEI",e="harmonyos",i=$f?"pc":Pf?"pad":"phone";const r=Cf.match(/OpenHarmony\s([\d\.]+)/);r&&(o=r[1]),t=void 0}else e="Other",o="0",i="unknown";const a=`${e} ${o}`;r||(r=e.toLowerCase());let l="",c=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"!==c)l="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],i=new RegExp(`(${o})/(\\S*)\\b`);i.test(Cf)&&(l=t[n],c=Cf.match(i)[2])}}let u="portrait";if(window.matchMedia)try{window.matchMedia("(orientation:landscape)").matches&&(u="landscape")}catch(d){}return"portrait"===u&&void 0!==window.screen.orientation&&(u=[90,270].includes(window.screen.orientation.angle)?"landscape":"portrait"),"portrait"===u&&null!=window.orientation&&(u=90===Math.abs(window.orientation)?"landscape":"portrait"),{deviceBrand:n,brand:n,deviceModel:t,deviceOrientation:u,model:t,system:a,platform:r,browserName:l.toLocaleLowerCase(),browserVersion:c,language:s,deviceType:i,ua:Cf,osname:e,osversion:o,theme:um()}}const pm=Wd(0,()=>{const e=window.devicePixelRatio,t=Lf(),n=Rf(t),o=If(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=Df();let s=window.innerHeight;const a=Xc.top,l={left:Xc.left,right:r-Xc.right,top:Xc.top,bottom:s-Xc.bottom,width:r-Xc.left-Xc.right,height:s-Xc.top-Xc.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Jc(),n=Gc(e,"--window-bottom"),o=Gc(e,"--window-left"),i=Gc(e,"--window-right"),r=Gc(e,"--top-window-height");return{top:t,bottom:n?n+Xc.bottom:0,left:o?o+Xc.left:0,right:i?i+Xc.right:0,topWindowHeight:r||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Xc.top,right:Xc.right,bottom:Xc.bottom,left:Xc.left},screenTop:i-s}});let fm,hm=!0;function gm(){hm&&(fm=dm())}const mm=Wd(0,()=>{gm();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=fm;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:cm(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:i,system:r})}),vm=Wd(0,()=>{gm();const{theme:e,language:t,browserName:n,browserVersion:o}=fm;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:tp?tp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})}),ym=Wd(0,()=>{hm=!0,gm(),hm=!1;const e=pm(),t=mm(),n=vm();hm=!0;const{ua:o,browserName:i,browserVersion:r,osname:s,osversion:a}=fm,l=c(e,t,n,{browserName:i,browserVersion:r,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l});const _m=zd("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{a(i.next(e))}catch(n){t(n)}},s=e=>{try{a(i.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((i=i.apply(n,o)).next())});var n,o,i},0,op);const bm=Wd(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function wm(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 xm=Wd(0,e=>{try{return wm(e)}catch(t){return""}}),Cm=Wd(0,e=>{localStorage&&localStorage.removeItem(e)});const Tm=zd("getImageInfo",({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e},0,ap),Sm={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};let km=null;const Em=zd("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{mc();const{t:r}=uc();km&&(document.body.removeChild(km),km=null),km=function({count:e,sourceType:t,type:n,extension:o}){oh();const i=document.createElement("input");return i.type="file",ze(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${Sm[n][t]||t}`}}).join(","),e&&e>1&&(i.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(km),km.addEventListener("cancel",()=>{i("chooseImage:fail cancel")}),km.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let r;Object.defineProperty(t,"path",{get:()=>(r=r||Nf(t),r)}),o<e&&i.push(t)}}o({get tempFilePaths(){return i.map(({path:e})=>e)},tempFiles:i})}),km.click(),eh||console.warn(r("uni.chooseFile.notUserActivation"))},0,sp),Mm={esc:["Esc","Escape"],enter:["Enter"]},Om=Object.keys(Mm);function Am(){const e=Fn(""),t=Fn(!1),n=n=>{if(t.value)return;const o=Om.find(e=>-1!==Mm[e].indexOf(n.key));o&&(e.value=o),ao(()=>e.value="")};return xi(()=>{document.addEventListener("keyup",n)}),Si(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const $m=Fr("div",{class:"uni-mask"},null,-1);function Pm(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ca(ni({setup:()=>()=>(Or(),Rr(e,t,null,16))}))}function Lm(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Rm(e,{onEsc:t,onEnter:n}){const o=Fn(e.visible),{key:i,disable:r}=Am();return No(()=>e.visible,e=>o.value=e),No(()=>o.value,e=>r.value=!e),Do(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let Im=0,Dm="";function Bm(e){let t=Im;Im+=e?1:-1,Im=Math.max(0,Im),Im>0?0===t&&(Dm=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Dm,Dm="")}const Nm=Gu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Sn({direction:"none"});let n=1,o=0,i=0,r=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,s=t.height,d(e)}function u(e){const a=n*o>r,l=n*i>s;t.direction=a&&l?"all":a?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Fr(xh,{style:n,onTouchstart:Ju(c),onTouchmove:Ju(d),onTouchend:Ju(u)},{default:()=>[Fr(Ih,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[Fr("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function jm(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Vm=Gu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){xi(()=>Bm(!0)),ki(()=>Bm(!1));const{key:n}=Am(),o=Fn(null),i=Fn(jm(e));let r;function s(){r||ao(()=>{t("close")})}function a(e){i.value=e.detail.current}No(()=>e.current,()=>i.value=jm(e)),No(()=>n.value,e=>{"esc"===e&&s()}),xi(()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",e=>{r=!1,t=e.clientX,n=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(r=!0)})});const l={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Fr("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:s},[Fr(Qh,{navigation:"auto",current:i.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map(e=>Fr(eg,null,{default:()=>[Fr(Nm,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!Ir(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Fr("div",{style:l},[au("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var n}}});let Fm,qm=null;const Hm=()=>{qm=null,ao(()=>{null==Fm||Fm.unmount(),Fm=null})},Wm=zd("previewImage",(e,{resolve:t})=>{qm?c(qm,e):(qm=Sn(e),ao(()=>{Fm=Pm(Vm,qm,Hm),Fm.mount(Lm("u-a-p"))})),t()},0,lp),zm=Hd("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const f=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(!n)return"string";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)d=t;else if("json"===f)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new Xm(t);const p={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},f=setTimeout(function(){h.abort(),u("timeout",{errCode:5})},l);p.signal.addEventListener("abort",function(){clearTimeout(f),u("abort",{errCode:600003})}),window.fetch(e,p).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=Ym(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=Km(n,r,i)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;h=new Xm(t),t.open(o,e);for(const e in n)p(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})},l);t.responseType=r,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=Km(n,r,i)),c({data:n,statusCode:e,header:Um(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h},0,pp),Ym=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let i=0;i<o.length;i++)-1!==o[i].indexOf("Expires=")||-1!==o[i].indexOf("expires=")?n.push(o[i].replace(",","")):n.push(o[i]);return n=n.join(";").split(","),n};class Xm{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new pt,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Um(e){const t={};return e.split(te).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function Km(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class Gm{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Jm=Hd("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var r,s=new XMLHttpRequest,a=new Gm(s);return s.open("GET",e,!0),Object.keys(t).forEach(e=>{s.setRequestHeader(e,t[e])}),s.responseType="blob",s.onload=function(){clearTimeout(r);const t=s.status,n=this.response;let i;const a=s.getResponseHeader("content-disposition");if(a){const e=a.match(/filename="?(\S+)"?\b/);e&&(i=e[1])}n.name=i||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Nf(n)})},s.onabort=function(){clearTimeout(r),i("abort",{errCode:600003})},s.onerror=function(){clearTimeout(r),i("",{errCode:602001})},s.onprogress=function(e){a._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},s.send(),r=setTimeout(function(){s.onprogress=s.onload=s.onabort=s.onerror=null,a.abort(),i("timeout",{errCode:5})},n),a},0,fp),Qm=zd("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const s=em();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{s.type===Zg.QQ?Ug(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${s.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):s.type===Zg.GOOGLE?zm({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${s.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):s.type===Zg.AMAP?Jg([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=em();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{Ug(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:i}=n.locations[0];e({longitude:o,latitude:i,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{Jg([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{i({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,rp),Zm=zd("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===mu(_e,{from:e.from||"navigateBack"})&&(o=!1),o?(Rg().$router.go(-e.delta),t()):n(_e)},0,Tp),ev=zd(gp,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(Qp.handledBeforeEntryPageRoutes)return qp({type:gp,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);Zp.push({args:{type:gp,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})},0,bp);function tv(e){__uniConfig.darkmode&&Wv.on(le,e)}function nv(e){Wv.off(le,e)}function ov(e){let t={};return __uniConfig.darkmode&&(t=gt(e,__uniConfig.themeConfig,um())),__uniConfig.darkmode?t:e}const iv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},rv=ni({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=Fn(""),o=()=>s.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),s=Rm(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),a=function(e){const t=Fn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=iv[e].cancelColor})(e,t)};return Do(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===um()&&n({theme:"dark"}),tv(n))):nv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,Fr(_s,{name:"uni-fade"},{default:()=>[Ho(Fr("uni-modal",{onTouchmove:Uc},[$m,Fr("div",{class:"uni-modal"},[t?Fr("div",{class:"uni-modal__hd"},[Fr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Fr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Fr("div",{class:"uni-modal__bd",onTouchmovePassive:Kc,textContent:o},null,40,["onTouchmovePassive","textContent"]),Fr("div",{class:"uni-modal__ft"},[l&&Fr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),Fr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ls,s.value]])]})}}});let sv;const av=Ye(()=>{Wv.on("onHidePopup",()=>sv.visible=!1)});let lv;function cv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&sv.editable&&(o.content=t),lv&&lv(o)}const uv=zd("showModal",(e,{resolve:t})=>{av(),lv=t,sv?(c(sv,e),sv.visible=!0):(sv=Sn(e),ao(()=>(Pm(rv,sv,cv).mount(Lm("u-a-m")),ao(()=>sv.visible=!0))))},0,Ap),dv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==$p.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},pv="uni-toast__icon",fv={light:"#fff",dark:"rgba(255,255,255,0.9)"},hv=e=>fv[e],gv=ni({name:"Toast",props:dv,setup(e){fc(),hc();const{Icon:t}=function(e){const t=Fn(hv(um())),n=({theme:e})=>t.value=hv(e);Do(()=>{e.visible?tv(n):nv(n)});const o=us(()=>{switch(e.icon){case"success":return Fr(au(iu,t.value,38),{class:pv});case"error":return Fr(au(ru,t.value,38),{class:pv});case"loading":return Fr("i",{class:[pv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Rm(e,{});return()=>{const{mask:o,duration:i,title:r,image:s}=e;return Fr(_s,{name:"uni-fade"},{default:()=>[Ho(Fr("uni-toast",{"data-duration":i},[o?Fr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Uc},null,40,["onTouchmove"]):"",s||t.value?Fr("div",{class:"uni-toast"},[s?Fr("img",{src:s,class:pv},null,10,["src"]):t.value,Fr("p",{class:"uni-toast__content"},[r])]):Fr("div",{class:"uni-sample-toast"},[Fr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Ls,n.value]])]})}}});let mv,vv,yv="";const _v=_t();function bv(e){mv?c(mv,e):(mv=Sn(c(e,{visible:!1})),ao(()=>{_v.run(()=>{No([()=>mv.visible,()=>mv.duration],([e,t])=>{if(e){if(vv&&clearTimeout(vv),"onShowLoading"===yv)return;vv=setTimeout(()=>{xv("onHideToast")},t)}else vv&&clearTimeout(vv)})}),Wv.on("onHidePopup",()=>xv("onHidePopup")),Pm(gv,mv,()=>{}).mount(Lm("u-a-t"))})),setTimeout(()=>{mv.visible=!0},10)}const wv=zd("showToast",(e,{resolve:t,reject:n})=>{bv(e),yv="onShowToast",t()},0,Pp);function xv(e){const{t:t}=uc();if(!yv)return;let n="";if("onHideToast"===e&&"onShowToast"!==yv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==yv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);yv="",setTimeout(()=>{mv.visible=!1},10)}function Cv(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Wv.emit("onNavigationBarChange",{titleText:t})}Do(t),di(t)}const Tv=zd(Lp,(e,{resolve:t})=>{Wv.invokeViewMethod(Lp,{},du()),t()}),Sv="0px",kv=Gu({name:"Layout",setup(e,{emit:t}){const n=Fn(null);Qc({"--status-bar-height":Sv,"--top-window-height":Sv,"--window-left":Sv,"--window-right":Sv,"--window-margin":Sv,"--tab-bar-height":Sv});const o=function(){const e=zl();return{routeKey:us(()=>df("/"+e.meta.route,hd())),isTabBar:us(()=>e.meta.isTabBar),routeCache:ff}}(),{layoutState:i,windowState:r}=function(){fd();{const e=Sn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return No(()=>e.marginWidth,e=>Qc({"--window-margin":e+"px"})),No(()=>e.leftWindowWidth+e.marginWidth,e=>{Qc({"--window-left":e+"px"})}),No(()=>e.rightWindowWidth+e.marginWidth,e=>{Qc({"--window-right":e+"px"})}),{layoutState:e,windowState:us(()=>({}))}}}();!function(e,t){const n=fd();function o(){const o=document.body.clientWidth,i=sf();let r={};if(i.length>0){r=Jp(i[i.length-1]).meta}else{const e=xu(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((p(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,ao(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,ao(()=>{const e=t.value;e&&e.removeAttribute("style")}))}No([()=>n.path],o),xi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const s=function(e){const t=Fn(!1);return us(()=>({"uni-app--showtabbar":e,"uni-app--maxwidth":t.value}))}(!1);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Fr(Hl,null,{default:Co(({Component:o})=>[(Or(),Rr(ci,{matchBy:"key",cache:n},[(Or(),Rr($o(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o);return Fr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Ev="scanCode",Mv=zd(Ev,(Ov=Ev,(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(Ov))));var Ov;function Av(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Ir(e)}function $v(e){if(e.mode===Rv.TIME)return"00:00";if(e.mode===Rv.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Iv.YEAR:return t.toString();case Iv.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Pv(e){if(e.mode===Rv.TIME)return"23:59";if(e.mode===Rv.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Iv.YEAR:return t.toString();case Iv.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Lv(e,t,n,o){const i=e.mode===Rv.DATE?"-":":",r=e.mode===Rv.DATE?t.dateArray:t.timeArray;let s;if(e.mode===Rv.TIME)s=2;else switch(e.fields){case Iv.YEAR:s=1;break;case Iv.MONTH:s=2;break;default:s=3}const a=String(n).split(i);let l=[];for(let c=0;c<s;c++){const e=a[c];l.push(r[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?Lv(e,t,o):l.map(()=>0)),l}const Rv={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Iv={YEAR:"year",MONTH:"month",DAY:"day"},Dv={PICKER:"picker",SELECT:"select"},Bv=Ku({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Rv.SELECTOR,validator:e=>Object.values(Rv).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>$v(e)},end:{type:String,default:e=>Pv(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){yc();const{t:o}=uc(),i=Fn(null),r=Fn(null),s=Fn(null),a=Fn(null),l=Fn(!1),{state:u,rangeArray:d}=function(e){const t=Sn({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=us(()=>{let n=e.range;switch(e.mode){case Rv.SELECTOR:return[n];case Rv.MULTISELECTOR:return n;case Rv.TIME:return t.timeArray;case Rv.DATE:{const n=t.dateArray;switch(e.fields){case Iv.YEAR:return[n[0]];case Iv.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),p=Qu(i,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:_,_fixInputPosition:b,_pickerViewChange:w,_cancel:x,_change:C,_resetFormData:T,_getFormData:S,_createTime:k,_createDate:E,_setValueSync:M}=function(e,t,n,o,i,r,s){const a=function(){const e=Fn(!1);return e.value=Nv(),e}(),l=function(){const e=Fn("");return e.value=jv(),e}(),c=us(()=>{const t=e.selectorType;return Object.values(Dv).includes(t)?t:a.value?Dv.PICKER:Dv.SELECT}),u=us(()=>e.mode===Rv.DATE&&!Object.values(Iv).includes(e.fields)&&t.isDesktop?l.value:""),d=us(()=>Lv(e,t,e.start,$v(e))),p=us(()=>Lv(e,t,e.end,Pv(e)));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=r.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout(()=>{t.visible=!0},20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case Rv.SELECTOR:t.valueSync=0;break;case Rv.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case Rv.DATE:case Rv.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function _(){let e=[];const n=y();for(let t=n.start,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}function b(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function C(){let n=e.value;switch(e.mode){case Rv.MULTISELECTOR:{f(n)||(n=t.valueArray),f(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let i=0;i<o;i++){const o=Number(n[i]),r=Number(t.valueSync[i]),s=isNaN(o)?isNaN(r)?0:r:o,a=e.range[i]?e.range[i].length-1:0;t.valueSync.splice(i,1,s<0||s>a?0:s)}}break;case Rv.TIME:case Rv.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function T(){let n,o=t.valueSync;switch(e.mode){case Rv.MULTISELECTOR:n=[...o];break;case Rv.TIME:n=Lv(e,t,o,Ue({mode:Rv.TIME}));break;case Rv.DATE:n=Lv(e,t,o,Ue({mode:Rv.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function S(){let n=t.valueArray;switch(e.mode){case Rv.SELECTOR:return n[0];case Rv.MULTISELECTOR:return n.map(e=>e);case Rv.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case Rv.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function k(){M(),t.valueChangeSource="click";const e=S();t.valueSync=f(e)?e.map(e=>e):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&s<o+i&&a>n&&a<n+r)return}M(),n("cancel",{},{})}function M(){t.visible=!1,setTimeout(()=>{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function O(){e.mode===Rv.SELECTOR&&c.value===Dv.SELECT&&(r.value.scrollTop=34*t.valueArray[0])}function A(e){const n=e.target;t.valueSync=n.value,ao(()=>{k()})}function $(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function P(e){t.valueArray=L(e.detail.value,!0)}function L(t,n){const{getLocale:o}=uc();if(e.mode===Rv.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case Iv.YEAR:return t;case Iv.MONTH:return[t[1],t[0]];default:switch(i){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function R(t,n){const{getLocale:o}=uc();if(e.mode===Rv.DATE){const i=o();if(i.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Iv.YEAR&&n===(e.fields===Iv.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return No(()=>t.visible,e=>{e?(clearTimeout(Vv),t.contentVisible=e,O()):Vv=setTimeout(()=>{t.contentVisible=e},300)}),No([()=>e.mode,()=>e.value,()=>e.range],C,{deep:!0}),No(()=>t.valueSync,T,{deep:!0}),No(()=>t.valueArray,o=>{if(e.mode===Rv.TIME||e.mode===Rv.DATE){const n=e.mode===Rv.TIME?b:w,o=t.valueArray,i=d.value,r=p.value;if(e.mode===Rv.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();r<i&&(o[2]-=r+n-i)}n(o)<n(i)?x(o,i):n(o)>n(r)&&x(o,r)}o.forEach((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===Rv.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))})}),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:k,_l10nColumn:L,_l10nItem:R,_input:A,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:_,_setValueSync:C,_fixInputPosition:$,_pickerViewChange:P}}(e,u,p,i,r,s,a);!function(e,t,n){const{key:o,disable:i}=Am();Do(()=>{i.value=!e.visible}),No(o,e=>{"esc"===e?t():"enter"===e&&n()})}(u,x,C),function(e,t){const n=nr(nd,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Si(()=>{n.removeField(o)})}}(T,S),k(),E(),M();const O=function(e){const t=Fn(0),n=Fn(0),o=us(()=>t.value>=500&&n.value>=500),i=us(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){c(r,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),l=a(s.height),u=e+t/2;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,s.width&&(i.width=`${t}px`);let p=Math.max(12,u-d);p=Math.min(t-12,p),r.left=`${p}px`;const f=n.value/2;o+l-f>f-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t});return xi(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=ym();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),ki(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:i}}(u);return Do(()=>{u.isDesktop=O.isDesktop.value,u.popupStyle=O.popupStyle.value}),Si(()=>{r.value&&r.value.remove()}),xi(()=>{l.value=!0}),()=>{let t;const{visible:c,contentVisible:p,valueArray:f,popupStyle:T,valueSync:S}=u,{rangeKey:k,mode:E,start:M,end:O}=e,A=td(e,"disabled");return Fr("uni-picker",Ur({ref:i},A,{onClick:Ju(m)}),[l.value?Fr("div",{ref:r,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:Uc,onTouchmove:Uc},[Fr(_s,{name:"uni-fade"},{default:()=>[Ho(Fr("div",{class:"uni-mask uni-picker-mask",onClick:Ju(x),onMousemove:b},null,40,["onClick","onMousemove"]),[[Ls,c]])]}),h.value?null:Fr("div",{class:[{"uni-picker-toggle":c},"uni-picker-custom"],style:T.content},[Fr("div",{class:"uni-picker-header",onClick:Kc},[Fr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Ju(x)},[o("uni.picker.cancel")],8,["onClick"]),Fr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:C},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),p?Fr(qh,{value:v(f),class:"uni-picker-content",onChange:w},Av(t=$i(v(d.value),(e,t)=>{let n;return Fr(Gh,{key:t},Av(n=$i(e,(e,n)=>Fr("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,Fr("div",{ref:s,class:"uni-picker-select",onWheel:Kc,onTouchmove:Kc},[$i(d.value[0],(e,t)=>Fr("div",{key:t,class:["uni-picker-item",{selected:f[0]===t}],onClick:()=>{f[0]=t,C()}},["object"==typeof e?e[k]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),Fr("div",{style:T.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,Fr("div",null,[n.default&&n.default()]),h.value?Fr("div",{class:"uni-picker-system",onMousemove:Ju(b)},[Fr("input",{class:["uni-picker-system_input",h.value],ref:a,value:S,type:E,tabindex:"-1",min:M,max:O,onChange:e=>{_(e),Kc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const Nv=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const jv=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let Vv;const Fv=class e{constructor(){ac(this,"_adConfig",null),ac(this,"_isLoading",!1),ac(this,"_callbacks",[]),ac(this,"_configLast",0)}static get instance(){return e._instance||(e._instance=new e,e._instance._init()),e._instance}get adConfig(){return this._adConfig}get isExpired(){return null==this._adConfig||(!this._configLast||Math.abs(Date.now()-this._configLast)>e.CACHE_TIME)}_init(){var t=this._getConfig();null!==t&&t.last&&Math.abs(Date.now()-t.last)<=e.CACHE_TIME&&(this._adConfig=t.data,this._configLast=t.last)}get(t,n,o){if(e.IC++,null!=this._adConfig)return this._doCallback(t,n,o),void(this.isExpired&&this._loadAdConfig(t));this._callbacks.push({adpid:t,success:n,fail:o}),this._loadAdConfig(t)}_doCallback(t,n,o){e.IS++;var{a:i,b:r}=this._adConfig;const s=i[t];s?n(r,Array.isArray(s)?s:[s]):o(e.ERROR_INVALID_ADPID)}_loadAdConfig(t){if(!0===this._isLoading)return;this._isLoading=!0;const n="undefined"!=typeof __uniConfig?__uniConfig.appId??"":"";zm({url:e.URL,method:"GET",timeout:8e3,data:{d:location.hostname,a:t,appid:n},dataType:"json",success:e=>{const t=e.data;if(0===t.ret){const e=t.data;this._adConfig=e,this._configLast=Date.now(),this._setConfig(e),this._callbacks.forEach(({adpid:e,success:t,fail:n})=>{this._doCallback(e,t,n)})}else this._callbacks.forEach(e=>{e.fail({errCode:t.ret,errMsg:t.msg})});this._callbacks=[]},fail:e=>{this._callbacks.forEach(t=>{t.fail(e)}),this._callbacks=[]},complete:e=>{this._isLoading=!1}})}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),data:t}))}};ac(Fv,"IC",0),ac(Fv,"IS",0),ac(Fv,"URL","https://hac1.dcloud.net.cn/ah5v2"),ac(Fv,"KEY","uni_app_ad_config"),ac(Fv,"CACHE_TIME",6e5),ac(Fv,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const qv=class e{static get instance(){return e._instance||(e._instance=new e),e._instance}constructor(){var e=this._getConfig();e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}get(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}_process(t){zm({url:e.URL,method:"GET",data:t,dataType:"json",success:()=>{}})}_newGUID(){let e="";const t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx";for(let n=0;n<36;n++)e+="x"===t[n]?(16*Math.random()|0).toString(16):t[n];return e.toUpperCase()}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),guid:t}))}};ac(qv,"URL","https://has1.dcloud.net.cn/ahl"),ac(qv,"KEY","uni_app_ad_guid");const Hv=c(Ec,{publishHandler(e,t,n){Wv.subscribeHandler(e,t,n)}}),Wv=c(Du,{publishHandler(e,t,n){Hv.subscribeHandler(e,t,n)}}),zv=Gu({name:"PageHead",setup(){const e=Fn(null),t=dd(),n=function(e,t){const n=On(e),o=n?Sn(ov(e)):ov(e);return __uniConfig.darkmode&&n&&No(e,e=>{const t=ov(e);for(const n in t)o[n]=t[n]}),t&&tv(t),o}(t.navigationBar,()=>{const e=ov(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:i}=function(e){const t=us(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,i={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(i[`uni-page-head-shadow-${o}`]=!0),i}),n=us(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return Fr("div",{class:"uni-page-head-btn",onClick:Xv},[au(su,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&Fr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Fr("uni-page-head",{"uni-page-head-type":s},[Fr("div",{ref:e,class:o.value,style:i.value},[Fr("div",{class:"uni-page-head-hd"},[r]),Yv(n),Fr("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function Yv(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return Fr("div",{class:"uni-page-head-bd"},[Fr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Fr("i",{class:"uni-loading"},null):i?Fr("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Xv(){1===rf().length?Fp({url:"/"}):Zm({from:"backbutton",success(){}})}const Uv={name:"PageRefresh",setup(){const{pullToRefresh:e}=dd();return{offset:e.offset,color:e.color}}},Kv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Gv={class:"uni-page-refresh-inner"},Jv=["fill"],Qv=[Vr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Vr("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],Zv={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},ey=["stroke"];const ty=Kv(Uv,[["render",function(e,t,n,o,i,r){return Or(),Lr("uni-page-refresh",null,[Vr("div",{style:Fe({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Vr("div",Gv,[(Or(),Lr("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},Qv,8,Jv)),(Or(),Lr("svg",Zv,[Vr("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,ey)]))])],4)])}]]);function ny(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const oy="pulling",iy="reached",ry="aborting",sy="refreshing",ay="restoring";function ly(e){const t=dd(),{id:n,pullToRefresh:o}=t,{range:i,height:r}=o;let s,a,l,c,u,d,p,f;fg(()=>{t.enablePullDownRefresh&&(f||(f=sy,v(),setTimeout(()=>{x()},50)))},"startPullDownRefresh",0,n),fg(()=>{t.enablePullDownRefresh&&f===sy&&(y(),f=ay,v(),function(e){if(!a)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{y(),f=h=g=null}))},Lp,0,n),xi(()=>{s=e.value.$el,a=s.querySelector(".uni-page-refresh"),l=a.style,c=a.querySelector(".uni-page-refresh-inner").style});let h=null,g=null;function m(e){f&&s&&s.classList[e]("uni-page-refresh--"+f)}function v(){m("add")}function y(){m("remove")}const _=Ju(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([ry,sy,ay].indexOf(f)>=0)}),b=Ju(e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!ny(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!f)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,f=oy,v()),n-=g,n<0&&(n=0),h=n;(n>=i&&f!==iy||n<i&&f!==oy)&&(y(),f=f===iy?oy:iy,v()),function(e){if(!a)return;let t=e/i;t>1?t=1:t*=t*t;const n=Math.round(e/(i/r))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=Ju(e=>{t.enablePullDownRefresh&&ny(e,u,d)&&null!==f&&(f===oy?(y(),f=ry,v(),function(e){if(!a)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{y(),f=h=g=null})):f===iy&&(y(),f=sy,v(),x()))});function x(){a&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+r+"px, 0)",mu(n,Ce))}return{onTouchstartPassive:_,onTouchmove:b,onTouchend:w,onTouchcancel:w}}const cy=Gu({name:"PageBody",setup(e,t){const n=dd(),o=Fn(null),i=Fn(null),r=n.enablePullDownRefresh?ly(o):null,s=Fn(null);return No(()=>n.enablePullDownRefresh,()=>{s.value=n.enablePullDownRefresh?r:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return Fr(ty,{ref:e},null,512)}(o,n);return Fr(Cr,null,[e,Fr("uni-page-wrapper",Ur({ref:i},s.value),[Fr("uni-page-body",null,[Pi(t.slots,"default")]),null],16)])}}});const uy=Gu({name:"Page",setup(e,t){let n=pd(hd());const o=n.navigationBar,i={};return Cv(n),()=>Fr("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[Fr(zv),dy(t),null]:[dy(t),null])}});function dy(e){return Or(),Rr(cy,{key:0},{default:Co(()=>[Pi(e.slots,"page")]),_:3})}const py={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=ep;const fy=Object.assign({}),hy=Object.assign;window.__uniConfig=hy({globalStyle:{backgroundColor:"#f2f6fb",backgroundTextStyle:"dark",navigationBar:{backgroundColor:"#ffffff",titleText:"云泉智配",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"5.24"},{appId:"",appName:"云泉智配",appVersion:"0.1.0",appVersionCode:"100",async:py,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(fy).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return hy(e[n]||(e[n]={}),fy[t].default),e},{}),router:{mode:"hash",base:"/water-mini/",assets:"assets",routerBase:"/water-mini/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const gy={delay:py.delay,timeout:py.timeout,suspensible:py.suspensible};py.loading&&(gy.loadingComponent={name:"SystemAsyncLoading",render:()=>Fr(Oo(py.loading))}),py.error&&(gy.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Fr(Oo(py.error),{error:this.error})}});const my=()=>t(()=>import("./pages-home-index.Cr_LvuY5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>Ng(e.default||e)),vy=ii(hy({loader:my},gy)),yy=()=>t(()=>import("./pages-account-login.6LG9dJDF.js"),__vite__mapDeps([11,2,4,12])).then(e=>Ng(e.default||e)),_y=ii(hy({loader:yy},gy)),by=()=>t(()=>import("./pages-account-identities.D0J9tJDz.js"),__vite__mapDeps([13,1,14,2,4,15,6,7])).then(e=>Ng(e.default||e)),wy=ii(hy({loader:by},gy)),xy=()=>t(()=>import("./pages-account-profile.CCk_jNUv.js"),__vite__mapDeps([16,1,2,14,4,15,6,7,8,9,17])).then(e=>Ng(e.default||e)),Cy=ii(hy({loader:xy},gy)),Ty=()=>t(()=>import("./pages-packages-index.xsWzBGWl.js"),__vite__mapDeps([18,19,20,2,3,4,5,6,7,21])).then(e=>Ng(e.default||e)),Sy=ii(hy({loader:Ty},gy)),ky=()=>t(()=>import("./pages-packages-detail.1r9RtYzJ.js"),__vite__mapDeps([22,1,20,2,6,4,7])).then(e=>Ng(e.default||e)),Ey=ii(hy({loader:ky},gy)),My=()=>t(()=>import("./pages-packages-cart.C7jeQQ5_.js"),__vite__mapDeps([23,20,2,24,4,25])).then(e=>Ng(e.default||e)),Oy=ii(hy({loader:My},gy)),Ay=()=>t(()=>import("./pages-orders-checkout.DzsGuaNj.js"),__vite__mapDeps([26,1,24,2,14,4,15,6,7])).then(e=>Ng(e.default||e)),$y=ii(hy({loader:Ay},gy)),Py=()=>t(()=>import("./pages-orders-index.CGnjWxbt.js"),__vite__mapDeps([27,19,14,2,4,15,6,7,8,9])).then(e=>Ng(e.default||e)),Ly=ii(hy({loader:Py},gy)),Ry=()=>t(()=>import("./pages-orders-tracking.Cbst-ryv.js"),__vite__mapDeps([28,1,24,2,14,4,15,6,7,29,30,31])).then(e=>Ng(e.default||e)),Iy=ii(hy({loader:Ry},gy)),Dy=()=>t(()=>import("./pages-addresses-index.BUvDWCM-.js"),__vite__mapDeps([32,1,2,14,4,15,6,7,33])).then(e=>Ng(e.default||e)),By=ii(hy({loader:Dy},gy)),Ny=()=>t(()=>import("./pages-addresses-edit.DhyFhVyR.js"),__vite__mapDeps([34,1,24,2,14,4,15,6,7,35])).then(e=>Ng(e.default||e)),jy=ii(hy({loader:Ny},gy)),Vy=()=>t(()=>import("./pages-rights-index.CLrwB4gt.js"),__vite__mapDeps([36,1,24,2,14,4,15,6,7,8,9,37,38,39])).then(e=>Ng(e.default||e)),Fy=ii(hy({loader:Vy},gy)),qy=()=>t(()=>import("./pages-rights-ledger.BBOIikkT.js"),__vite__mapDeps([40,19,14,2,4,15,6,7])).then(e=>Ng(e.default||e)),Hy=ii(hy({loader:qy},gy)),Wy=()=>t(()=>import("./pages-devices-index.ByFqkUxZ.js"),__vite__mapDeps([41,19,1,2,14,4,15,6,7,42,43,44])).then(e=>Ng(e.default||e)),zy=ii(hy({loader:Wy},gy)),Yy=()=>t(()=>import("./pages-devices-detail.pimJ2pUN.js"),__vite__mapDeps([45,1,2,14,4,15,6,7,42,43,46])).then(e=>Ng(e.default||e)),Xy=ii(hy({loader:Yy},gy)),Uy=()=>t(()=>import("./pages-account-rewards.BojqqBJr.js"),__vite__mapDeps([47,1,24,2,14,4,15,6,7,48])).then(e=>Ng(e.default||e)),Ky=ii(hy({loader:Uy},gy)),Gy=()=>t(()=>import("./pages-driver-dashboard.C4yP4Pst.js"),__vite__mapDeps([49,1,2,14,4,15,6,7,50,8,9,51])).then(e=>Ng(e.default||e)),Jy=ii(hy({loader:Gy},gy)),Qy=()=>t(()=>import("./pages-driver-tasks.2P6Tz9X5.js"),__vite__mapDeps([52,19,14,2,4,15,6,7,50,8,9,53])).then(e=>Ng(e.default||e)),Zy=ii(hy({loader:Qy},gy)),e_=()=>t(()=>import("./pages-driver-task.8g53rrW2.js"),__vite__mapDeps([54,1,24,2,55,14,4,15,6,7,56])).then(e=>Ng(e.default||e)),t_=ii(hy({loader:e_},gy)),n_=()=>t(()=>import("./pages-driver-device.ClbhhTbs.js"),__vite__mapDeps([57,2,14,4,15,58])).then(e=>Ng(e.default||e)),o_=ii(hy({loader:n_},gy)),i_=()=>t(()=>import("./pages-driver-fulfill.pNNoeb0H.js"),__vite__mapDeps([59,1,24,2,55,14,4,15,6,7,37,38,29,30,60])).then(e=>Ng(e.default||e)),r_=ii(hy({loader:i_},gy)),s_=()=>t(()=>import("./pages-driver-routes.Ck0M-cyV.js"),__vite__mapDeps([61,1,2,55,14,4,15,6,7,8,9,62])).then(e=>Ng(e.default||e)),a_=ii(hy({loader:s_},gy)),l_=()=>t(()=>import("./pages-agent-dashboard.BJVZamEB.js"),__vite__mapDeps([63,1,2,14,4,15,6,7,8,9,64])).then(e=>Ng(e.default||e)),c_=ii(hy({loader:l_},gy)),u_=()=>t(()=>import("./pages-agent-customers.BN97XoxW.js"),__vite__mapDeps([65,19,2,14,4,15,6,7,66])).then(e=>Ng(e.default||e)),d_=ii(hy({loader:u_},gy)),p_=()=>t(()=>import("./pages-agent-orders.BtDvOnLZ.js"),__vite__mapDeps([67,19,2,14,4,15,6,7,8,9])).then(e=>Ng(e.default||e)),f_=ii(hy({loader:p_},gy)),h_=()=>t(()=>import("./pages-agent-commissions.CDFNwy4r.js"),__vite__mapDeps([68,19,2,14,4,15,6,7,8,9,69])).then(e=>Ng(e.default||e)),g_=ii(hy({loader:h_},gy)),m_=()=>t(()=>import("./pages-common-web.f8zJ8xS8.js"),[]).then(e=>Ng(e.default||e)),v_=ii(hy({loader:m_},gy)),y_=()=>t(()=>import("./pages-common-map.DcEMshWH.js"),__vite__mapDeps([70,4,71])).then(e=>Ng(e.default||e)),__=ii(hy({loader:y_},gy));function b_(e,t){return Or(),Rr(uy,null,{page:Co(()=>[Fr(e,hy({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/home/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(vy,t)}},loader:my,meta:{isQuit:!0,isEntry:!0,enablePullDownRefresh:!0,navigationBar:{titleText:"云泉智配",type:"default"},isNVue:!1}},{path:"/pages/account/login",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(_y,t)}},loader:yy,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/account/identities",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(wy,t)}},loader:by,meta:{navigationBar:{titleText:"账号服务状态",type:"default"},isNVue:!1}},{path:"/pages/account/profile",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Cy,t)}},loader:xy,meta:{navigationBar:{titleText:"我的",type:"default"},isNVue:!1}},{path:"/pages/packages/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Sy,t)}},loader:Ty,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"套餐专区",type:"default"},isNVue:!1}},{path:"/pages/packages/detail",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Ey,t)}},loader:ky,meta:{navigationBar:{titleText:"套餐详情",type:"default"},isNVue:!1}},{path:"/pages/packages/cart",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Oy,t)}},loader:My,meta:{navigationBar:{titleText:"确认组合订单",type:"default"},isNVue:!1}},{path:"/pages/orders/checkout",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_($y,t)}},loader:Ay,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/orders/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Ly,t)}},loader:Py,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/orders/tracking",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Iy,t)}},loader:Ry,meta:{navigationBar:{titleText:"配送跟踪",type:"default"},isNVue:!1}},{path:"/pages/addresses/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(By,t)}},loader:Dy,meta:{navigationBar:{titleText:"配送地址",type:"default"},isNVue:!1}},{path:"/pages/addresses/edit",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(jy,t)}},loader:Ny,meta:{navigationBar:{titleText:"编辑供水地址",type:"default"},isNVue:!1}},{path:"/pages/rights/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Fy,t)}},loader:Vy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的供水权益",type:"default"},isNVue:!1}},{path:"/pages/rights/ledger",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Hy,t)}},loader:qy,meta:{navigationBar:{titleText:"权益明细",type:"default"},isNVue:!1}},{path:"/pages/devices/index",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(zy,t)}},loader:Wy,meta:{navigationBar:{titleText:"智能设备",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/devices/detail",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Xy,t)}},loader:Yy,meta:{navigationBar:{titleText:"设备与用水",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/account/rewards",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Ky,t)}},loader:Uy,meta:{navigationBar:{titleText:"邀请推广",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/driver/dashboard",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Jy,t)}},loader:Gy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送工作台",type:"default"},isNVue:!1}},{path:"/pages/driver/tasks",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(Zy,t)}},loader:Qy,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"配送任务",type:"default"},isNVue:!1}},{path:"/pages/driver/task",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(t_,t)}},loader:e_,meta:{navigationBar:{titleText:"任务详情",type:"default"},isNVue:!1}},{path:"/pages/driver/device",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(o_,t)}},loader:n_,meta:{navigationBar:{titleText:"设备核对",type:"default"},isNVue:!1}},{path:"/pages/driver/fulfill",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(r_,t)}},loader:i_,meta:{navigationBar:{titleText:"完成履约",type:"default"},isNVue:!1}},{path:"/pages/driver/routes",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(a_,t)}},loader:s_,meta:{navigationBar:{titleText:"配送路线",type:"default"},isNVue:!1}},{path:"/pages/agent/dashboard",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(c_,t)}},loader:l_,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"代理工作台",type:"default"},isNVue:!1}},{path:"/pages/agent/customers",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(d_,t)}},loader:u_,meta:{navigationBar:{titleText:"下属用户",type:"default"},isNVue:!1}},{path:"/pages/agent/orders",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(f_,t)}},loader:p_,meta:{navigationBar:{titleText:"客户收款记录",type:"default"},isNVue:!1}},{path:"/pages/agent/commissions",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(g_,t)}},loader:h_,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"佣金结算",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/common/web",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(v_,t)}},loader:m_,meta:{navigationBar:{titleText:"服务说明",type:"default"},isNVue:!1}},{path:"/pages/common/map",component:{setup(){const e=Rg(),t=e&&e.$route&&e.$route.query||{};return()=>b_(__,t)}},loader:y_,meta:{navigationBar:{titleText:"地图位置",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const w_=(e,t=0)=>(t,n=Zr())=>{rs||_i(e,t,n)},x_=w_(ie,2),C_=w_(se,1),T_=w_(de,2),S_=w_(xe,2),k_=w_(Ce,2),E_=w_(Me,2),M_="water.session.v1",O_=Sn({token:"",userId:"",identities:[],active:null,configuration:null,configError:"",epoch:0});function A_(){O_.token="",O_.userId="",O_.identities=[],O_.active=null,O_.epoch++,Cm(M_)}let $_="https://ss.erp.cash/api/mini/v1";$_="https://ss.erp.cash/api/mini/v1";const P_="https://ss.erp.cash/api/mini/v1".replace(/\/$/,"");class L_ extends Error{constructor(e,t=0,n=0,o=""){super(e),this.status=t,this.code=n,this.requestId=o}}function R_(e,t,n={},o=!0){const i=O_.token,r=O_.epoch;return o&&!i?Promise.reject(new L_("请先登录",401,40101)):new Promise((s,a)=>{zm({url:`${P_}${e}`,method:t,data:n,timeout:e.endsWith("/photos")?45e3:15e3,header:{"Content-Type":"application/json",...o?{Authorization:`Bearer ${i}`}:{}},success(e){if(o&&r!==O_.epoch)return void a(new L_("登录身份已切换,请重新加载"));const t=e.data;e.statusCode>=200&&e.statusCode<300&&0===(null==t?void 0:t.code)?s(t.data):(401===e.statusCode&&o&&O_.token===i&&A_(),a(new L_((null==t?void 0:t.message)||`请求失败(${e.statusCode})`,e.statusCode,null==t?void 0:t.code,null==t?void 0:t.request_id)))},fail(){a(new L_("网络连接失败,请检查网络后重试"))}})})}const I_=(e,t={},n=!0)=>R_(e,"GET",t,n),D_=(e,t,n=!0)=>R_(e,"POST",t,n);function B_(){bm(M_,{token:O_.token,userId:O_.userId})}async function N_(){try{O_.configuration=await I_("/config",{},!1),O_.configError=""}catch(e){O_.configError=e instanceof Error?e.message:"服务连接失败"}}function j_(e){A_(),O_.token=e.access_token,O_.userId=e.user_id,O_.identities=e.identities,O_.active=1===e.identities.length?e.identities[0]:null,B_()}async function V_(){const e=await I_("/me"),t=O_.active?`${O_.active.role}:${O_.active.resource_id}`:"";O_.identities=e.identities,O_.active=1===e.identities.length?e.identities[0]:null,t!==(O_.active?`${O_.active.role}:${O_.active.resource_id}`:"")&&O_.epoch++,B_()}function F_(e=O_.active){return"driver"===(null==e?void 0:e.role)?"/pages/driver/dashboard":"agent"===(null==e?void 0:e.role)?"/pages/agent/dashboard":"/pages/home/index"}function q_(){return O_.active?F_():"/pages/account/identities"}function H_(e){const t=O_.active;if(!O_.token)throw new Error("请先登录");if(!t||("enterprise"===e?!t.role.startsWith("enterprise_"):t.role!==e))throw new Error("请选择对应的业务身份");return`/${"enterprise"===e?"enterprises":`${e}s`}/${t.resource_id}`}function W_(){var e;return"enterprise_admin"===(null==(e=O_.active)?void 0:e.role)}async function z_(){await D_("/auth/logout",{}),A_(),Fp({url:"/pages/home/index"})}const Y_=ni({__name:"App",setup:e=>(C_(()=>{!function(){const e=xm(M_);e&&"string"==typeof e.token&&/^[a-f0-9]{64}$/.test(e.token)&&(O_.token=e.token,O_.userId=String(e.userId||""),O_.identities=[],O_.active=null)}(),N_(),O_.token&&V_().then(()=>{Fp({url:q_()})}).catch(()=>{})}),()=>{})});Bg(Y_,{init:Ig,setup(e){const t=fd(),n=()=>{var n;n=e,Object.keys(np).forEach(e=>{np[e].forEach(t=>{_i(e,t,n)})});const{onLaunch:o,onShow:i,onPageNotFound:r}=e,s=function({path:e,query:t}){return c(jf,{path:e,query:t}),c(Vf,jf),c({},jf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:nt(t.query)});if(o&&R(o,s),i&&R(i,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:nt(t.query),scene:1001};Hp(),r&&R(r,e)}};return nr($l).isReady().then(n),xi(()=>{window.addEventListener("resize",rt(jg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Vg),document.addEventListener("visibilitychange",Fg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Wv.emit(le,{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()}),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Or(),Rr(kv));e.setup=(e,o)=>{const i=t&&t(e,o);return m(i)?n:i},e.render=n}}),ca(Y_).use(kg).mount("#app");export{Bv as $,Fe as A,D_ as B,Fn as C,ki as D,N_ as E,Cr as F,rd as G,Hf as H,vh as I,sa as J,j_ as K,q_ as L,V_ as M,_m as N,rm as O,z_ as P,No as Q,S_ as R,Qh as S,Zm as T,T_ as U,W_ as V,jp as W,rf as X,Sn as Y,lg as Z,tg as _,k_ as a,uv as a0,bm as a1,xm as a2,E_ as a3,Cm as a4,Mv as a5,Em as a6,Tm as a7,Jm as a8,A_ as a9,P_ as aa,Wm as ab,L_ as ac,wv as ad,Qm as ae,qn as af,Tv as ag,Pi as ah,ev as ai,zg as aj,Si as ak,Rr as b,us as c,ni as d,H_ as e,Or as f,I_ as g,Fr as h,cg as i,Hr as j,ig as k,F_ as l,Lr as m,$i as n,x_ as o,eg as p,Gf as q,Fp as r,O_ as s,X as t,zn as u,Wr as v,Co as w,Vr as x,cd as y,qe as z};