26 lines
274 KiB
JavaScript
26 lines
274 KiB
JavaScript
function __vite__mapDeps(indexes) {
|
||
if (!__vite__mapDeps.viteFileDeps) {
|
||
__vite__mapDeps.viteFileDeps = ["assets/pages-agreement-index.BgDWXgA-.js","assets/_plugin-vue_export-helper.C77rDQpE.js","assets/index-B7YcMUrp.css","assets/pages-agreement-preview-index.BCnRHSs3.js","assets/index-D9WWUj36.css"]
|
||
}
|
||
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||
}
|
||
!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){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"));r=Promise.all(n.map(t=>{if((t=function(e){return"/contact/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");return i.rel=n?"stylesheet":"modulepreload",n||(i.as="script",i.crossOrigin=""),i.href=t,o&&i.setAttribute("nonce",o),document.head.appendChild(i),n?new Promise((e,n)=>{i.addEventListener("load",e),i.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}))}return r.then(()=>t()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})};
|
||
/**
|
||
* @vue/shared v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/
|
||
function n(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),u=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,d=(e,t)=>f.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),v=e=>"function"==typeof e,m=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||v(e))&&v(e.then)&&v(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),k=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=C(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),A=/\B([A-Z])/g,I=C(e=>e.replace(A,"-$1").toLowerCase()),$=C(e=>e.charAt(0).toUpperCase()+e.slice(1)),M=C(e=>e?`on${$(e)}`:""),L=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},R=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const B=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function D(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?H(o):D(o);if(r)for(const e in r)t[e]=r[e]}return t}if(m(e)||b(e))return e}const V=/;(?![^(]*\))/g,q=/:([^]+)/,F=/\/\*[^]*?\*\//g;function H(e){const t={};return e.replace(F,"").split(V).forEach(e=>{if(e){const n=e.split(q);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function W(e){let t="";if(m(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=W(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const U=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}const z=e=>m(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!v(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>K(e))}:y(t)?K(t):!b(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var J={};const G=["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),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map(e=>"uni-"+e),Q=["list-item"].map(e=>"uni-"+e);function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==J.UNI_APP_X?-1!==G.indexOf(t):-1!==G.indexOf(t)||-1!==Z.indexOf(t)}const te="\n",ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="onShow",ie="onHide",se="onError",le="onThemeChange",ae="onPageNotFound",ue="onUnhandledRejection",ce="onLoad",fe="onUnload",de="onInit",pe="onSaveExitState",he="onUploadDouyinVideo",ge="onLiveMount",ve="onTitleClick",me="onResize",ye="onBackPress",be="onPageScroll",_e="onTabItemTap",we="onReachBottom",xe="onPullDownRefresh",Se="onShareTimeline",ke="onShareChat",Te="onCopyUrl",Ce="onAddToFavorites",Ee="onShareAppMessage",Oe="onNavigationBarButtonTap",Ae="onNavigationBarSearchInputClicked",Ie="onNavigationBarSearchInputChanged",$e="onNavigationBarSearchInputConfirmed",Me="onNavigationBarSearchInputFocusChanged",Le="onAppEnterForeground",Pe="onAppEnterBackground";function Re(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 r=t[o];n[r]={enumerable:!1,value:e[r]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let r=0;r<e.length;r++){const i=e[r];switch(i){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+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=Re(t);if(0===n.length)return o;let r=this;for(let i=0;i<n.length;i++){const e=n[i];if(!(r instanceof Object))return o;if(!(e in r))return o;r=r[e]}return r}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=Re(t);return this._getValue(e,n)}getString(e,t){const n=Re(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=Re(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=Re(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=Re(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=Re(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(I(t));)t=(e=e.parent).type.name;return e.proxy}function Be(e){return 1===e.nodeType}function De(e){if(e instanceof Ne){const t={};return Ne.keys(e).forEach(n=>{t[n]=e[n]}),D(t)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),D(t)}if(m(e))return H(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?H(o):De(o);if(r)for(const e in r)t[e]=r[e]}return t}return D(e)}function Ve(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(p(e))for(let n=0;n<e.length;n++){const o=Ve(e[n]);o&&(t+=o+" ")}else t=W(e);return t.trim()}function qe(e){return 0===e.indexOf("/")}function Fe(e){return qe(e)?e:"/"+e}function He(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function We(e){return O(e.substring(5))}const Ue=He(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={}))[We(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[We(t)],o.call(this,t)}});function Ye(e){return u({},e.dataset,e.__uniDataset)}const ze=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Xe(e){return{passive:e}}function Ke(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ye(e),offsetTop:n,offsetLeft:o}}function Je(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ge(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=Je(e[n])}catch(o){t[n]=e[n]}}),t}const Ze=/\+/g;function Qe(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(Ze," ");let r=e.indexOf("="),i=Je(r<0?e:e.slice(0,r)),s=r<0?null:Je(e.slice(r+1));if(i in t){let e=t[i];p(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}class et{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 tt=[de,ce,re,ie,fe,me,ye,be,_e,we,xe,Se,Ee,ke,Te,he,ge,ve,Ce,pe,Oe,Ae,Ie,$e,Me];const nt=[re,ie,"onLaunch",se,le,ae,ue,"onExit",de,ce,"onReady",fe,me,ye,be,_e,we,xe,Se,Ce,Ee,ke,Te,he,ge,ve,pe,Oe,Ae,Ie,$e,Me,"onLastPageBackPress"];let ot;const rt=[];function it(e){if(ot)return e(ot);rt.push(e)}const st=He((e,t)=>t(e)),lt=function(){};lt.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var at=lt;const ut={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function ct(e,t,n){if(m(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in ut?ut[o]:o}return r}var o;return t}function ft(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach(i=>{const s=e[i];r[i]=S(s)?ft(s,t,n):p(s)?s.map(e=>S(e)?ft(e,t,n):ct(o,e)):ct(o,s,i)}),r):e}
|
||
/**
|
||
* @dcloudio/uni-h5-vue v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let dt,pt;class ht{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!e&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=dt;try{return dt=this,e()}finally{dt=t}}}on(){dt=this}off(){dt=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 gt(e){return new ht(e)}class vt{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=dt){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,kt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(mt(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Tt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=wt,t=pt;try{return wt=!0,pt=this,this._runnings++,yt(this),this.fn()}finally{bt(this),this._runnings--,pt=t,wt=e}}stop(){var e;this.active&&(yt(this),bt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function mt(e){return e.value}function yt(e){e._trackId++,e._depsLength=0}function bt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)_t(e.deps[t],e);e.deps.length=e._depsLength}}function _t(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let wt=!0,xt=0;const St=[];function kt(){St.push(wt),wt=!1}function Tt(){const e=St.pop();wt=void 0===e||e}function Ct(){xt++}function Et(){for(xt--;!xt&&At.length;)At.shift()()}function Ot(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&_t(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const At=[];function It(e,t,n){Ct();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&&At.push(o.scheduler)))}Et()}const $t=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Mt=new WeakMap,Lt=Symbol(""),Pt=Symbol("");function Rt(e,t,n){if(wt&&pt){let t=Mt.get(e);t||Mt.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=$t(()=>t.delete(n))),Ot(pt,o)}}function Nt(e,t,n,o,r,i){const s=Mt.get(e);if(!s)return;let l=[];if("clear"===t)l=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach((t,n)=>{("length"===n||!y(n)&&n>=e)&&l.push(t)})}else switch(void 0!==n&&l.push(s.get(n)),t){case"add":p(e)?k(n)&&l.push(s.get("length")):(l.push(s.get(Lt)),h(e)&&l.push(s.get(Pt)));break;case"delete":p(e)||(l.push(s.get(Lt)),h(e)&&l.push(s.get(Pt)));break;case"set":h(e)&&l.push(s.get(Lt))}Ct();for(const a of l)a&&It(a,4);Et()}const jt=n("__proto__,__v_isRef,__isVue"),Bt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y)),Dt=Vt();function Vt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=An(this);for(let t=0,r=this.length;t<r;t++)Rt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(An)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){kt(),Ct();const n=An(this)[t].apply(this,e);return Et(),Tt(),n}}),e}function qt(e){const t=An(this);return Rt(t,0,e),t.hasOwnProperty(e)}class Ft{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?bn:yn:r?mn:vn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&d(Dt,t))return Reflect.get(Dt,t,n);if("hasOwnProperty"===t)return qt}const s=Reflect.get(e,t,n);return(y(t)?Bt.has(t):jt(t))?s:(o||Rt(e,0,t),r?s:Nn(s)?i&&k(t)?s:s.value:b(s)?o?Sn(s):wn(s):s)}}class Ht extends Ft{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Cn(r);if(En(n)||Cn(n)||(r=An(r),n=An(n)),!p(e)&&Nn(r)&&!Nn(n))return!t&&(r.value=n,!0)}const i=p(e)&&k(t)?Number(t)<e.length:d(e,t),s=Reflect.set(e,t,n,o);return e===An(o)&&(i?L(n,r)&&Nt(e,"set",t,n):Nt(e,"add",t,n)),s}deleteProperty(e,t){const n=d(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Nt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return y(t)&&Bt.has(t)||Rt(e,0,t),n}ownKeys(e){return Rt(e,0,p(e)?"length":Lt),Reflect.ownKeys(e)}}class Wt extends Ft{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ut=new Ht,Yt=new Wt,zt=new Ht(!0),Xt=e=>e,Kt=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,o=!1){const r=An(e=e.__v_raw),i=An(t);n||(L(t,i)&&Rt(r,0,t),Rt(r,0,i));const{has:s}=Kt(r),l=o?Xt:n?Mn:$n;return s.call(r,t)?l(e.get(t)):s.call(r,i)?l(e.get(i)):void(e!==r&&e.get(t))}function Gt(e,t=!1){const n=this.__v_raw,o=An(n),r=An(e);return t||(L(e,r)&&Rt(o,0,e),Rt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Zt(e,t=!1){return e=e.__v_raw,!t&&Rt(An(e),0,Lt),Reflect.get(e,"size",e)}function Qt(e){e=An(e);const t=An(this);return Kt(t).has.call(t,e)||(t.add(e),Nt(t,"add",e,e)),this}function en(e,t){t=An(t);const n=An(this),{has:o,get:r}=Kt(n);let i=o.call(n,e);i||(e=An(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?L(t,s)&&Nt(n,"set",e,t):Nt(n,"add",e,t),this}function tn(e){const t=An(this),{has:n,get:o}=Kt(t);let r=n.call(t,e);r||(e=An(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Nt(t,"delete",e,void 0),i}function nn(){const e=An(this),t=0!==e.size,n=e.clear();return t&&Nt(e,"clear",void 0,void 0),n}function on(e,t){return function(n,o){const r=this,i=r.__v_raw,s=An(i),l=t?Xt:e?Mn:$n;return!e&&Rt(s,0,Lt),i.forEach((e,t)=>n.call(o,l(e),l(t),r))}}function rn(e,t,n){return function(...o){const r=this.__v_raw,i=An(r),s=h(i),l="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,u=r[e](...o),c=n?Xt:t?Mn:$n;return!t&&Rt(i,0,a?Pt:Lt),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function sn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ln(){const e={get(e){return Jt(this,e)},get size(){return Zt(this)},has:Gt,add:Qt,set:en,delete:tn,clear:nn,forEach:on(!1,!1)},t={get(e){return Jt(this,e,!1,!0)},get size(){return Zt(this)},has:Gt,add:Qt,set:en,delete:tn,clear:nn,forEach:on(!1,!0)},n={get(e){return Jt(this,e,!0)},get size(){return Zt(this,!0)},has(e){return Gt.call(this,e,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:on(!0,!1)},o={get(e){return Jt(this,e,!0,!0)},get size(){return Zt(this,!0)},has(e){return Gt.call(this,e,!0)},add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear"),forEach:on(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=rn(r,!1,!1),n[r]=rn(r,!0,!1),t[r]=rn(r,!1,!0),o[r]=rn(r,!0,!0)}),[e,n,t,o]}const[an,un,cn,fn]=ln();function dn(e,t){const n=t?e?fn:cn:e?un:an;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,r)}const pn={get:dn(!1,!1)},hn={get:dn(!1,!0)},gn={get:dn(!0,!1)},vn=new WeakMap,mn=new WeakMap,yn=new WeakMap,bn=new WeakMap;function _n(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 wn(e){return Cn(e)?e:kn(e,!1,Ut,pn,vn)}function xn(e){return kn(e,!1,zt,hn,mn)}function Sn(e){return kn(e,!0,Yt,gn,yn)}function kn(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=_n(e);if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function Tn(e){return Cn(e)?Tn(e.__v_raw):!(!e||!e.__v_isReactive)}function Cn(e){return!(!e||!e.__v_isReadonly)}function En(e){return!(!e||!e.__v_isShallow)}function On(e){return Tn(e)||Cn(e)}function An(e){const t=e&&e.__v_raw;return t?An(t):e}function In(e){return Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const $n=e=>b(e)?wn(e):e,Mn=e=>b(e)?Sn(e):e;class Ln{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 vt(()=>e(this._value),()=>Rn(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=An(this);return e._cacheable&&!e.effect.dirty||!L(e._value,e._value=e.effect.run())||Rn(e,4),Pn(e),e.effect._dirtyLevel>=2&&Rn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pn(e){var t;wt&&pt&&(e=An(e),Ot(pt,null!=(t=e.dep)?t:e.dep=$t(()=>e.dep=void 0,e instanceof Ln?e:void 0)))}function Rn(e,t=4,n){const o=(e=An(e)).dep;o&&It(o,t)}function Nn(e){return!(!e||!0!==e.__v_isRef)}function jn(e){return Dn(e,!1)}function Bn(e){return Dn(e,!0)}function Dn(e,t){return Nn(e)?e:new Vn(e,t)}class Vn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:An(e),this._value=t?e:$n(e)}get value(){return Pn(this),this._value}set value(e){const t=this.__v_isShallow||En(e)||Cn(e);e=t?e:An(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:$n(e),Rn(this,4))}}function qn(e){return Nn(e)?e.value:e}const Fn={get:(e,t,n)=>qn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Nn(r)&&!Nn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Hn(e){return Tn(e)?e:new Proxy(e,Fn)}function Wn(e,t,n,o){try{return o?e(...o):e()}catch(r){Yn(r,t,n)}}function Un(e,t,n,o){if(v(e)){const r=Wn(e,t,n,o);return r&&_(r)&&r.catch(e=>{Yn(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(Un(e[i],t,n,o));return r}function Yn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Wn(s,null,10,[e,r,i])}zn(e,n,r,o)}function zn(e,t,n,o=!0){console.error(e)}let Xn=!1,Kn=!1;const Jn=[];let Gn=0;const Zn=[];let Qn=null,eo=0;const to=Promise.resolve();let no=null;function oo(e){const t=no||to;return e?t.then(this?e.bind(this):e):t}function ro(e){Jn.length&&Jn.includes(e,Xn&&e.allowRecurse?Gn+1:Gn)||(null==e.id?Jn.push(e):Jn.splice(function(e){let t=Gn+1,n=Jn.length;for(;t<n;){const o=t+n>>>1,r=Jn[o],i=ao(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),io())}function io(){Xn||Kn||(Kn=!0,no=to.then(co))}function so(e,t,n=(Xn?Gn+1:0)){for(;n<Jn.length;n++){const t=Jn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Jn.splice(n,1),n--,t()}}}function lo(e){if(Zn.length){const e=[...new Set(Zn)].sort((e,t)=>ao(e)-ao(t));if(Zn.length=0,Qn)return void Qn.push(...e);for(Qn=e,eo=0;eo<Qn.length;eo++)Qn[eo]();Qn=null,eo=0}}const ao=e=>null==e.id?1/0:e.id,uo=(e,t)=>{const n=ao(e)-ao(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function co(e){Kn=!1,Xn=!0,Jn.sort(uo);try{for(Gn=0;Gn<Jn.length;Gn++){const e=Jn[Gn];e&&!1!==e.active&&Wn(e,null,14)}}finally{Gn=0,Jn.length=0,lo(),Xn=!1,no=null,(Jn.length||Zn.length)&&co()}}function fo(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:s}=r[e]||o;s&&(i=n.map(e=>m(e)?e.trim():e)),t&&(i=n.map(N))}let a,u=r[a=M(t)]||r[a=M(O(t))];!u&&s&&(u=r[a=M(I(t))]),u&&Un(u,e,6,po(e,u,i));const c=r[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Un(c,e,6,po(e,c,i))}}function po(e,t,n){if(1!==n.length)return n;if(v(t)){if(t.length<2)return n}else if(!t.find(e=>e.length>=2))return n;const o=n[0];if(o&&d(o,"type")&&d(o,"timeStamp")&&d(o,"target")&&d(o,"currentTarget")&&d(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function ho(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},l=!1;if(!v(e)){const o=e=>{const n=ho(e,t,!0);n&&(l=!0,u(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||l?(p(i)?i.forEach(e=>s[e]=null):u(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function go(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,I(t))||d(e,t))}let vo=null,mo=null;function yo(e){const t=vo;return vo=e,mo=e&&e.type.__scopeId||null,t}function bo(e,t=vo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ei(-1);const r=yo(t);let i;try{i=e(...n)}finally{yo(r),o._d&&Ei(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function _o(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:l,attrs:u,emit:c,render:f,renderCache:d,data:p,setupState:h,ctx:g,inheritAttrs:v}=e;let m,y;const b=yo(e);try{if(4&n.shapeFlag){const e=r||o,t=e;m=qi(f.call(t,e,d,i,h,p,g)),y=u}else{const e=t;0,m=qi(e.length>1?e(i,{attrs:u,slots:l,emit:c}):e(i,null)),y=t.props?u:wo(u)}}catch(w){Si.length=0,Yn(w,e,1),m=ji(wi)}let _=m;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(a)&&(y=xo(y,s)),_=Bi(_,y))}return n.dirs&&(_=Bi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,yo(b),m}const wo=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},xo=(e,t)=>{const n={};for(const o in e)a(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function So(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!go(n,i))return!0}return!1}const ko="components";function To(e,t){return Oo(ko,e,!0,t)||e}const Co=Symbol.for("v-ndc");function Eo(e){return m(e)?Oo(ko,e,!1)||e:e||Co}function Oo(e,t,n=!0,o=!1){const r=vo||Xi;if(r){const n=r.type;{const e=is(n,!1);if(e&&(e===t||e===O(t)||e===$(O(t))))return n}const i=Ao(r[e]||n[e],t)||Ao(r.appContext[e],t);return!i&&o?n:i}}function Ao(e,t){return e&&(e[t]||e[O(t)]||e[$(O(t))])}const Io=e=>e.__isSuspense;const $o=Symbol.for("v-scx");function Mo(e,t){return Ro(e,null,t)}const Lo={};function Po(e,t,n){return Ro(e,t,n)}function Ro(e,t,{immediate:n,deep:r,flush:s,once:l,onTrack:a,onTrigger:u}=o){if(t&&l){const e=t;t=(...t)=>{e(...t),C()}}const f=Xi,d=e=>!0===r?e:Bo(e,!1===r?1:void 0);let h,g,m=!1,y=!1;if(Nn(e)?(h=()=>e.value,m=En(e)):Tn(e)?(h=()=>d(e),m=!0):p(e)?(y=!0,m=e.some(e=>Tn(e)||En(e)),h=()=>e.map(e=>Nn(e)?e.value:Tn(e)?d(e):v(e)?Wn(e,f,2):void 0)):h=v(e)?t?()=>Wn(e,f,2):()=>(g&&g(),Un(e,f,3,[_])):i,t&&r){const e=h;h=()=>Bo(e())}let b,_=e=>{g=k.onStop=()=>{Wn(e,f,4),g=k.onStop=void 0}};if(ts){if(_=i,t?n&&Un(t,f,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=Zr($o);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Lo):Lo;const x=()=>{if(k.active&&k.dirty)if(t){const e=k.run();(r||m||(y?e.some((e,t)=>L(e,w[t])):L(e,w)))&&(g&&g(),Un(t,f,3,[e,w===Lo?void 0:y&&w[0]===Lo?[]:w,_]),w=e)}else k.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>pi(x,f&&f.suspense):(x.pre=!0,f&&(x.id=f.uid),S=()=>ro(x));const k=new vt(h,i,S),T=dt,C=()=>{k.stop(),T&&c(T.effects,k)};return t?n?x():w=k.run():"post"===s?pi(k.run.bind(k),f&&f.suspense):k.run(),b&&b.push(C),C}function No(e,t,n){const o=this.proxy,r=m(e)?e.includes(".")?jo(o,e):()=>o[e]:e.bind(o,o);let i;v(t)?i=t:(i=t.handler,n=t);const s=Zi(this),l=Ro(r,i.bind(o),n);return s(),l}function jo(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 Bo(e,t,n=0,o){if(!b(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Nn(e))Bo(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)Bo(e[r],t,n,o);else if(g(e)||h(e))e.forEach(e=>{Bo(e,t,n,o)});else if(S(e))for(const r in e)Bo(e[r],t,n,o);return e}function Do(e,t){if(null===vo)return e;const n=rs(vo)||vo.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,s,l,a=o]=t[i];e&&(v(e)&&(e={mounted:e,updated:e}),e.deep&&Bo(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function Vo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const l=r[s];i&&(l.oldValue=i[s].value);let a=l.dir[o];a&&(kt(),Un(a,n,8,[e.el,l,e,t]),Tt())}}const qo=Symbol("_leaveCb"),Fo=Symbol("_enterCb");const Ho=[Function,Array],Wo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ho,onEnter:Ho,onAfterEnter:Ho,onEnterCancelled:Ho,onBeforeLeave:Ho,onLeave:Ho,onAfterLeave:Ho,onLeaveCancelled:Ho,onBeforeAppear:Ho,onAppear:Ho,onAfterAppear:Ho,onAppearCancelled:Ho},Uo={name:"BaseTransition",props:Wo,setup(e,{slots:t}){const n=Ki(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yr(()=>{e.isMounted=!0}),wr(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&Go(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==wi){i=e;break}const s=An(e),{mode:l}=s;if(o.isLeaving)return Xo(i);const a=Ko(i);if(!a)return Xo(i);const u=zo(a,s,o,n);Jo(a,u);const c=n.subTree,f=c&&Ko(c);if(f&&f.type!==wi&&!Mi(a,f)){const e=zo(f,s,o,n);if(Jo(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Xo(i);"in-out"===l&&a.type!==wi&&(e.delayLeave=(e,t,n)=>{Yo(o,f)[String(f.key)]=f,e[qo]=()=>{t(),e[qo]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}};function Yo(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 zo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=Yo(n,e),x=(e,t)=>{e&&Un(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:i,persisted:s,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=v||l}t[qo]&&t[qo](!0);const i=w[_];i&&Mi(e,i)&&i.el[qo]&&i.el[qo](),x(o,[t])},enter(e){let t=a,o=u,i=c;if(!n.isMounted){if(!r)return;t=m||a,o=y||u,i=b||c}let s=!1;const l=e[Fo]=t=>{s||(s=!0,x(t?i:o,[e]),k.delayedLeave&&k.delayedLeave(),e[Fo]=void 0)};t?S(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t[Fo]&&t[Fo](!0),n.isUnmounting)return o();x(f,[t]);let i=!1;const s=t[qo]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[qo]=void 0,w[r]===e&&delete w[r])};w[r]=e,d?S(d,[t,s]):s()},clone:e=>zo(e,t,n,o)};return k}function Xo(e){if(nr(e))return(e=Bi(e)).children=null,e}function Ko(e){return nr(e)?e.children?e.children[0]:void 0:e}function Jo(e,t){6&e.shapeFlag&&e.component?Jo(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 Go(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const l=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===bi?(128&s.patchFlag&&r++,o=o.concat(Go(s.children,t,l))):(t||s.type!==wi)&&o.push(null!=l?Bi(s,{key:l}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
|
||
/*! #__NO_SIDE_EFFECTS__ */function Zo(e,t){return v(e)?(()=>u({name:e.name},t,{setup:e}))():e}const Qo=e=>!!e.type.__asyncLoader;
|
||
/*! #__NO_SIDE_EFFECTS__ */function er(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:l}=e;let a,u=null,c=0;const f=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((c++,u=null,f())),()=>n(e),c+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),a=t,t)))};return Zo({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return a},setup(){const e=Xi;if(a)return()=>tr(a,e);const t=t=>{u=null,Yn(t,e,13,!o)};if(s&&e.suspense||ts)return f().then(t=>()=>tr(t,e)).catch(e=>(t(e),()=>o?ji(o,{error:e}):null));const l=jn(!1),c=jn(),d=jn(!!r);return r&&setTimeout(()=>{d.value=!1},r),null!=i&&setTimeout(()=>{if(!l.value&&!c.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),c.value=e}},i),f().then(()=>{l.value=!0,e.parent&&nr(e.parent.vnode)&&(e.parent.effect.dirty=!0,ro(e.parent.update))}).catch(e=>{t(e),c.value=e}),()=>l.value&&a?tr(a,e):c.value&&o?ji(o,{error:c.value}):n&&!d.value?ji(n):void 0}})}function tr(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ji(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const nr=e=>e.type.__isKeepAlive;class or{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const rr={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=Ki(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new or(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Mi(t,i)||"key"===e.matchBy&&t.key!==i.key?(fr(o=t),c(o,n,l,!0)):i&&fr(i)}const l=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:f}}}=o,d=f("div");function p(t){r.forEach((n,o)=>{const i=pr(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))})}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,P(i.ba),i.isDeactivated=e}u(e,t,n,0,l),a(i.vnode,e,t,n,i,l,o,e.slotScopeIds,r),pi(()=>{i.isDeactivated=!1,i.a&&P(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Ui(t,i.parent,e)},l)},o.deactivate=e=>{const t=e.component;t.bda&&hr(t.bda),u(e,d,null,1,l),pi(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&P(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ui(n,t.parent,e),t.isDeactivated=!0},l)},Po(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&p(t=>sr(e,t)),t&&p(e=>!sr(t,e))},{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,dr(n.subTree))};return yr(g),_r(g),wr(()=>{r.forEach((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:l}=n,a=dr(i);if(t.type===a.type&&("key"!==e.matchBy||t.key===a.key)){a.component.bda&&P(a.component.bda),fr(a);const e=a.component.da;return void(e&&pi(e,l))}})}),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!$i(o)||!(4&o.shapeFlag)&&!Io(o.type))return i=null,o;let s=dr(o);const l=s.type,a=pr(s,e.matchBy),{include:u,exclude:c}=e;if(u&&(!a||!sr(u,a))||c&&a&&sr(c,a))return i=s,o;const f=null==s.key?l:s.key,d=r.get(f);return s.el&&(s=Bi(s),Io(o.type)&&(o.ssContent=s)),h=f,d&&(s.el=d.el,s.component=d.component,s.transition&&Jo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Io(o.type)?o:s}}},ir=rr;function sr(e,t){return p(e)?e.some(e=>sr(e,t)):m(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function lr(e,t){ur(e,"a",t)}function ar(e,t){ur(e,"da",t)}function ur(e,t,n=Xi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,gr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)nr(e.parent.vnode)&&cr(o,t,n,e),e=e.parent}}function cr(e,t,n,o){const r=gr(t,e,o,!0);xr(()=>{c(o[t],r)},n)}function fr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function dr(e){return Io(e.type)?e.ssContent:e}function pr(e,t){if("name"===t){const t=e.type;return is(Qo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function hr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function gr(e,t,n=Xi,o=!1){if(n){if(r=e,tt.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[ce,re].indexOf(e)>-1}(e))){const o=n.proxy;Un(t.bind(o),n,e,ce===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;kt();const r=Zi(n),i=Un(t,n,e,o);return r(),Tt(),i});return o?i.unshift(s):i.push(s),s}var r}const vr=e=>(t,n=Xi)=>(!ts||"sp"===e)&&gr(e,(...e)=>t(...e),n),mr=vr("bm"),yr=vr("m"),br=vr("bu"),_r=vr("u"),wr=vr("bum"),xr=vr("um"),Sr=vr("sp"),kr=vr("rtg"),Tr=vr("rtc");function Cr(e,t=Xi){gr("ec",e,t)}function Er(e,t,n,o){let r;const i=n;if(p(e)||m(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i)}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i)}}else r=[];return r}function Or(e,t,n={},o,r){if(vo.isCE||vo.parent&&Qo(vo.parent)&&vo.parent.isCE)return"default"!==t&&(n.name=t),ji("slot",n,o);let i=e[t];i&&i._c&&(i._d=!1),Ti();const s=i&&Ar(i(n)),l=Ii(bi,{key:n.key||s&&s.key||`_${t}`},s||[],s&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Ar(e){return e.some(e=>!$i(e)||e.type!==wi&&!(e.type===bi&&!Ar(e.children)))?e:null}const Ir=e=>{if(!e)return null;if(es(e)){return rs(e)||e.proxy}return Ir(e.parent)},$r=u(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=>Ir(e.parent),$root:e=>Ir(e.root),$emit:e=>e.emit,$options:e=>Dr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,ro(e.update)})(e)),$nextTick:e=>e.n||(e.n=oo.bind(e.proxy)),$watch:e=>No.bind(e)}),Mr=(e,t)=>e!==o&&!e.__isScriptSetup&&d(e,t),Lr={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:l,type:a,appContext:u}=e;let c;if("$"!==t[0]){const a=l[t];if(void 0!==a)switch(a){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Mr(r,t))return l[t]=1,r[t];if(i!==o&&d(i,t))return l[t]=2,i[t];if((c=e.propsOptions[0])&&d(c,t))return l[t]=3,s[t];if(n!==o&&d(n,t))return l[t]=4,n[t];Rr&&(l[t]=0)}}const f=$r[t];let p,h;return f?("$attrs"===t&&Rt(e,0,t),f(e)):(p=a.__cssModules)&&(p=p[t])?p:n!==o&&d(n,t)?(l[t]=4,n[t]):(h=u.config.globalProperties,d(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Mr(i,t)?(i[t]=n,!0):r!==o&&d(r,t)?(r[t]=n,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},l){let a;return!!n[l]||e!==o&&d(e,l)||Mr(t,l)||(a=s[0])&&d(a,l)||d(r,l)||d($r,l)||d(i.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pr(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Rr=!0;function Nr(e){const t=Dr(e),n=e.proxy,o=e.ctx;Rr=!1,t.beforeCreate&&jr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:l,watch:a,provide:u,inject:c,created:f,beforeMount:d,mounted:h,beforeUpdate:g,updated:m,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:k,render:T,renderTracked:C,renderTriggered:E,errorCaptured:O,serverPrefetch:A,expose:I,inheritAttrs:$,components:M,directives:L,filters:P}=t;if(c&&function(e,t){p(e)&&(e=Hr(e));for(const n in e){const o=e[n];let r;r=b(o)?"default"in o?Zr(o.from||n,o.default,!0):Zr(o.from||n):Zr(o),Nn(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(c,o,null),l)for(const i in l){const e=l[i];v(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=wn(t))}if(Rr=!0,s)for(const p in s){const e=s[p],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):i,r=!v(e)&&v(e.set)?e.set.bind(n):i,l=ss({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(a)for(const i in a)Br(a[i],o,n,i);if(u){const e=v(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{Gr(t,e[t])})}function R(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&jr(f,e,"c"),R(mr,d),R(yr,h),R(br,g),R(_r,m),R(lr,y),R(ar,_),R(Cr,O),R(Tr,C),R(kr,E),R(wr,x),R(xr,k),R(Sr,A),p(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});T&&e.render===i&&(e.render=T),null!=$&&(e.inheritAttrs=$),M&&(e.components=M),L&&(e.directives=L);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function jr(e,t,n){Un(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Br(e,t,n,o){const r=o.includes(".")?jo(n,o):()=>n[o];if(m(e)){const n=t[e];v(n)&&Po(r,n)}else if(v(e))Po(r,e.bind(n));else if(b(e))if(p(e))e.forEach(e=>Br(e,t,n,o));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&Po(r,o,e)}}function Dr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:r.length||n||o?(a={},r.length&&r.forEach(e=>Vr(a,e,s,!0)),Vr(a,t,s)):a=t,b(t)&&i.set(t,a),a}function Vr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Vr(e,i,n,!0),r&&r.forEach(t=>Vr(e,t,n,!0));for(const s in t)if(o&&"expose"===s);else{const o=qr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const qr={data:Fr,props:Yr,emits:Yr,methods:Ur,computed:Ur,beforeCreate:Wr,created:Wr,beforeMount:Wr,mounted:Wr,beforeUpdate:Wr,updated:Wr,beforeDestroy:Wr,beforeUnmount:Wr,destroyed:Wr,unmounted:Wr,activated:Wr,deactivated:Wr,errorCaptured:Wr,serverPrefetch:Wr,components:Ur,directives:Ur,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const o in t)n[o]=Wr(e[o],t[o]);return n},provide:Fr,inject:function(e,t){return Ur(Hr(e),Hr(t))}};function Fr(e,t){return t?e?function(){return u(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Hr(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Wr(e,t){return e?[...new Set([].concat(e,t))]:t}function Ur(e,t){return e?u(Object.create(null),e,t):t}function Yr(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:u(Object.create(null),Pr(e),Pr(null!=t?t:{})):t}function zr(){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 Xr=0;function Kr(e,t){return function(t,n=null){v(t)||(t=u({},t)),null==n||b(n)||(n=null);const o=zr(),r=new WeakSet;let i=!1;const s=o.app={_uid:Xr++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:as,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&v(e.install)?(r.add(e),e.install(s,...t)):v(e)&&(r.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(r,l,a){if(!i){const l=ji(t,n);return l.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),e(l,r,a),i=!0,s._container=r,r.__vue_app__=s,s._instance=l.component,rs(l.component)||l.component.proxy}},unmount(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s),runWithContext(e){const t=Jr;Jr=s;try{return e()}finally{Jr=t}}};return s}}let Jr=null;function Gr(e,t){if(Xi){let n=Xi.provides;const o=Xi.parent&&Xi.parent.provides;o===n&&(n=Xi.provides=Object.create(o)),n[e]=t,"app"===Xi.type.mpType&&Xi.appContext.app.provide(e,t)}else;}function Zr(e,t,n=!1){const o=Xi||vo;if(o||Jr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Jr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&v(t)?t.call(o&&o.proxy):t}}function Qr(e,t,n,r){const[i,s]=e.propsOptions;let l,a=!1;if(t)for(let o in t){if(T(o))continue;const u=t[o];let c;i&&d(i,c=O(o))?s&&s.includes(c)?(l||(l={}))[c]=u:n[c]=u:go(e.emitsOptions,o)||o in r&&u===r[o]||(r[o]=ei(e,o,u),a=!0)}if(s){const t=An(n),r=l||o;for(let o=0;o<s.length;o++){const l=s[o];n[l]=ti(i,t,l,r[l],e,!d(r,l))}}return a}function ei(e,t,n){return n}function ti(e,t,n,o,r,i){const s=function(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=d(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&v(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=Zi(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==I(n)||(o=!0))}return o}(e,t,n,o,r,i);return s}function ni(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const l=e.props,a={},c=[];let f=!1;if(!v(e)){const o=e=>{f=!0;const[n,o]=ni(e,t,!0);u(a,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!l&&!f)return b(e)&&i.set(e,r),r;if(p(l))for(let r=0;r<l.length;r++){const e=O(l[r]);oi(e)&&(a[e]=o)}else if(l)for(const o in l){const e=O(o);if(oi(e)){const t=l[o],n=a[e]=p(t)||v(t)?{type:t}:u({},t);if(n){const t=si(Boolean,n.type),o=si(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||d(n,"default"))&&c.push(e)}}}const h=[a,c];return b(e)&&i.set(e,h),h}function oi(e){return"$"!==e[0]&&!T(e)}function ri(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 ii(e,t){return ri(e)===ri(t)}function si(e,t){return p(t)?t.findIndex(t=>ii(t,e)):v(t)&&ii(t,e)?0:-1}const li=e=>"_"===e[0]||"$stable"===e,ai=e=>p(e)?e.map(qi):[qi(e)],ui=(e,t,n)=>{if(t._n)return t;const o=bo((...e)=>ai(t(...e)),n);return o._c=!1,o},ci=(e,t,n)=>{const o=e._ctx;for(const r in e){if(li(r))continue;const n=e[r];if(v(n))t[r]=ui(0,n,o);else if(null!=n){const e=ai(n);t[r]=()=>e}}},fi=(e,t)=>{const n=ai(t);e.slots.default=()=>n};function di(e,t,n,r,i=!1){if(p(e))return void e.forEach((e,o)=>di(e,t&&(p(t)?t[o]:t),n,r,i));if(Qo(r)&&!i)return;const s=4&r.shapeFlag?rs(r.component)||r.component.proxy:r.el,l=i?null:s,{i:a,r:u}=e,f=t&&t.r,h=a.refs===o?a.refs={}:a.refs,g=a.setupState;if(null!=f&&f!==u&&(m(f)?(h[f]=null,d(g,f)&&(g[f]=null)):Nn(f)&&(f.value=null)),v(u))Wn(u,a,12,[l,h]);else{const t=m(u),o=Nn(u);if(t||o){const r=()=>{if(e.f){const n=t?d(g,u)?g[u]:h[u]:u.value;i?p(n)&&c(n,s):p(n)?n.includes(s)||n.push(s):t?(h[u]=[s],d(g,u)&&(g[u]=h[u])):(u.value=[s],e.k&&(h[e.k]=u.value))}else t?(h[u]=l,d(g,u)&&(g[u]=l)):o&&(u.value=l,e.k&&(h[e.k]=l))};l?(r.id=-1,pi(r,n)):r()}}}const pi=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?Zn.push(...n):Qn&&Qn.includes(n,n.allowRecurse?eo+1:eo)||Zn.push(n),io())};function hi(e){return function(e){B().__VUE__=!0;const{insert:t,remove:n,patchProp:s,forcePatchProp:l,createElement:a,createText:c,createComment:f,setText:p,setElementText:h,parentNode:g,nextSibling:v,setScopeId:m=i,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,i=null,s=void 0,l=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!Mi(e,t)&&(o=ee(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:f}=t;switch(u){case _i:w(e,t,n,o);break;case wi:x(e,t,n,o);break;case xi:null==e&&S(t,n,o,s);break;case bi:D(e,t,n,o,r,i,s,l,a);break;default:1&f?E(e,t,n,o,r,i,s,l,a):6&f?V(e,t,n,o,r,i,s,l,a):(64&f||128&f)&&u.process(e,t,n,o,r,i,s,l,a,oe)}null!=c&&r&&di(c,e&&e.ref,i,t||e,!t)},w=(e,n,o,r)=>{if(null==e)t(n.el=c(n.children),o,r);else{const t=n.el=e.el;n.children!==e.children&&p(t,n.children)}},x=(e,n,o,r)=>{null==e?t(n.el=f(n.children||""),o,r):n.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:n},o,r)=>{let i;for(;e&&e!==n;)i=v(e),t(e,o,r),e=i;t(n,o,r)},C=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=v(e),n(e),e=o;n(t)},E=(e,t,n,o,r,i,s,l,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,l,a):L(e,t,r,i,s,l,a)},A=(e,n,o,r,i,l,u,c)=>{let f,d;const{props:p,shapeFlag:g,transition:v,dirs:m}=e;if(f=e.el=a(e.type,l,p&&p.is,p),8&g?h(f,e.children):16&g&&M(e.children,f,null,r,i,gi(e,l),u,c),m&&Vo(e,null,r,"created"),$(f,e,e.scopeId,u,r),p){for(const t in p)"value"===t||T(t)||s(f,t,null,p[t],l,e.children,r,i,Q);"value"in p&&s(f,"value",null,p.value,l),(d=p.onVnodeBeforeMount)&&Ui(d,r,e)}Object.defineProperty(f,"__vueParentComponent",{value:r,enumerable:!1}),m&&Vo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,v);y&&v.beforeEnter(f),t(f,n,o),((d=p&&p.onVnodeMounted)||y||m)&&pi(()=>{d&&Ui(d,r,e),y&&v.enter(f),m&&Vo(e,null,r,"mounted")},i)},$=(e,t,n,o,r)=>{if(n&&m(e,n),o)for(let i=0;i<o.length;i++)m(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;$(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},M=(e,t,n,o,r,i,s,l,a=0)=>{for(let u=a;u<e.length;u++){const a=e[u]=l?Fi(e[u]):qi(e[u]);b(null,a,t,n,o,r,i,s,l)}},L=(e,t,n,r,i,a,u)=>{const c=t.el=e.el;let{patchFlag:f,dynamicChildren:d,dirs:p}=t;f|=16&e.patchFlag;const g=e.props||o,v=t.props||o;let m;if(n&&vi(n,!1),(m=v.onVnodeBeforeUpdate)&&Ui(m,n,t,e),p&&Vo(t,e,n,"beforeUpdate"),n&&vi(n,!0),d?N(e.dynamicChildren,d,c,n,r,gi(t,i),a):u||U(e,t,c,null,n,r,gi(t,i),a,!1),f>0){if(16&f)j(c,t,g,v,n,r,i);else if(2&f&&g.class!==v.class&&s(c,"class",null,v.class,i),4&f&&s(c,"style",g.style,v.style,i),8&f){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const a=o[t],u=g[a],f=v[a];(f!==u||"value"===a||l&&l(c,a))&&s(c,a,u,f,i,e.children,n,r,Q)}}1&f&&e.children!==t.children&&h(c,t.children)}else u||null!=d||j(c,t,g,v,n,r,i);((m=v.onVnodeUpdated)||p)&&pi(()=>{m&&Ui(m,n,t,e),p&&Vo(t,e,n,"updated")},r)},N=(e,t,n,o,r,i,s)=>{for(let l=0;l<t.length;l++){const a=e[l],u=t[l],c=a.el&&(a.type===bi||!Mi(a,u)||70&a.shapeFlag)?g(a.el):n;b(a,u,c,null,o,r,i,s,!0)}},j=(e,t,n,r,i,a,u)=>{if(n!==r){if(n!==o)for(const o in n)T(o)||o in r||s(e,o,n[o],null,u,t.children,i,a,Q);for(const o in r){if(T(o))continue;const c=r[o],f=n[o];(c!==f&&"value"!==o||l&&l(e,o))&&s(e,o,f,c,u,t.children,i,a,Q)}"value"in r&&s(e,"value",n.value,r.value,u)}},D=(e,n,o,r,i,s,l,a,u)=>{const f=n.el=e?e.el:c(""),d=n.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=n;g&&(a=a?a.concat(g):g),null==e?(t(f,o,r),t(d,o,r),M(n.children||[],o,d,i,s,l,a,u)):p>0&&64&p&&h&&e.dynamicChildren?(N(e.dynamicChildren,h,o,i,s,l,a),(null!=n.key||i&&n===i.subTree)&&mi(e,n,!0)):U(e,n,o,d,i,s,l,a,u)},V=(e,t,n,o,r,i,s,l,a)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,a):q(t,n,o,r,i,s,a):F(e,t,a)},q=(e,t,n,r,i,s,l)=>{const a=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Yi,s={uid:zi++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new ht(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ni(r,i),emitsOptions:ho(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=fo.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(nr(e)&&(a.ctx.renderer=oe),function(e,t=!1){t&&Gi(t);const{props:n,children:o}=e.vnode,r=es(e);(function(e,t,n,o=!1){const r={},i={};R(i,Li,1),e.propsDefaults=Object.create(null),Qr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:xn(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=An(t),R(t,"_",n)):ci(t,e.slots={})}else e.slots={},t&&fi(e,t);R(e.slots,Li,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=In(new Proxy(e.ctx,Lr));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)=>(Rt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Zi(e);kt();const i=Wn(o,e,0,[e.props,n]);if(Tt(),r(),_(i)){if(i.then(Qi,Qi),t)return i.then(t=>{ns(e,t)}).catch(t=>{Yn(t,e,0)});e.asyncDep=i}else ns(e,i)}else os(e)}(e,t):void 0;t&&Gi(!1)}(a),a.asyncDep){if(i&&i.registerDep(a,H),!e.el){const e=a.subTree=ji(wi);x(null,e,t,n)}}else H(a,e,t,n,i,s,l)},F=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!r&&!l||l&&l.$stable)||o!==s&&(o?!s||So(o,s,u):!!s);if(1024&a)return!0;if(16&a)return o?So(o,s,u):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!go(u,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=Jn.indexOf(e);t>Gn&&Jn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=(e,t,n,o,r,s,l)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:u}=e;{const n=yi(e);if(n)return t&&(t.el=u.el,W(e,t,l)),void n.asyncDep.then(()=>{e.isUnmounted||a()})}let c,f=t;vi(e,!1),t?(t.el=u.el,W(e,t,l)):t=u,n&&P(n),(c=t.props&&t.props.onVnodeBeforeUpdate)&&Ui(c,i,t,u),vi(e,!0);const d=_o(e),p=e.subTree;e.subTree=d,b(p,d,g(p.el),ee(p),e,r,s),t.el=d.el,null===f&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,d.el),o&&pi(o,r),(c=t.props&&t.props.onVnodeUpdated)&&pi(()=>Ui(c,i,t,u),r)}else{let i;const{el:l,props:a}=t,{bm:u,m:c,parent:f}=e,d=Qo(t);vi(e,!1),u&&P(u),!d&&(i=a&&a.onVnodeBeforeMount)&&Ui(i,f,t),vi(e,!0);{const i=e.subTree=_o(e);b(null,i,n,o,e,r,s),t.el=i.el}if(c&&pi(c,r),!d&&(i=a&&a.onVnodeMounted)){const e=t;pi(()=>Ui(i,f,e),r)}(256&t.shapeFlag||f&&Qo(f.vnode)&&256&f.vnode.shapeFlag)&&(e.ba&&hr(e.ba),e.a&&pi(e.a,r)),e.isMounted=!0,t=n=o=null}},u=e.effect=new vt(a,i,()=>ro(c),e.scope),c=e.update=()=>{u.dirty&&u.run()};c.id=e.uid,vi(e,!0),c()},W=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,l=An(r),[a]=e.propsOptions;let u=!1;if(!(o||s>0)||16&s){let o;Qr(e,t,r,i)&&(u=!0);for(const i in l)t&&(d(t,i)||(o=I(i))!==i&&d(t,o))||(a?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ti(a,l,i,void 0,e,!0)):delete r[i]);if(i!==l)for(const e in i)t&&d(t,e)||(delete i[e],u=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(go(e.emitsOptions,s))continue;const c=t[s];if(a)if(d(i,s))c!==i[s]&&(i[s]=ei(0,0,c),u=!0);else{const t=O(s);r[t]=ti(a,l,t,c,e,!1)}else c!==i[s]&&(i[s]=ei(0,0,c),u=!0)}}u&&Nt(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,l=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(u(i,t),n||1!==e||delete i._):(s=!t.$stable,ci(t,i)),l=t}else t&&(fi(e,t),l={default:1});if(s)for(const o in i)li(o)||null!=l[o]||delete i[o]})(e,t.children,n),kt(),so(e),Tt()},U=(e,t,n,o,r,i,s,l,a=!1)=>{const u=e&&e.children,c=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void z(u,f,n,o,r,i,s,l,a);if(256&d)return void Y(u,f,n,o,r,i,s,l,a)}8&p?(16&c&&Q(u,r,i),f!==u&&h(n,f)):16&c?16&p?z(u,f,n,o,r,i,s,l,a):Q(u,r,i,!0):(8&c&&h(n,""),16&p&&M(f,n,o,r,i,s,l,a))},Y=(e,t,n,o,i,s,l,a,u)=>{t=t||r;const c=(e=e||r).length,f=t.length,d=Math.min(c,f);let p;for(p=0;p<d;p++){const o=t[p]=u?Fi(t[p]):qi(t[p]);b(e[p],o,n,null,i,s,l,a,u)}c>f?Q(e,i,s,!0,!1,d):M(t,n,o,i,s,l,a,u,d)},z=(e,t,n,o,i,s,l,a,u)=>{let c=0;const f=t.length;let d=e.length-1,p=f-1;for(;c<=d&&c<=p;){const o=e[c],r=t[c]=u?Fi(t[c]):qi(t[c]);if(!Mi(o,r))break;b(o,r,n,null,i,s,l,a,u),c++}for(;c<=d&&c<=p;){const o=e[d],r=t[p]=u?Fi(t[p]):qi(t[p]);if(!Mi(o,r))break;b(o,r,n,null,i,s,l,a,u),d--,p--}if(c>d){if(c<=p){const e=p+1,r=e<f?t[e].el:o;for(;c<=p;)b(null,t[c]=u?Fi(t[c]):qi(t[c]),n,r,i,s,l,a,u),c++}}else if(c>p)for(;c<=d;)K(e[c],i,s,!0),c++;else{const h=c,g=c,v=new Map;for(c=g;c<=p;c++){const e=t[c]=u?Fi(t[c]):qi(t[c]);null!=e.key&&v.set(e.key,c)}let m,y=0;const _=p-g+1;let w=!1,x=0;const S=new Array(_);for(c=0;c<_;c++)S[c]=0;for(c=h;c<=d;c++){const o=e[c];if(y>=_){K(o,i,s,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(m=g;m<=p;m++)if(0===S[m-g]&&Mi(o,t[m])){r=m;break}void 0===r?K(o,i,s,!0):(S[r-g]=c+1,r>=x?x=r:w=!0,b(o,t[r],n,null,i,s,l,a,u),y++)}const k=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,l;const a=e.length;for(o=0;o<a;o++){const a=e[o];if(0!==a){if(r=n[n.length-1],e[r]<a){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<a?i=l+1:s=l;a<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):r;for(m=k.length-1,c=_-1;c>=0;c--){const e=g+c,r=t[e],d=e+1<f?t[e+1].el:o;0===S[c]?b(null,r,n,d,i,s,l,a,u):w&&(m<0||c!==k[m]?X(r,n,d,2):m--)}}},X=(e,n,o,r,i=null)=>{const{el:s,type:l,transition:a,children:u,shapeFlag:c}=e;if(6&c)return void X(e.component.subTree,n,o,r);if(128&c)return void e.suspense.move(n,o,r);if(64&c)return void l.move(e,n,o,oe);if(l===bi){t(s,n,o);for(let e=0;e<u.length;e++)X(u[e],n,o,r);return void t(e.anchor,n,o)}if(l===xi)return void k(e,n,o);if(2!==r&&1&c&&a)if(0===r)a.beforeEnter(s),t(s,n,o),pi(()=>a.enter(s),i);else{const{leave:e,delayLeave:r,afterLeave:i}=a,l=()=>t(s,n,o),u=()=>{e(s,()=>{l(),i&&i()})};r?r(s,l,u):u()}else t(s,n,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:l,children:a,dynamicChildren:u,shapeFlag:c,patchFlag:f,dirs:d}=e;if(null!=l&&di(l,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const p=1&c&&d,h=!Qo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&Ui(g,t,e),6&c)Z(e.component,n,o);else{if(128&c)return void e.suspense.unmount(n,o);p&&Vo(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,r,oe,o):u&&(i!==bi||f>0&&64&f)?Q(u,t,n,!1,!0):(i===bi&&384&f||!r&&16&c)&&Q(a,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&pi(()=>{g&&Ui(g,t,e),p&&Vo(e,null,t,"unmounted")},n)},J=e=>{const{type:t,el:o,anchor:r,transition:i}=e;if(t===bi)return void G(o,r);if(t===xi)return void C(e);const s=()=>{n(o),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:n}=i,r=()=>t(o,s);n?n(e.el,s,r):r()}else s()},G=(e,t)=>{let o;for(;e!==t;)o=v(e),n(e),e=o;n(t)},Z=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:l}=e;o&&P(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),l&&pi(l,t),pi(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)K(e[s],t,n,o,r)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),te||(te=!0,so(),lo(),te=!1),t._vnode=e},oe={p:b,um:K,m:X,r:J,mt:q,mc:M,pc:U,pbc:N,n:ee,o:e};let re;return{render:ne,hydrate:re,createApp:Kr(ne)}}(e)}function gi({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 vi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mi(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=Fi(r[i]),t.el=e.el),n||mi(e,t)),t.type===_i&&(t.el=e.el)}}function yi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:yi(t)}const bi=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),wi=Symbol.for("v-cmt"),xi=Symbol.for("v-stc"),Si=[];let ki=null;function Ti(e=!1){Si.push(ki=e?null:[])}let Ci=1;function Ei(e){Ci+=e}function Oi(e){return e.dynamicChildren=Ci>0?ki||r:null,Si.pop(),ki=Si[Si.length-1]||null,Ci>0&&ki&&ki.push(e),e}function Ai(e,t,n,o,r,i){return Oi(Ni(e,t,n,o,r,i,!0))}function Ii(e,t,n,o,r){return Oi(ji(e,t,n,o,r,!0))}function $i(e){return!!e&&!0===e.__v_isVNode}function Mi(e,t){return e.type===t.type&&e.key===t.key}const Li="__vInternal",Pi=({key:e})=>null!=e?e:null,Ri=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?m(e)||Nn(e)||v(e)?{i:vo,r:e,k:t,f:!!n}:e:null);function Ni(e,t=null,n=null,o=0,r=null,i=(e===bi?0:1),s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pi(t),ref:t&&Ri(t),scopeId:mo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:vo};return l?(Hi(a,n),128&i&&e.normalize(a)):n&&(a.shapeFlag|=m(n)?8:16),Ci>0&&!s&&ki&&(a.patchFlag>0||6&i)&&32!==a.patchFlag&&ki.push(a),a}const ji=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Co||(e=wi);if($i(e)){const o=Bi(e,t,!0);return n&&Hi(o,n),Ci>0&&!i&&ki&&(6&o.shapeFlag?ki[ki.indexOf(e)]=o:ki.push(o)),o.patchFlag|=-2,o}s=e,v(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?On(e)||Li in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!m(e)&&(t.class=Ve(e)),b(n)&&(On(n)&&!p(n)&&(n=u({},n)),t.style=De(n))}const l=m(e)?1:Io(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:v(e)?2:0;return Ni(e,t,n,o,r,l,i,!0)};function Bi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,l=t?Wi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Pi(l),ref:t&&t.ref?n&&r?p(r)?r.concat(Ri(t)):[r,Ri(t)]:Ri(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==bi?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bi(e.ssContent),ssFallback:e.ssFallback&&Bi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Di(e=" ",t=0){return ji(_i,null,e,t)}function Vi(e="",t=!1){return t?(Ti(),Ii(wi,null,e)):ji(wi,null,e)}function qi(e){return null==e||"boolean"==typeof e?ji(wi):p(e)?ji(bi,null,e.slice()):"object"==typeof e?Fi(e):ji(_i,null,String(e))}function Fi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Bi(e)}function Hi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Hi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Li in t?3===o&&vo&&(1===vo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=vo}}else v(t)?(t={default:t,_ctx:vo},n=32):(t=String(t),64&o?(n=16,t=[Di(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wi(...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=Ve([t.class,o.class]));else if("style"===e)t.style=De([t.style,o.style]);else if(l(e)){const n=t[e],r=o[e];!r||n===r||p(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Ui(e,t,n,o=null){Un(e,t,7,[n,o])}const Yi=zr();let zi=0;let Xi=null;const Ki=()=>Xi||vo;let Ji,Gi;{const e=B(),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)}};Ji=t("__VUE_INSTANCE_SETTERS__",e=>Xi=e),Gi=t("__VUE_SSR_SETTERS__",e=>ts=e)}const Zi=e=>{const t=Xi;return Ji(e),e.scope.on(),()=>{e.scope.off(),Ji(t)}},Qi=()=>{Xi&&Xi.scope.off(),Ji(null)};function es(e){return 4&e.vnode.shapeFlag}let ts=!1;function ns(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=Hn(t)),os(e)}function os(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=Zi(e);kt();try{Nr(e)}finally{Tt(),t()}}}function rs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hn(In(e.exposed)),{get:(t,n)=>n in t?t[n]:n in $r?$r[n](e):void 0,has:(e,t)=>t in e||t in $r}))}function is(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const ss=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=v(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Ln(o,r,s||!r,n)}(e,0,ts);return n};function ls(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?$i(t)?ji(e,null,[t]):ji(e,t):ji(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&$i(n)&&(n=[n]),ji(e,t,n))}const as="3.4.21",us="undefined"!=typeof document?document:null,cs=us&&us.createElement("template"),fs={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?us.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?us.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?us.createElement(e,{is:n}):us.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>us.createTextNode(e),createComment:e=>us.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>us.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{cs.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=cs.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ds="transition",ps="animation",hs=Symbol("_vtc"),gs=(e,{slots:t})=>ls(Uo,function(e){const t={};for(const u in e)u in vs||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=s,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[bs(e.enter),bs(e.leave)];{const t=bs(e);return[t,t]}}(r),v=g&&g[0],m=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:T=_,onAppearCancelled:C=w}=t,E=(e,t,n)=>{ws(e,t?f:l),ws(e,t?c:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,ws(e,d),ws(e,h),ws(e,p),t&&t()},A=e=>(t,n)=>{const r=e?T:_,s=()=>E(t,e,n);ms(r,[t,s]),xs(()=>{ws(t,e?a:i),_s(t,e?f:l),ys(r)||ks(t,o,v,s)})};return u(t,{onBeforeEnter(e){ms(y,[e]),_s(e,i),_s(e,s)},onBeforeAppear(e){ms(k,[e]),_s(e,a),_s(e,c)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);_s(e,d),document.body.offsetHeight,_s(e,p),xs(()=>{e._isLeaving&&(ws(e,d),_s(e,h),ys(x)||ks(e,o,m,n))}),ms(x,[e,n])},onEnterCancelled(e){E(e,!1),ms(w,[e])},onAppearCancelled(e){E(e,!0),ms(C,[e])},onLeaveCancelled(e){O(e),ms(S,[e])}})}(e),t);gs.displayName="Transition";const vs={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};gs.props=u({},Wo,vs);const ms=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},ys=e=>!!e&&(p(e)?e.some(e=>e.length>1):e.length>1);function bs(e){const t=(e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function _s(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[hs]||(e[hs]=new Set)).add(t)}function ws(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[hs];n&&(n.delete(t),n.size||(e[hs]=void 0))}function xs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ss=0;function ks(e,t,n,o){const r=e._endId=++Ss,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:l,propCount:a}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${ds}Delay`),i=o(`${ds}Duration`),s=Ts(r,i),l=o(`${ps}Delay`),a=o(`${ps}Duration`),u=Ts(l,a);let c=null,f=0,d=0;t===ds?s>0&&(c=ds,f=s,d=i.length):t===ps?u>0&&(c=ps,f=u,d=a.length):(f=Math.max(s,u),c=f>0?s>u?ds:ps:null,d=c?c===ds?i.length:a.length:0);const p=c===ds&&/\b(transform|all)(,|$)/.test(o(`${ds}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}(e,t);if(!s)return o();const u=s+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=t=>{t.target===e&&++c>=a&&f()};setTimeout(()=>{c<a&&f()},l+1),e.addEventListener(u,d)}function Ts(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Cs(t)+Cs(e[n])))}function Cs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Es=Symbol("_vod"),Os=Symbol("_vsh"),As={beforeMount(e,{value:t},{transition:n}){e[Es]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Is(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),Is(e,!0),o.enter(e)):o.leave(e,()=>{Is(e,!1)}):Is(e,t))},beforeUnmount(e,{value:t}){Is(e,t)}};function Is(e,t){e.style.display=t?e[Es]:"none",e[Os]=!t}const $s=Symbol(""),Ms=/(^|;)\s*display\s*:/;const Ls=/\s*!important$/;function Ps(e,t,n){if(p(n))n.forEach(n=>Ps(e,t,n));else if(null==n&&(n=""),n=Ws(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ns[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return Ns[t]=o;o=$(o);for(let r=0;r<Rs.length;r++){const n=Rs[r]+o;if(n in e)return Ns[t]=n}return t}(e,t);Ls.test(n)?e.setProperty(I(o),n.replace(Ls,""),"important"):e[o]=n}}const Rs=["Webkit","Moz","ms"],Ns={};const{unit:js,unitRatio:Bs,unitPrecision:Ds}={unit:"rem",unitRatio:10/320,unitPrecision:5},Vs=(qs=js,Fs=Bs,Hs=Ds,e=>e.replace(ze,(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)*Fs,Hs);return 0===n?"0":`${n}${qs}`}));var qs,Fs,Hs;const Ws=e=>m(e)?Vs(e):e,Us="http://www.w3.org/1999/xlink";const Ys=Symbol("_vei");function zs(e,t,n,o,r=null){const i=e[Ys]||(e[Ys]={}),s=i[t];if(o&&s)s.value=o;else{const[n,l]=function(e){let t;if(Xs.test(e)){let n;for(t={};n=e.match(Xs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):I(e.slice(2));return[n,t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=Zs(e,i);for(let o=0;o<n.length;o++){const i=n[o];Un(i,t,5,i.__wwe?[e]:r(e))}return}Un(Zs(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=Gs(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,l)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,l),i[t]=void 0)}}const Xs=/(?:Once|Passive|Capture)$/;let Ks=0;const Js=Promise.resolve(),Gs=()=>Ks||(Js.then(()=>Ks=0),Ks=Date.now());function Zs(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t})}return t}const Qs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const el=["ctrl","shift","alt","meta"],tl={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)=>el.some(n=>e[`${n}Key`]&&!t.includes(n))},nl=(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=tl[t[e]];if(o&&o(n,t))return}return e(n,...o)})},ol=u({patchProp:(e,t,n,o,r,i,s,u,c)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],l=(e.__wxsProps||(e.__wxsProps={}))[r];if(l===s)return;e.__wxsProps[r]=s;const a=o.proxy;oo(()=>{n(s,l,a.$gcd(a,!0),a.$gcd(a,!1))})}(e,t,o,s);const f="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter(e=>-1===r.indexOf(e)).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[hs];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,f):"style"===t?function(e,t,n){const o=e.style,r=m(n);let i=!1;if(n&&!r){if(t)if(m(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ps(o,t,"")}else for(const e in t)null==n[e]&&Ps(o,e,"");for(const e in n)"display"===e&&(i=!0),Ps(o,e,n[e])}else if(r){if(t!==n){const e=o[$s];e&&(n+=";"+e),o.cssText=n,i=Ms.test(n)}}else t&&e.removeAttribute("style");Es in e&&(e[Es]=i?o.display:"",e[Os]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const l in s)Ps(o,l,s[l])}(e,n,o):l(t)?a(t)||zs(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&&Qs(t)&&v(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(Qs(t)&&m(n))return!1;return t in e}(e,t,o,f))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){const o=null==n?"":n;return("OPTION"===l?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Y(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(u){}a&&e.removeAttribute(t)}(e,t,o,i,s,u,c):("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(Us,t.slice(6,t.length)):e.setAttributeNS(Us,t,n);else{const o=U(t);null==n||o&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,f))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},fs);let rl;const il=(...e)=>{const t=(rl||(rl=hi(ol))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(m(e)){return document.querySelector(e)}return e}
|
||
/*!
|
||
* vue-router v4.4.4
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/(e);if(!o)return;const r=t._component;v(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const sl="undefined"!=typeof document;function ll(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const al=Object.assign;function ul(e,t){const n={};for(const o in t){const r=t[o];n[o]=fl(r)?r.map(e):e(r)}return n}const cl=()=>{},fl=Array.isArray,dl=/#/g,pl=/&/g,hl=/\//g,gl=/=/g,vl=/\?/g,ml=/\+/g,yl=/%5B/g,bl=/%5D/g,_l=/%5E/g,wl=/%60/g,xl=/%7B/g,Sl=/%7C/g,kl=/%7D/g,Tl=/%20/g;function Cl(e){return encodeURI(""+e).replace(Sl,"|").replace(yl,"[").replace(bl,"]")}function El(e){return Cl(e).replace(ml,"%2B").replace(Tl,"+").replace(dl,"%23").replace(pl,"%26").replace(wl,"`").replace(xl,"{").replace(kl,"}").replace(_l,"^")}function Ol(e){return El(e).replace(gl,"%3D")}function Al(e){return null==e?"":function(e){return Cl(e).replace(dl,"%23").replace(vl,"%3F")}(e).replace(hl,"%2F")}function Il(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const $l=/\/$/;function Ml(e,t,n="/"){let o,r={},i="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(o=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(o=o||t.slice(0,l),s=t.slice(l,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,l=n.length-1;for(i=0;i<o.length;i++)if(s=o[i],"."!==s){if(".."!==s)break;l>1&&l--}return n.slice(0,l).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Il(s)}}function Ll(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Pl(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nl(e[n],t[n]))return!1;return!0}function Nl(e,t){return fl(e)?jl(e,t):fl(t)?jl(t,e):e===t}function jl(e,t){return fl(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Bl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dl,Vl,ql,Fl;function Hl(e){if(!e)if(sl){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace($l,"")}(Vl=Dl||(Dl={})).pop="pop",Vl.push="push",(Fl=ql||(ql={})).back="back",Fl.forward="forward",Fl.unknown="";const Wl=/^[^#]+#/;function Ul(e,t){return e.replace(Wl,"#")+t}const Yl=()=>({left:window.scrollX,top:window.scrollY});function zl(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Xl(e,t){return(history.state?history.state.position-t:-1)+e}const Kl=new Map;function Jl(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Ll(n,"")}return Ll(n,e)+o+r}function Gl(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Yl():null}}function Zl(e){const{history:t,location:n}=window,o={value:Jl(e,n)},r={value:t.state};function i(o,i,s){const l=e.indexOf("#"),a=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",a),r.value=i}catch(u){console.error(u),n[s?"replace":"assign"](a)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=al({},r.value,t.state,{forward:e,scroll:Yl()});i(s.current,s,!0),i(e,al({},Gl(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,al({},t.state,Gl(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Ql(e){const t=Zl(e=Hl(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const l=({state:i})=>{const l=Jl(e,location),a=n.value,u=t.value;let c=0;if(i){if(n.value=l,t.value=i,s&&s===a)return void(s=null);c=u?i.position-u.position:0}else o(l);r.forEach(e=>{e(n.value,a,{delta:c,type:Dl.pop,direction:c?c>0?ql.forward:ql.back:ql.unknown})})};function a(){const{history:e}=window;e.state&&e.replaceState(al({},e.state,{scroll:Yl()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}}}(e,t.state,t.location,t.replace);const o=al({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ul.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 ea(e){return"string"==typeof e||"symbol"==typeof e}const ta=Symbol("");var na,oa;function ra(e,t){return al(new Error,{type:e,[ta]:!0},t)}function ia(e,t){return e instanceof Error&&ta in e&&(null==t||!!(e.type&t))}(oa=na||(na={}))[oa.aborted=4]="aborted",oa[oa.cancelled=8]="cancelled",oa[oa.duplicated=16]="duplicated";const sa="[^/]+?",la={sensitive:!1,strict:!1,start:!0,end:!0},aa=/[.+*?^${}()[\]/\\]/g;function ua(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 ca(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=ua(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(fa(o))return 1;if(fa(r))return-1}return r.length-o.length}function fa(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const da={type:0,value:""},pa=/[a-zA-Z0-9_]/;function ha(e,t,n){const o=function(e,t){const n=al({},la,t),o=[];let r=n.start?"^":"";const i=[];for(const a of e){const e=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let t=0;t<a.length;t++){const o=a[t];let s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(aa,"\\$&"),s+=40;else if(1===o.type){const{value:e,repeatable:n,optional:u,regexp:c}=o;i.push({name:e,repeatable:n,optional:u});const f=c||sa;if(f!==sa){s+=10;try{new RegExp(`(${f})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${e}" (${f}): `+l.message)}}let d=n?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;t||(d=u&&a.length<2?`(?:/${d})`:"/"+d),u&&(d+="?"),r+=d,s+=20,u&&(s+=-8),n&&(s+=-20),".*"===f&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:l}=e,a=i in t?t[i]:"";if(fl(a)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const u=fl(a)?a.join("/"):a;if(!u){if(!l)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=u}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[da]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${u}": ${e}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let l,a=0,u="",c="";function f(){u&&(0===n?i.push({type:0,value:u}):1===n||2===n||3===n?(i.length>1&&("*"===l||"+"===l)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;)if(l=e[a++],"\\"!==l||2===n)switch(n){case 0:"/"===l?(u&&f(),s()):":"===l?(f(),n=1):d();break;case 4:d(),n=o;break;case 1:"("===l?n=2:pa.test(l)?d():(f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&a--);break;case 2:")"===l?"\\"==c[c.length-1]?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&a--,c="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),r}(e.path),n),r=al(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ga(e,t){const n=[],o=new Map;function r(e,n,o){const l=!o,a=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ma(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);a.aliasOf=o&&o.record;const u=_a(t,e),c=[a];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)c.push(al({},a,{components:o?o.record.components:a.components,path:e,aliasOf:o?o.record:a}))}let f,d;for(const t of c){const{path:c}=t;if(n&&"/"!==c[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(c&&o+c)}if(f=ha(t,n,u),o?o.alias.push(f):(d=d||f,d!==f&&d.alias.push(f),l&&e.name&&!ya(f)&&i(e.name)),wa(f)&&s(f),a.children){const e=a.children;for(let t=0;t<e.length;t++)r(e[t],f,o&&o.children[t])}o=o||f}return d?()=>{i(d)}:cl}function i(e){if(ea(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ca(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(wa(t)&&0===ca(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!ya(e)&&o.set(e.record.name,e)}return t=_a({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>r(e)),{addRoute:r,resolve:function(e,t){let r,i,s,l={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ra(1,{location:e});s=r.record.name,l=al(va(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&va(e.params,r.keys.map(e=>e.name))),i=r.stringify(l)}else if(null!=e.path)i=e.path,r=n.find(e=>e.re.test(i)),r&&(l=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!r)throw ra(1,{location:e,currentLocation:t});s=r.record.name,l=al({},t.params,e.params),i=r.stringify(l)}const a=[];let u=r;for(;u;)a.unshift(u.record),u=u.parent;return{name:s,path:i,params:l,matched:a,meta:ba(a)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function va(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ma(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 ya(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ba(e){return e.reduce((e,t)=>al(e,t.meta),{})}function _a(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function wa({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function xa(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(ml," "),r=e.indexOf("="),i=Il(r<0?e:e.slice(0,r)),s=r<0?null:Il(e.slice(r+1));if(i in t){let e=t[i];fl(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Sa(e){let t="";for(let n in e){const o=e[n];if(n=Ol(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(fl(o)?o.map(e=>e&&El(e)):[o&&El(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function ka(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=fl(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Ta=Symbol(""),Ca=Symbol(""),Ea=Symbol(""),Oa=Symbol(""),Aa=Symbol("");function Ia(){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 $a(e,t,n,o,r,i=e=>e()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const u=e=>{var i;!1===e?a(ra(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(i=e)||i&&"object"==typeof i?a(ra(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),l())},c=i(()=>e.call(o&&o.instances[r],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(e=>a(e))})}function Ma(e,t,n,o,r=e=>e()){const i=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(ll(l)){const a=(l.__vccOpts||l)[t];a&&i.push($a(a,n,o,s,e,r))}else{let a=l();i.push(()=>a.then(i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const l=(a=i).__esModule||"Module"===a[Symbol.toStringTag]||a.default&&ll(a.default)?i.default:i;var a;s.mods[e]=i,s.components[e]=l;const u=(l.__vccOpts||l)[t];return u&&$a(u,n,o,s,e,r)()}))}}return i}function La(e){const t=Zr(Ea),n=Zr(Oa),o=ss(()=>{const n=qn(e.to);return t.resolve(n)}),r=ss(()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Pl.bind(null,r));if(s>-1)return s;const l=Ra(e[t-2]);return t>1&&Ra(r)===l&&i[i.length-1].path!==l?i.findIndex(Pl.bind(null,e[t-2])):s}),i=ss(()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!fl(r)||r.length!==o.length||o.some((e,t)=>e!==r[t]))return!1}return!0}(n.params,o.value.params)),s=ss(()=>r.value>-1&&r.value===n.matched.length-1&&Rl(n.params,o.value.params));return{route:o,href:ss(()=>o.value.href),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[qn(e.replace)?"replace":"push"](qn(e.to)).catch(cl):Promise.resolve()}}}const Pa=Zo({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:La,setup(e,{slots:t}){const n=wn(La(e)),{options:o}=Zr(Ea),r=ss(()=>({[Na(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Na(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ls("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ra(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Na=(e,t,n)=>null!=e?e:null!=t?t:n;function ja(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ba=Zo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Zr(Aa),r=ss(()=>e.route||o.value),i=Zr(Ca,0),s=ss(()=>{let e=qn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),l=ss(()=>r.value.matched[s.value]);Gr(Ca,ss(()=>s.value+1)),Gr(Ta,l),Gr(Aa,r);const a=jn();return Po(()=>[a.value,l.value,e.name],([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Pl(t,r)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=r.value,i=e.name,s=l.value,u=s&&s.components[i];if(!u)return ja(n.default,{Component:u,route:o});const c=s.props[i],f=c?!0===c?o.params:"function"==typeof c?c(o):c:null,d=ls(u,al({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:a}));return ja(n.default,{Component:d,route:o})||d}}});function Da(e){const t=ga(e.routes,e),n=e.parseQuery||xa,o=e.stringifyQuery||Sa,r=e.history,i=Ia(),s=Ia(),l=Ia(),a=Bn(Bl);let u=Bl;sl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ul.bind(null,e=>""+e),f=ul.bind(null,Al),d=ul.bind(null,Il);function p(e,i){if(i=al({},i||a.value),"string"==typeof e){const o=Ml(n,e,i.path),s=t.resolve({path:o.path},i),l=r.createHref(o.fullPath);return al(o,s,{params:d(s.params),hash:Il(o.hash),redirectedFrom:void 0,href:l})}let s;if(null!=e.path)s=al({},e,{path:Ml(n,e.path,i.path).path});else{const t=al({},e.params);for(const e in t)null==t[e]&&delete t[e];s=al({},e,{params:f(t)}),i.params=f(i.params)}const l=t.resolve(s,i),u=e.hash||"";l.params=c(d(l.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,al({},e,{hash:(h=u,Cl(h).replace(xl,"{").replace(kl,"}").replace(_l,"^")),path:l.path}));var h;const g=r.createHref(p);return al({fullPath:p,hash:u,query:o===Sa?ka(e.query):e.query||{}},l,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Ml(n,e,a.value.path):al({},e)}function g(e,t){if(u!==e)return ra(8,{from:t,to:e})}function v(e){return y(e)}function m(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={}),al({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=u=p(e),r=a.value,i=e.state,s=e.force,l=!0===e.replace,c=m(n);if(c)return y(al(h(c),{state:"object"==typeof c?al({},i,c.state):i,force:s,replace:l}),t||n);const f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Pl(t.matched[o],n.matched[r])&&Rl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ra(16,{to:f,from:r}),$(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch(e=>ia(e)?ia(e,2)?e:I(e):A(e,f,r)).then(e=>{if(e){if(ia(e,2))return y(al({replace:l},h(e.to),{state:"object"==typeof e.to?al({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,l,i);return x(f,r,e),e})}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=P.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,l]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find(e=>Pl(e,i))?o.push(i):n.push(i));const l=e.matched[s];l&&(t.matched.find(e=>Pl(e,l))||r.push(l))}return[n,o,r]}(e,t);n=Ma(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach(o=>{n.push($a(o,e,t))});const a=b.bind(null,e,t);return n.push(a),N(n).then(()=>{n=[];for(const o of i.list())n.push($a(o,e,t));return n.push(a),N(n)}).then(()=>{n=Ma(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach(o=>{n.push($a(o,e,t))});return n.push(a),N(n)}).then(()=>{n=[];for(const o of l)if(o.beforeEnter)if(fl(o.beforeEnter))for(const r of o.beforeEnter)n.push($a(r,e,t));else n.push($a(o.beforeEnter,e,t));return n.push(a),N(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ma(l,"beforeRouteEnter",e,t,_),n.push(a),N(n))).then(()=>{n=[];for(const o of s.list())n.push($a(o,e,t));return n.push(a),N(n)}).catch(e=>ia(e,8)?e:Promise.reject(e))}function x(e,t,n){l.list().forEach(o=>_(()=>o(e,t,n)))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const l=t===Bl,u=sl?history.state:{};n&&(o||l?r.replace(e.fullPath,al({scroll:l&&u&&u.scroll},i)):r.push(e.fullPath,i)),a.value=e,$(e,t,n,l),I()}let k;function T(){k||(k=r.listen((e,t,n)=>{if(!R.listening)return;const o=p(e),i=m(o);if(i)return void y(al(i,{replace:!0}),o).catch(cl);u=o;const s=a.value;var l,c;sl&&(l=Xl(s.fullPath,n.delta),c=Yl(),Kl.set(l,c)),w(o,s).catch(e=>ia(e,12)?e:ia(e,2)?(y(e.to,o).then(e=>{ia(e,20)&&!n.delta&&n.type===Dl.pop&&r.go(-1,!1)}).catch(cl),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(e,o,s))).then(e=>{(e=e||S(o,s,!1))&&(n.delta&&!ia(e,8)?r.go(-n.delta,!1):n.type===Dl.pop&&ia(e,20)&&r.go(-1,!1)),x(o,s,e)}).catch(cl)}))}let C,E=Ia(),O=Ia();function A(e,t,n){I(e);const o=O.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function I(e){return C||(C=!e,T(),E.list().forEach(([t,n])=>e?n(e):t()),E.reset()),e}function $(t,n,o,r){const{scrollBehavior:i}=e;if(!sl||!i)return Promise.resolve();const s=!o&&function(e){const t=Kl.get(e);return Kl.delete(e),t}(Xl(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return oo().then(()=>i(t,n,s)).then(e=>e&&zl(e)).catch(e=>A(e,t,n))}const M=e=>r.go(e);let L;const P=new Set,R={currentRoute:a,listening:!0,addRoute:function(e,n){let o,r;return ea(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:v,replace:function(e){return v(al(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:O.add,isReady:function(){return C&&a.value!==Bl?Promise.resolve():new Promise((e,t)=>{E.add([e,t])})},install(e){e.component("RouterLink",Pa),e.component("RouterView",Ba),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>qn(a)}),sl&&!L&&a.value===Bl&&(L=!0,v(r.location).catch(e=>{}));const t={};for(const o in Bl)Object.defineProperty(t,o,{get:()=>a.value[o],enumerable:!0});e.provide(Ea,this),e.provide(Oa,xn(t)),e.provide(Aa,a);const n=e.unmount;P.add(e),e.unmount=function(){P.delete(e),P.size<1&&(u=Bl,k&&k(),k=null,a.value=Bl,L=!1,C=!1),n()}}};function N(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return R}function Va(e){return Zr(Oa)}const qa=["{","}"];const Fa=/^(?:\d)+/,Ha=/^(?:\w)+/;const Wa="zh-Hans",Ua="zh-Hant",Ya="en",za="fr",Xa="es",Ka=Object.prototype.hasOwnProperty,Ja=(e,t)=>Ka.call(e,t),Ga=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=qa){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const l=s===n,a=Fa.test(t)?"list":l&&Ha.test(t)?"named":"unknown";o.push({value:t,type:a})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function Za(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Wa;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Wa:e.indexOf("-hant")>-1?Ua:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Ua:Wa);var n;let o=[Ya,za,Xa];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return r||void 0}class Qa{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Ya,this.fallbackLocale=Ya,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Ga,this.messages=n||{},this.setLocale(e||Ya),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Za(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=>{Ja(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=Za(t,this.messages))&&(o=this.messages[t]):n=t,Ja(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 eu(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&&zf?zf():"undefined"!=typeof global&&global.getLocale?global.getLocale():Ya),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Ya);const r=new Qa({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Ph().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}var tu=Object.defineProperty,nu=(e,t,n)=>(((e,t,n)=>{t in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const ou=He(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let ru;function iu(){if(!ru){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ru=eu(e),ou()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>ru.add(e,__uniConfig.locales[e])),ru.setLocale(e)}}return ru}function su(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const lu=He(()=>{const e="uni.async.",t=["error"];iu().add(Ya,su(e,t,["The connection timed out, click the screen to try again."]),!1),iu().add(Xa,su(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),iu().add(za,su(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),iu().add(Wa,su(e,t,["连接服务器超时,点击屏幕重试"]),!1),iu().add(Ua,su(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),au=He(()=>{const e="uni.showToast.",t=["unpaired"];iu().add(Ya,su(e,t,["Please note showToast must be paired with hideToast"]),!1),iu().add(Xa,su(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),iu().add(za,su(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),iu().add(Wa,su(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),iu().add(Ua,su(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),uu=He(()=>{const e="uni.showLoading.",t=["unpaired"];iu().add(Ya,su(e,t,["Please note showLoading must be paired with hideLoading"]),!1),iu().add(Xa,su(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),iu().add(za,su(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),iu().add(Wa,su(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),iu().add(Ua,su(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)});function cu(e){const t=new at;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const fu="invokeViewApi",du="invokeServiceApi";let pu=1;const hu=Object.create(null);function gu(e,t){return e+"."+t}function vu({id:e,name:t,args:n},o){t=gu(o,t);const r=t=>{e&&Gg.publishHandler(fu+"."+e,t)},i=hu[t];i?i(n,r):r({})}const mu=u(cu("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Gg,i=n?pu++:0;n&&o(du+"."+i,n,!0),r(du,{id:i,name:e,args:t})}}),yu=Xe(!0);let bu;function _u(){bu&&(clearTimeout(bu),bu=null)}let wu=0,xu=0;function Su(e){if(_u(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];wu=t,xu=n,bu=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 ku(e){if(!bu)return;if(1!==e.touches.length)return _u();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-wu)>10||Math.abs(n-xu)>10?_u():void 0}function Tu(e,t){const n=Number(e);return isNaN(n)?t:n}function Cu(){const e=__uniConfig.globalStyle||{},t=Tu(e.rpxCalcMaxDeviceWidth,960),n=Tu(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 Eu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ou,Au,Iu=["top","left","right","bottom"],$u={};function Mu(){return Au="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 Lu(){if(Au="string"==typeof Au?Au:Mu()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(l){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Iu.forEach(function(e){s(o,e)}),document.body.appendChild(o),i(),Ou=!0}else Iu.forEach(function(e){$u[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div"),u={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Au+"(safe-area-inset-"+n+")"};r(o,u),r(s,u),r(l,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(a,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(l),s.appendChild(a),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ru.length||setTimeout(function(){var e={};Ru.forEach(function(t){e[t]=$u[t]}),Ru.length=0,Nu.forEach(function(t){t(e)})},0);Ru.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var c=getComputedStyle(o);Object.defineProperty($u,n,{configurable:!0,get:function(){return parseFloat(c.paddingBottom)}})}}function Pu(e){return Ou||Lu(),$u[e]}var Ru=[];var Nu=[];const ju=Eu({get support(){return 0!=("string"==typeof Au?Au:Mu()).length},get top(){return Pu("top")},get left(){return Pu("left")},get right(){return Pu("right")},get bottom(){return Pu("bottom")},onChange:function(e){Mu()&&(Ou||Lu(),"function"==typeof e&&Nu.push(e))},offChange:function(e){var t=Nu.indexOf(e);t>=0&&Nu.splice(t,1)}}),Bu=nl(()=>{},["prevent"]);function Du(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Vu(){const e=Du(document.documentElement.style,"--window-top");return e?e+ju.top:0}function qu(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Fu(e){return Symbol(e)}function Hu(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Wu(e,t=!1){if(t)return function(e){if(!Hu(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>jf(parseFloat(t))+"px")}(e);if(m(e)){const t=parseInt(e)||0;return Hu(e)?jf(t):t}return e}function Uu(e){return e.$page}function Yu(e){return 0===e.tagName.indexOf("UNI-")}const zu="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",Xu="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",Ku="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 Ju(e,t="#000",n=27){return ji("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ji("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Gu(){{const{$pageInstance:e}=Ki();return e&&oc(e.proxy)}}function Zu(){const e=Zd(),t=e.length;if(t)return e[t-1]}function Qu(){var e;const t=null==(e=Zu())?void 0:e.$page;if(t)return t.meta}function ec(){const e=Zu();if(e)return e.$vm}const tc=["navigationBar","pullToRefresh"];function nc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);tc.forEach(t=>{o[t]=u({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function oc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function rc(e,t,n){if(m(e))n=t,t=e,e=ec();else if("number"==typeof e){const t=Zd().find(t=>Uu(t).id===e);e=t?t.$vm:ec()}if(!e)return;const o=e.$[t];return t===ye?o&&(r=o,i=n,r.map(e=>e(i))).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 r,i}function ic(e){e.preventDefault()}let sc,lc=0;function ac({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-lc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(lc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(sc=setTimeout(s,300))),o=!1};return function(){clearTimeout(sc),o||requestAnimationFrame(s),o=!0}}function uc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return uc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),Fe(i.concat(n).join("/"))}function cc(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function fc(){Cu(),Ue(Yu),window.addEventListener("touchstart",Su,yu),window.addEventListener("touchmove",ku,yu),window.addEventListener("touchend",_u,yu),window.addEventListener("touchcancel",_u,yu)}class dc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Be(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&&Be(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=vc(this.$el.querySelector(e));return t?pc(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=vc(n[o]);e&&t.push(pc(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||m(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:I(n);(m(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(m(e)&&(e=H(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];v(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Gg.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 pc(e,t=!0){if(t&&e&&(e=je(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new dc(e)),e.$el.__wxsComponentDescriptor}function hc(e,t){return pc(e,t)}function gc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>hc(n.proxy,!1)}));const r=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 r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,hc(r,!1)]}}function vc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function mc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,l;s=Ke(t?r:function(e){for(;!Yu(e);)e=e.parentElement;return e}(r)),l=Ke(i);const a={type:n,timeStamp:o,target:s,detail:{},currentTarget:l};return"undefined"!=typeof CustomEvent&&e instanceof CustomEvent&&S(e.detail)&&(a.detail=e.detail),e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),function(e,t){u(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(a,e),a}function yc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function bc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:l,clientY:a,force:u}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:l,clientY:a-t,force:u||0})}return n}const _c=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!Yu(o);if(r)return gc(e,t,n,!1)||[e];const i=mc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Vu();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[yc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Vu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[yc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Vu();i.touches=bc(e.touches,t),i.changedTouches=bc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})})}return gc(i,t,n)||[i]},createNativeEvent:mc},Symbol.toStringTag,{value:"Module"});function wc(e){!function(e){const t=e.globalProperties;u(t,_c),t.$gcd=hc}(e._context.config)}let xc=1;function Sc(e){return(e||function(){const e=Qu();return e?e.id:-1}())+"."+fu}const kc=u(cu("view"),{invokeOnCallback:(e,t)=>Zg.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Zg,s=o?xc++:0;o&&r(fu+"."+s,o,!0),i(Sc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Zg,l=xc++,a=fu+"."+l;return r(a,n),s(Sc(o),{id:l,name:e,args:t},o),()=>{i(a)}}});function Tc(e){rc(Zu(),me,e),Zg.invokeOnCallback("onWindowResize",e)}function Cc(e){const t=Zu();rc(Ph(),re,e),rc(t,re)}function Ec(){rc(Ph(),ie),rc(Zu(),ie)}const Oc=[be,we];function Ac(){Oc.forEach(e=>Zg.subscribe(e,function(e){return(t,n)=>{rc(parseInt(n),e,t)}}(e)))}function Ic(){!function(){const{on:e}=Zg;e(me,Tc),e(Le,Cc),e(Pe,Ec)}(),Ac()}function $c(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new et(this.$page.id)),e.eventChannel}}function Mc(e){e._context.config.globalProperties.getOpenerEventChannel=$c}function Lc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Pc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${jf(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Rc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,l=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,l=s.transition,a={},u=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(Pc)),n.indexOf(i)>=0&&(s.length=1),u.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];a[i]=r.includes(i)?Pc(e):e}}),a.transform=a.webkitTransform=u.join(" "),a.transition=a.webkitTransition=Object.keys(a).map(e=>`${function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")}(e)} ${l.duration}ms ${l.timingFunction} ${l.delay}ms`).join(","),a.transformOrigin=a.webkitTransformOrigin=s.transformOrigin,a}(t);Object.keys(l).forEach(t=>{e.$el.style[t]=l[t]}),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout(()=>{i()},0)}const Nc={props:["animation"],watch:{animation:{deep:!0,handler(){Rc(this)}}},mounted(){Rc(this)}},jc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Nc),Bc(e)},Bc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Zo(e));function Dc(e){return e.__wwe=!0,e}function Vc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=Ke(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const qc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Fc(e){const t=jn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function l(){r=!1,t.value&&i()}function a(){l(),window.removeEventListener("mouseup",a)}return{hovering:t,binding:{onTouchstartPassive:Dc(function(e){e.touches.length>1||s(e)}),onMousedown:Dc(function(e){r||(s(e),window.addEventListener("mouseup",a))}),onTouchend:Dc(function(){l()}),onMouseup:Dc(function(){r&&a()}),onTouchcancel:Dc(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function Hc(e,t){return m(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const Wc=Fu("uf"),Uc=Fu("ul");function Yc(e,t,n){const o=Gu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Gg.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Gg.on(r,t[r]):e&&Gg.on(`uni-${r}-${o}-${e}`,t[r])})}function zc(e,t,n){const o=Gu();n&&!e||S(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Gg.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Gg.off(r,t[r]):e&&Gg.off(`uni-${r}-${o}-${e}`,t[r])})}const Xc=jc({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=jn(null),o=Zr(Wc,!1),{hovering:r,binding:i}=Fc(e),s=Dc((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;}),l=Zr(Uc,!1);return l&&(l.addHandler(s),wr(()=>{l.removeHandler(s)})),function(e,t){Yc(e.id,t),Po(()=>e.id,(e,n)=>{zc(n,t,!0),Yc(e,t,!0)}),xr(()=>{zc(e.id,t)})}(e,{"label-click":s}),()=>{const o=e.hoverClass,l=Hc(e,"disabled"),a=Hc(e,"loading"),u=Hc(e,"plain"),c=o&&"none"!==o;return ji("uni-button",Wi({ref:n,onClick:s,id:e.id,class:c&&r.value?o:""},c&&i,l,a,u),[t.default&&t.default()],16,["onClick","id"])}}}),Kc=Fu("upm");function Jc(){return Zr(Kc)}function Gc(e){const t=function(e){return wn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Zd().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(nc(Va().meta,e)))))}(e);return Gr(Kc,t),t}function Zc(){return Va()}function Qc(){return history.state&&history.state.__id__||1}const ef=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function tf(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function nf(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let of=1;const rf={};function sf(e,t,n){if("number"==typeof e){const o=rf[e];if(o)return o.keepAlive||delete rf[e],o.callback(t,n)}return t}const lf="success",af="fail",uf="complete";function cf(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];v(o)&&(t[n]=nf(o),delete e[n])}return t}(t),l=v(r),a=v(i),u=v(s),c=of++;return function(e,t,n,o=!1){rf[e]={name:t,keepAlive:o,callback:n}}(c,e,c=>{(c=c||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(c.errMsg,e),v(n)&&n(c),c.errMsg===e+":ok"?(v(o)&&o(c,t),l&&r(c)):a&&i(c),u&&s(c)}),c}const ff="success",df="fail",pf="complete",hf={},gf={};function vf(e,t){return function(n){return e(n,t)||n}}function mf(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(vf(i,n));else{const e=i(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function yf(e,t={}){return[ff,df,pf].forEach(n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){mf(o,e,t).then(e=>v(r)&&r(e)||e)}}),t}function bf(e,t){const n=[];p(hf.returnValue)&&n.push(...hf.returnValue);const o=gf[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function _f(e){const t=Object.create(null);Object.keys(hf).forEach(e=>{"returnValue"!==e&&(t[e]=hf[e].slice())});const n=gf[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function wf(e,t,n,o){const r=_f(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return mf(r.invoke,n).then(n=>t(yf(_f(e),n),...o))}return t(yf(r,n),...o)}return t(n,...o)}function xf(e,t){return(n={},...o)=>function(e){return!(!S(e)||![lf,af,uf].find(t=>v(e[t])))}(n)?bf(e,wf(e,t,u({},n),o)):bf(e,new Promise((r,i)=>{wf(e,t,u({},n,{success:r,fail:i}),o)}))}function Sf(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,sf(e,u({errMsg:i},o))}function kf(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(m(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if(v(s)){const o=s(e[0][t],n);if(m(o))return o}else d(n,t)||(n[t]=s)}}(t,o);if(r)return r}function Tf(e,t,n,o){return n=>{const r=cf(e,n,o),i=kf(0,[n],0,o);return i?Sf(r,e,i):t(n,{resolve:t=>function(e,t,n){return sf(e,u(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Sf(r,e,function(e){return!e||m(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Cf(e,t,n,o){return xf(e,Tf(e,t,0,o))}function Ef(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=kf(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Of(e,t,n,o){return xf(e,function(e,t,n,o){return Tf(e,t,0,o)}(e,t,0,o))}let Af=!1,If=0,$f=0,Mf=960,Lf=375,Pf=750;function Rf(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Ap();return{platform:yp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}If=e,$f=t,Af="ios"===n}function Nf(e,t){const n=Number(e);return isNaN(n)?t:n}const jf=Ef(0,(e,t)=>{if(0===If&&(Rf(),function(){const e=__uniConfig.globalStyle||{};Mf=Nf(e.rpxCalcMaxDeviceWidth,960),Lf=Nf(e.rpxCalcBaseDeviceWidth,375),Pf=Nf(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||If;n=e===Pf||n<=Mf?n:Lf;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==$f&&Af?.5:1),e<0?-o:o});function Bf(e,t){Object.keys(t).forEach(n=>{v(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):p(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))})}function Df(e,t){e&&t&&Object.keys(t).forEach(n=>{const o=e[n],r=t[n];p(o)&&v(r)&&c(o,r)})}const Vf=Ef(0,(e,t)=>{m(e)&&S(t)?Bf(gf[e]||(gf[e]={}),t):S(e)&&Bf(hf,e)}),qf=Ef(0,(e,t)=>{m(e)?S(t)?Df(gf[e],t):delete gf[e]:S(e)&&Df(hf,e)}),Ff={formatArgs:{}},Hf={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Wf{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Hf,e)}_getOption(e){const t={transition:u({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach(e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e}),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const Uf=He(()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach(n=>{Wf.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}})}),Yf=Ef(0,e=>(Uf(),new Wf(e)),0,Ff),zf=Ef(0,()=>{const e=Ph();return e&&e.$vm?e.$vm.$locale:iu().getLocale()}),Xf={[ue]:[],[ae]:[],[se]:[],[re]:[],[ie]:[]};function Kf(e,t){const n=Ph();if(n&&n.$vm)return gr(e,t,n.$vm.$);Xf[e].push(t)}function Jf(e,t){const n=Ph();if(n&&n.$vm)return function(e,t,n){const o=e.$[t];p(o)&&n.__weh&&c(o,n.__weh)}(n.$vm,e,t);c(Xf[e],t)}function Gf(e){Kf(re,e)}function Zf(e){Jf(re,e)}function Qf(e){Kf(ie,e)}function ed(e){Jf(ie,e)}const td=Ef(0,()=>u({},Ip));let nd,od,rd;const id=[];const sd=Of("getPushClientId",(e,{resolve:t,reject:n})=>{Promise.resolve().then(()=>{var e,o;void 0===rd&&(rd=!1,nd="",od="uniPush is not enabled"),id.push((e,o)=>{e?t({cid:e}):n(o)}),void 0!==nd&&(e=nd,o=od,id.forEach(t=>{t(e,o)}),id.length=0)})}),ld={formatArgs:{urls(e,t){t.urls=e.map(e=>m(e)&&e?gp(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:m(e)&&e&&(t.current=gp(e))}}},ad="json",ud=["text","arraybuffer"],cd=encodeURIComponent;const fd={formatArgs:{method(e,t){t.method=tf((e||"").toUpperCase(),ef)},data(e,t){t.data=e||""},url(e,t){t.method===ef[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const l in t)if(d(t,l)){let e=t[l];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[cd(l)]=cd(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ef[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||ad).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===ud.indexOf(t.responseType)&&(t.responseType="text")}}};const dd={url:{type:String,required:!0}},pd="navigateTo",hd="redirectTo",gd="reLaunch",vd="switchTab",md="preloadPage",yd=(xd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),xd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Td(pd)),bd=Td(hd),_d=Td(gd),wd={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Zd().length-1,e)}}};function xd(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 Sd;function kd(){Sd=""}function Td(e){return{formatArgs:{url:Cd(e)},beforeAll:kd}}function Cd(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=Zd();return n.length&&(t=Uu(n[n.length-1]).route),uc(t,e)}(t)).split("?")[0],r=cc(o,!0);if(!r)return"page `"+t+"` is not found";if(e===pd||e===hd){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===vd&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==vd&&e!==md||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!m(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==md){if(Sd===t&&"appLaunch"!==n.openType)return`${Sd} locked`;__uniConfig.ready&&(Sd=t)}else if(r.meta.isTabBar){const e=Zd(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Ed="setNavigationBarTitle",Od={formatArgs:{duration:300}},Ad=["success","loading","none","error"],Id={formatArgs:{title:"",icon(e,t){t.icon=tf(e,Ad)},image(e,t){t.image=e?gp(e):""},duration:1500,mask:!1}};function $d(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Md(){const e=Zu();if(!e)return;const t=Ud(e);ep(rp(t.path,t.id))}const Ld=Of(hd,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Yd.handledBeforeEntryPageRoutes)return Md(),Nd({type:hd,url:e,isAutomatedTesting:t}).then(n).catch(o);Kd.push({args:{type:hd,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,bd);function Pd(){const e=Gd().keys();for(const t of e)ep(t)}const Rd=Of(gd,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Yd.handledBeforeEntryPageRoutes)return Pd(),Nd({type:gd,url:e,isAutomatedTesting:t}).then(n).catch(o);Jd.push({args:{type:gd,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,_d);function Nd({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Ph().$router,{path:l,query:a}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Qe(n||"")}}(t);return new Promise((t,u)=>{const c=function(e,t){return{__id__:t||++tp,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:l,query:a,state:c,force:!0}).then(i=>{if(ia(i))return u(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new et(c.__id__,o),t(r?{__id__:c.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:c.__id__}):t()})})}function jd(){if(Yd.handledBeforeEntryPageRoutes)return;Yd.handledBeforeEntryPageRoutes=!0;const e=[...zd];zd.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Nd(e).then(t).catch(n));const t=[...Xd];Xd.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(function(){const e=ec();if(!e)return;const t=Gd(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:ep(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,rc(e,ie))}(),Nd(e,function(e){const t=Gd().values();for(const n of t){const t=Ud(n);if($d(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n)));const n=[...Kd];Kd.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Md(),Nd(e).then(t).catch(n)));const o=[...Jd];Jd.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(Pd(),Nd(e).then(t).catch(n)))}function Bd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Dd=Bd("top:env(a)"),Vd=Bd("top:constant(a)"),qd=(()=>Dd?"env":Vd?"constant":"")();function Fd(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),qu({"--window-top":(o=t,qd?`calc(${o}px + ${qd}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,qd?`calc(${n}px + ${qd}(safe-area-inset-bottom))`:`${n}px`)})}const Hd="$$",Wd=new Map;function Ud(e){return e.$page}const Yd={handledBeforeEntryPageRoutes:!1},zd=[],Xd=[],Kd=[],Jd=[];function Gd(){return Wd}function Zd(){return Qd()}function Qd(){const e=[],t=Wd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function ep(e,t=!0){const n=Wd.get(e);n.$.__isUnload=!0,rc(n,fe),Wd.delete(e),t&&function(e){const t=ip.get(e);t&&(ip.delete(e),sp.pruneCacheEntry(t))}(e)}let tp=Qc();function np(e){const t=Jc();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,r,i){const{id:s,route:l}=o,a=ft(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:Fe(l),route:l,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===a?"light":"dark"}}("navigateTo",n,{},t)}function op(e){const t=np(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),Wd.set(rp(t.path,t.id),e),1===Wd.size&&setTimeout(()=>{jd()},0)}function rp(e,t){return e+Hd+t}const ip=new Map,sp={get:e=>ip.get(e),set(e,t){!function(e){const t=parseInt(e.split(Hd)[1]);if(!t)return;sp.forEach((e,n)=>{const o=parseInt(n.split(Hd)[1]);o&&o>t&&(sp.delete(n),sp.pruneCacheEntry(e),oo(()=>{Wd.forEach((e,t)=>{e.$.isUnmounted&&Wd.delete(t)})}))})}(e),ip.set(e,t)},delete(e){ip.get(e)&&ip.delete(e)},forEach(e){ip.forEach(e)}};function lp(e,t){!function(e){const t=up(e),{body:n}=document;cp&&n.removeAttribute(cp),t&&n.setAttribute(t,""),cp=t}(e),Fd(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),pp(e,t)}function ap(e){const t=up(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function up(e){return e.type.__scopeId}let cp;const fp=!!(()=>{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 dp;function pp(e,t){if(document.removeEventListener("touchmove",ic),dp&&document.removeEventListener("scroll",dp),t.disableScroll)return document.addEventListener("touchmove",ic,fp);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Ud(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Gg.publishHandler(be,{scrollTop:o},e),n&&Gg.emit(e+"."+be,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Gg.publishHandler(we,{},s)),dp=ac(i),requestAnimationFrame(()=>document.addEventListener("scroll",dp))}function hp(e){const{base:t}=__uniConfig.router;return 0===Fe(e).indexOf(t)?Fe(e):t+e}function gp(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 hp(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Qd();return o.length?hp(uc(Ud(o[o.length-1]).route,e).slice(1)):e}const vp=navigator.userAgent,mp=/android/i.test(vp),yp=/iphone|ipad|ipod/i.test(vp),bp=vp.match(/Windows NT ([\d|\d.\d]*)/i),_p=/Macintosh|Mac/i.test(vp),wp=/Linux|X11/i.test(vp),xp=_p&&navigator.maxTouchPoints>0,Sp=/OpenHarmony/i.test(vp),kp=Sp&&/PC/i.test(vp),Tp=Sp&&/Tablet/i.test(vp);function Cp(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Ep(e){return e&&90===Math.abs(window.orientation)}function Op(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Ap(){const e=Cp();if(e){const t=Op(e,Ep(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const Ip=Lc(),$p=Lc();const Mp=jc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=jn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=wn({width:-1,height:-1});return Po(()=>u({},o),e=>t("resize",e)),()=>{const t=e.value;if(!t)return;const r=t.getBoundingClientRect();o.width=r.width,o.height=r.height,n()}}(n,t,o);return function(e,t,n,o){lr(o),yr(()=>{t.initial&&oo(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,r,o),()=>ji("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"]),ji("div",{onScroll:r},[ji("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Lp=["class","style"],Pp=/^on[A-Z]+/,Rp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Ki(),r=Bn({}),i=Bn({}),s=Bn({}),l=n.concat(Lp);return o.attrs=wn(o.attrs),Mo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(l.includes(n)?e.exclude[n]=o:Pp.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Np(e){const t=[];return p(e)&&e.forEach(e=>{$i(e)?e.type===bi?t.push(...Np(e.children)):t.push(e):p(e)&&t.push(...Np(e))}),t}const jp=jc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=jn(null),o=jn(!1);let{setContexts:r,events:i}=function(e,t){const n=jn(0),o=jn(0),r=wn({x:null,y:null}),i=jn(null);let s=null,l=[];function a(t){t&&1!==t&&(e.scaleArea?l.forEach(function(e){e._setScale(t)}):s&&s._setScale(t))}function u(e,n=l){let o=t.value;function r(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:r(e.parentNode)}return r(e)}const c=Dc(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=Bp(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=u(n[0].target),t=u(n[1].target);s=e&&e===t?e:null}}}),f=Dc(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){a(Bp(n)/i.value)}r.x=n.x,r.y=n.y}}),d=Dc(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?l.forEach(function(e){e._endScale()}):s&&s._endScale())});function p(){h(),l.forEach(function(e,t){e.setParent()})}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=r.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return Gr("movableAreaWidth",n),Gr("movableAreaHeight",o),{setContexts(e){l=e},events:{_onTouchstart:c,_onTouchmove:f,_onTouchend:d,_resize:p}}}(e,n);const{$listeners:s,$attrs:l,$excludeAttrs:a}=Rp(),u=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=u[e],n=i[`_${e}`];u[e]=t?[].concat(t,n):n}),yr(()=>{i._resize(),o.value=!0});let c=[];const f=[];function d(){const e=[];for(let t=0;t<c.length;t++){let n=c[t];n=n.el;const o=f.find(e=>n===e.rootRef.value);o&&e.push(In(o))}r(e)}return Gr("_isMounted",o),Gr("movableAreaRootRef",n),Gr("addMovableViewContext",e=>{f.push(e),d()}),Gr("removeMovableViewContext",e=>{const t=f.indexOf(e);t>=0&&(f.splice(t,1),d())}),()=>{const e=t.default&&t.default();return c=Np(e),ji("uni-movable-area",Wi({ref:n},l.value,a.value,u),[ji(Mp,{onResize:i._resize},null,8,["onResize"]),c],16)}}});function Bp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Dp=function(e,t,n,o){e.addEventListener(t,e=>{v(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let Vp,qp;function Fp(e,t,n){wr(()=>{document.removeEventListener("mousemove",Vp),document.removeEventListener("mouseup",qp)});let o=0,r=0,i=0,s=0;const l=function(e,n,l,a){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:l,y:a,dx:l-o,dy:a-r,ddx:l-i,ddy:a-s,timeStamp:e.timeStamp}}))return!1};let a,u,c=null;Dp(e,"touchstart",function(e){if(a=!0,1===e.touches.length&&!c)return c=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,l(e,"start",o,r)}),Dp(e,"mousedown",function(e){if(u=!0,!a&&!c)return c=e,o=i=e.pageX,r=s=e.pageY,l(e,"start",o,r)}),Dp(e,"touchmove",function(e){if(1===e.touches.length&&c){const t=l(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const f=Vp=function(e){if(!a&&u&&c){const t=l(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",f),Dp(e,"touchend",function(e){if(0===e.touches.length&&c)return a=!1,c=null,l(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const d=qp=function(e){if(u=!1,!a&&c)return c=null,l(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",d),Dp(e,"touchcancel",function(e){if(c){a=!1;const t=c;return c=null,l(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Hp(e,t,n){return e>t-n&&e<t+n}function Wp(e,t){return Hp(e,0,t)}function Up(){}function Yp(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function zp(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Xp(e,t,n){this._springX=new zp(e,t,n),this._springY=new zp(e,t,n),this._springScale=new zp(e,t,n),this._startTime=0}Up.prototype.x=function(e){return Math.sqrt(e)},Yp.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()},Yp.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Yp.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}},Yp.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}},Yp.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}},Yp.prototype.dt=function(){return-this._x_v/this._x_a},Yp.prototype.done=function(){const e=Hp(this.s().x,this._endPositionX)||Hp(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Yp.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Yp.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},zp.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),l=(t-r*e)/(s-r),a=e-l;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),a*t+l*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),a*r*t+l*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),l=-n/2*o,a=e,u=(t-l*e)/s;return{x:function(e){return Math.pow(Math.E,l*e)*(a*Math.cos(s*e)+u*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,l*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(u*s*n-a*s*o)+l*t*(u*o+a*n)}}},zp.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},zp.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},zp.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Wp(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Wp(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Wp(t,.1)&&(t=0),Wp(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Wp(o-e,.1)&&Wp(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},zp.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},zp.prototype.done=function(e){return e||(e=(new Date).getTime()),Hp(this.x(),this._endPosition,.1)&&Wp(this.dx(),.1)},zp.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())},zp.prototype.springConstant=function(){return this._k},zp.prototype.damping=function(){return this._c},zp.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}]},Xp.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Xp.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)}},Xp.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Xp.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 Kp(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Jp=jc({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=jn(null),r=Vc(o,n),{setParent:i}=function(e,t,n){const o=Zr("_isMounted",jn(!1)),r=Zr("addMovableViewContext",()=>{}),i=Zr("removeMovableViewContext",()=>{});let s,l,a=jn(1),u=jn(1),c=jn(!1),f=jn(0),d=jn(0),p=null,h=null,g=!1,v=null,m=null;const y=new Up,b=new Up,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ss(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),x=new Yp(1,w.value);Po(()=>e.disabled,()=>{U()});const{_updateOldScale:S,_endScale:k,_setScale:T,scaleValueSync:C,_updateBoundary:E,_updateOffset:O,_updateWH:A,_scaleOffset:I,minX:$,minY:M,maxX:L,maxY:P,FAandSFACancel:R,_getLimitXY:N,_setTransform:j,_revise:B,dampingNumber:D,xMove:V,yMove:q,xSync:F,ySync:H,_STD:W}=function(e,t,n,o,r,i,s,l,a,u){const c=ss(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),f=ss(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),d=jn(Number(e.scaleValue)||1);Po(d,e=>{j(e)}),Po(c,()=>{N()}),Po(f,()=>{N()}),Po(()=>e.scaleValue,e=>{d.value=Number(e)||0});const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:v,minX:m,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Zr("movableAreaWidth",jn(0)),r=Zr("movableAreaHeight",jn(0)),i=Zr("movableAreaRootRef"),s={x:0,y:0},l={x:0,y:0},a=jn(0),u=jn(0),c=jn(0),f=jn(0),d=jn(0),p=jn(0);function h(){let e=0-s.x+l.x,t=o.value-a.value-s.x-l.x;c.value=Math.min(e,t),d.value=Math.max(e,t);let n=0-s.y+l.y,i=r.value-u.value-s.y-l.y;f.value=Math.min(n,i),p.value=Math.max(n,i)}function g(){s.x=Qp(e.value,i.value),s.y=eh(e.value,i.value)}function v(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();u.value=r.height/t.value,a.value=r.width/t.value;let i=u.value*o,s=a.value*o;l.x=(s-a.value)/2,l.y=(i-u.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:v,_scaleOffset:l,minX:c,minY:f,maxX:d,maxY:p}}(t,o,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:C,xMove:E,yMove:O,xSync:A,ySync:I,_STD:$}=function(e,t,n,o,r,i,s,l,a,u,c,f,d,p){const h=ss(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),g=ss(()=>"all"===t.direction||"horizontal"===t.direction),v=ss(()=>"all"===t.direction||"vertical"===t.direction),m=jn(nh(t.x)),y=jn(nh(t.y));Po(()=>t.x,e=>{m.value=nh(e)}),Po(()=>t.y,e=>{y.value=nh(e)}),Po(m,e=>{T(e)}),Po(y,e=>{C(e)});const b=new Xp(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<s.value&&(e=s.value,n=!0),t>i.value?(t=i.value,n=!0):t<l.value&&(t=l.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){f&&f.cancel(),c&&c.cancel()}function x(e,n,r,i,s,l){w(),g.value||(e=a.value),v.value||(n=u.value),t.scale||(r=o.value);let f=_(e,n);e=f.x,n=f.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=a.value,b._springY._endPosition=u.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),c=th(b,function(){let e=b.x();S(e.x,e.y,e.scale,i,s,l)},function(){c.cancel()})):S(e,n,r,i,s,l)}function S(r,i,s,l="",c,f){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=a.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=u.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),s=Number(s.toFixed(1)),a.value===r&&u.value===i||c||p("change",{},{x:Kp(r,n.x),y:Kp(i,n.y),source:l}),t.scale||(s=o.value),s=+(s=d(s)).toFixed(3),f&&s!==o.value&&p("scale",{},{x:r,y:i,scale:s});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+s+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,a.value=r,u.value=i,o.value=s)}function k(e){let t=_(a.value,u.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function T(e){if(g.value){if(e+n.x===a.value)return a;c&&c.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function C(e){if(v.value){if(e+n.y===u.value)return u;c&&c.cancel(),x(m.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:S,_revise:k,dampingNumber:h,xMove:g,yMove:v,xSync:m,ySync:y,_STD:b}}(t,e,v,o,b,_,m,y,s,l,a,u,R,n);function M(t,n){if(e.scale){t=R(t),g(t),p();const e=x(s.value,l.value),o=e.x,r=e.y;n?S(o,r,t,"",!0,!0):Zp(function(){k(o,r,t,"",!0,!0)})}}function L(){i.value=!0}function P(e){r.value=e}function R(e){return e=Math.max(.1,c.value,e),e=Math.min(10,f.value,e)}function N(){if(!e.scale)return!1;M(o.value,!0),P(o.value)}function j(t){return!!e.scale&&(M(t=R(t),!0),P(t),t)}function B(){i.value=!1,P(o.value)}function D(e){e&&(e=r.value*e,L(),M(e))}return{_updateOldScale:P,_endScale:B,_setScale:D,scaleValueSync:d,_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:v,minX:m,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:C,xMove:E,yMove:O,xSync:A,ySync:I,_STD:$}}(e,n,t,a,u,c,f,d,p,h);function U(){c.value||e.disabled||(R(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],V.value&&(s=f.value),q.value&&(l=d.value),n.value.style.willChange="transform",v=null,m=null,g=!0)}function Y(t){if(!c.value&&!e.disabled&&g){let n=f.value,o=d.value;if(null===m&&(m=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),V.value&&(n=t.detail.dx+s,_.historyX.shift(),_.historyX.push(n),q.value||null!==v||(v=Math.abs(t.detail.dx/t.detail.dy)<1)),q.value&&(o=t.detail.dy+l,_.historyY.shift(),_.historyY.push(o),V.value||null!==v||(v=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!v){t.preventDefault();let r="touch";n<$.value?e.outOfBounds?(r="touch-out-of-bounds",n=$.value-y.x($.value-n)):n=$.value:n>L.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),o<M.value?e.outOfBounds?(r="touch-out-of-bounds",o=M.value-b.x(M.value-o)):o=M.value:o>P.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=P.value+b.x(o-P.value)):o=P.value),Zp(function(){j(n,o,a.value,r)})}}}function z(){if(!c.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!v&&!B("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=f.value,o=d.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let s=r+n,l=i+o;s<$.value?(s=$.value,l=o+($.value-n)*i/r):s>L.value&&(s=L.value,l=o+(L.value-n)*i/r),l<M.value?(l=M.value,s=n+(M.value-o)*r/i):l>P.value&&(l=P.value,s=n+(P.value-o)*r/i),x.setEnd(s,l),h=th(x,function(){let e=x.s(),t=e.x,n=e.y;j(t,n,a.value,"friction")},function(){h.cancel()})}e.outOfBounds||e.inertia||R()}function X(){if(!o.value)return;R();let t=e.scale?C.value:1;O(),A(t),E();let n=N(F.value+I.x,H.value+I.y),r=n.x,i=n.y;j(r,i,t,"",!0),S(t)}return yr(()=>{Fp(n.value,e=>{switch(e.detail.state){case"start":U();break;case"move":Y(e);break;case"end":z()}}),X(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(D.value,2)/40,D.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:k,_setScale:T};r(e),xr(()=>{i(e)})}),xr(()=>{R()}),{setParent:X}}(e,r,o);return()=>ji("uni-movable-view",{ref:o},[ji(Mp,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Gp=!1;function Zp(e){Gp||(Gp=!0,requestAnimationFrame(function(){e(),Gp=!1}))}function Qp(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Qp(e.offsetParent,t):0}function eh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=eh(e.offsetParent,t):0}function th(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function nh(e){return/\d+[ur]px$/i.test(e)?jf(parseFloat(e)):Number(e)||0}const oh=jc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=jn(null),o=ss(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),r=ss(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:l}=e;return ji("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ji("div",{class:"uni-scroll-view-refresh"},[ji("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ji("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[ji("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),ji("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ji("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ji("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ji("div",{class:"uni-scroll-view-refresher-container",style:{height:`${l}px`}},[t.default&&t.default()]):null],4)}}}),rh=Xe(!0),ih=jc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=jn(null),i=jn(null),s=jn(null),l=jn(null),a=Vc(r,t),{state:u,scrollTopNumber:c,scrollLeftNumber:f}=function(e){const t=ss(()=>Number(e.scrollTop)||0),n=ss(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:d,realScrollY:p}=function(e,t,n,o,r,i,s,l,a){let u=!1,c=0,f=!1,d=()=>{};const p=ss(()=>e.scrollX),h=ss(()=>e.scrollY),g=ss(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),v=ss(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function m(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=l.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",d),i.removeEventListener("webkitTransitionEnd",d),d=()=>x(e,t),i.addEventListener("transitionend",d),i.addEventListener("webkitTransitionEnd",d),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+v.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+v.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?m(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?m(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?m(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?m(r,"y"):s.value.scrollTop=r}}}}function x(e,t){l.value.style.transition="",l.value.style.webkitTransition="",l.value.style.transform="",l.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),l.value.removeEventListener("transitionend",d),l.value.removeEventListener("webkitTransitionEnd",d)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:T.y-k.y}),a("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=c=0,"restore"===n&&(f=!1,r("refresherrestore",{},{dy:T.y-k.y})),"refresherabort"===n&&f&&(f=!1,r("refresherabort",{},{dy:T.y-k.y}))}t.refreshState=n}}let k={x:0,y:0},T={y:e.refresherThreshold};return yr(()=>{oo(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},l=null,a=function(n){if(null===k)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,a=s.value;if(Math.abs(o-k.x)>Math.abs(i-k.y))if(p.value){if(0===a.scrollLeft&&o>k.x)return void(l=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&o<k.x)return void(l=!1);l=!0}else l=!1;else if(h.value)if(0===a.scrollTop&&i>k.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(a.scrollHeight===a.offsetHeight+a.scrollTop&&i<k.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===a.scrollTop&&1===n.touches.length&&S("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-k.y;0===c&&(c=i),u?(t.refresherHeight=o+e.refresherThreshold,f=!1):(t.refresherHeight=i-c,t.refresherHeight>0&&(f=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},d=function(e){1===e.touches.length&&(k={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){T={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),k={x:0,y:0},T={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",d,rh),s.value.addEventListener("touchmove",a,Xe(!1)),s.value.addEventListener("scroll",i,Xe(!1)),s.value.addEventListener("touchend",g,rh),wr(()=>{s.value.removeEventListener("touchstart",d),s.value.removeEventListener("touchmove",a),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)})}),lr(()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Po(n,e=>{b(e)}),Po(o,e=>{_(e)}),Po(()=>e.scrollIntoView,e=>{w(e)}),Po(()=>e.refresherTriggered,e=>{!0===e?S("refreshing"):!1===e&&S("restore")}),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,u,c,f,a,r,i,l,t),h=ss(()=>{let e="";return d.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),g=ss(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:a,refresherThreshold:c}=e,{refresherHeight:f,refreshState:d}=u;return ji("uni-scroll-view",{ref:r},[ji("div",{ref:s,class:"uni-scroll-view"},[ji("div",{ref:i,style:h.value,class:g.value},[t?ji(oh,{refreshState:d,refresherHeight:f,refresherThreshold:c,refresherDefaultStyle:a,refresherBackground:o},{default:()=>["none"==a?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ji("div",{ref:l,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function sh(e,t,n,o,r,i){function s(){u&&(clearTimeout(u),u=null)}let l,a,u=null,c=!0,f=0,d=1,p=null,h=!1,g=0,v="";const m=ss(()=>n.value.length>t.displayMultipleItems),y=ss(()=>e.circular&&m.value);function b(r){Math.floor(2*f)===Math.floor(2*r)&&Math.ceil(2*f)===Math.ceil(2*r)||y.value&&function(o){if(!c)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,l=0;l<i;l++){const t=r[l],n=Math.floor(o/i)*i+l,a=n+i,u=n-i,c=Math.max(o-(n+1),n-s,0),f=Math.max(o-(a+1),a-s,0),d=Math.max(o-(u+1),u-s,0),p=Math.min(c,f,d),h=[n,a,u][[c,f,d].indexOf(p)];t.updatePosition(h,e.vertical)}}(r);const s="translate("+(e.vertical?"0":100*-r*d+"%")+", "+(e.vertical?100*-r*d+"%":"0")+") translateZ(0)",a=o.value;if(a&&(a.style.webkitTransform=s,a.style.transform=s),f=r,!l){if(r%1==0)return;l=r}r-=Math.floor(l);const u=n.value;r<=-(u.length-1)?r+=u.length:r>=u.length&&(r-=u.length),r=l%1>.5||l<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*a.offsetWidth,dy:e.vertical?r*a.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,s=e.endTime,u=e.source,c=s-Date.now();if(c<=0){b(o),p=null,h=!1,l=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:u})}return}b(o+r*c*c/2),a=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,s=n.value.length;let l=f;if(y.value)if(r<0){for(;l<e;)l+=s;for(;l-s>e;)l-=s}else if(r>0){for(;l>e;)l-=s;for(;l+s<e;)l+=s;l+s-e<e-l&&(l+=s)}else{for(;l+s<e;)l+=s;for(;l-s>e;)l-=s;l+s-e<e-l&&(l+=s)}else"click"===o&&(e=e+t.displayMultipleItems-1<s?e:0);p={toPos:e,acc:2*(l-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,a=requestAnimationFrame(x))}function k(){s();const e=n.value,o=function(){u=null,v="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,S(t.current,"autoplay",y.value?1:0),u=setTimeout(o,t.interval)};c||e.length<=t.displayMultipleItems||(u=setTimeout(o,t.interval))}function T(e){e?k():s()}return Po([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(v="",t.current=o)}),Po([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),p&&(b(p.toPos),p=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);d=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();d=e.width/t.width,d>0&&d<1||(d=1)}const l=f;f=-2;const a=t.current;a>=0?(c=!1,t.userTracking?(b(l+a-g),g=a):(b(a),e.autoplay&&k())):(c=!0,b(-t.displayMultipleItems-1))}),Po(()=>t.interval,()=>{u&&(s(),k())}),Po(()=>t.current,(e,o)=>{!function(e,o){const r=v;v="";const s=n.value;if(!r){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const l=s[e];if(l){const e=t.currentItemId=l.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Po(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Po(()=>e.autoplay&&!t.userTracking,T),T(e.autoplay&&!t.userTracking),yr(()=>{let r=!1,i=0,l=0;function a(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(f+o);e?S(t.current,"",0):(v="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&f>=1?1:0))}Fp(o.value,u=>{if(!e.disableTouch&&!c){if("start"===u.detail.state)return t.userTracking=!0,r=!1,s(),g=f,i=0,l=Date.now(),void w();if("end"===u.detail.state)return a(!1);if("cancel"===u.detail.state)return a(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(u.detail.dx),o=Math.abs(u.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(r){const s=l;l=Date.now();const a=n.value.length-t.displayMultipleItems;function u(e){return.5-.25/(e+.5)}function c(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>a)&&(n<0?n=-u(-n):n>a&&(n=a+u(n-a)),i=0),b(n)}const f=l-s||1,d=o.value;e.vertical?c(-r.dy/d.offsetHeight,-r.ddy/f):c(-r.dx/d.offsetWidth,-r.ddx/f)}(u.detail),!1}}},!0)}),xr(()=>{s(),cancelAnimationFrame(a)}),{onSwiperDotClick:function(e){S(t.current=e,v="click",y.value?1:0)},circularEnabled:y,swiperEnabled:m}}const lh=jc({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=jn(null),r=Vc(o,n),i=jn(null),s=jn(null),l=function(e){return wn({interval:ss(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:ss(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:ss(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),a=ss(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Wu(e.previousMargin,!0),bottom:Wu(e.nextMargin,!0)}:{top:0,bottom:0,left:Wu(e.previousMargin,!0),right:Wu(e.nextMargin,!0)}),t}),u=ss(()=>{const t=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let c=[];const f=[],d=jn([]);function p(){const e=[];for(let t=0;t<c.length;t++){let n=c[t];n instanceof Element||(n=n.el);const o=f.find(e=>n===e.rootRef.value);o&&e.push(In(o))}d.value=e}Gr("addSwiperContext",function(e){f.push(e),p()});Gr("removeSwiperContext",function(e){const t=f.indexOf(e);t>=0&&(f.splice(t,1),p())});const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:v}=sh(e,l,d,s,n,r);let m=()=>null;return m=ah(o,e,l,h,d,g,v),()=>{const n=t.default&&t.default();return c=Np(n),ji("uni-swiper",{ref:o},[ji("div",{ref:i,class:"uni-swiper-wrapper"},[ji("div",{class:"uni-swiper-slides",style:a.value},[ji("div",{ref:s,class:"uni-swiper-slide-frame",style:u.value},[n],4)],4),e.indicatorDots&&ji("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[d.value.map((t,n,o)=>ji("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<l.current+l.displayMultipleItems&&n>=l.current||n<l.current+l.displayMultipleItems-o.length},style:{background:n===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),m()],512)],512)}}}),ah=(e,t,n,o,r,i,s)=>{let l=!1,a=!1,c=!1,f=jn(!1);function d(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Mo(()=>{l="auto"===t.navigation,f.value=!0!==t.navigation||l,b()}),Mo(()=>{const e=r.value.length,t=!i.value;a=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(a=!0,c=!0,l&&(f.value=!0))});const p={onMouseover:e=>d(e,"over"),onMouseout:e=>d(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const l=r.value.length;let a=n.current;switch(t){case"prev":a--,a<0&&i.value&&(a=l-1);break;case"next":a++,a>=l&&i.value&&(a=0)}o(a)}const g=()=>Ju(Ku,t.navigationColor,26);let v;const m=n=>{clearTimeout(v);const{clientX:o,clientY:r}=n,{left:i,right:s,top:l,bottom:a,width:u,height:c}=e.value.getBoundingClientRect();let d=!1;if(d=t.vertical?!(r-l<c/3||a-r<c/3):!(o-i<u/3||s-o<u/3),d)return v=setTimeout(()=>{f.value=d},300);f.value=d},y=()=>{f.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",m),e.value.removeEventListener("mouseleave",y),l&&(e.value.addEventListener("mousemove",m),e.value.addEventListener("mouseleave",y)))}return yr(b),function(){const e={"uni-swiper-navigation-hide":f.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ji(bi,null,[ji("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":a},e)],onClick:e=>h(e,"prev",a)},p),[g()],16,["onClick"]),ji("div",Wi({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"next",c)},p),[g()],16,["onClick"])]):null}},uh=jc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=jn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return yr(()=>{const e=Zr("addSwiperContext");e&&e(o)}),xr(()=>{const e=Zr("removeSwiperContext");e&&e(o)}),()=>ji("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),ch={ensp:" ",emsp:" ",nbsp:" "};function fh(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&ch[t]&&" "===i&&(i=ch[t]),r?(o+="n"===i?te:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,ch.nbsp).replace(/ /g,ch.ensp).replace(/ /g,ch.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(te)}const dh=jc({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=jn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==wi){let n=[];n=fh(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Di(e)),t!==r&&o.push(ji("br"))})}else o.push(t)}),ji("uni-text",{ref:n,selectable:!!e.selectable||null},[ji("span",null,o)],8,["selectable"])}}}),ph=jc({name:"View",props:u({},qc),setup(e,{slots:t}){const n=jn(null),{hovering:o,binding:r}=Fc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ji("uni-view",Wi({class:o.value?i:"",ref:n},r),[Or(t,"default")],16):ji("uni-view",{ref:n},[Or(t,"default")],512)}}});function hh(e,t,n,o){v(t)&&gr(e,t.bind(n),o)}function gh(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&&!v(t))&&(nt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>hh(o,e,n,t)):hh(o,r,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,rc(n,ce,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&rc(n,re)}catch(r){console.error(r.message+te+r.stack)}}}function vh(e,t,n){gh(e,t,n)}function mh(e,t,n){return e[t]=n}function yh(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function bh(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[se]?rc(i.proxy,se,n):zn(n,0,o&&o.$.vnode,!1)}}function _h(e,t){return e?[...new Set([].concat(e,t))]:t}function wh(e){const t=e.config;var n;t.errorHandler=st(e,bh),n=t.optionMergeStrategies,nt.forEach(e=>{n[e]=_h});const o=t.globalProperties;o.$set=mh,o.$applyOptions=vh,o.$callMethod=yh,function(e){ot=e,rt.forEach(t=>t(e))}(e)}function xh(e){const t=Da({history:Th(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:kh});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Sh[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Sh=Object.create(null);const kh=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Sh[o]);if(t)return t}return{left:0,top:0};var o};function Th(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=Ql(e);return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Qd(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ud(t[r]);ep(rp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Ch={install(e){wh(e),wc(e),Mc(e),e.config.warnHandler||(e.config.warnHandler=Eh),xh(e)}};function Eh(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const Oh={class:"uni-async-loading"},Ah=ji("i",{class:"uni-loading"},null,-1),Ih=Bc({name:"AsyncLoading",render:()=>(Ti(),Ii("div",Oh,[Ah]))});function $h(){window.location.reload()}const Mh=Bc({name:"AsyncError",props:["error"],setup(){lu();const{t:e}=iu();return()=>ji("div",{class:"uni-async-error",onClick:$h},[e("uni.async.error")],8,["onClick"])}});let Lh;function Ph(){return Lh}function Rh(e){Lh=e,Object.defineProperty(Lh.$.ctx,"$children",{get:()=>Qd().map(e=>e.$vm)});const t=Lh.$.appContext.app;t.component(Ih.name)||t.component(Ih.name,Ih),t.component(Mh.name)||t.component(Mh.name,Mh),function(e){e.$vm=e,e.$mpType="app";const t=jn(iu().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Lh),function(e,t){const n=e.$options||{};n.globalData=u(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Lh),Ic(),fc()}function Nh(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=u({},e)),i&&i(e);const l=e.setup;return e.setup=(e,t)=>{const n=Ki();if(o(n.proxy),r(n),l)return l(e,t)},e}function jh(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Nh(e.default,t):Nh(e,t)}function Bh(e,t){return jh(e,{type:"page",clone:!0,init:op,setup(e){e.$pageInstance=e;const t=Zc(),n=Ge(t.query);e.attrs.__pageQuery=n,Ud(e.proxy).options=n,e.proxy.options=n;const o=Jc();var r;Fd(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),Po([e.onReachBottom,e.onPageScroll],()=>{const t=Zu();e.proxy===t&&pp(e,o)},{once:!0}),mr(()=>{lp(e,o)}),yr(()=>{ap(e);const{onReady:n}=e;n&&P(n),Fh(t)}),ur(()=>{if(!e.__isVisible){lp(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&P(t)}oo(()=>{Fh(t)})}},"ba",r),function(e,t){ur(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&P(t)}}});const i=oc(e.proxy);return function(e){Gg.subscribe(gu(e,fu),vu)}(i),wr(()=>{!function(e){Gg.unsubscribe(gu(e,fu)),Object.keys(hu).forEach(t=>{0===t.indexOf(e+".")&&delete hu[t]})}(i)}),n}})}function Dh(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=tg(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Zg.emit(me,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Vh(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Zg.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function qh(){const{emit:e}=Zg;"visible"===document.visibilityState?e(Le,u({},$p)):e(Pe)}function Fh(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&rc("onTabItemTap",{index:n,text:t,pagePath:o})}const Hh="__DC_STAT_UUID",Wh=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Uh;function Yh(){if(Uh=Uh||Wh[Hh],!Uh){Uh=Date.now()+""+Math.floor(1e7*Math.random());try{Wh[Hh]=Uh}catch(e){}}return Uh}function zh(){if(!0!==__uniConfig.darkmode)return m(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Xh(){let e,t,n,o="0",r="phone",i="";const s=navigator.language;if(yp){n="iPhone",e="iOS";const r=vp.match(/OS\s([\w_]+)\slike/);r&&(o=r[1].replace(/_/g,"."));const i=o.split(".")[0];if(Number(i)>=18){const e=vp.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const s=vp.match(/\(([a-zA-Z]+);/);s&&(t=s[1])}else if(mp){e="Android";const n=vp.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const r=vp.match(/\((.+?)\)/),i=r?r[1].split(";"):vp.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const n=i[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(xp){if(n="iPad",t="iPad",e="iOS",r="pad",o=v(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=vp.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(bp||_p||wp){t="PC",e="PC",r="pc",o="0";let n=vp.match(/\((.+?)\)/)[1];if(bp){switch(e="Windows",bp[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(_p){e="macos",i="mac";const t=n&&n.match(/Mac OS X (.+)/)||"";o&&(o=t[1].replace(/_/g,"."),-1!==o.indexOf(";")&&(o=o.split(";")[0]))}else if(wp){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(Sp){n="HUAWEI",e="harmonyos",r=kp?"pc":Tp?"pad":"phone";const i=vp.match(/OpenHarmony\s([\d\.]+)/);i&&(o=i[1]),t=void 0}else e="Other",o="0",r="unknown";const l=`${e} ${o}`;i||(i=e.toLowerCase());let a="",u=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"!==u)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(vp)&&(a=t[n],u=vp.match(r)[2])}}let c="portrait";if(window.matchMedia)try{window.matchMedia("(orientation:landscape)").matches&&(c="landscape")}catch(f){}return"portrait"===c&&void 0!==window.screen.orientation&&(c=[90,270].includes(window.screen.orientation.angle)?"landscape":"portrait"),"portrait"===c&&null!=window.orientation&&(c=90===Math.abs(window.orientation)?"landscape":"portrait"),{deviceBrand:n,brand:n,deviceModel:t,deviceOrientation:c,model:t,system:l,platform:i,browserName:a.toLocaleLowerCase(),browserVersion:u,language:s,deviceType:r,ua:vp,osname:e,osversion:o,theme:zh()}}const Kh=Ef(0,()=>{const e=window.devicePixelRatio,t=Cp(),n=Ep(t),o=Op(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Ap();let s=window.innerHeight;const l=ju.top,a={left:ju.left,right:i-ju.right,top:ju.top,bottom:s-ju.bottom,width:i-ju.left-ju.right,height:s-ju.top-ju.bottom},{top:u,bottom:c}=function(){const e=document.documentElement.style,t=Vu(),n=Du(e,"--window-bottom"),o=Du(e,"--window-left"),r=Du(e,"--window-right"),i=Du(e,"--top-window-height");return{top:t,bottom:n?n+ju.bottom:0,left:o?o+ju.left:0,right:r?r+ju.right:0,topWindowHeight:i||0}}();return s-=u,s-=c,{windowTop:u,windowBottom:c,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:l,safeArea:a,safeAreaInsets:{top:ju.top,right:ju.right,bottom:ju.bottom,left:ju.left},screenTop:r-s}});let Jh,Gh=!0;function Zh(){Gh&&(Jh=Xh())}const Qh=Ef(0,()=>{Zh();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:l,osname:a,osversion:c}=Jh;return u({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Yh(),deviceOrientation:s,deviceType:l,model:o,osName:a?a.toLowerCase():void 0,osVersion:c,platform:r,system:i})}),eg=Ef(0,()=>{Zh();const{theme:e,language:t,browserName:n,browserVersion:o}=Jh;return u({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:zf?zf():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:""},{})}),tg=Ef(0,()=>{Gh=!0,Zh(),Gh=!1;const e=Kh(),t=Qh(),n=eg();Gh=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:l}=Jh,a=u(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:l,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete a.screenTop,delete a.enableDebug,__uniConfig.darkmode||delete a.theme,a}),ng="none";const og=Of("getNetworkType",(e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;let o="unknown";if(n){const e=n.effectiveType;o=n.type,"cellular"===o&&e?o=e.replace("slow-",""):o&&o!==ng||!e?[ng,"wifi"].includes(o)||(o="unknown"):o=e}else!1===navigator.onLine&&(o=ng);return t({networkType:o})});const rg=Ef(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)});function ig(e){const t=localStorage&&localStorage.getItem(e);if(!m(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=m(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 sg=Ef(0,e=>{try{return ig(e)}catch(t){return""}}),lg=Ef(0,e=>{localStorage&&localStorage.removeItem(e)}),ag={esc:["Esc","Escape"],enter:["Enter"]},ug=Object.keys(ag);function cg(){const e=jn(""),t=jn(!1),n=n=>{if(t.value)return;const o=ug.find(e=>-1!==ag[e].indexOf(n.key));o&&(e.value=o),oo(()=>e.value="")};return yr(()=>{document.addEventListener("keyup",n)}),wr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}function fg(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),il(Zo({setup:()=>()=>(Ti(),Ii(e,t,null,16))}))}function dg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}let pg=0,hg="";function gg(e){let t=pg;pg+=e?1:-1,pg=Math.max(0,pg),pg>0?0===t&&(hg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=hg,hg="")}const vg=Bc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=wn({direction:"none"});let n=1,o=0,r=0,i=0,s=0;function l({detail:e}){n=e.scale}function a(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function u(e){const t=e.target.getBoundingClientRect();i=t.width,s=t.height,f(e)}function c(e){const l=n*o>i,a=n*r>s;t.direction=l&&a?"all":l?"horizontal":a?"vertical":"none",f(e)}function f(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return ji(jp,{style:n,onTouchstart:Dc(u),onTouchmove:Dc(f),onTouchend:Dc(c)},{default:()=>[ji(Jp,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:l},{default:()=>[ji("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:a},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function mg(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const yg=Bc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){yr(()=>gg(!0)),xr(()=>gg(!1));const{key:n}=cg(),o=jn(null),r=jn(mg(e));let i;function s(){i||oo(()=>{t("close")})}function l(e){r.value=e.detail.current}Po(()=>e.current,()=>r.value=mg(e)),Po(()=>n.value,e=>{"esc"===e&&s()}),yr(()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,n=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(i=!0)})});const a={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return ji("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},[ji(lh,{navigation:"auto",current:r.value,onChange:l,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map(e=>ji(uh,null,{default:()=>[ji(vg,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!$i(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ji("div",{style:a},[Ju("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 bg,_g=null;const wg=()=>{_g=null,oo(()=>{null==bg||bg.unmount(),bg=null})},xg=Of("previewImage",(e,{resolve:t})=>{_g?u(_g,e):(_g=wn(e),oo(()=>{bg=fg(yg,_g,wg),bg.mount(dg("u-a-p"))})),t()},0,ld),Sg=Cf("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:l,timeout:a=__uniConfig.networkTimeout.request},{resolve:u,reject:c})=>{let f=null;const p=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(m(t)||t instanceof ArrayBuffer)f=t;else if("json"===p)try{f=JSON.stringify(t)}catch(g){f=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));f=e.join("&")}else f=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 Tg(t);const d={method:o,headers:n,body:f,signal:s,credentials:l?"include":"same-origin"},p=setTimeout(function(){h.abort(),c("timeout",{errCode:5})},a);d.signal.addEventListener("abort",function(){clearTimeout(p),c("abort",{errCode:600003})}),window.fetch(e,d).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const l=kg(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:l}),!o)return void u({data:"",statusCode:t,header:s,cookies:l});const a=o.getReader(),c=[],f=()=>{a.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 r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(c);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Eg(n,i,r)),void u({data:n,statusCode:t,header:s,cookies:l})}const o=n;c.push(o),h._emitter.emit("chunkReceived",{data:o}),f()})};f()},e=>{c(e,{errCode:5})})}else{const t=new XMLHttpRequest;h=new Tg(t),t.open(o,e);for(const e in n)d(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,h.abort(),c("timeout",{errCode:5})},a);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Eg(n,i,r)),u({data:n,statusCode:e,header:Cg(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),c("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),c(void 0,{errCode:5})},t.withCredentials=l,t.send(f)}return h},0,fd),kg=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 r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class Tg{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new at,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 Cg(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 Eg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}const Og=Of("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===rc(ye,{from:e.from||"navigateBack"})&&(o=!1),o?(Ph().$router.go(-e.delta),t()):n(ye)},0,wd),Ag=Of(pd,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Yd.handledBeforeEntryPageRoutes)return Nd({type:pd,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);zd.push({args:{type:pd,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,yd);function Ig(e){__uniConfig.darkmode&&Zg.on(le,e)}function $g(e){let t={};return __uniConfig.darkmode&&(t=ft(e,__uniConfig.themeConfig,zh())),__uniConfig.darkmode?t:e}const Mg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Ad.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Lg="uni-toast__icon",Pg={light:"#fff",dark:"rgba(255,255,255,0.9)"},Rg=e=>Pg[e],Ng=Zo({name:"Toast",props:Mg,setup(e){au(),uu();const{Icon:t}=function(e){const t=jn(Rg(zh())),n=({theme:e})=>t.value=Rg(e);Mo(()=>{var t;e.visible?Ig(n):(t=n,Zg.off(le,t))});const o=ss(()=>{switch(e.icon){case"success":return ji(Ju(zu,t.value,38),{class:Lg});case"error":return ji(Ju(Xu,t.value,38),{class:Lg});case"loading":return ji("i",{class:[Lg,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=function(e,{onEsc:t,onEnter:n}){const o=jn(e.visible),{key:r,disable:i}=cg();return Po(()=>e.visible,e=>o.value=e),Po(()=>o.value,e=>i.value=!e),Mo(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ji(gs,{name:"uni-fade"},{default:()=>[Do(ji("uni-toast",{"data-duration":r},[o?ji("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Bu},null,40,["onTouchmove"]):"",s||t.value?ji("div",{class:"uni-toast"},[s?ji("img",{src:s,class:Lg},null,10,["src"]):t.value,ji("p",{class:"uni-toast__content"},[i])]):ji("div",{class:"uni-sample-toast"},[ji("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[As,n.value]])]})}}});let jg,Bg,Dg="";const Vg=gt();function qg(e){jg?u(jg,e):(jg=wn(u(e,{visible:!1})),oo(()=>{Vg.run(()=>{Po([()=>jg.visible,()=>jg.duration],([e,t])=>{if(e){if(Bg&&clearTimeout(Bg),"onShowLoading"===Dg)return;Bg=setTimeout(()=>{Hg("onHideToast")},t)}else Bg&&clearTimeout(Bg)})}),Zg.on("onHidePopup",()=>Hg("onHidePopup")),fg(Ng,jg,()=>{}).mount(dg("u-a-t"))})),setTimeout(()=>{jg.visible=!0},10)}const Fg=Of("showToast",(e,{resolve:t,reject:n})=>{qg(e),Dg="onShowToast",t()},0,Id);function Hg(e){const{t:t}=iu();if(!Dg)return;let n="";if("onHideToast"===e&&"onShowToast"!==Dg?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Dg&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Dg="",setTimeout(()=>{jg.visible=!1},10)}function Wg(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Zg.emit("onNavigationBarChange",{titleText:t})}Mo(t),lr(t)}const Ug=Of(Ed,(e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case Ed:const{title:l}=n;i.titleText=l}o()}(Qu(),Ed,e,t,n)}),Yg=Of("pageScrollTo",({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(m(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const n=document.documentElement,{clientHeight:o,scrollHeight:r}=n;if(e=Math.min(e,r-o),0===t)return void(n.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const i=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+n/t*10),i(t-10)})};i(t)}(t||e||0,n),o()},0,Od),zg="0px",Xg=Bc({name:"Layout",setup(e,{emit:t}){const n=jn(null);qu({"--status-bar-height":zg,"--top-window-height":zg,"--window-left":zg,"--window-right":zg,"--window-margin":zg,"--tab-bar-height":zg});const o=function(){const e=Va();return{routeKey:ss(()=>rp("/"+e.meta.route,Qc())),isTabBar:ss(()=>e.meta.isTabBar),routeCache:sp}}(),{layoutState:r,windowState:i}=function(){Zc();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Po(()=>e.marginWidth,e=>qu({"--window-margin":e+"px"})),Po(()=>e.leftWindowWidth+e.marginWidth,e=>{qu({"--window-left":e+"px"})}),Po(()=>e.rightWindowWidth+e.marginWidth,e=>{qu({"--window-right":e+"px"})}),{layoutState:e,windowState:ss(()=>({}))}}}();!function(e,t){const n=Zc();function o(){const o=document.body.clientWidth,r=Qd();let i={};if(r.length>0){i=Ud(r[r.length-1]).meta}else{const e=cc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((d(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let l=!1;l=o>s,l&&s?(e.marginWidth=(o-s)/2,oo(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,oo(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Po([()=>n.path],o),yr(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(e){const t=jn(!1);return ss(()=>({"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 ji(Ba,null,{default:bo(({Component:o})=>[(Ti(),Ii(ir,{matchBy:"key",cache:n},[(Ti(),Ii(Eo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o);return ji("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Kg=class e{constructor(){nu(this,"_adConfig",null),nu(this,"_isLoading",!1),nu(this,"_callbacks",[]),nu(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:r,b:i}=this._adConfig;const s=r[t];s?n(i,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??"":"";Sg({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}))}};nu(Kg,"IC",0),nu(Kg,"IS",0),nu(Kg,"URL","https://hac1.dcloud.net.cn/ah5v2"),nu(Kg,"KEY","uni_app_ad_config"),nu(Kg,"CACHE_TIME",6e5),nu(Kg,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const Jg=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){Sg({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}))}};nu(Jg,"URL","https://has1.dcloud.net.cn/ahl"),nu(Jg,"KEY","uni_app_ad_guid");const Gg=u(mu,{publishHandler(e,t,n){Zg.subscribeHandler(e,t,n)}}),Zg=u(kc,{publishHandler(e,t,n){Gg.subscribeHandler(e,t,n)}}),Qg=Bc({name:"PageHead",setup(){const e=jn(null),t=Jc(),n=function(e,t){const n=Tn(e),o=n?wn($g(e)):$g(e);return __uniConfig.darkmode&&n&&Po(e,e=>{const t=$g(e);for(const n in t)o[n]=t[n]}),t&&Ig(t),o}(t.navigationBar,()=>{const e=$g(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:r}=function(e){const t=ss(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r}),n=ss(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return ji("div",{class:"uni-page-head-btn",onClick:tv},[Ju(Ku,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",l="transparent"!==s&&"float"!==s&&ji("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ji("uni-page-head",{"uni-page-head-type":s},[ji("div",{ref:e,class:o.value,style:r.value},[ji("div",{class:"uni-page-head-hd"},[i]),ev(n),ji("div",{class:"uni-page-head-ft"},[])],6),l],8,["uni-page-head-type"])}}});function ev(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ji("div",{class:"uni-page-head-bd"},[ji("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ji("i",{class:"uni-loading"},null):r?ji("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function tv(){1===Zd().length?Rd({url:"/"}):Og({from:"backbutton",success(){}})}const nv=Bc({name:"PageBody",setup(e,t){const n=!1,o=jn(null),r=jn(null);return Po(()=>n.enablePullDownRefresh,()=>{r.value=null},{immediate:!0}),()=>ji(bi,null,[!1,ji("uni-page-wrapper",Wi({ref:o},r.value),[ji("uni-page-body",null,[Or(t.slots,"default")]),null],16)])}}),ov=Bc({name:"Page",setup(e,t){let n=Gc(Qc());const o=n.navigationBar,r={};return Wg(n),()=>ji("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ji(Qg),rv(t),null]:[rv(t),null])}});function rv(e){return Ti(),Ii(nv,{key:0},{default:bo(()=>[Or(e.slots,"page")]),_:3})}const iv={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=jf;const sv=Object.assign({}),lv=Object.assign;window.__uniConfig=lv({globalStyle:{backgroundColor:"#ffffff",navigationBar:{style:"default",type:"default",titleColor:"#000000"},isNVue:!1},compilerVersion:"5.24"},{appId:"__UNI__2D2825B",appName:"旧版协议",appVersion:"1.0.0",appVersionCode:"100",async:iv,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(sv).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return lv(e[n]||(e[n]={}),sv[t].default),e},{}),router:{mode:"history",base:"/contact/",assets:"assets",routerBase:"/contact/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const av={delay:iv.delay,timeout:iv.timeout,suspensible:iv.suspensible};iv.loading&&(av.loadingComponent={name:"SystemAsyncLoading",render:()=>ji(To(iv.loading))}),iv.error&&(av.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ji(To(iv.error),{error:this.error})}});const uv=()=>t(()=>import("./pages-agreement-index.BgDWXgA-.js"),__vite__mapDeps([0,1,2])).then(e=>Bh(e.default||e)),cv=er(lv({loader:uv},av)),fv=()=>t(()=>import("./pages-agreement-preview-index.BCnRHSs3.js"),__vite__mapDeps([3,1,4])).then(e=>Bh(e.default||e)),dv=er(lv({loader:fv},av));function pv(e,t){return Ti(),Ii(ov,null,{page:bo(()=>[ji(e,lv({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/agreement/index",component:{setup(){const e=Ph(),t=e&&e.$route&&e.$route.query||{};return()=>pv(cv,t)}},loader:uv,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"旧版协议",style:"default",type:"default"},isNVue:!1}},{path:"/pages/agreement/preview/index",component:{setup(){const e=Ph(),t=e&&e.$route&&e.$route.query||{};return()=>pv(dv,t)}},loader:fv,meta:{navigationBar:{titleText:"商户协议预览",style:"default",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const hv={onLaunch(){}};jh(hv,{init:Rh,setup(e){const t=Zc(),n=()=>{var n;n=e,Object.keys(Xf).forEach(e=>{Xf[e].forEach(t=>{gr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return u(Ip,{path:e,query:t}),u($p,Ip),u({},Ip)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ge(t.query)});if(o&&P(o,s),r&&P(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:Ge(t.query),scene:1001};jd(),i&&P(i,e)}};return Zr(Ea).isReady().then(n),yr(()=>{window.addEventListener("resize",function(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r),r=o(()=>e.apply(this,arguments),t)};return i.cancel=function(){n(r)},i}(Dh,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Vh),document.addEventListener("visibilitychange",qh),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Zg.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=()=>(Ti(),Ii(Xg));e.setup=(e,o)=>{const r=t&&t(e,o);return v(r)?n:r},e.render=n}});const gv="1",vv="3",mv="11",yv="21",bv="31",_v="101",wv=1,xv=2,Sv=3,kv=0,Tv=1;function Cv(e){return!0===e||1===e||"1"===e?Tv:kv}function Ev(e,t,n,o){return new(n||(n=Promise))(function(r,i){function s(e){try{a(o.next(e))}catch(t){i(t)}}function l(e){try{a(o.throw(e))}catch(t){i(t)}}function a(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,l)}a((o=o.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const Ov="…[truncated]";function Av(e,t=4096){var n;if(void 0===e)return"";let o;if("string"==typeof e)o=e;else{const t=new WeakSet;try{o=null!==(n=JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return"bigint"==typeof n?n.toString():"function"==typeof n?`[Function ${n.name||"anonymous"}]`:n}))&&void 0!==n?n:""}catch(r){o=`[Unserializable: ${r.message}]`}}return o.length>t?o.slice(0,Math.max(0,t-12))+Ov:o}function Iv(e,t){try{return e()}catch(n){return t}}function $v(e,t){return Ev(this,void 0,void 0,function*(){var n;const o=Math.max(1,Math.floor(t.times)),r=null!==(n=t.sleep)&&void 0!==n?n:Mv;let i;for(let l=1;l<=o;l++)try{return yield e()}catch(s){if(i=s,l>=o)break;yield r(t.baseDelayMs*Math.pow(2,l-1))}throw i})}function Mv(e){return new Promise(t=>setTimeout(t,e))}function Lv(e){if(null==e||"object"!=typeof e)return!1;const t=e;return"function"==typeof t.getStorageSync||"function"==typeof t.onCreateVueApp||"function"==typeof t.request||"function"==typeof t.onAppShow}function Pv(){if("undefined"!=typeof globalThis&&null!=globalThis)return globalThis;if("undefined"!=typeof global&&null!=global)return global;if("undefined"!=typeof self&&null!=self)return self;const e=function(){try{const e=Function('return typeof window !== "undefined" ? window : undefined')();return null!=e?e:void 0}catch(e){return}}();return e||{}}function Rv(){const e="undefined"!=typeof globalThis,t=Pv().uni,n=null!=t&&"object"==typeof t,o=n&&!Lv(t),r=function(){if("undefined"!=typeof uni&&null!=uni&&"object"==typeof uni)return uni}(),i=null!=r;if(Lv(t))return{resolved:!0,source:"globalThis",globalThisHasUni:!0,globalThisUniStub:!1,moduleUniDefined:i,globalThisAvailable:e,uni:t};if(Lv(r))return{resolved:!0,source:"module",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:!0,globalThisAvailable:e,uni:r};const s=function(){try{const e={},t=(t,n)=>{"function"==typeof n&&(e[t]=n)};return t("getStorageSync",sg),t("setStorageSync",rg),t("removeStorageSync",lg),t("getSystemInfoSync",tg),t("getDeviceInfo",Qh),t("getAppBaseInfo",eg),t("getWindowInfo",Kh),t("getNetworkType",og),t("request",Sg),t("onAppShow",Gf),t("offAppShow",Zf),t("onAppHide",Qf),t("offAppHide",ed),t("onAppLaunch",uni.onAppLaunch),t("offAppLaunch",uni.offAppLaunch),t("getLaunchOptionsSync",td),t("addInterceptor",Vf),t("removeInterceptor",qf),t("getPushClientId",sd),t("getAccountInfoSync",uni.getAccountInfoSync),t("onCreateVueApp",it),Object.keys(e).length>0?e:void 0}catch(e){return}}();return Lv(s)?{resolved:!0,source:"injected",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:i,globalThisAvailable:e,uni:s}:{resolved:!1,source:"none",globalThisHasUni:n,globalThisUniStub:o,moduleUniDefined:i,globalThisAvailable:e,uni:void 0}}function Nv(){const e=Rv();return e.resolved?e.uni:void 0}const jv="[uni统计 2.0]";let Bv,Dv;function Vv(){var e,t,n,o,r,i,s;const l=null!=="h5"?"h5":"",a=Pv();if("app"===l||"app-plus"===l||"app-harmony"===l){const o=null===(n=null===(t=null===(e=a.plus)||void 0===e?void 0:e.os)||void 0===t?void 0:t.name)||void 0===n?void 0:n.toLowerCase();return!!o&&(!!o.includes("android")||!("ios"!==o&&!o.includes("iphone")))}if(l.startsWith("mp-"))try{const e=null===(s=null===(i=null===(r=null===(o=a.uni)||void 0===o?void 0:o.getSystemInfoSync)||void 0===r?void 0:r.call(o))||void 0===i?void 0:i.platform)||void 0===s?void 0:s.toLowerCase();return"android"===e||"ios"===e}catch(u){return!1}return!1}function qv(e){return null==e||"object"!=typeof e?e:e instanceof Error?`${e.name}: ${e.message}`:Av(e)}function Fv(e){if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return String(e);if("bigint"==typeof e)return String(e);if("symbol"==typeof e)try{return e.toString()}catch(t){return"?"}if("function"==typeof e){return`[Function ${e.name||"anonymous"}]`}return"object"==typeof e?e instanceof Error?`${e.name}: ${e.message}`:Av(e):String(e)}function Hv(e,t){if("log"!==e&&void 0!==Dv&&Dv)return;const n=console[e];if(!Vv())return void n.call(console,jv,...t);const o=Vv()?t.map(qv):t;if(0===o.length)return void n.call(console,jv);const r=o.map(Fv).join(" ");n.call(console,`${jv} ${r}`)}function Wv(){if(void 0!==Bv)return Bv;return!1}const Uv={debug(...e){Wv()&&Hv("log",e)},info(...e){Hv("info",e)},warn(...e){Hv("warn",e)},error(...e){Hv("error",e)},setDebug:function(e){Bv=e},isDebug:Wv,setMuteNonDebug:function(e){Dv=e}},Yv=new Map,zv=new Set;function Xv(e){return`UNI_STAT_DATA:__UNI__2D2825B:${e}`}function Kv(){const e=Nv(),t=null!=e&&"object"==typeof e?e:void 0;if(!t||"function"!=typeof t.getStorageSync)throw new Error("[uni统计 2.0] uni storage API is not available");return t}function Jv(e){const t=Xv(e);if(Yv.has(t))return Yv.get(t);try{const e=Kv().getStorageSync(t);return""===e||null==e?void Yv.set(t,void 0):(Yv.set(t,e),zv.add(t),e)}catch(n){return}}function Gv(e,t){const n=Xv(e);if(void 0!==t){Yv.set(n,t),zv.add(n);try{Kv().setStorageSync(n,t)}catch(o){}}else Zv(e)}function Zv(e){const t=Xv(e);Yv.set(t,void 0);try{Kv().removeStorageSync(t)}catch(n){}}const Qv={get:Jv,set:Gv,remove:Zv,safeRead:function(e){const t=Xv(e);if(Yv.has(t))return{ok:!0,value:Yv.get(t)};try{const e=Kv().getStorageSync(t);return""===e||null==e?(Yv.set(t,void 0),{ok:!0,value:void 0}):(Yv.set(t,e),zv.add(t),{ok:!0,value:e})}catch(n){return{ok:!1,value:void 0}}},batchGet:function(e){const t={};for(const n of e)t[n]=Jv(n);return t},batchSet:function(e){for(const t of Object.keys(e))Gv(t,e[t])},clearNamespace:function(){let e;try{e=Kv()}catch(t){}for(const o of Array.from(zv)){try{null==e||e.removeStorageSync(o)}catch(n){}Yv.set(o,void 0)}zv.clear()},__resetCache:function(){Yv.clear(),zv.clear()}},em="visit:fvts",tm="visit:lvts",nm="visit:tvc",om={fvts:0,lvts:0,tvc:0,isNewUser:!0,degraded:!1};let rm=null,im=null,sm=null,lm=null,am=null,um=!1;function cm(e){if("number"==typeof e&&Number.isFinite(e)&&e>=0)return e;if("string"==typeof e&&e.length>0){const t=Number(e);if(Number.isFinite(t)&&t>=0)return t}return 0}function fm(e){return!!e.isNewUser&&(!e.degraded||function(e){return 0===e.fvts&&0===e.lvts&&0===e.tvc}(e))}function dm(){return rm||(rm=om),rm}function pm(e){Qv.set(em,e),Qv.set(tm,e),Qv.set(nm,1);const t={fvts:e,lvts:e,tvc:1,isNewUser:!1,degraded:!1};rm=t,lm=t}function hm(e){if(im){const t=dm(),n=0===t.fvts?e:t.fvts,o=e,r=im.tvc;return Qv.set(em,n),Qv.set(tm,o),Qv.set(nm,r),lm={fvts:n,lvts:o,tvc:r,isNewUser:!1,degraded:!1},rm=lm,void(im=null)}if(!sm)return;const t=sm.fvts,n=e,o=sm.tvc;Qv.set(em,t),Qv.set(tm,n),Qv.set(nm,o),lm={fvts:t,lvts:n,tvc:o,isNewUser:!1,degraded:!1},rm=lm,sm=null}function gm(){im=null,sm=null}const vm="session:entryRoute";let mm,ym,bm=!1;function _m(e){if(!e)return;wm()||(Qv.set(vm,e),mm=e)}function wm(){if(void 0!==mm)return mm||void 0;const e=Qv.safeRead(vm);return e.ok?"string"==typeof e.value&&e.value.length>0?(mm=e.value,e.value):void(mm=""):void 0}function xm(e){return!bm&&function(e){return!!e&&wm()===e}(e)}function Sm(){bm=!0}function km(){mm="",bm=!1,Qv.remove(vm)}function Tm(){let e={};return e=function(){if(ym)return ym;ym={};try{const e='{"pages/agreement/index":"旧版协议","pages/agreement/preview/index":"商户协议预览"}',t=JSON.parse(e);t&&"object"==typeof t&&!Array.isArray(t)&&(ym=t)}catch(e){ym={}}return ym}(),e}const Cm={page:"",config:"",report:""};function Em(e){Cm.report="string"==typeof e?e:""}function Om(){return{ttn:Cm.page,ttpj:Cm.config,ttc:Cm.report}}function Am(){return Date.now()}function Im(){return Math.floor(Date.now()/1e3)}function $m(e){const t=e>0?e:0;return t<1?1:t}function Mm(e){var t,n,o,r,i;const s=e=>{const t=e.toLowerCase().trim();return t?"devtools"===t?"":"android"===t?"android":"ios"===t||"iphone"===t?"ios":t.includes("android")?"android":t.includes("iphone")||"iphone os"===t||/\bios\b/.test(t)?"ios":t.includes("harmony")||"ohos"===t||"openharmony"===t?"harmonyos":t.includes("windows")||"windows_nt"===t?"windows":"mac"===t||"darwin"===t||t.includes("mac os")||"macos"===t?"macos":t.includes("linux")&&!t.includes("android")?"linux":"":""},l=s(null!==(t=e.platform)&&void 0!==t?t:"");if(l)return l;const a=s(null!==(n=e.osName)&&void 0!==n?n:"");if(a)return a;const u=(null!==(o=e.system)&&void 0!==o?o:"").toLowerCase();if(u.includes("android"))return"android";if(u.includes("iphone")||/\bios\b/.test(u))return"ios";if(u.includes("harmony")||u.includes("ohos"))return"harmonyos";if(u.includes("windows"))return"windows";if(u.includes("mac os")||u.includes("darwin"))return"macos";if(u.includes("linux"))return"linux";const c=Pv().plus,f=s(null!==(i=null===(r=null==c?void 0:c.os)||void 0===r?void 0:r.name)&&void 0!==i?i:"");return f||""}const Lm={app:"n","app-plus":"n","app-harmony":"n","mp-harmony":"mhm",h5:"h5","mp-weixin":"wx",[function(){return["y","a","p","mp-ali"].reverse().join("")}()]:"ali","mp-baidu":"bd","mp-toutiao":"tt","mp-qq":"qq","mp-kuaishou":"ks","mp-lark":"lark","mp-xhs":"xhs","mp-jd":"jd","quickapp-native":"qn","quickapp-webview":"qw"};function Pm(){return null!=="h5"?"h5":""}function Rm(){var e;const t=Pm(),n=Lm[t];if(!n)return"unknown";if("ali"===n){const t=Pv().my;return"dingtalk"===(null===(e=null==t?void 0:t.env)||void 0===e?void 0:e.clientName)?"dt":"ali"}return n}function Nm(){const e=Pm();return"app"===e||"app-plus"===e||"app-harmony"===e}function jm(){return Pm().startsWith("mp-")}function Bm(){return"h5"===Pm()}function Dm(){return Boolean(Pv().__NVUE__)}const Vm="device:uuid",qm="__DC_STAT_UUID";let Fm=null;function Hm(){return`${Am()}${Math.floor(1e6*Math.random()).toString().padStart(6,"0")}`}function Wm(e){Iv(()=>Qv.set(Vm,e),void 0)}function Um(){return Iv(()=>{const e=Pv();if(e.navigator&&!1===e.navigator.cookieEnabled)return;const t=e.localStorage;return t&&"function"==typeof t.getItem&&"function"==typeof t.setItem?t:void 0},void 0)}function Ym(e){const t=Um();t&&Iv(()=>t.setItem(qm,e),void 0)}function zm(){if(Nm()||Bm()||"mp-weixin"===Pm()){const e=function(){const e=Nv(),t=null!=e&&"object"==typeof e?e:void 0;return t&&"function"==typeof t.getDeviceInfo?Iv(()=>{var e;return null!==(e=t.getDeviceInfo().deviceId)&&void 0!==e?e:""},""):""}();if(e)return e}return function(){const e=Nv(),t=null!=e&&"object"==typeof e?e:void 0;return t&&"function"==typeof t.getSystemInfoSync?Iv(()=>{var e;return null!==(e=t.getSystemInfoSync().deviceId)&&void 0!==e?e:""},""):""}()}function Xm(){if(Fm)return Fm;if(Bm()){const e=function(){const e=Um();return e?Iv(()=>{const t=e.getItem(qm);return"string"==typeof t?t:""},""):""}();if(e)return Fm=e,Fm}const e=zm();if(e)return Wm(e),Bm()&&Ym(e),Fm=e,Fm;const t=Qv.safeRead(Vm);if(t.ok){const e=t.value;if("string"==typeof e&&e.length>0){if(e.startsWith("device-anon-")){const e=Hm();return Wm(e),Bm()&&Ym(e),Fm=e,Fm}return Fm=e,Fm}const n=Hm();return Wm(n),Bm()&&Ym(n),Fm=n,Fm}const n=Hm();return Bm()?(Ym(n),Fm=n,Fm):n}function Km(e){const t=Math.random().toString(36).slice(2,2+e);return t.length>=e?t:t.padEnd(e,"0")}function Jm(){return`${Km(8)}-${Km(4)}`}function Gm(e){return e&&e.length>0?`${e}-${Jm()}`:`${Am()}${Math.floor(1e6*Math.random()).toString().padStart(6,"0")}-${Jm()}`}const Zm="session:id",Qm="session:start",ey="session:sct",ty="session:seq",ny="session:lastActive",oy="session:bgTs",ry="session:lastScene",iy={backgroundTimeoutSec:300,pageInactiveTimeoutSec:1800};let sy=Object.assign({},iy),ly=null;function ay(e){const t=Qv.safeRead(e);if(!t.ok)return 0;const n=t.value;if("number"==typeof n&&Number.isFinite(n)&&n>=0)return n;if("string"==typeof n&&n.length>0){const e=Number(n);if(Number.isFinite(e)&&e>=0)return e}return 0}function uy(e){const t=Qv.safeRead(e);return t.ok&&"string"==typeof t.value?t.value:""}function cy(e,t){const n=e-t;return n>0?n:0}function fy(){const e=uy(Zm);return e?{sid:e,sst:ay(Qm),sct:ay(ey)||wv,seq:ay(ty),lastActive:ay(ny),bgTs:ay(oy),lastScene:uy(ry)}:null}function dy(){return null!==ly||(ly=fy()),ly}function py(e,t,n){const o=Gm(Xm()),r={sid:o,sst:e,sct:t,seq:0,lastActive:e,bgTs:0,lastScene:n};return Qv.set(Zm,o),Qv.set(Qm,e),Qv.set(ey,t),Qv.set(ty,0),Qv.set(ny,e),Qv.set(oy,0),Qv.set(ry,n),ly=r,r}function hy(e,t){const{now:n,scene:o=""}=t,r=dy();if("cold_launch"===e){return{snapshot:py(n,wv,o),isNew:!0,cst:wv}}if(!r){return{snapshot:py(n,wv,o),isNew:!0,cst:wv}}if("app_show"===e){const e=[];t.backgroundEnteredAt&&t.backgroundEnteredAt>0&&e.push(t.backgroundEnteredAt),r.bgTs>0&&e.push(r.bgTs);const i=e.length>0?Math.min(...e):0,s=cy(n,i>0?i:r.lastActive);if(!!o&&!!r.lastScene&&o!==r.lastScene||i>0&&s>=sy.backgroundTimeoutSec){return{snapshot:py(n,xv,o),isNew:!0,cst:xv}}return gy(n),Qv.set(oy,0),ly&&(ly.bgTs=0),{snapshot:ly,isNew:!1,cst:0}}if("wx_scene_changed"===e){if(o&&o!==r.lastScene){return{snapshot:py(n,xv,o),isNew:!0,cst:xv}}return{snapshot:r,isNew:!1,cst:0}}if(cy(n,r.lastActive)>=sy.pageInactiveTimeoutSec){return{snapshot:py(n,Sv,o||r.lastScene),isNew:!0,cst:Sv}}return gy(n),{snapshot:ly,isNew:!1,cst:0}}function gy(e){ly||(ly=fy()),ly&&(Qv.set(ny,e),ly.lastActive=e)}function vy(){if(ly||(ly=fy()),!ly)return 0;const e=ly.seq+1;return ly.seq=e,Qv.set(ty,e),e}function my(){return dy()}function yy(e){var t,n,o,r,i,s,l,a;if(!e)return null;const u=null!==(o=null===(n=null===(t=e.$)||void 0===t?void 0:t.type)||void 0===n?void 0:n.mpType)&&void 0!==o?o:null===(r=e.type)||void 0===r?void 0:r.mpType;return"page"===e.mpType||"page"===e.$mpType||"page"===(null===(i=e.$mp)||void 0===i?void 0:i.mpType)||"page"===(null===(s=e.$options)||void 0===s?void 0:s.mpType)||"page"===u?"page":"app"===e.mpType||"app"===e.$mpType||"app"===(null===(l=e.$mp)||void 0===l?void 0:l.mpType)||"app"===(null===(a=e.$options)||void 0===a?void 0:a.mpType)||"app"===u?"app":null}function by(){var e;const t=Pv().getCurrentPages;if("function"!=typeof t)return;const n=Iv(()=>t(),[])||[];if(!Array.isArray(n)||0===n.length)return;const o=n[n.length-1];return null!==(e=null==o?void 0:o.$vm)&&void 0!==e?e:o}function _y(e){var t,n,o,r,i,s,l,a,u,c,f;const d=null!=e?e:by();if(!d)return"";if("bd"===Rm()){const e=null!==(i=null!==(o=null===(n=null===(t=d.$mp)||void 0===t?void 0:t.page)||void 0===n?void 0:n.is)&&void 0!==o?o:null===(r=d.$scope)||void 0===r?void 0:r.is)&&void 0!==i?i:"";if(e)return e}return null!==(f=null!==(a=null!==(s=d.route)&&void 0!==s?s:null===(l=d.$scope)||void 0===l?void 0:l.route)&&void 0!==a?a:null===(c=null===(u=d.$mp)||void 0===u?void 0:u.page)||void 0===c?void 0:c.route)&&void 0!==f?f:""}function wy(e){if(null!=e&&""!==e)return String(e);const t=function(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}();return"function"!=typeof(null==t?void 0:t.getLaunchOptionsSync)?"":jm()?Iv(()=>{const e=t.getLaunchOptionsSync(),n=null==e?void 0:e.scene;return null==n?"":String(n)},""):""}function xy(e={}){const{enabled:t=!1,timeoutMs:n=3e3}=e;return new Promise(e=>{if(!t)return void e({ok:!1,cid:"",reason:"disabled"});const o=function(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}();if(!o||"function"!=typeof o.getPushClientId)return void e({ok:!1,cid:"",reason:"unsupported"});let r=!1;const i=t=>{r||(r=!0,e(t))},s=setTimeout(()=>i({ok:!1,cid:"",reason:"timeout"}),n);Iv(()=>o.getPushClientId({success:e=>{clearTimeout(s);const t="string"==typeof(null==e?void 0:e.cid)?e.cid:"";i(t?{ok:!0,cid:t}:{ok:!1,cid:"",reason:"fail"})},fail:()=>{clearTimeout(s),i({ok:!1,cid:"",reason:"fail"})}}),void 0)})}const Sy={lastRoute:"",lastRouteFull:"",beforeLastRoute:"",beforeLastRouteFull:"",lastRouteEnterTime:0,lastPageTitleSnap:Object.assign({},{ttn:"",ttpj:"",ttc:""}),lastIey:!1,prevIey:!1,isHide:!1,wasBackgrounded:!1,pendingBackgroundResume:!1,backgroundEnteredAt:0,suppressNextPageLogAfterResume:!1,backgroundResumeLt1At:0};let ky;function Ty(){return!Fy()}function Cy(e){Sy.backgroundResumeLt1At=e}function Ey(){void 0!==ky&&(clearTimeout(ky),ky=void 0)}function Oy(e,t){Sy.pendingBackgroundResume||(Bm()?function(e,t){var n;if(!Bm())return;if(Sy.pendingBackgroundResume)return;"hidden"===(null===(n=globalThis.document)||void 0===n?void 0:n.visibilityState)&&Ny(e,t)}(e,t):function(e,t){Bm()||Sy.pendingBackgroundResume||(Ey(),ky=setTimeout(()=>{ky=void 0,Sy.pendingBackgroundResume||Ny(e,t)},120))}(e,t))}function Ay(e){return e.getCollector()}function Iy(e){var t;if(!e||"string"!=typeof e)return"";const n=null!==(t=e.split("?")[0])&&void 0!==t?t:"";return n.startsWith("/")?n.slice(1):n}function $y(e,t,n,o,r,i=""){let s;r&&!My?(My=!0,s=Iv(()=>function(e){const t=dm();if(um&&am)return Uv.warn("[uni统计 2.0] buildVisitFields() called twice in same process; returning cached fields"),Object.assign({},am);if(um=!0,fm(t))im={fvts:e,lvts:0,tvc:1,now:e},pm(e);else if(t.isNewUser){Uv.warn("[uni统计 2.0] visit degraded: lvts 读取失败但检测到历史数据,按老用户处理以避免新增虚高");const n=t.fvts>0?t.fvts:e;im={fvts:n,lvts:n,tvc:t.tvc+1,now:e}}else im={fvts:t.fvts,lvts:t.lvts,tvc:t.tvc+1,now:e};return am={fvts:im.fvts,lvts:im.lvts,tvc:im.tvc},Object.assign({},am)}(o),void 0)):s=Iv(()=>function(e){let t,n,o;if(lm)t=lm.fvts,n=lm.lvts,o=lm.tvc+1;else if(am)t=am.fvts,n=0!==am.lvts?am.lvts:am.fvts,o=am.tvc;else{const r=dm();fm(r)?(t=e,n=0,o=1,pm(e)):r.isNewUser?(t=r.fvts>0?r.fvts:e,n=t,o=r.tvc+1):(t=r.fvts,n=r.lvts,o=r.tvc+1)}return sm={fvts:t,lvts:n,tvc:o,now:e},{fvts:t,lvts:n,tvc:o}}(o),void 0);const l={lt:gv,t:o,sc:n,visit:s};i&&(l.url=i),e.report(l)}let My=!1,Ly=0;function Py(e,t={},n={},o="unknown"){if(!Sy.pendingBackgroundResume)return!1;const r=Sy.backgroundEnteredAt;if(r<=0)return!1;const i=Ay(e);if(!i)return!1;const s=Im();if(s-r<1)return Sy.suppressNextPageLogAfterResume=!0,!0;Sy.wasBackgrounded=!1,Sy.suppressNextPageLogAfterResume=!0,Sy.lastRouteEnterTime=s;const l=Iv(()=>wy(t.scene),""),a=Iv(()=>hy("app_show",{now:s,scene:l,backgroundEnteredAt:r}),null);if(Sy.pendingBackgroundResume=!1,Sy.backgroundEnteredAt=0,!a||!a.isNew)return!0;Iv(()=>km(),void 0);const u=t.path||Sy.lastRoute||"",c=Iy(u);return c&&Iv(()=>_m(c),void 0),$y(i,a.cst,l,s,!1,u),Cy(s),i.flush(!0).catch(e=>Uv.warn("[uni统计 2.0] flush after new session (app_show) failed",e)),!0}function Ry(e,t={},n={}){if(Py(e,t,n,"handleAppShow"))return;const o=Ay(e);if(!o)return;const r=Im(),i=Iv(()=>wy(t.scene),"");if(function(e){return Sy.backgroundResumeLt1At>0&&e-Sy.backgroundResumeLt1At<=3}(r))return void Iv(()=>function(e){e&&(ly||(ly=fy()),ly&&(Qv.set(ry,e),ly.lastScene=e))}(i),void 0);const s=Iv(()=>hy("app_show",{now:r,scene:i}),null);if(!s||!s.isNew)return;Iv(()=>km(),void 0);const l=t.path||Sy.lastRoute||"",a=Iy(l);a&&Iv(()=>_m(a),void 0),$y(o,s.cst,i,r,!1,l),Cy(r),o.flush(!0).catch(e=>Uv.warn("[uni统计 2.0] flush after new session (app_show) failed",e))}function Ny(e,t={}){if(Sy.pendingBackgroundResume)return;const n=Ay(e);if(!n)return;const o=Im();Sy.wasBackgrounded=!0,Sy.pendingBackgroundResume=!0,Sy.backgroundEnteredAt=o,Iv(()=>function(e){ly||(ly=fy()),ly&&(Qv.set(oy,e),ly.bgTs=e)}(o),void 0);const r=$m(Sy.lastRouteEnterTime>0?o-Sy.lastRouteEnterTime:0);if(Sy.lastRoute&&!1!==t.enablePageLog){const e=Sy.lastRouteFull||Sy.lastRoute,t=Sy.beforeLastRouteFull||Sy.beforeLastRoute||"",i=Sy.lastPageTitleSnap,s={lt:mv,t:o,url:e,urlref_ts:r,iey:Sy.lastIey,ppiey:Sy.prevIey,ttn:i.ttn,ttpj:i.ttpj,ttc:i.ttc};t&&(s.urlref=t),n.report(s),Sy.lastIey&&(Iv(()=>Sm(),void 0),Sy.lastIey=!1)}n.report({lt:vv,t:o,urlref:Sy.lastRoute,urlref_ts:r}),n.flush(!0).catch(e=>Uv.warn("[uni统计 2.0] flush on hide failed",e))}function jy(e,t,n={}){const o=Ay(e);if(!o)return;Sy.pendingBackgroundResume&&Ty()&&Py(e,{},n,"handlePageShow");const r=Im(),i=Iv(()=>_y(t),""),s=Iv(()=>function(e){var t,n;const o=null!=e?e:by();if(!o)return"";const r=null!==(t=o.$page)&&void 0!==t?t:null===(n=o.$scope)||void 0===n?void 0:n.$page;if(r){if(r.fullPath&&"/"!==r.fullPath)return r.fullPath;if(r.route)return r.route}return _y(o)}(t),"")||i;if(!i&&!s)return;const l=Iv(()=>hy("page_show",{now:r}),null);if(!l)return;Iv(()=>Em(""),void 0),Iv(()=>{return e=function(e){if(!e||"string"!=typeof e)return"";const t=e.split("?")[0].trim();if(!t)return"";const n=Tm();let o="";const r=[t];t.startsWith("/")?r.push(t.slice(1)):r.push(`/${t}`);for(const i of r){const e=n[i];if("string"==typeof e&&e.length>0){o=e;break}}return o}(i),void(Cm.config="string"==typeof e?e:"");var e},void 0),l.isNew&&Iv(()=>km(),void 0),i&&Iv(()=>_m(i),void 0),l.isNew&&$y(o,l.cst,"",r,!1,s);const a=Sy.suppressNextPageLogAfterResume;if(Sy.lastRoute&&!1!==n.enablePageLog&&!a){const e=$m(Sy.lastRouteEnterTime>0?r-Sy.lastRouteEnterTime:0),t=Sy.lastRouteFull||Sy.lastRoute,n=Sy.beforeLastRouteFull||Sy.beforeLastRoute||"",i=Sy.lastPageTitleSnap,s={lt:mv,t:r,url:t,urlref_ts:e,iey:Sy.lastIey,ppiey:Sy.prevIey};n&&(s.urlref=n),s.ttn=i.ttn,s.ttpj=i.ttpj,s.ttc=i.ttc,o.report(s),Sy.lastIey&&Iv(()=>Sm(),void 0)}Sy.beforeLastRoute=Sy.lastRoute,Sy.beforeLastRouteFull=Sy.lastRouteFull,Sy.prevIey=Sy.lastIey,Sy.lastIey=!!i&&Iv(()=>xm(i),!1),Sy.lastRoute=i,Sy.lastRouteFull=s,Sy.lastRouteEnterTime=r,Sy.suppressNextPageLogAfterResume=!1,function(){const e=Ly;("function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)})(()=>{Iv(()=>{e===Ly&&(Sy.lastPageTitleSnap=Object.assign({},Om()))},void 0)})}(),Sy.isHide=!1,l.isNew&&o.flush(!0).catch(e=>Uv.warn("[uni统计 2.0] flush after new session (page_show) failed",e))}function By(e,t){Ay(e)&&(Sy.isHide=!0,Ly++,Sy.lastPageTitleSnap=Object.assign({},Om()),Iv(()=>{Cm.page=""},void 0))}const Dy="function"==typeof WeakSet?new WeakSet:{has:()=>!1,add:()=>Dy};function Vy(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}function qy(){let e=Bm()||"n"===Rm()||Dm();return e=Bm()||"n"===Rm()||Dm(),e}function Fy(){let e=!Bm()&&"n"!==Rm()&&!Dm();return e=!Bm()&&"n"!==Rm()&&!Dm(),e}const Hy={showBound:!1,hideBound:!1,appShowCb:void 0,appHideCb:void 0};function Wy(e,t={}){if(!Fy())return!1;const n=Vy();return!!n&&(Hy.showBound||"function"!=typeof n.onAppShow||(Hy.appShowCb=n=>Ry(e,null!=n?n:{},t),Iv(()=>n.onAppShow(Hy.appShowCb),void 0),Hy.showBound=!0),Hy.hideBound||"function"!=typeof n.onAppHide||(Hy.appHideCb=()=>Ny(e,t),Iv(()=>n.onAppHide(Hy.appHideCb),void 0),Hy.hideBound=!0),Hy.showBound&&Hy.hideBound)}function Uy(e,t={}){let n=!0;const o={onLaunch(n={}){!function(e,t={},n={}){const o=Ay(e);if(!o)return;const r=Im(),i=Iv(()=>wy(t.scene),""),s=Iv(()=>hy("cold_launch",{now:r,scene:i}),null);if(!s)return;Iv(()=>km(),void 0);const l=t.path||"",a=Iy(l);a&&Iv(()=>_m(a),void 0),$y(o,s.cst,i,r,!0,l),n.enablePush&&xy({enabled:!0,timeoutMs:n.pushTimeoutMs}).then(t=>{if(!t.ok||!t.cid)return;const n=Ay(e);n&&n.report({lt:_v,cid:t.cid,t:Im()})}).catch(e=>Uv.warn("[uni统计 2.0] push cid fetch failed",e))}(e,n,t)},onLoad(){},onShow(){const n=yy(this);Ey(),Sy.pendingBackgroundResume&&Ty()&&Py(e,{},t,"mixin.onShow"),Sy.isHide=!1,"page"===n&&jy(e,this,t),qy()&&"app"===n&&Ry(e,{},t)},onHide(){Sy.isHide=!0,"page"===yy(this)&&(By(e),Oy(e,t)),qy()&&"app"===yy(this)&&!Sy.pendingBackgroundResume&&Ny(e,t)},onUnload(){Sy.isHide?Sy.isHide=!1:By(e)},onError(t){!function(e,t){const n="object"==typeof t&&null!==t;if(!n||!Dy.has(t)){n&&Dy.add(t);try{e.reportError(t)}catch(o){Uv.warn("[uni统计 2.0] handleError failed",o)}jm()||Iv(()=>{setTimeout(()=>{throw t},0)},void 0)}}(e,t)}};return Fy()&&Wy(e,t),{mixin:o,tryBindUniAppHooks:()=>Fy()&&Wy(e,t),unbind(){n&&(n=!1,function(){if(!Hy.showBound&&!Hy.hideBound)return;const e=Vy();Hy.showBound&&Hy.appShowCb&&(null==e?void 0:e.offAppShow)&&Iv(()=>e.offAppShow(Hy.appShowCb),void 0),Hy.hideBound&&Hy.appHideCb&&(null==e?void 0:e.offAppHide)&&Iv(()=>e.offAppHide(Hy.appHideCb),void 0),Hy.showBound=!1,Hy.hideBound=!1,Hy.appShowCb=void 0,Hy.appHideCb=void 0}())}}}const Yy="5.24",zy="https://tongji.dcloud.io/uni/stat.gif",Xy=1e3,Ky=!0,Jy="https://tongji-collector.dcloud.net.cn",Gy="964f0397-af5d-45bf-99d6-8fb3500d7849",Zy="8563e231-f4cd-4ab0-8870-917e4b04e810";function Qy(){var e;return null!==(e="__UNI__2D2825B")?e:""}function eb(e){if(e)return e;const t=Nv(),n=null!=t&&"object"==typeof t?t:void 0;return null==n?void 0:n.__stat_uniCloud_space}function tb(e={}){var t,n;const o=null!==(t=e.receiverName)&&void 0!==t?t:"uni-stat-receiver",r=null!==(n=e.maxRetries)&&void 0!==n?n:2;function i(t){const n=function(){const t=eb(e.uniCloudSpace);if(t&&"function"==typeof t.importObject)try{return t.importObject(o,{customUI:!0})}catch(n){return void Uv.warn("[uni统计 2.0] cloud importObject threw",n)}}();return n&&"function"==typeof n.report?Promise.resolve(n.report(t)).then(e=>{!function(e){if(!e||"object"!=typeof e)return;const t=e;if(!1===t.success)throw new Error("cloud receiver reported success=false");if("number"==typeof t.errCode&&0!==t.errCode)throw new Error("cloud receiver reported errCode="+String(t.errCode))}(e)}):Promise.reject(new Error("uniCloud space unavailable"))}return{name:"2.0",available(){const t=eb(e.uniCloudSpace);return!(!t||"function"!=typeof t.importObject)},send(t){return Ev(this,void 0,void 0,function*(){try{yield $v(()=>i(t),{times:r,baseDelayMs:Xy,sleep:e.sleep})}catch(n){throw Uv.warn("[uni统计 2.0] 统计上报失败(云函数已重试)",n),n}})}}}function nb(e){let t=0;for(const n of Object.keys(e)){const o=e[n];Array.isArray(o)&&(t+=o.length)}return t}function ob(e){if(!Uv.isDebug())return;const t=e.lt,n=function(e){switch(e){case gv:return"应用启动";case vv:return"应用进入后台";case mv:return"页面切换";case yv:return"事件触发";case bv:return"应用错误";case _v:return"PUSH 设备标识";default:return`未知事件 (lt=${String(null!=e?e:"?")})`}}(t);Uv.debug(`=== 统计数据采集:${n} (lt=${String(null!=t?t:"?")}) ===`),Uv.debug(e),Uv.debug("=== 采集结束 ===")}function rb(e){if(!Uv.isDebug())return;const t=nb(e.bucket),n=function(e){const t=[];for(const n of Object.keys(e)){const o=e[n];Array.isArray(o)&&o.length>0&&t.push(`lt=${n}×${o.length}`)}return t.join(", ")||"<空>"}(e.bucket);Uv.debug(`=== 准备上报:共 ${t} 条事件 (${n}) ===`)}function ib(e){Uv.isDebug()&&(Uv.debug(`原因: ${lb(e.error)}`),e.persistedId?Uv.debug(`已暂存重试队列 [retryId=${e.persistedId}],下次启动自动续传`):Uv.debug("未能写入重试队列:本批数据已丢弃"))}function sb(e){Uv.isDebug()&&(e.ok?Uv.debug(`续传成功 (${e.index}/${e.total})`):Uv.debug(`续传失败 (${e.index}/${e.total}):${lb(e.error)}`))}function lb(e){return e?e instanceof Error?`${e.name}: ${e.message}`:"string"==typeof e?e:Av(e)||String(e):"<无错误对象>"}const ab={1:1,11:2,21:3,31:4,101:5,3:100};function ub(e){return JSON.stringify(cb(e))}function cb(e){const t=Object.keys(e);t.sort((e,t)=>fb(e)-fb(t));const n=[];for(let o=0;o<t.length;o++){const r=e[t[o]];if(r&&0!==r.length)for(let e=0;e<r.length;e++)n.push(r[e])}return n}function fb(e){const t=ab[e];return"number"==typeof t?t:50}function db(e,t={}){const n=cb(e);if(0===n.length)return[];const o=function(e,t={}){var n,o;const r=null!==(n=t.maxEvents)&&void 0!==n?n:1/0,i=null!==(o=t.maxBytes)&&void 0!==o?o:1/0,s=[];if(!Array.isArray(e)||0===e.length)return s;const l=r>0?r:1/0,a=i>0?i:1/0;let u=[],c=2;for(let d=0;d<e.length;d++){const t=e[d];let n="";try{n=JSON.stringify(t)}catch(f){continue}const o=0===u.length?n.length:n.length+1;(u.length>=l||u.length>0&&c+o>a)&&(s.push(u),u=[],c=2),u.push(t),c+=1===u.length?n.length:n.length+1}return u.length>0&&s.push(u),s}(n,t),r=[];for(let i=0;i<o.length;i++)r.push(JSON.stringify(o[i]));return r}class pb extends Error{constructor(e){super(e),this.permanent=!0,this.name="PermanentChannelError",Object.setPrototypeOf(this,pb.prototype)}}function hb(e){if(!e||"object"!=typeof e)return!1;if(e instanceof pb)return!0;const t=e;return"PermanentChannelError"===t.name||!0===t.permanent}function gb(e){let t=!1,n=null;function o(){null!=n&&(clearTimeout(n),n=null)}function r(t){const n=function(t){const n=e.resolveUploadFields?e.resolveUploadFields():{},o=Object.keys(n).filter(e=>{const t=n[e];return""!==t&&null!=t});if(0===o.length)return t;try{const e=JSON.parse(t);if(!Array.isArray(e))return t;for(let t=0;t<e.length;t++){const r=e[t];if(r&&"object"==typeof r)for(let e=0;e<o.length;e++){const t=o[e];r[t]=n[t]}}return JSON.stringify(e)}catch(r){return t}}(t.requests);return n===t.requests?t:Object.assign({},t,{requests:n})}function i(){return Ev(this,arguments,void 0,function*(t=!1){var n,o,r,i,l;if(!e.queue.shouldFlush(t))return;if(e.isNetworkOffline){let t=!1;try{t=yield e.isNetworkOffline()}catch(w){t=!1}if(t)return void Uv.warn("[uni统计 2.0] 当前无网络,延后 flush")}const a=e.queue.flush();if(!a)return;!function(t){const n=e.resolveUploadFields?e.resolveUploadFields():{},o=Object.keys(n).filter(e=>{const t=n[e];return""!==t&&null!=t});if(0!==o.length)for(const e of Object.keys(t)){const r=t[e];if(Array.isArray(r))for(let e=0;e<r.length;e++){const t=r[e];for(let e=0;e<o.length;e++){const r=o[e];t[r]=n[r]}}}}(a);const u=e.selectChannel();if(!u)return Uv.warn("[uni统计 2.0] 无可用上报线路,本批已回滚队列"),c={bucket:a},Uv.isDebug()&&Uv.debug(`=== 上报跳过:当前无可用通道,已回滚 ${nb(c.bucket)} 条事件入队 ===`),void e.queue.rollback(a);var c;const f=null!==(o=null===(n=e.batchLimits)||void 0===n?void 0:n.maxBytes)&&void 0!==o?o:4096,d="function"==typeof u.maxRequestBytes?u.maxRequestBytes():Number.POSITIVE_INFINITY,p=db(a,{maxEvents:null!==(i=null===(r=e.batchLimits)||void 0===r?void 0:r.maxEvents)&&void 0!==i?i:30,maxBytes:Math.min(f,d)});if(0===p.length)return Uv.warn("[uni统计 2.0] flush 切片结果为空,已回滚队列",a),void e.queue.rollback(a);const h=e.nowMs();let g=0;for(const e of Object.keys(a)){const t=a[e];Array.isArray(t)&&(g+=t.length)}rb({channel:u.name,bucket:a});const v=Array.isArray(a[1])&&a[1].length>0;let m=0,y=0,b=!0,_=!0;for(let S=0;S<p.length;S++){const t=p[S],n={usv:e.config.usv,t:e.nowSec(),requests:t,_id:(null!==(l=e.genPayloadId)&&void 0!==l?l:()=>"p-"+e.nowMs().toString(36)+"-"+Math.random().toString(36).slice(2,6))()},o=s(t);try{yield u.send(n),m+=o}catch(x){if(b=!1,0===S&&(_=!1),y+=o,hb(x)){Uv.warn("[uni统计 2.0] 统计上报失败(本批已丢弃,不可重试)",x,"sliceBytes="+t.length),ib({error:x,persistedId:void 0});continue}Uv.warn("[uni统计 2.0] 统计上报失败(已暂存,下次启动自动重试)",x);const r=e.retry.persist(n);r||Uv.warn("[uni统计 2.0] 统计暂存重试失败(无 retryId),本批已丢弃"),ib({error:x,persistedId:r})}}Iv((v?_:b)?()=>e.visit.commitVisitOnAck(e.nowSec()):()=>e.visit.rollbackPendingVisit(),void 0),function(e){Uv.isDebug()&&(0===e.failedCount?Uv.debug(`=== 上报成功: ${e.okCount} 条事件已送达, 用时 ${e.elapsedMs}ms ===`):0===e.okCount?Uv.debug(`=== 上报失败: ${e.failedCount} 条事件未送达, 用时 ${e.elapsedMs}ms ===`):Uv.debug(`=== 上报完成:成功 ${e.okCount} 条,失败 ${e.failedCount} 条,用时 ${e.elapsedMs}ms ===`))}({channel:u.name,okCount:m,failedCount:y,elapsedMs:e.nowMs()-h})})}function s(e){try{const t=JSON.parse(e);return Array.isArray(t)?t.length:0}catch(t){return 0}}return{report:function(o){Iv(()=>{const r="number"==typeof o.t?o.t:e.nowSec(),s=e.session.getSnapshot();let l;if(s){const t=e.session.nextSeq();l=Object.assign({},s,{seq:t})}s&&o.lt===yv&&e.session.touch&&e.session.touch(r);const a=Object.assign({},o,{t:r,session:l}),u=e.builder.build(a);ob(u),e.queue.enqueue(function(e){const t={};for(const n of Object.keys(e)){const o=e[n];""!==o&&(t[n]=o)}return t}(u)),e.queue.shouldFlush()&&function(){var o;const r=Math.max(0,Math.floor(null!==(o=e.firstFlushDeferMs)&&void 0!==o?o:0));if(!t&&r>0){if(null!=n)return;n=setTimeout(()=>{n=null,t=!0,i(!1).catch(e=>Uv.warn("[uni统计 2.0] auto-flush failed",e))},r)}else t=!0,i(!1).catch(e=>Uv.warn("[uni统计 2.0] auto-flush failed",e))}()},void 0)},flush:function(){return Ev(this,arguments,void 0,function*(e=!1){return o(),t=!0,i(e)})},recoverRetry:function(){return Ev(this,void 0,void 0,function*(){if(e.isNetworkOffline){let t=!1;try{t=yield e.isNetworkOffline()}catch(s){t=!1}if(t)return void Uv.warn("[uni统计 2.0] 当前无网络,延后续传重试")}const t=e.retry.loadAll();if(0===t.length)return;const n=e.selectChannel();if(!n)return void Uv.warn("[uni统计 2.0] 续传重试跳过:当前无可用上报线路");var o;o=t.length,Uv.isDebug()&&Uv.debug(`=== 冷启续传:发现 ${o} 条历史 payload,开始逐条重发 ===`);let i=0;for(const a of t){i++;const o=r(a);try{yield n.send(o),a._id&&e.retry.ack(a._id),sb({index:i,total:t.length,payloadId:a._id,ok:!0})}catch(l){if(hb(l)){a._id&&e.retry.ack(a._id),Uv.warn("[uni统计 2.0] 续传重试失败(不可重试,已从队列移除)",l,"id="+a._id),sb({index:i,total:t.length,payloadId:a._id,ok:!1,error:l});continue}a._id&&e.retry.markAttempt&&e.retry.markAttempt(a._id),Uv.warn("[uni统计 2.0] 续传重试失败(保留队列,下次启动再试)",l),sb({index:i,total:t.length,payloadId:a._id,ok:!1,error:l})}}})},destroy:function(){o(),t=!0}}}function vb(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}function mb(e,t=zy){const n=Pv().Image;return"function"==typeof n&&Iv(()=>((new n).src=t+"?"+function(e){const t=[];return t.push("usv="+encodeURIComponent(String(e.usv))),t.push("t="+encodeURIComponent(String(e.t))),t.push("requests="+encodeURIComponent(e.requests)),t.join("&")}(e),!0),!1)}function yb(e={}){var t,n,o,r,i;const s=null!==(t=e.url)&&void 0!==t?t:"https://tongji.dcloud.io/uni/stat",l=null!==(n=e.h5Url)&&void 0!==n?n:zy,a=null!==(o=e.ut)&&void 0!==o?o:"",u=null!==(r=e.timeoutMs)&&void 0!==r?r:1e4,c=null!==(i=e.maxRetries)&&void 0!==i?i:3;return{name:"1.0",available(){const e=vb();return!(!e||"function"!=typeof e.request)},send(t){return Ev(this,void 0,void 0,function*(){try{yield $v(()=>function(t){if("h5"===a&&!1!==e.preferImageOnH5&&mb(t,l))return Promise.resolve();const n=vb();return n&&"function"==typeof n.request?new Promise((e,o)=>{let r=!1;const i=setTimeout(()=>{r||(r=!0,o(new Error("http timeout")))},u);n.request({url:s,method:"POST",data:t,timeout:u,success:t=>{var n;if(r)return;r=!0,clearTimeout(i);const s=null!==(n=null==t?void 0:t.statusCode)&&void 0!==n?n:0;s>=200&&s<300?e():o(new Error("http status "+s))},fail:e=>{r||(r=!0,clearTimeout(i),o(e instanceof Error?e:new Error(String(e))))}})}):Promise.reject(new Error("uni.request unavailable"))}(t),{times:c,baseDelayMs:Xy,sleep:e.sleep})}catch(n){throw Uv.warn("[uni统计 2.0] 统计上报失败(HTTP 已重试)",n),n}})}}}const bb="/WebTrack",_b="/WebTrack.gif";function wb(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}function xb(e,t,n){return new Promise((o,r)=>{let i=!1;const s=setTimeout(()=>{i||(i=!0,r(new Error("统计上报超时(preloadAssets)")))},t);try{n({data:[{type:"image",src:e}],success:()=>{i||(i=!0,clearTimeout(s),o())},fail:e=>{i||(i=!0,clearTimeout(s),r(function(e){if(e instanceof Error)return e;if(null!=e&&"object"==typeof e&&"errMsg"in e){const t=e.errMsg;if("string"==typeof t&&t.length>0)return new Error(t)}return null==e?new Error("preloadAssets fail (empty err)"):new Error(String(e))}(e)))}})}catch(l){if(i)return;i=!0,clearTimeout(s),r(l instanceof Error?l:new Error(String(l)))}})}function Sb(e={}){var t,n,o,r,i,s,l;const a=null!==(t=e.host)&&void 0!==t?t:Jy,u=null!==(n=e.projectId)&&void 0!==n?n:Gy,c=null!==(o=e.topicId)&&void 0!==o?o:Zy,f=null!==(r=e.timeoutMs)&&void 0!==r?r:1e4,d=null!==(i=e.maxRetries)&&void 0!==i?i:2,p=null!==(s=e.maxUrlLength)&&void 0!==s?s:6144,h=!1!==e.preferImageBeacon,g=e.nowMs,v="h5"===(null!==(l=e.ut)&&void 0!==l?l:""),m=function(e){var t,n;return!!(null!==(t=e.mpWeixinPreloadReport)&&void 0!==t?t:Ky)&&"mp-weixin"===(null!==(n=e.rawPlatform)&&void 0!==n?n:Pm())}(e);function y(){return!!(a&&u&&c)}const b={host:a,projectId:u,topicId:c,nowMs:g};function _(e,t){if(!y())throw new pb("统计上报未配置:请设置 TLS host、projectId、topicId");const n=function(e,t){var n;const o=(null!==(n=t.nowMs)&&void 0!==n?n:()=>Date.now())(),r=encodeURIComponent(e.requests);return t.host.replace(/\/+$/,"")+t.path+"?ProjectId="+encodeURIComponent(t.projectId)+"&TopicId="+encodeURIComponent(t.topicId)+"&Logs="+r+"&Source=webImg&Time="+o}(e,{host:b.host,projectId:b.projectId,topicId:b.topicId,nowMs:b.nowMs,path:t});if(n.length>p)throw new pb("统计上报 URL 过长: "+n.length+" > "+p);return n}function w(e){const n=wb();return n&&"function"==typeof n.request?new Promise((o,r)=>{let i=!1;const s=setTimeout(()=>{i||(i=!0,r(new Error("统计上报超时")))},f);n.request({url:e,method:"GET",timeout:f,success:e=>{var n;if(i)return;i=!0,clearTimeout(s);const l=null!==(n=null==e?void 0:e.statusCode)&&void 0!==n?n:0;if(l>=200&&l<300)return void o();const a=function(e,n=320){if(null==e)return"";if("string"==typeof e)return e.length<=n?e:e.slice(0,n)+"…";try{const t=JSON.stringify(e);return t.length<=n?t:t.slice(0,n)+"…"}catch(t){return String(e).slice(0,n)}}(null==e?void 0:e.data);r(new Error(a?`统计上报 HTTP ${l}: ${a}`:`统计上报 HTTP ${l}`))},fail:e=>{i||(i=!0,clearTimeout(s),r(e instanceof Error?e:new Error(String(e))))}})}):Promise.reject(new pb("当前环境无法完成统计上报"))}function x(e){const t=Pv(),n=wb(),o=!(!n||"function"!=typeof n.request);return h&&"function"==typeof t.fetch?function(e,t){const n=Pv(),o=n.fetch;if("function"!=typeof o)return Promise.reject(new Error("fetch unavailable"));const r="function"==typeof n.AbortController?new n.AbortController:void 0;return new Promise((n,i)=>{let s=!1;const l=setTimeout(()=>{s||(s=!0,r&&Iv(()=>r.abort(),void 0),i(new Error("统计上报超时")))},t);o(e,{method:"GET",keepalive:!0,credentials:"omit",signal:r?r.signal:void 0}).then(e=>{s||(s=!0,clearTimeout(l),e&&e.ok?n():i(new Error("统计上报 HTTP "+(e?e.status:0))))},e=>{s||(s=!0,clearTimeout(l),i(e instanceof Error?e:new Error(String(e))))})})}(_(e,_b),f):o?w(_(e,bb)):h&&"function"==typeof t.Image?function(e,t){const n=Pv().Image;return"function"!=typeof n?Promise.reject(new pb("当前环境无法完成统计上报")):new Promise((o,r)=>{let i=!1;const s=setTimeout(()=>{i||(i=!0,r(new Error("统计上报超时")))},t),l=new n;l.onload=()=>{i||(i=!0,clearTimeout(s),o())},l.onerror=()=>{i||(i=!0,clearTimeout(s),o())},l.src=e})}(_(e,_b),f):Promise.reject(new pb("当前环境无法完成统计上报"))}function S(e){const t=function(){const e=Pv().wx;return"function"==typeof(null==e?void 0:e.preloadAssets)?e.preloadAssets:void 0}();return t?xb(_(e,_b),3e4,t):(Uv.warn("[uni统计 2.0] wx.preloadAssets 不可用,回退 uni.request GET /WebTrack"),w(_(e,bb)))}return{name:"image",available:()=>y(),maxRequestBytes(){const e=(p-256)/3;return Math.max(512,Math.floor(e))},send(t){return Ev(this,void 0,void 0,function*(){try{yield $v(()=>function(e){return v?x(e):m?S(e):w(_(e,bb))}(t),{times:d,baseDelayMs:Xy,sleep:e.sleep})}catch(n){throw hb(n)?Uv.warn("[uni统计 2.0] 统计上报失败(不可重试)",n):Uv.warn("[uni统计 2.0] 统计上报失败(已重试)",n),n}})}}}function kb(e,t=""){return"string"==typeof e?e:"number"==typeof e&&Number.isFinite(e)?String(e):t}function Tb(e,t=0){if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&e.length>0){const t=Number(e);if(Number.isFinite(t))return t}return t}function Cb(e){return{build:function(t){const n={};if(t.custom){const e=new Set(["lt","t","sid","cst","did","p","on","mpv","domain","fvts","lvts","tvc","sc"]);for(const o of Object.keys(t.custom))e.has(o)||(n[o]=t.custom[o])}const o={lt:t.lt,t:Tb(t.t)};return Object.assign(o,function(){var t,n,o;const{config:r,platform:i,system:s,locale:l,device:a,net:u,location:c,pkg:f,legacy:d,web:p}=e;return{ak:kb(r.ak),usv:kb(r.usv),v:kb(null!==(t=r.v)&&void 0!==t?t:s.appVersion),ch:kb(r.ch),ut:kb(i.ut),p:kb(null!==(n=i.p)&&void 0!==n?n:s.osP),on:kb(s.on),did:kb(a.uuid),brand:kb(s.brand),md:kb(s.md),sv:kb(s.sv),mpsdk:kb(s.sdkVersion),mpv:kb(s.mpvHostVersion),pr:Tb(l.pr,1),ww:Tb(l.ww),wh:Tb(l.wh),sw:Tb(l.sw),sh:Tb(l.sh),lang:kb(l.lang),net:kb(u.net,"unknown"),lat:kb(c.lat),lng:kb(c.lng),mpn:kb(null!==(o=null==d?void 0:d.mpn)&&void 0!==o?o:f.mpn),tdaid:kb(f.tdaid),pkn:kb(f.pkn),an:kb(f.an),domain:kb(p.domain)}}(),function(e){return e.session?{sid:e.session.sid,cst:e.session.sct}:{}}(t),function(e){const t={};return void 0!==e.url&&(t.url=kb(e.url)),void 0!==e.urlref&&(t.urlref=kb(e.urlref)),void 0!==e.urlref_ts&&(t.urlref_ts=Tb(e.urlref_ts)),void 0!==e.ttn&&(t.ttn=kb(e.ttn)),void 0!==e.ttpj&&(t.ttpj=kb(e.ttpj)),void 0!==e.ttc&&(t.ttc=kb(e.ttc)),t}(t),function(e){return"11"===e.lt?{iey:Cv(void 0!==e.iey&&e.iey),ppiey:Cv(void 0!==e.ppiey&&e.ppiey)}:{}}(t),function(e){return"1"!==e.lt?{}:e.visit?{fvts:e.visit.fvts,lvts:e.visit.lvts,tvc:e.visit.tvc}:{}}(t),function(e){return"1"!==e.lt||void 0===e.sc?{}:{sc:kb(e.sc)}}(t),function(e){if("31"!==e.lt||!e.errMsg)return{};const t="…[truncated]";let n=kb(e.errMsg);return n.length>3072&&(n=n.slice(0,3060)+t),{em:n}}(t),function(e){return"101"===e.lt&&e.cid?{cid:kb(e.cid)}:{}}(t),n),o}}}function Eb(){const e=Pv().plus;if(!Nm()&&!(null==e?void 0:e.runtime))return"";const t=Iv(()=>{var t;return null===(t=null==e?void 0:e.runtime)||void 0===t?void 0:t.channel},void 0);return"string"==typeof(n=t)?n:"number"==typeof n&&Number.isFinite(n)?String(n):"";var n}let Ob=null;function Ab(...e){const t={};for(const n of e)if(n)for(const e of Object.keys(n)){const o=n[e];null!=o&&(t[e]=o)}return t}function Ib(){const e=function(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}(),t=Ab(e&&"function"==typeof e.getSystemInfoSync?Iv(()=>e.getSystemInfoSync(),null):null,e&&"function"==typeof e.getDeviceInfo?Iv(()=>e.getDeviceInfo(),null):null,e&&"function"==typeof e.getAppBaseInfo?Iv(()=>e.getAppBaseInfo(),null):null,e&&"function"==typeof e.getWindowInfo?Iv(()=>e.getWindowInfo(),null):null),n=function(){const e=Pm();if("mp-weixin"!==e&&"mp-qq"!==e)return null;const t=Pv().wx;return t?Ab("function"==typeof t.getSystemInfoSync?Iv(()=>t.getSystemInfoSync(),null):null,"function"==typeof t.getDeviceInfo?Iv(()=>t.getDeviceInfo(),null):null,"function"==typeof t.getAppBaseInfo?Iv(()=>t.getAppBaseInfo(),null):null,"function"==typeof t.getWindowInfo?Iv(()=>t.getWindowInfo(),null):null):null}();return n?Ab(t,n):t}function $b(e,t){var n;const o=null===(n=null==e?void 0:e.runtime)||void 0===n?void 0:n.version;if("string"==typeof o&&o)return o;const r=t.appVersion;if("string"==typeof r&&r)return r;const i=Iv(()=>{const e=Pv().__uniConfig;return"string"==typeof(null==e?void 0:e.appVersion)?e.appVersion:""},"");return i||"1.0.0"}function Mb(e){const t="string"==typeof e.romName?e.romName.trim():"";if(t){const n="string"==typeof e.romVersion?e.romVersion.trim():"";return n?`${t} ${n}`.trim():t}return"string"==typeof e.osName?e.osName.trim():""}let Lb=null;function Pb(){return Pv().plus}function Rb(e){const t=function(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}();switch(e){case"wx":case"qq":{if("function"==typeof(null==t?void 0:t.getAccountInfoSync)){const e=Iv(()=>{var e,n;return null!==(n=null===(e=t.getAccountInfoSync().miniProgram)||void 0===e?void 0:e.appId)&&void 0!==n?n:""},"");if(e)return e}const e=Pv().wx;if("function"==typeof(null==e?void 0:e.getAccountInfoSync)){const t=Iv(()=>{var t,n;return null!==(n=null===(t=e.getAccountInfoSync().miniProgram)||void 0===t?void 0:t.appId)&&void 0!==n?n:""},"");if(t)return t}const n="__UNI__2D2825B";return"string"==typeof n?n:""}case"ali":case"dt":{const e=Pv().my;if(!e)return"";const t=Iv(()=>{var t,n;return null!==(n=null===(t=e.getAppIdSync)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""},"");return t||Iv(()=>{var t,n,o;return null!==(o=null===(n=null===(t=e.getAccountInfoSync)||void 0===t?void 0:t.call(e).miniProgram)||void 0===n?void 0:n.appId)&&void 0!==o?o:""},"")}case"tt":case"lark":{const e=Pv().tt;return Iv(()=>{var t,n,o;return null!==(o=null===(n=null===(t=null==e?void 0:e.getEnvInfoSync)||void 0===t?void 0:t.call(e).microapp)||void 0===n?void 0:n.appId)&&void 0!==o?o:""},"")}case"bd":{const e=Pv().swan;return Iv(()=>{var t,n,o;return null!==(o=null===(n=null===(t=null==e?void 0:e.getEnvInfoSync)||void 0===t?void 0:t.call(e).common)||void 0===n?void 0:n.appKey)&&void 0!==o?o:""},"")}default:return""}}function Nb(){var e;return null!==(e="旧版协议")?e:""}function jb(){if(Lb)return Lb;const e=Rm();let t="",n="",o="",r="";return Nm()?(n=Iv(()=>{var e,t,n;return null!==(n=null===(t=null===(e=Pb())||void 0===e?void 0:e.runtime)||void 0===t?void 0:t.appid)&&void 0!==n?n:""},""),o=function(){var e,t,n;const o=Pb();if(!o)return"";const r=null!==(n=null===(t=null===(e=o.os)||void 0===e?void 0:e.name)||void 0===t?void 0:t.toLowerCase())&&void 0!==n?n:"";if(r.includes("android"))return Iv(()=>{var e,t,n,r,i;return null!==(i=null===(r=null===(n=null===(t=null===(e=o.android)||void 0===e?void 0:e.runtimeMainActivity)||void 0===t?void 0:t.call(e))||void 0===n?void 0:n.getPackageName)||void 0===r?void 0:r.call(n))&&void 0!==i?i:""},"");if("ios"===r||"iphone os"===r)return Iv(()=>{var e,t;return null!==(t=null===(e=o.ios)||void 0===e?void 0:e.bundleId)&&void 0!==t?t:""},"")||Iv(()=>{var e,t;return null!==(t=null===(e=o.runtime)||void 0===e?void 0:e.appid)&&void 0!==t?t:""},"");return Iv(()=>{var e,t;return null!==(t=null===(e=o.runtime)||void 0===e?void 0:e.appid)&&void 0!==t?t:""},"")}()||n,r=function(){const e=Pb();return e?Iv(()=>{var t,n;return null!==(n=null===(t=e.runtime)||void 0===t?void 0:t.appname)&&void 0!==n?n:""},"")||Iv(()=>{var t,n;return null!==(n=null===(t=e.runtime)||void 0===t?void 0:t.name)&&void 0!==n?n:""},""):""}()||Nb(),t=o||n):jm()?(n=Rb(e),o="",r=Nb(),t=n||"__UNI__2D2825B"):Bm()?(n="",o="",r=Nb()||Iv(()=>{var e,t;return null!==(t=null===(e=Pv().document)||void 0===e?void 0:e.title)&&void 0!==t?t:""},""),t=""):(n="",o="",r=Nb(),t=""),Lb={mpn:t,tdaid:n,pkn:o,an:r},Lb}const Bb={domain:""};let Db=null;function Vb(e){const t="string"==typeof e.protocol?e.protocol.toLowerCase():"";if("http:"!==t&&"https:"!==t)return"";if("string"==typeof e.origin&&e.origin.trim())return e.origin.trim();const n="string"==typeof e.host&&e.host.trim()?e.host.trim():"string"==typeof e.hostname?e.hostname.trim():"";return n?`${t}//${n}`:""}const qb=new Map,Fb=new Map;function Hb(e){const t=qb.get(e);if(!t||0===t.size)return;const n=function(e){return{invoke(t){let n=!1;for(const o of e)o.invoke&&!1===o.invoke(t)&&(n=!0);return!n&&void 0},success(t){var n;for(const o of e)null===(n=o.success)||void 0===n||n.call(o,t)},fail(t){var n;for(const o of e)null===(n=o.fail)||void 0===n||n.call(o,t)},complete(t){var n;for(const o of e)null===(n=o.complete)||void 0===n||n.call(o,t)},returnValue(t){let n=t;for(const o of e)o.returnValue&&(n=o.returnValue(n));return n}}}(t);try{const t=Wb(),r=Fb.get(e);if(r)try{t.removeInterceptor(e,r)}catch(o){}t.addInterceptor(e,n),Fb.set(e,n)}catch(r){}}function Wb(){const e=Nv(),t=null!=e&&"object"==typeof e?e:void 0;if(!t)throw new Error("[uni统计 2.0] uni interceptor API is not available");return t}const Ub={add:function(e,t){var n;const o=null!==(n=qb.get(e))&&void 0!==n?n:new Set;return o.add(t),qb.set(e,o),Hb(e),()=>{const n=qb.get(e);if(n)if(n.delete(t),0===n.size){qb.delete(e);const t=Fb.get(e);if(Fb.delete(e),t)try{Wb().removeInterceptor(e,t)}catch(o){}}else Hb(e)}},__reset:function(){qb.clear(),Fb.clear()}};function Yb(e){return Ub.add("login",{complete(){e.report({lt:yv,custom:{e_n:"login"}})}})}function zb(){return Ub.add("setNavigationBarTitle",{invoke(e){var t;e&&"title"in e&&(t=e.title,Cm.page="string"==typeof t?t:"")}})}function Xb(e){return Ub.add("requestPayment",{success(){e.report({lt:yv,custom:{e_n:"pay_success"}})},fail(){e.report({lt:yv,custom:{e_n:"pay_fail"}})}})}function Kb(e){const t=()=>e.report({lt:yv,custom:{e_n:"share"}});return Ub.add("share",{success(){t()},fail(){t()}})}const Jb="migration:done",Gb=[["__first__visit__time","visit:fvts"],["__last__visit__time","visit:lvts"],["__total__visit__count","visit:tvc"]];let Zb=!1;function Qb(){if(Zb)return!1;Zb=!0;const e=Qv.safeRead(Jb);if(e.ok&&e.value)return!1;const t=function(){const e=Nv();if(!e||"function"!=typeof e.getStorageSync)return null;const t=Iv(()=>e.getStorageSync("$$STAT__DBDATA:__UNI__2D2825B"),null);return t&&"object"==typeof t?t:null}();if(!t)return Qv.set(Jb,1),!1;let n=0;for(let o=0;o<Gb.length;o++){const[e,r]=Gb[o];if(!(e in t))continue;const i=t[e],s=Qv.safeRead(r);s.ok&&void 0!==s.value||(Qv.set(r,i),n++)}return Qv.set(Jb,1),n>0&&Uv.info("[uni统计 2.0] migrated legacy keys",n),n>0}const e_={net:"unknown",raw:""},t_={wifi:"wifi","2g":"2g","3g":"3g","4g":"4g","5g":"5g",ethernet:"ethernet",none:"none",unknown:"unknown"};function n_(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}function o_(e){var t;return"string"!=typeof e||0===e.length?"unknown":null!==(t=t_[e.toLowerCase()])&&void 0!==t?t:"unknown"}function r_(e){return"none"===e.net}function i_(){return Ev(this,void 0,void 0,function*(){return r_(yield function(e=1500){return new Promise(t=>{const n=n_();if(!n||"function"!=typeof n.getNetworkType)return void t(e_);let o=!1;const r=e=>{o||(o=!0,t(e))},i=setTimeout(()=>r(e_),e);Iv(()=>n.getNetworkType({success:e=>{var t;clearTimeout(i);const n=null!==(t=null==e?void 0:e.networkType)&&void 0!==t?t:"";r({net:o_(n),raw:n})},fail:()=>{clearTimeout(i),r(e_)}}),void 0)})}())})}function s_(e){return function(e){const t=n_();if(!t||"function"!=typeof t.onNetworkStatusChange)return()=>{};const n=t=>{var n;const o=null!==(n=null==t?void 0:t.networkType)&&void 0!==n?n:"",r=!1===(null==t?void 0:t.isConnected)?"none":o_(o);Iv(()=>e({net:r,raw:o}),void 0)};return Iv(()=>t.onNetworkStatusChange(n),void 0),()=>{"function"==typeof t.offNetworkStatusChange&&Iv(()=>t.offNetworkStatusChange(n),void 0)}}(t=>{r_(t)||e()})}const l_="queue",a_={bucket:{},lastFlushAt:0};let u_=10,c_=4096,f_=1e3,d_=!1,p_=!1;function h_(){let e=function(){let e=0;for(const t of Object.keys(a_.bucket))e+=a_.bucket[t].length;return e}();if(e<=f_)return void(p_=!1);const t=e-f_;for(;e>f_;){let t="",n=0;for(const e of Object.keys(a_.bucket)){const o=a_.bucket[e].length;o>n&&(n=o,t=e)}if(!t||0===n)break;a_.bucket[t].shift(),0===a_.bucket[t].length&&delete a_.bucket[t],e--}p_||(p_=!0,Uv.warn("[uni统计 2.0] 上报队列超过容量上限,已丢弃最旧事件","dropped="+t,"limit="+f_))}function g_(){if(0!==Object.keys(a_.bucket).length)try{Qv.set(l_,a_.bucket)}catch(e){Uv.warn("[uni统计 2.0] queue persist failed",e)}else Qv.remove(l_)}function v_(){if(d_)return;d_=!0;const e=Qv.safeRead(l_);if(!e.ok||!e.value||"object"!=typeof e.value)return;const t=e.value;for(const n of Object.keys(t)){const e=t[n];Array.isArray(e)&&0!==e.length&&(a_.bucket[n]||(a_.bucket[n]=[]),a_.bucket[n].push(...e))}}function m_(e){var t;if(!e||"object"!=typeof e)return;const n=String(null!==(t=e.lt)&&void 0!==t?t:"");if(!n)return void Uv.warn("[uni统计 2.0] enqueue dropped: missing lt",e);let o="";try{o=JSON.stringify(e)}catch(r){return void Uv.warn("[uni统计 2.0] enqueue dropped: stringify failed",r)}o.length>c_?Uv.warn("[uni统计 2.0] enqueue dropped: single event too large","lt="+n,"bytes="+o.length,"limit="+c_):(v_(),a_.bucket[n]||(a_.bucket[n]=[]),a_.bucket[n].push(e),h_(),g_())}function y_(e=!1){if(e)return!0;if(u_<=0)return!0;return(Am()-a_.lastFlushAt)/1e3>=u_}function b_(){v_();if(0===Object.keys(a_.bucket).length)return;const e=a_.bucket;return a_.bucket={},a_.lastFlushAt=Am(),Qv.remove(l_),e}function __(e){if(e){for(const t of Object.keys(e)){const n=e[t];Array.isArray(n)&&0!==n.length&&(a_.bucket[t]||(a_.bucket[t]=[]),a_.bucket[t]=n.concat(a_.bucket[t]))}h_(),g_()}}const w_="retry:queue",x_=50,S_=6048e5,k_=5;function T_(){const e=Qv.safeRead(w_);return e.ok&&Array.isArray(e.value)?e.value.filter(e=>e&&"string"==typeof e.id&&e.payload&&"object"==typeof e.payload):[]}function C_(e){0!==e.length?Qv.set(w_,e):Qv.remove(w_)}function E_(e){if(!e)return;const t=function(e){return e._id?e._id:"r-"+Am().toString(36)+"-"+Math.random().toString(36).slice(2,6)}(e),n=T_();if(n.some(e=>e.id===t))return t;const o={id:t,payload:Object.assign({},e,{_id:t}),createdAt:Am(),attempts:0};for(n.push(o);n.length>x_;){const e=n.shift();Uv.warn("[uni统计 2.0] retry queue overflow, drop oldest",null==e?void 0:e.id)}return C_(n),t}function O_(){const e=T_();if(0===e.length)return[];const t=Am()-S_,n=[];for(const o of e)o.createdAt<t?Uv.warn("[uni统计 2.0] retry item expired, drop",o.id):n.push(o);return n.length!==e.length&&C_(n),n.map(e=>e.payload)}function A_(e){if(!e)return;const t=T_(),n=t.filter(t=>t.id!==e);n.length!==t.length&&C_(n)}function I_(e){if(!e)return;const t=T_();let n=null;for(let o=0;o<t.length;o++){const r=t[o];if(r.id===e){r.attempts++,r.attempts>=k_?(Uv.warn("[uni统计 2.0] retry item exceeded maxAttempts, drop as dead letter",e,"attempts="+r.attempts),n=t.slice(0,o).concat(t.slice(o+1))):n=t;break}}n&&C_(n)}let $_=null;class M_{constructor(){this.installed=!1,this.statVersion="image"}static getInstance(){return $_||($_=new M_),$_}install(e={},t={}){var n,o,r,i,s;if(this.installed)return;const l=this.normalizeConfig(e);if(this.config=l,this.statVersion=l.version,Iv(()=>{return e={backgroundTimeoutSec:l.backgroundTimeoutSec,pageInactiveTimeoutSec:l.pageInactiveTimeoutSec},void(sy=Object.assign({},iy,e));var e},void 0),Iv(()=>{return"number"==typeof(e={intervalSec:l.reportIntervalSec}).intervalSec&&e.intervalSec>=0&&(u_=Math.floor(e.intervalSec)),"number"==typeof e.singleEventMaxBytes&&e.singleEventMaxBytes>0&&(c_=Math.floor(e.singleEventMaxBytes)),void("number"==typeof e.maxEvents&&e.maxEvents>0&&(f_=Math.floor(e.maxEvents)));var e},void 0),t.skipMigration||Iv(()=>Qb(),!1),Iv(()=>function(){const e=Qv.safeRead(em),t=Qv.safeRead(tm),n=Qv.safeRead(nm),o=!e.ok||!t.ok||!n.ok,r=cm(e.value),i=cm(t.value),s=cm(n.value),l={fvts:r,lvts:i,tvc:s,isNewUser:0===i,degraded:o};o&&(0===r&&0===i&&0===s&&l.isNewUser||Uv.warn("[uni统计 2.0] visit snapshot degraded; some storage keys read failed"));return rm=l,l}(),void 0),this.httpChannel=null!==(o=null===(n=t.channels)||void 0===n?void 0:n.http)&&void 0!==o?o:yb({ut:Rm(),maxRetries:3}),t.channels&&"cloud"in t.channels?this.cloudChannel=null!==(r=t.channels.cloud)&&void 0!==r?r:void 0:"2"===this.statVersion?this.cloudChannel=tb({maxRetries:2}):this.cloudChannel=void 0,t.channels&&"image"in t.channels?this.imageChannel=null!==(i=t.channels.image)&&void 0!==i?i:void 0:"image"===this.statVersion?this.imageChannel=Sb({host:Jy,projectId:Gy,topicId:Zy,maxRetries:2,ut:Rm(),rawPlatform:Pm()}):this.imageChannel=void 0,this.collectorDeps=this.buildCollectorDeps(l,null!==(s=t.collectorDepsPatch)&&void 0!==s?s:{}),this.collector=gb(this.collectorDeps),!t.skipInterceptors){const e=this.collector;this.uninstallInterceptors=Iv(()=>function(e){const t=[Yb(e),Kb(e),Xb(e),zb()];return()=>{for(const e of t)try{e()}catch(n){}}}({report:t=>e.report(t)}),void 0)}t.skipRecoverRetry||this.collector.recoverRetry().catch(e=>Uv.warn("[uni统计 2.0] recoverRetry failed",e)),this.uninstallNetworkWatch=Iv(()=>s_(()=>{const e=this.collector;e&&(e.recoverRetry().catch(e=>Uv.warn("[uni统计 2.0] recoverRetry on online failed",e)),e.flush(!0).catch(e=>Uv.warn("[uni统计 2.0] flush on online failed",e)))}),void 0),this.installed=!0}report(e,t){if(!this.installed||!this.collector)return;if("title"===e)return void Em(t);const n="object"==typeof t&&null!==t?Iv(()=>JSON.stringify(t),""):void 0===t?"":String(t);this.collector.report({lt:yv,custom:{e_n:e,e_v:n}})}reportError(e){var t;if(!this.installed||!this.collector)return;const n=e instanceof Error?`${e.name}: ${e.message}\n${null!==(t=e.stack)&&void 0!==t?t:""}`:"string"==typeof e?e:Iv(()=>JSON.stringify(e),"");this.collector.report({lt:bv,errMsg:n})}getCollector(){return this.collector}getDeps(){return this.collectorDeps}isInstalled(){return this.installed}getStatVersion(){return this.statVersion}getConfig(){return this.config}uninstall(){this.uninstallInterceptors&&Iv(()=>this.uninstallInterceptors(),void 0),this.uninstallInterceptors=void 0,this.uninstallNetworkWatch&&Iv(()=>this.uninstallNetworkWatch(),void 0),this.uninstallNetworkWatch=void 0,this.collector&&Iv(()=>this.collector.destroy(),void 0),this.collector=void 0,this.collectorDeps=void 0,this.httpChannel=void 0,this.cloudChannel=void 0,this.imageChannel=void 0,this.config=void 0,this.installed=!1}resolveChannel(e){return Nm()?Eb():"string"==typeof e&&e.length>0?e:""}resolveFirstFlushDeferMs(){return"mp-weixin"===Pm()?2e3:Nm()&&!Eb()?300:0}normalizeConfig(e){var t,n,o,r;return{ak:null!==(t=e.ak)&&void 0!==t?t:Qy(),v:e.v,ch:this.resolveChannel(e.ch),version:null!==(n=e.version)&&void 0!==n?n:"image",backgroundTimeoutSec:null!==(o=e.backgroundTimeoutSec)&&void 0!==o?o:300,pageInactiveTimeoutSec:null!==(r=e.pageInactiveTimeoutSec)&&void 0!==r?r:1800,reportIntervalSec:"number"==typeof e.reportIntervalSec?e.reportIntervalSec:10,enablePush:!0===e.enablePush,enablePageLog:!1!==e.enablePageLog}}buildCollectorDeps(e,t){const n=Rm(),o={builder:Cb({config:{ak:e.ak,usv:Yy,v:e.v,get ch(){return Nm()?Eb():e.ch}},platform:{ut:n},system:Iv(()=>function(){var e,t,n,o,r,i,s,l,a,u,c,f,d,p,h,g,v,m;if(Ob)return Ob;const y=Ib(),b=Pv().plus,_=$b(b,y);return Ob={brand:null!==(t=null!==(e=y.deviceBrand)&&void 0!==e?e:y.brand)&&void 0!==t?t:"",md:null!==(o=null!==(n=y.deviceModel)&&void 0!==n?n:y.model)&&void 0!==o?o:"",sv:null!==(i=null!==(r=y.osVersion)&&void 0!==r?r:y.system)&&void 0!==i?i:"",v:null!==(l=null!==(s=y.hostVersion)&&void 0!==s?s:y.version)&&void 0!==l?l:"",ut:null!==(a=y.deviceType)&&void 0!==a?a:"unknown",appVersion:_,appWgtVersion:null!==(p=null!==(d=null!==(c=null===(u=null==b?void 0:b.runtime)||void 0===u?void 0:u.appWgtVersion)&&void 0!==c?c:null===(f=null==b?void 0:b.runtime)||void 0===f?void 0:f.appWgtRevision)&&void 0!==d?d:y.appWgtVersion)&&void 0!==p?p:"",mpvHostVersion:(null!==(g=null!==(h=y.hostVersion)&&void 0!==h?h:y.version)&&void 0!==g?g:"").trim(),on:Mb(y),sdkVersion:null!==(m=null!==(v=y.hostSDKVersion)&&void 0!==v?v:y.SDKVersion)&&void 0!==m?m:"",statusBarHeight:"number"==typeof y.statusBarHeight?y.statusBarHeight:0,osP:Mm({platform:y.platform,osName:y.osName,system:y.system})},Ob}(),{brand:"",md:"",sv:"",v:"",ut:"unknown",appVersion:"",appWgtVersion:"",mpvHostVersion:"",on:"",sdkVersion:"",statusBarHeight:0,osP:""}),locale:Iv(()=>function(){var e,t;const n=Ib(),o="number"==typeof n.pixelRatio?n.pixelRatio:"number"==typeof n.devicePixelRatio?n.devicePixelRatio:1;return{lang:(null!==(t=null!==(e=n.hostLanguage)&&void 0!==e?e:n.language)&&void 0!==t?t:"").replace(/_/g,"-"),ww:"number"==typeof n.windowWidth?n.windowWidth:0,wh:"number"==typeof n.windowHeight?n.windowHeight:0,sw:"number"==typeof n.screenWidth?n.screenWidth:0,sh:"number"==typeof n.screenHeight?n.screenHeight:0,pr:o>0?o:1}}(),{lang:"",ww:0,wh:0,sw:0,sh:0,pr:1}),device:{get uuid(){return Iv(()=>Xm(),"")}},net:{net:"unknown",raw:""},location:{lat:"",lng:"",ok:!1},pkg:Iv(()=>jb(),{mpn:"",tdaid:"",pkn:"",an:""}),web:Iv(()=>Bm()?(null!==Db||(Db=Iv(()=>{const e=Pv().location;return e?{domain:Vb(e)}:Bb},Bb)),Db):Bb,{domain:""})}),queue:{enqueue:m_,flush:b_,rollback:__,shouldFlush:y_},serializer:{handleData:ub},selectChannel:()=>function(e){var t;const n=null!==(t=e.version)&&void 0!==t?t:"image",o=!1!==e.fallbackToHttp;return"1"===n?e.http&&e.http.available()?e.http:void 0:"2"===n?e.cloud&&e.cloud.available()?e.cloud:o?e.http&&e.http.available()?(Uv.warn("[uni统计 2.0] 云函数上报不可用,已降级为 HTTP 上报"),e.http):void Uv.warn("[uni统计 2.0] 无可用上报线路"):void Uv.warn("[uni统计 2.0] 云函数上报不可用且已关闭 HTTP 兜底,本批已丢弃"):e.image&&e.image.available()?e.image:o?e.http&&e.http.available()?(e.image&&Uv.warn("[uni统计 2.0] 统计上报线路不可用,已降级为 HTTP 上报"),e.http):void Uv.warn("[uni统计 2.0] 无可用上报线路"):void(e.image&&Uv.warn("[uni统计 2.0] 统计上报线路不可用且已关闭 HTTP 兜底,本批已丢弃"))}({version:this.statVersion,http:this.httpChannel,cloud:this.cloudChannel,image:this.imageChannel}),retry:{persist:E_,loadAll:O_,ack:A_,markAttempt:I_},visit:{commitVisitOnAck:hm,rollbackPendingVisit:gm},session:{getSnapshot:my,nextSeq:vy,touch:gy},config:{usv:Yy},resolveUploadFields:()=>{const e=Eb();return e?{ch:e}:{}},nowMs:Am,nowSec:Im,firstFlushDeferMs:this.resolveFirstFlushDeferMs(),isNetworkOffline:i_};return Object.assign(o,t)}}function L_(){const e="{}".trim();if(e&&"undefined"!==e)try{const t=JSON.parse(e);if(!t||"object"!=typeof t||Array.isArray(t))return;return t}catch(t){return}}function P_(){try{const e=L_();if(!e)return;const t={};if(null!=e.channelVersion){const n=String(e.channelVersion);"1"!==n&&"2"!==n&&"image"!==n||(t.version=n)}const n=j_(e.backgroundTimeout,e.backgroundTimeoutSec);void 0!==n&&(t.backgroundTimeoutSec=n);const o=j_(e.pageInactiveTimeout,e.pageInactiveTimeoutSec);void 0!==o&&(t.pageInactiveTimeoutSec=o);const r=function(...e){for(const t of e){const e=N_(t);if(void 0!==e)return e}return}(e.reportInterval,e.reportIntervalSec);if(void 0!==r&&(t.reportIntervalSec=r),e.collectItems&&"object"==typeof e.collectItems){const n=e.collectItems;"boolean"==typeof n.uniPushClientID&&(t.enablePush=n.uniPushClientID),"boolean"==typeof n.uniStatPageLog&&(t.enablePageLog=n.uniStatPageLog)}return Object.keys(t).length>0?t:void 0}catch(e){return void Uv.warn("[uni统计 2.0] readManifestStatConfig failed",e)}}function R_(e){if("number"==typeof e)return e>0?e:void 0;if("string"==typeof e){const t=e.trim();if(""===t)return;const n=Number(t);if(Number.isFinite(n)&&n>0)return n}}function N_(e){if("number"==typeof e)return e>=0?e:void 0;if("string"==typeof e){const t=e.trim();if(""===t)return;const n=Number(t);if(Number.isFinite(n)&&n>=0)return n}}function j_(...e){for(const t of e){const e=R_(t);if(void 0!==e)return e}}function B_(){const e=Nv();return null!=e&&"object"==typeof e?e:void 0}const D_=50;let V_,q_,F_=!1,H_=!1;function W_(e){try{return it(t=>{Iv(()=>t.mixin(e),void 0)}),!0}catch(n){}const t=B_();return!(!t||"function"!=typeof t.onCreateVueApp)&&(t.onCreateVueApp(t=>{Iv(()=>t.mixin(e),void 0)}),!0)}!function(e={}){if(H_)return;H_=!0;const t=P_(),n=Object.assign({},t,e.config),o=M_.getInstance();Iv(()=>o.install(n,e.overrides),void 0),Iv(()=>{var e,t,n;const r=o.getConfig(),i=L_(),s={channel:null!==(e=null==r?void 0:r.version)&&void 0!==e?e:"image",reportIntervalSec:null!==(t=null==r?void 0:r.reportIntervalSec)&&void 0!==t?t:0,ak:null!==(n=null==r?void 0:r.ak)&&void 0!==n?n:"",appName:"旧版协议",debugFromManifest:!1};null!=i&&(null==i.backgroundTimeout&&null==i.backgroundTimeoutSec||(s.backgroundTimeoutSec=null==r?void 0:r.backgroundTimeoutSec),null==i.pageInactiveTimeout&&null==i.pageInactiveTimeoutSec||(s.pageInactiveTimeoutSec=null==r?void 0:r.pageInactiveTimeoutSec)),function(e){if(!Uv.isDebug())return;const t=[];null!=e.backgroundTimeoutSec&&t.push(`后台超时(新会话): ${e.backgroundTimeoutSec}s`),null!=e.pageInactiveTimeoutSec&&t.push(`前台无操作超时: ${e.pageInactiveTimeoutSec}s`);const n=t.length>0?` | ${t.join(" | ")}`:"",o=["=== uni统计 2.0 已启用 ===",`上报间隔: ${e.reportIntervalSec}s${n} | 应用APPID: ${e.ak||"<未注入>"}${e.appName?` | 应用名: ${e.appName}`:""}${e.vueMode?` | ${e.vueMode}`:""}`];e.debugFromManifest&&o.push("调试模式:已从 manifest.uniStatistics.debug 自动开启"),o.push("=== 后续将在每次采集 / 上报时输出过程日志 ==="),Uv.debug(o.join("\n"))}(Object.assign({},s,{vueMode:"Vue3"}))},void 0),(()=>{var t,n;const r=o.getConfig(),i=Object.assign({},{enablePush:null!==(t=null==r?void 0:r.enablePush)&&void 0!==t&&t,enablePageLog:null===(n=null==r?void 0:r.enablePageLog)||void 0===n||n},e.lifecycle),{mixin:s}=Uy(o,i);e.skipVueMixin||Iv(()=>function(e){if(F_)return;if(W_(e))return void(F_=!0);!function(e){if(F_)return;if(V_)return;let t=0;const n=()=>{V_=void 0,F_||(W_(e)?F_=!0:++t>=20?F_||Uv.warn("[uni统计 2.0] Vue3: onCreateVueApp 在重试后仍不可用,页面级 mixin 未注入"):V_=setTimeout(n,D_))};V_=setTimeout(n,D_)}(e)}(s),void 0),e.skipUniReport||Iv(()=>function(e){var t;const n=Pv(),o=null!==(t=B_())&&void 0!==t?t:n.uni;if(!o||"object"!=typeof o)return;o.report=(t,n)=>{e.report(t,n)}}(o),void 0),Fy()&&!Wy(o,i)&&function(e){q_&&(clearTimeout(q_),q_=void 0);let t=0;const n=()=>{e()||(++t>=20?Uv.warn("[uni统计 2.0] Vue3 小程序:uni.onAppShow 暂不可用,应用前后台统计可能缺失"):q_=setTimeout(n,D_))};q_=setTimeout(n,D_)}(()=>Wy(o,i))})()}(),il(hv).use(Ch).mount("#app");export{Eo as A,rg as B,sg as C,Sg as D,bi as F,ih as S,Ug as a,ji as b,Ii as c,Di as d,Ai as e,dh as f,Vi as g,Xc as h,ph as i,Ve as j,Yf as k,xg as l,tg as m,Ag as n,Ti as o,Yg as p,Or as q,Er as r,Fg as s,z as t,De as u,Ni as v,bo as w,Zd as x,Og as y,Ld as z};
|