function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.BYXTTbHJ.js","assets/u11.3SWZsuMf.js","assets/js-yaml.B_5KFMWC.js","assets/uni-popup.CQXToOQT.js","assets/uni-popup-BfbVjUaH.css","assets/index-BsR7E_IK.css","assets/pages-index-roboticArm.gp8YdUfR.js","assets/JointMotorClient.BIdr5mNf.js","assets/roboticArm-Ctc1yf2W.css","assets/pages-index-motorInfo.BCzsBDPp.js","assets/motorInfo-CCmu6xnt.css","assets/pages-index-gj.Dtc9lGQT.js","assets/gj-cVm7Iybl.css","assets/pages-map-edit.CDPwtOeF.js","assets/edit-BT1rOeWQ.css","assets/pages-index-test.D7H-3gaN.js","assets/test-CyX21Ro1.css","assets/pages-map-add.FM3NltAw.js","assets/add-Cvs_LpXb.css","assets/pages-map-jxtest.D2p8nb3b.js","assets/jxtest-SlYXIoan.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if((n=function(e){return"/"+e}(n))in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; /** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),h=Array.isArray,p=e=>"[object Map]"===x(e),m=e=>"[object Set]"===x(e),g=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=T((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,$=T((e=>e.replace(L,"-$1").toLowerCase())),A=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=T((e=>e?`on${A(e)}`:"")),I=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},M=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const q=()=>N||(N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(v(e))t=e;else if(h(e))for(let n=0;nv(e)?e:null==e?"":h(e)||b(e)&&(e.toString===w||!g(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[G(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>G(e)))}:y(t)?G(t):!b(t)||h(t)||S(t)?t:String(t),G=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var K={};const Z=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),J=["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"!==K.UNI_APP_X?-1!==Z.indexOf(t):-1!==Z.indexOf(t)||-1!==J.indexOf(t)}const te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/;function oe(e){return void 0===e?null:e}class re{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n{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;o0&&(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=oe(t);if(0===n.length)return o;let r=this;for(let i=0;i{t[n]=e[n]})),j(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),j(t)}if(v(e))return D(e);if(h(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(h(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function he(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}function pe(e){return O(e.substring(5))}const me=fe((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[pe(t)]=o}/^\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[pe(t)],o.call(this,t)}}));function ge(e){return c({},e.dataset,e.__uniDataset)}const ve=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ye(e){return{passive:e}}function be(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function _e(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function we(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=_e(e[n])}catch(o){t[n]=e[n]}})),t}const xe=/\+/g;function Se(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class ke{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),$e=function(){};$e.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Ae=$e;const Pe={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ie(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Pe?Pe[o]:o}return r}var o;return t}function Re(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)?Re(s,t,n):h(s)?s.map((e=>S(e)?Re(e,t,n):Ie(o,e))):Ie(o,s,i)})),r):e} /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Be,Me;class Ne{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Be;try{return Be=this,e()}finally{Be=t}}}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Xe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=De,t=Me;try{return De=!0,Me=this,this._runnings++,Fe(this),this.fn()}finally{Ve(this),this._runnings--,Me=t,De=e}}stop(){var e;this.active&&(Fe(this),Ve(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Fe(e){e._trackId++,e._depsLength=0}function Ve(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},et=new WeakMap,tt=Symbol(""),nt=Symbol("");function ot(e,t,n){if(De&&Me){let t=et.get(e);t||et.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Qe((()=>t.delete(n)))),Ke(Me,o)}}function rt(e,t,n,o,r,i){const s=et.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&h(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":h(e)?C(n)&&a.push(s.get("length")):(a.push(s.get(tt)),p(e)&&a.push(s.get(nt)));break;case"delete":h(e)||(a.push(s.get(tt)),p(e)&&a.push(s.get(nt)));break;case"set":p(e)&&a.push(s.get(tt))}Ye();for(const l of a)l&&Je(l,4);Ge()}const it=n("__proto__,__v_isRef,__isVue"),st=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),at=lt();function lt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Kt(this);for(let t=0,r=this.length;t{e[t]=function(...e){Ue(),Ye();const n=Kt(this)[t].apply(this,e);return Ge(),Xe(),n}})),e}function ct(e){const t=Kt(this);return ot(t,0,e),t.hasOwnProperty(e)}class ut{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Ft:jt:r?qt:Nt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=h(e);if(!o){if(i&&f(at,t))return Reflect.get(at,t,n);if("hasOwnProperty"===t)return ct}const s=Reflect.get(e,t,n);return(y(t)?st.has(t):it(t))?s:(o||ot(e,0,t),r?s:on(s)?i&&C(t)?s:s.value:b(s)?o?Wt(s):Ht(s):s)}}class dt extends ut{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Xt(r);if(Yt(n)||Xt(n)||(r=Kt(r),n=Kt(n)),!h(e)&&on(r)&&!on(n))return!t&&(r.value=n,!0)}const i=h(e)&&C(t)?Number(t)e,vt=e=>Reflect.getPrototypeOf(e);function yt(e,t,n=!1,o=!1){const r=Kt(e=e.__v_raw),i=Kt(t);n||(I(t,i)&&ot(r,0,t),ot(r,0,i));const{has:s}=vt(r),a=o?gt:n?Qt:Jt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function bt(e,t=!1){const n=this.__v_raw,o=Kt(n),r=Kt(e);return t||(I(e,r)&&ot(o,0,e),ot(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function _t(e,t=!1){return e=e.__v_raw,!t&&ot(Kt(e),0,tt),Reflect.get(e,"size",e)}function wt(e){e=Kt(e);const t=Kt(this);return vt(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function xt(e,t){t=Kt(t);const n=Kt(this),{has:o,get:r}=vt(n);let i=o.call(n,e);i||(e=Kt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?I(t,s)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function St(e){const t=Kt(this),{has:n,get:o}=vt(t);let r=n.call(t,e);r||(e=Kt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&rt(t,"delete",e,void 0),i}function Ct(){const e=Kt(this),t=0!==e.size,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function kt(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Kt(i),a=t?gt:e?Qt:Jt;return!e&&ot(s,0,tt),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Tt(e,t,n){return function(...o){const r=this.__v_raw,i=Kt(r),s=p(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?gt:t?Qt:Jt;return!t&&ot(i,0,l?nt:tt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Et(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ot(){const e={get(e){return yt(this,e)},get size(){return _t(this)},has:bt,add:wt,set:xt,delete:St,clear:Ct,forEach:kt(!1,!1)},t={get(e){return yt(this,e,!1,!0)},get size(){return _t(this)},has:bt,add:wt,set:xt,delete:St,clear:Ct,forEach:kt(!1,!0)},n={get(e){return yt(this,e,!0)},get size(){return _t(this,!0)},has(e){return bt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:kt(!0,!1)},o={get(e){return yt(this,e,!0,!0)},get size(){return _t(this,!0)},has(e){return bt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:kt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Tt(r,!1,!1),n[r]=Tt(r,!0,!1),t[r]=Tt(r,!1,!0),o[r]=Tt(r,!0,!0)})),[e,n,t,o]}const[Lt,$t,At,Pt]=Ot();function It(e,t){const n=t?e?Pt:At:e?$t:Lt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Rt={get:It(!1,!1)},Bt={get:It(!1,!0)},Mt={get:It(!0,!1)},Nt=new WeakMap,qt=new WeakMap,jt=new WeakMap,Ft=new WeakMap;function Vt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Ht(e){return Xt(e)?e:zt(e,!1,ht,Rt,Nt)}function Dt(e){return zt(e,!1,mt,Bt,qt)}function Wt(e){return zt(e,!0,pt,Mt,jt)}function zt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Vt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Ut(e){return Xt(e)?Ut(e.__v_raw):!(!e||!e.__v_isReactive)}function Xt(e){return!(!e||!e.__v_isReadonly)}function Yt(e){return!(!e||!e.__v_isShallow)}function Gt(e){return Ut(e)||Xt(e)}function Kt(e){const t=e&&e.__v_raw;return t?Kt(t):e}function Zt(e){return Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const Jt=e=>b(e)?Ht(e):e,Qt=e=>b(e)?Wt(e):e;class en{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new je((()=>e(this._value)),(()=>nn(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Kt(this);return e._cacheable&&!e.effect.dirty||!I(e._value,e._value=e.effect.run())||nn(e,4),tn(e),e.effect._dirtyLevel>=2&&nn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function tn(e){var t;De&&Me&&(e=Kt(e),Ke(Me,null!=(t=e.dep)?t:e.dep=Qe((()=>e.dep=void 0),e instanceof en?e:void 0)))}function nn(e,t=4,n){const o=(e=Kt(e)).dep;o&&Je(o,t)}function on(e){return!(!e||!0!==e.__v_isRef)}function rn(e){return an(e,!1)}function sn(e){return an(e,!0)}function an(e,t){return on(e)?e:new ln(e,t)}class ln{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Kt(e),this._value=t?e:Jt(e)}get value(){return tn(this),this._value}set value(e){const t=this.__v_isShallow||Yt(e)||Xt(e);e=t?e:Kt(e),I(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),nn(this,4))}}function cn(e){return on(e)?e.value:e}const un={get:(e,t,n)=>cn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return on(r)&&!on(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function dn(e){return Ut(e)?e:new Proxy(e,un)}function fn(e,t,n,o){try{return o?e(...o):e()}catch(r){pn(r,t,n)}}function hn(e,t,n,o){if(g(e)){const r=fn(e,t,n,o);return r&&_(r)&&r.catch((e=>{pn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=yn[o],i=$n(r);i$n(e)-$n(t)));if(_n.length=0,wn)return void wn.push(...e);for(wn=e,xn=0;xnnull==e.id?1/0:e.id,An=(e,t)=>{const n=$n(e)-$n(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pn(e){vn=!1,gn=!0,yn.sort(An);try{for(bn=0;bnv(e)?e.trim():e))),t&&(i=n.map(M))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P($(t))]),c&&hn(c,e,6,Rn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,hn(u,e,6,Rn(e,u,i))}}function Rn(e,t,n){if(1!==n.length)return n;if(g(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Bn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!g(e)){const o=e=>{const n=Bn(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(h(i)?i.forEach((e=>s[e]=null)):c(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function Mn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,$(t))||f(e,t))}let Nn=null,qn=null;function jn(e){const t=Nn;return Nn=e,qn=e&&e.type.__scopeId||null,t}function Fn(e,t=Nn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Yr(-1);const r=jn(t);let i;try{i=e(...n)}finally{jn(r),o._d&&Yr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Vn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:h,setupState:p,ctx:m,inheritAttrs:g}=e;let v,y;const b=jn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=li(d.call(t,e,f,i,p,h,m)),y=c}else{const e=t;0,v=li(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Hn(c)}}catch(w){Wr.length=0,pn(w,e,1),v=ri(Hr)}let _=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),_=ii(_,y))}return n.dirs&&(_=ii(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,jn(b),v}const Hn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Wn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Zn=Symbol.for("v-scx");function Jn(e,t){return to(e,null,t)}const Qn={};function eo(e,t,n){return to(e,t,n)}function to(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),T()}}const d=mi,f=e=>!0===r?e:ro(e,!1===r?1:void 0);let p,m,v=!1,y=!1;if(on(e)?(p=()=>e.value,v=Yt(e)):Ut(e)?(p=()=>f(e),v=!0):h(e)?(y=!0,v=e.some((e=>Ut(e)||Yt(e))),p=()=>e.map((e=>on(e)?e.value:Ut(e)?f(e):g(e)?fn(e,d,2):void 0))):p=g(e)?t?()=>fn(e,d,2):()=>(m&&m(),hn(e,d,3,[_])):i,t&&r){const e=p;p=()=>ro(e())}let b,_=e=>{m=C.onStop=()=>{fn(e,d,4),m=C.onStop=void 0}};if(xi){if(_=i,t?n&&hn(t,d,3,[p(),y?[]:void 0,_]):p(),"sync"!==s)return i;{const e=br(Zn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Qn):Qn;const x=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(r||v||(y?e.some(((e,t)=>I(e,w[t]))):I(e,w)))&&(m&&m(),hn(t,d,3,[e,w===Qn?void 0:y&&w[0]===Qn?[]:w,_]),w=e)}else C.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>Rr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>Tn(x));const C=new je(p,i,S),k=Be,T=()=>{C.stop(),k&&u(k.effects,C)};return t?n?x():w=C.run():"post"===s?Rr(C.run.bind(C),d&&d.suspense):C.run(),b&&b.push(T),T}function no(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?oo(o,e):()=>o[e]:e.bind(o,o);let i;g(t)?i=t:(i=t.handler,n=t);const s=bi(this),a=to(r,i.bind(o),n);return s(),a}function oo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),on(e))ro(e.value,t,n,o);else if(h(e))for(let r=0;r{ro(e,t,n,o)}));else if(S(e))for(const r in e)ro(e[r],t,n,o);return e}function io(e,t){if(null===Nn)return e;const n=ki(Nn)||Nn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ho((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&yo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Hr){i=e;break}const s=Kt(e),{mode:a}=s;if(o.isLeaving)return mo(i);const l=go(i);if(!l)return mo(i);const c=po(l,s,o,n);vo(l,c);const u=n.subTree,d=u&&go(u);if(d&&d.type!==Hr&&!Qr(l,d)){const e=po(d,s,o,n);if(vo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},mo(i);"in-out"===a&&l.type!==Hr&&(e.delayLeave=(e,t,n)=>{ho(o,d)[String(d.key)]=d,e[ao]=()=>{t(),e[ao]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function ho(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function po(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=ho(n,e),x=(e,t)=>{e&&hn(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=g||a}t[ao]&&t[ao](!0);const i=w[_];i&&Qr(e,i)&&i.el[ao]&&i.el[ao](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[lo]=t=>{s||(s=!0,x(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e[lo]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[lo]&&t[lo](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[ao]=n=>{i||(i=!0,o(),x(n?m:p,[t]),t[ao]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?S(f,[t,s]):s()},clone:e=>po(e,t,n,o)};return C}function mo(e){if(So(e))return(e=ii(e)).children=null,e}function go(e){return So(e)?e.children?e.children[0]:void 0:e}function vo(e,t){6&e.shapeFlag&&e.component?vo(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 yo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const _o=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function wo(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return bo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=mi;if(l)return()=>xo(l,e);const t=t=>{c=null,pn(t,e,13,!o)};if(s&&e.suspense||xi)return d().then((t=>()=>xo(t,e))).catch((e=>(t(e),()=>o?ri(o,{error:e}):null)));const a=rn(!1),u=rn(),f=rn(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&So(e.parent.vnode)&&(e.parent.effect.dirty=!0,Tn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?xo(l,e):u.value&&o?ri(o,{error:u.value}):n&&!f.value?ri(n):void 0}})}function xo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ri(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const So=e=>e.type.__isKeepAlive;class Co{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 ko={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=gi(),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 Co(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Qr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Po(o=t),u(o,n,a,!0)):i&&Po(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function h(t){r.forEach(((n,o)=>{const i=Ro(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,R(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Rr((()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&fi(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Bo(t.bda),c(e,f,null,1,a),Rr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&fi(n,t.parent,e),t.isDeactivated=!0}),a)},eo((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&h((t=>Eo(e,t))),t&&h((e=>!Eo(t,e)))}),{flush:"post",deep:!0});let p=null;const m=()=>{null!=p&&r.set(p,Io(n.subTree))};return jo(m),Vo(m),Ho((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Io(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&R(l.component.bda),Po(l);const e=l.component.da;e&&Rr(e,a)}}))})),()=>{if(p=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Jr(o)||!(4&o.shapeFlag)&&!Kn(o.type))return i=null,o;let s=Io(o);const a=s.type,l=Ro(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Eo(c,l))||u&&l&&Eo(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=ii(s),Kn(o.type)&&(o.ssContent=s)),p=d,f&&(s.el=f.el,s.component=f.component,s.transition&&vo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Kn(o.type)?o:s}}},To=ko;function Eo(e,t){return h(e)?e.some((e=>Eo(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Oo(e,t){$o(e,"a",t)}function Lo(e,t){$o(e,"da",t)}function $o(e,t,n=mi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Mo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)So(e.parent.vnode)&&Ao(o,t,n,e),e=e.parent}}function Ao(e,t,n,o){const r=Mo(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Po(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Io(e){return Kn(e.type)?e.ssContent:e}function Ro(e,t){if("name"===t){const t=e.type;return Ti(_o(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Bo(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;hn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ue();const r=bi(n),i=hn(t,n,e,o);return r(),Xe(),i});return o?i.unshift(s):i.push(s),s}var r}const No=e=>(t,n=mi)=>(!xi||"sp"===e)&&Mo(e,((...e)=>t(...e)),n),qo=No("bm"),jo=No("m"),Fo=No("bu"),Vo=No("u"),Ho=No("bum"),Do=No("um"),Wo=No("sp"),zo=No("rtg"),Uo=No("rtc");function Xo(e,t=mi){Mo("ec",e,t)}function Yo(e,t,n,o){let r;const i=n&&n[o];if(h(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Jr(e)||e.type!==Hr&&!(e.type===Fr&&!Ko(e.children))))?e:null}const Zo=e=>{if(!e)return null;if(wi(e)){return ki(e)||e.proxy}return Zo(e.parent)},Jo=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Zo(e.parent),$root:e=>Zo(e.root),$emit:e=>e.emit,$options:e=>sr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Tn(e.update)})(e)),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>no.bind(e)}),Qo=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),er={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Qo(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];nr&&(a[t]=0)}}const d=Jo[t];let h,p;return d?("$attrs"===t&&ot(e,0,t),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==o&&f(n,t)?(a[t]=4,n[t]):(p=c.config.globalProperties,f(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Qo(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Qo(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Jo,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function tr(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let nr=!0;function or(e){const t=sr(e),n=e.proxy,o=e.ctx;nr=!1,t.beforeCreate&&rr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:p,beforeUpdate:m,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:k,renderTracked:T,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:A,components:P,directives:I,filters:R}=t;if(u&&function(e,t,n=i){h(e)&&(e=ur(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?br(n.from||o,n.default,!0):br(n.from||o):br(n),on(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];g(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Ht(t))}if(nr=!0,s)for(const h in s){const e=s[h],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):i,r=!g(e)&&g(e.set)?e.set.bind(n):i,a=Ei({get:t,set:r});Object.defineProperty(o,h,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)ir(l[i],o,n,i);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{yr(t,e[t])}))}function B(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&rr(d,e,"c"),B(qo,f),B(jo,p),B(Fo,m),B(Vo,v),B(Oo,y),B(Lo,_),B(Xo,O),B(Uo,T),B(zo,E),B(Ho,x),B(Do,C),B(Wo,L),h($))if($.length){const t=e.exposed||(e.exposed={});$.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===i&&(e.render=k),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),I&&(e.directives=I);const M=e.appContext.config.globalProperties.$applyOptions;M&&M(t,e,n)}function rr(e,t,n){hn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ir(e,t,n,o){const r=o.includes(".")?oo(n,o):()=>n[o];if(v(e)){const n=t[e];g(n)&&eo(r,n)}else if(g(e))eo(r,e.bind(n));else if(b(e))if(h(e))e.forEach((e=>ir(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&eo(r,o,e)}}function sr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>ar(l,e,s,!0))),ar(l,t,s)):l=t,b(t)&&i.set(t,l),l}function ar(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&ar(e,i,n,!0),r&&r.forEach((t=>ar(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=lr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const lr={data:cr,props:hr,emits:hr,methods:fr,computed:fr,beforeCreate:dr,created:dr,beforeMount:dr,mounted:dr,beforeUpdate:dr,updated:dr,beforeDestroy:dr,beforeUnmount:dr,destroyed:dr,unmounted:dr,activated:dr,deactivated:dr,errorCaptured:dr,serverPrefetch:dr,components:fr,directives:fr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=dr(e[o],t[o]);return n},provide:cr,inject:function(e,t){return fr(ur(e),ur(t))}};function cr(e,t){return t?e?function(){return c(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function ur(e){if(h(e)){const t={};for(let n=0;n(i.has(e)||(e&&g(e.install)?(i.add(e),e.install(a,...t)):g(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=ri(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,ki(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=vr;vr=a;try{return e()}finally{vr=t}}};return a}}let vr=null;function yr(e,t){if(mi){let n=mi.provides;const o=mi.parent&&mi.parent.provides;o===n&&(n=mi.provides=Object.create(o)),n[e]=t,"app"===mi.type.mpType&&mi.appContext.app.provide(e,t)}else;}function br(e,t,n=!1){const o=mi||Nn;if(o||vr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:vr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function _r(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(k(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Mn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=wr(e,o,c),l=!0)}if(s){const t=Kt(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=Sr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return b(e)&&i.set(e,r),r;if(h(a))for(let r=0;r-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const p=[l,u];return b(e)&&i.set(e,p),p}function Cr(e){return"$"!==e[0]&&!k(e)}function kr(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 Tr(e,t){return kr(e)===kr(t)}function Er(e,t){return h(t)?t.findIndex((t=>Tr(t,e))):g(t)&&Tr(t,e)?0:-1}const Or=e=>"_"===e[0]||"$stable"===e,Lr=e=>h(e)?e.map(li):[li(e)],$r=(e,t,n)=>{if(t._n)return t;const o=Fn(((...e)=>Lr(t(...e))),n);return o._c=!1,o},Ar=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Or(r))continue;const n=e[r];if(g(n))t[r]=$r(0,n,o);else if(null!=n){const e=Lr(n);t[r]=()=>e}}},Pr=(e,t)=>{const n=Lr(t);e.slots.default=()=>n};function Ir(e,t,n,r,i=!1){if(h(e))return void e.forEach(((e,o)=>Ir(e,t&&(h(t)?t[o]:t),n,r,i)));if(_o(r)&&!i)return;const s=4&r.shapeFlag?ki(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,p=l.refs===o?l.refs={}:l.refs,m=l.setupState;if(null!=d&&d!==c&&(v(d)?(p[d]=null,f(m,d)&&(m[d]=null)):on(d)&&(d.value=null)),g(c))fn(c,l,12,[a,p]);else{const t=v(c),o=on(c);if(t||o){const r=()=>{if(e.f){const n=t?f(m,c)?m[c]:p[c]:c.value;i?h(n)&&u(n,s):h(n)?n.includes(s)||n.push(s):t?(p[c]=[s],f(m,c)&&(m[c]=p[c])):(c.value=[s],e.k&&(p[e.k]=c.value))}else t?(p[c]=a,f(m,c)&&(m[c]=a)):o&&(c.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,Rr(r,n)):r()}}}const Rr=function(e,t){var n;t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):(h(n=e)?_n.push(...n):wn&&wn.includes(n,n.allowRecurse?xn+1:xn)||_n.push(n),En())};function Br(e){return function(e,t){q().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:h,setText:p,setElementText:m,parentNode:g,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Qr(e,t)&&(o=te(e),K(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Vr:x(e,t,n,o);break;case Hr:S(e,t,n,o);break;case Dr:null==e&&C(t,n,o,s);break;case Fr:F(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?V(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Ir(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=h(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},T=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):M(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:h,shapeFlag:p,transition:g,dirs:v}=e;if(d=e.el=u(e.type,s,h&&h.is,h),8&p?m(d,e.children):16&p&&I(e.children,d,null,r,i,Mr(e,s),l,c),v&&so(e,null,r,"created"),P(d,e,e.scopeId,l,r),h){for(const t in h)"value"===t||k(t)||a(d,t,null,h[t],s,e.children,r,i,ee);"value"in h&&a(d,"value",null,h.value,s),(f=h.onVnodeBeforeMount)&&fi(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&so(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,g);y&&g.beforeEnter(d),n(d,t,o),((f=h&&h.onVnodeMounted)||y||v)&&Rr((()=>{f&&fi(f,r,e),y&&g.enter(d),v&&so(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:h}=t;d|=16&e.patchFlag;const p=e.props||o,g=t.props||o;let v;if(n&&Nr(n,!1),(v=g.onVnodeBeforeUpdate)&&fi(v,n,t,e),h&&so(t,e,n,"beforeUpdate"),n&&Nr(n,!0),f?N(e.dynamicChildren,f,u,n,r,Mr(t,i),s):c||U(e,t,u,null,n,r,Mr(t,i),s,!1),d>0){if(16&d)j(u,t,p,g,n,r,i);else if(2&d&&p.class!==g.class&&a(u,"class",null,g.class,i),4&d&&a(u,"style",p.style,g.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&fi(v,n,t,e),h&&so(t,e,n,"updated")}),r)},N=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)k(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(k(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},F=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(u,o,r),n(f,o,r),I(t.children||[],o,f,i,s,a,l,c)):h>0&&64&h&&p&&e.dynamicChildren?(N(e.dynamicChildren,p,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&qr(e,t,!0)):U(e,t,o,f,i,s,a,l,c)},V=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):H(t,n,o,r,i,s,l):D(e,t,l)},H=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||hi,s={uid:pi++,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 Ne(!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:Sr(r,i),emitsOptions:Bn(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=In.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(So(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&yi(t);const{props:n,children:o}=e.vnode,r=wi(e);(function(e,t,n,o=!1){const r={},i={};B(i,ei,1),e.propsDefaults=Object.create(null),_r(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Dt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Kt(t),B(t,"_",n)):Ar(t,e.slots={})}else e.slots={},t&&Pr(e,t);B(e.slots,ei,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Zt(new Proxy(e.ctx,er));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)=>(ot(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=bi(e);Ue();const i=fn(o,e,0,[e.props,n]);if(Xe(),r(),_(i)){if(i.then(_i,_i),t)return i.then((n=>{Si(e,n,t)})).catch((t=>{pn(t,e,0)}));e.asyncDep=i}else Si(e,i,t)}else Ci(e,t)}(e,t):void 0;t&&yi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,W),!e.el){const e=l.subTree=ri(Hr);S(null,e,t,n)}}else W(l,e,t,n,i,s,a)},D=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Wn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Wn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tbn&&yn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=jr(e);if(n)return t&&(t.el=c.el,z(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Nr(e,!1),t?(t.el=c.el,z(e,t,a)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&fi(u,i,t,c),Nr(e,!0);const f=Vn(e),h=e.subTree;e.subTree=f,w(h,f,g(h.el),te(h),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Rr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Rr((()=>fi(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=_o(t);if(Nr(e,!1),c&&R(c),!f&&(i=l&&l.onVnodeBeforeMount)&&fi(i,d,t),Nr(e,!0),a&&se){const n=()=>{e.subTree=Vn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Vn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Rr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Rr((()=>fi(i,d,e)),r)}(256&t.shapeFlag||d&&_o(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Bo(e.ba),e.a&&Rr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new je(l,i,(()=>Tn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Nr(e,!0),u()},z=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Kt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;_r(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=$(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=xr(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,Ar(t,i)),a=t}else t&&(Pr(e,t),a={default:1});if(s)for(const o in i)Or(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ue(),On(e),Xe()},U=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void Y(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&h?(16&u&&ee(c,r,i),d!==c&&m(n,d)):16&u?16&h?Y(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&m(n,""),16&h&&I(d,n,o,r,i,s,a,l))},X=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let h;for(h=0;hd?ee(e,i,s,!0,!1,f):I(t,n,o,i,s,a,l,c,f)},Y=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,h=d-1;for(;u<=f&&u<=h;){const o=e[u],r=t[u]=c?ci(t[u]):li(t[u]);if(!Qr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=h;){const o=e[f],r=t[h]=c?ci(t[h]):li(t[h]);if(!Qr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,h--}if(u>f){if(u<=h){const e=h+1,r=eh)for(;u<=f;)K(e[u],i,s,!0),u++;else{const p=u,m=u,g=new Map;for(u=m;u<=h;u++){const e=t[u]=c?ci(t[u]):li(t[u]);null!=e.key&&g.set(e.key,u)}let v,y=0;const b=h-m+1;let _=!1,x=0;const S=new Array(b);for(u=0;u=b){K(o,i,s,!0);continue}let r;if(null!=o.key)r=g.get(o.key);else for(v=m;v<=h;v++)if(0===S[v-m]&&Qr(o,t[v])){r=v;break}void 0===r?K(o,i,s,!0):(S[r-m]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const C=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):r;for(v=C.length-1,u=b-1;u>=0;u--){const e=m+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Fr){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Ir(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,p=!_o(e);let m;if(p&&(m=s&&s.onVnodeBeforeUnmount)&&fi(m,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&so(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Fr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Fr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Z(e)}(p&&(m=s&&s.onVnodeUnmounted)||h)&&Rr((()=>{m&&fi(m,t,e),h&&so(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Fr)return void J(n,o);if(t===Dr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},J=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&R(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&Rr(a,t),Rr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,On(),Ln(),ne=!1),t._vnode=e},re={p:w,um:K,m:G,r:Z,mt:H,mc:I,pc:U,pbc:N,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:gr(oe,ie)}}(e)}function Mr({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 Nr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qr(e,t,n=!1){const o=e.children,r=t.children;if(h(o)&&h(r))for(let i=0;i0?zr||r:null,Wr.pop(),zr=Wr[Wr.length-1]||null,Xr>0&&zr&&zr.push(e),e}function Kr(e,t,n,o,r,i){return Gr(oi(e,t,n,o,r,i,!0))}function Zr(e,t,n,o,r){return Gr(ri(e,t,n,o,r,!0))}function Jr(e){return!!e&&!0===e.__v_isVNode}function Qr(e,t){return e.type===t.type&&e.key===t.key}const ei="__vInternal",ti=({key:e})=>null!=e?e:null,ni=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||on(e)||g(e)?{i:Nn,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,o=0,r=null,i=(e===Fr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ti(t),ref:t&&ni(t),scopeId:qn,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:Nn};return a?(ui(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Xr>0&&!s&&zr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&zr.push(l),l}const ri=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Un||(e=Hr);if(Jr(e)){const o=ii(e,t,!0);return n&&ui(o,n),Xr>0&&!i&&zr&&(6&o.shapeFlag?zr[zr.indexOf(e)]=o:zr.push(o)),o.patchFlag|=-2,o}s=e,g(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Gt(e)||ei in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ce(e)),b(n)&&(Gt(n)&&!h(n)&&(n=c({},n)),t.style=le(n))}const a=v(e)?1:Kn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:g(e)?2:0;return oi(e,t,n,o,r,a,i,!0)};function ii(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?di(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ti(a),ref:t&&t.ref?n&&r?h(r)?r.concat(ni(t)):[r,ni(t)]:ni(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!==Fr?-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&&ii(e.ssContent),ssFallback:e.ssFallback&&ii(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function si(e=" ",t=0){return ri(Vr,null,e,t)}function ai(e="",t=!1){return t?(Ur(),Zr(Hr,null,e)):ri(Hr,null,e)}function li(e){return null==e||"boolean"==typeof e?ri(Hr):h(e)?ri(Fr,null,e.slice()):"object"==typeof e?ci(e):ri(Vr,null,String(e))}function ci(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ii(e)}function ui(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ui(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||ei in t?3===o&&Nn&&(1===Nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Nn}}else g(t)?(t={default:t,_ctx:Nn},n=32):(t=String(t),64&o?(n=16,t=[si(t)]):n=8);e.children=t,e.shapeFlag|=n}function di(...e){const t={};for(let n=0;nmi||Nn;let vi,yi;{const e=q(),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)}};vi=t("__VUE_INSTANCE_SETTERS__",(e=>mi=e)),yi=t("__VUE_SSR_SETTERS__",(e=>xi=e))}const bi=e=>{const t=mi;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}},_i=()=>{mi&&mi.scope.off(),vi(null)};function wi(e){return 4&e.vnode.shapeFlag}let xi=!1;function Si(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=dn(t)),Ci(e,n)}function Ci(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=bi(e);Ue();try{or(e)}finally{Xe(),t()}}}function ki(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(dn(Zt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Jo?Jo[n](e):void 0,has:(e,t)=>t in e||t in Jo}))}function Ti(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const Ei=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=g(e);return s?(o=e,r=i):(o=e.get,r=e.set),new en(o,r,s||!r,n)}(e,0,xi);return n};function Oi(e,t,n){const o=arguments.length;return 2===o?b(t)&&!h(t)?Jr(t)?ri(e,null,[t]):ri(e,t):ri(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Jr(n)&&(n=[n]),ri(e,t,n))}const Li="3.4.21",$i="undefined"!=typeof document?document:null,Ai=$i&&$i.createElement("template"),Pi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?$i.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?$i.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?$i.createElement(e,{is:n}):$i.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>$i.createTextNode(e),createComment:e=>$i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Ai.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=Ai.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]}},Ii="transition",Ri=Symbol("_vtc"),Bi=(e,{slots:t})=>Oi(fo,function(e){const t={};for(const c in e)c in Mi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(b(e))return[ji(e.enter),ji(e.leave)];{const t=ji(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=y,onAppear:k=_,onAppearCancelled:T=w}=t,E=(e,t,n)=>{Vi(e,t?d:a),Vi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Vi(e,f),Vi(e,p),Vi(e,h),t&&t()},L=e=>(t,n)=>{const r=e?k:_,s=()=>E(t,e,n);Ni(r,[t,s]),Hi((()=>{Vi(t,e?l:i),Fi(t,e?d:a),qi(r)||Wi(t,o,g,s)}))};return c(t,{onBeforeEnter(e){Ni(y,[e]),Fi(e,i),Fi(e,s)},onBeforeAppear(e){Ni(C,[e]),Fi(e,l),Fi(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Fi(e,f),document.body.offsetHeight,Fi(e,h),Hi((()=>{e._isLeaving&&(Vi(e,f),Fi(e,p),qi(x)||Wi(e,o,v,n))})),Ni(x,[e,n])},onEnterCancelled(e){E(e,!1),Ni(w,[e])},onAppearCancelled(e){E(e,!0),Ni(T,[e])},onLeaveCancelled(e){O(e),Ni(S,[e])}})}(e),t);Bi.displayName="Transition";const Mi={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};Bi.props=c({},uo,Mi);const Ni=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},qi=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function ji(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Fi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ri]||(e[Ri]=new Set)).add(t)}function Vi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ri];n&&(n.delete(t),n.size||(e[Ri]=void 0))}function Hi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Di=0;function Wi(e,t,n,o){const r=e._endId=++Di,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=zi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=zi(a,l);let u=null,d=0,f=0;t===Ii?s>0&&(u=Ii,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Ii:"animation":null,f=u?u===Ii?i.length:l.length:0);const h=u===Ii&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uUi(t)+Ui(e[n]))))}function Ui(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Xi=Symbol("_vod"),Yi=Symbol("_vsh"),Gi={beforeMount(e,{value:t},{transition:n}){e[Xi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ki(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),Ki(e,!0),o.enter(e)):o.leave(e,(()=>{Ki(e,!1)})):Ki(e,t))},beforeUnmount(e,{value:t}){Ki(e,t)}};function Ki(e,t){e.style.display=t?e[Xi]:"none",e[Yi]=!t}const Zi=Symbol(""),Ji=/(^|;)\s*display\s*:/;const Qi=/\s*!important$/;function es(e,t,n){if(h(n))n.forEach((n=>es(e,t,n)));else if(null==n&&(n=""),n=us(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ns[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return ns[t]=o;o=A(o);for(let r=0;re.replace(ve,((e,t)=>{if(!t)return e;if(1===ls)return`${t}${as}`;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)*ls,cs);return 0===n?"0":`${n}${as}`})));var as,ls,cs;const us=e=>v(e)?ss(e):e,ds="http://www.w3.org/1999/xlink";const fs=Symbol("_vei");function hs(e,t,n,o,r=null){const i=e[fs]||(e[fs]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(ps.test(e)){let n;for(t={};n=e.match(ps);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):$(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&h(i)){const n=vs(e,i);for(let o=0;oms||(gs.then((()=>ms=0)),ms=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;let ms=0;const gs=Promise.resolve();function vs(e,t){if(h(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 ys=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const bs=["ctrl","shift","alt","meta"],_s={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)=>bs.some((n=>e[`${n}Key`]&&!t.includes(n)))},ws=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;kn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ri];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&es(o,t,"")}else for(const e in t)null==n[e]&&es(o,e,"");for(const e in n)"display"===e&&(i=!0),es(o,e,n[e])}else if(r){if(t!==n){const e=o[Zi];e&&(n+=";"+e),o.cssText=n,i=Ji.test(n)}}else t&&e.removeAttribute("style");Xi in e&&(e[Xi]=i?o.display:"",e[Yi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)es(o,a,s[a])}(e,n,o):a(t)?l(t)||hs(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&&ys(t)&&g(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(ys(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=U(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ds,t.slice(6,t.length)):e.setAttributeNS(ds,t,n);else{const o=z(t);null==n||o&&!U(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Pi);let Ss;const Cs=(...e)=>{const t=(Ss||(Ss=Br(xs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e} /*! * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT */(e);if(!o)return;const r=t._component;g(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 ks="undefined"!=typeof document;function Ts(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Es=Object.assign;function Os(e,t){const n={};for(const o in t){const r=t[o];n[o]=$s(r)?r.map(e):e(r)}return n}const Ls=()=>{},$s=Array.isArray,As=/#/g,Ps=/&/g,Is=/\//g,Rs=/=/g,Bs=/\?/g,Ms=/\+/g,Ns=/%5B/g,qs=/%5D/g,js=/%5E/g,Fs=/%60/g,Vs=/%7B/g,Hs=/%7C/g,Ds=/%7D/g,Ws=/%20/g;function zs(e){return encodeURI(""+e).replace(Hs,"|").replace(Ns,"[").replace(qs,"]")}function Us(e){return zs(e).replace(Ms,"%2B").replace(Ws,"+").replace(As,"%23").replace(Ps,"%26").replace(Fs,"`").replace(Vs,"{").replace(Ds,"}").replace(js,"^")}function Xs(e){return null==e?"":function(e){return zs(e).replace(As,"%23").replace(Bs,"%3F")}(e).replace(Is,"%2F")}function Ys(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Gs=/\/$/;function Ks(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Ys(s)}}function Zs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ea(e[n],t[n]))return!1;return!0}function ea(e,t){return $s(e)?ta(e,t):$s(t)?ta(t,e):e===t}function ta(e,t){return $s(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const na={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var oa,ra,ia,sa;function aa(e){if(!e)if(ks){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Gs,"")}(ra=oa||(oa={})).pop="pop",ra.push="push",(sa=ia||(ia={})).back="back",sa.forward="forward",sa.unknown="";const la=/^[^#]+#/;function ca(e,t){return e.replace(la,"#")+t}const ua=()=>({left:window.scrollX,top:window.scrollY});function da(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 fa(e,t){return(history.state?history.state.position-t:-1)+e}const ha=new Map;function pa(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),Zs(n,"")}return Zs(n,e)+o+r}function ma(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ua():null}}function ga(e){const{history:t,location:n}=window,o={value:pa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Es({},r.value,t.state,{forward:e,scroll:ua()});i(s.current,s,!0),i(e,Es({},ma(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Es({},t.state,ma(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function va(e){const t=ga(e=aa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=pa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:oa.pop,direction:u?u>0?ia.forward:ia.back:ia.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Es({},e.state,{scroll:ua()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Es({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ca.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 ya(e){return"string"==typeof e||"symbol"==typeof e}const ba=Symbol("");var _a,wa;function xa(e,t){return Es(new Error,{type:e,[ba]:!0},t)}function Sa(e,t){return e instanceof Error&&ba in e&&(null==t||!!(e.type&t))}(wa=_a||(_a={}))[wa.aborted=4]="aborted",wa[wa.cancelled=8]="cancelled",wa[wa.duplicated=16]="duplicated";const Ca={sensitive:!1,strict:!1,start:!0,end:!0},ka=/[.+*?^${}()[\]/\\]/g;function Ta(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Ea(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const La={type:0,value:""},$a=/[a-zA-Z0-9_]/;function Aa(e,t,n){const o=function(e,t){const n=Es({},Ca,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:Ls}function i(e){if(ya(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;Ea(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(qa(t)&&0===Ea(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&&!Ba(e)&&o.set(e.record.name,e)}return t=Na({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw xa(1,{location:e});s=r.record.name,a=Es(Ia(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ia(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw xa(1,{location:e,currentLocation:t});s=r.record.name,a=Es({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ma(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ia(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ra(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 Ba(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ma(e){return e.reduce(((e,t)=>Es(e,t.meta)),{})}function Na(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function qa({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ja(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Us(e))):[o&&Us(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Va(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=$s(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ha=Symbol(""),Da=Symbol(""),Wa=Symbol(""),za=Symbol(""),Ua=Symbol("");function Xa(){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 Ya(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(xa(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(xa(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Ga(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Ts(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Ya(l,n,o,s,e,r))}else{let l=a();i.push((()=>l.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Ts(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Ya(c,n,o,s,e,r)()}))))}}return i}function Ka(e){const t=br(Wa),n=br(za),o=Ei((()=>{const n=cn(e.to);return t.resolve(n)})),r=Ei((()=>{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(Js.bind(null,r));if(s>-1)return s;const a=Ja(e[t-2]);return t>1&&Ja(r)===a&&i[i.length-1].path!==a?i.findIndex(Js.bind(null,e[t-2])):s})),i=Ei((()=>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(!$s(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ei((()=>r.value>-1&&r.value===n.matched.length-1&&Qs(n.params,o.value.params)));return{route:o,href:Ei((()=>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[cn(e.replace)?"replace":"push"](cn(e.to)).catch(Ls):Promise.resolve()}}}const Za=bo({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:Ka,setup(e,{slots:t}){const n=Ht(Ka(e)),{options:o}=br(Wa),r=Ei((()=>({[Qa(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Qa(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Oi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ja(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qa=(e,t,n)=>null!=e?e:null!=t?t:n;function el(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const tl=bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=br(Ua),r=Ei((()=>e.route||o.value)),i=br(Da,0),s=Ei((()=>{let e=cn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ei((()=>r.value.matched[s.value]));yr(Da,Ei((()=>s.value+1))),yr(Ha,a),yr(Ua,r);const l=rn();return eo((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Js(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return el(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Oi(c,Es({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return el(n.default,{Component:f,route:o})||f}}});function nl(e){const t=Pa(e.routes,e),n=e.parseQuery||ja,o=e.stringifyQuery||Fa,r=e.history,i=Xa(),s=Xa(),a=Xa(),l=sn(na);let c=na;ks&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Os.bind(null,(e=>""+e)),d=Os.bind(null,Xs),f=Os.bind(null,Ys);function h(e,i){if(i=Es({},i||l.value),"string"==typeof e){const o=Ks(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Es(o,s,{params:f(s.params),hash:Ys(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Es({},e,{path:Ks(n,e.path,i.path).path});else{const t=Es({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Es({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Es({},e,{hash:(p=c,zs(p).replace(Vs,"{").replace(Ds,"}").replace(js,"^")),path:a.path}));var p;const m=r.createHref(h);return Es({fullPath:h,hash:c,query:o===Fa?Va(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?Ks(n,e,l.value.path):Es({},e)}function m(e,t){if(c!==e)return xa(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=p(o):{path:o},o.params={}),Es({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Es(p(u),{state:"object"==typeof u?Es({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Js(t.matched[o],n.matched[r])&&Qs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=xa(16,{to:d,from:r}),A(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>Sa(e)?Sa(e,2)?e:$(e):L(e,d,r))).then((e=>{if(e){if(Sa(e,2))return y(Es({replace:a},p(e.to),{state:"object"==typeof e.to?Es({},i,e.to.state):i,force:s}),t||d)}else e=S(d,r,!0,a,i);return x(d,r,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sJs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Js(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Ga(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ya(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),M(n).then((()=>{n=[];for(const o of i.list())n.push(Ya(o,e,t));return n.push(l),M(n)})).then((()=>{n=Ga(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ya(o,e,t))}));return n.push(l),M(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if($s(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ya(r,e,t));else n.push(Ya(o.beforeEnter,e,t));return n.push(l),M(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ga(a,"beforeRouteEnter",e,t,_),n.push(l),M(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ya(o,e,t));return n.push(l),M(n)})).catch((e=>Sa(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=m(e,t);if(s)return s;const a=t===na,c=ks?history.state:{};n&&(o||a?r.replace(e.fullPath,Es({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),$()}let C;function k(){C||(C=r.listen(((e,t,n)=>{if(!B.listening)return;const o=h(e),i=v(o);if(i)return void y(Es(i,{replace:!0}),o).catch(Ls);c=o;const s=l.value;var a,u;ks&&(a=fa(s.fullPath,n.delta),u=ua(),ha.set(a,u)),w(o,s).catch((e=>Sa(e,12)?e:Sa(e,2)?(y(e.to,o).then((e=>{Sa(e,20)&&!n.delta&&n.type===oa.pop&&r.go(-1,!1)})).catch(Ls),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!Sa(e,8)?r.go(-n.delta,!1):n.type===oa.pop&&Sa(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Ls)})))}let T,E=Xa(),O=Xa();function L(e,t,n){$(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function $(e){return T||(T=!e,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!ks||!i)return Promise.resolve();const s=!o&&function(e){const t=ha.get(e);return ha.delete(e),t}(fa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return kn().then((()=>i(t,n,s))).then((e=>e&&da(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let I;const R=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ya(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:h,options:e,push:g,replace:function(e){return g(Es(p(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return T&&l.value!==na?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Za),e.component("RouterView",tl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>cn(l)}),ks&&!I&&l.value===na&&(I=!0,g(r.location).catch((e=>{})));const t={};for(const o in na)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Wa,this),e.provide(za,Dt(t)),e.provide(Ua,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=na,C&&C(),C=null,l.value=na,I=!1,T=!1),n()}}};function M(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return B}function ol(e){return br(za)}const rl=["{","}"];const il=/^(?:\d)+/,sl=/^(?:\w)+/;const al=Object.prototype.hasOwnProperty,ll=(e,t)=>al.call(e,t),cl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=rl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class dl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||cl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ul(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=>{ll(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=ul(t,this.messages))&&(o=this.messages[t]):n=t,ll(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 fl(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&&Sd?Sd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new dl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=pp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const hl=fe((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let pl;function ml(){if(!pl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,pl=fl(e),hl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>pl.add(e,__uniConfig.locales[e]))),pl.setLocale(e)}}return pl}function gl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const vl=fe((()=>{const e="uni.async.",t=["error"];ml().add("en",gl(e,t,["The connection timed out, click the screen to try again."]),!1),ml().add("es",gl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),ml().add("fr",gl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),ml().add("zh-Hans",gl(e,t,["连接服务器超时,点击屏幕重试"]),!1),ml().add("zh-Hant",gl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),yl=fe((()=>{const e="uni.showToast.",t=["unpaired"];ml().add("en",gl(e,t,["Please note showToast must be paired with hideToast"]),!1),ml().add("es",gl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),ml().add("fr",gl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),ml().add("zh-Hans",gl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),ml().add("zh-Hant",gl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),bl=fe((()=>{const e="uni.showLoading.",t=["unpaired"];ml().add("en",gl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),ml().add("es",gl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),ml().add("fr",gl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),ml().add("zh-Hans",gl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),ml().add("zh-Hant",gl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),_l=fe((()=>{const e="uni.showModal.",t=["cancel","confirm"];ml().add("en",gl(e,t,["Cancel","OK"]),!1),ml().add("es",gl(e,t,["Cancelar","OK"]),!1),ml().add("fr",gl(e,t,["Annuler","OK"]),!1),ml().add("zh-Hans",gl(e,t,["取消","确定"]),!1),ml().add("zh-Hant",gl(e,t,["取消","確定"]),!1)}));function wl(e){const t=new Ae;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let xl=1;const Sl=Object.create(null);function Cl(e,t){return e+"."+t}function kl(e,t,n){t=Cl(e,t),Sl[t]||(Sl[t]=n)}function Tl({id:e,name:t,args:n},o){t=Cl(o,t);const r=t=>{e&&Tm.publishHandler("invokeViewApi."+e,t)},i=Sl[t];i?i(n,r):r({})}const El=c(wl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Tm,i=n?xl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Ol=ye(!0);let Ll;function $l(){Ll&&(clearTimeout(Ll),Ll=null)}let Al=0,Pl=0;function Il(e){if($l(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Al=t,Pl=n,Ll=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 Rl(e){if(!Ll)return;if(1!==e.touches.length)return $l();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Al)>10||Math.abs(n-Pl)>10?$l():void 0}function Bl(e,t){const n=Number(e);return isNaN(n)?t:n}const Ml=()=>/^Apple/.test(navigator.vendor);function Nl(){const e=__uniConfig.globalStyle||{},t=Bl(e.rpxCalcMaxDeviceWidth,960),n=Bl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=Ml()&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n: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),Ml()&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}function ql(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jl,Fl,Vl=["top","left","right","bottom"],Hl={};function Dl(){return Fl="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 Wl(){if(Fl="string"==typeof Fl?Fl:Dl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Vl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),jl=!0}else Vl.forEach((function(e){Hl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Fl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ul.length||setTimeout((function(){var e={};Ul.forEach((function(t){e[t]=Hl[t]})),Ul.length=0,Xl.forEach((function(t){t(e)}))}),0);Ul.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Hl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function zl(e){return jl||Wl(),Hl[e]}var Ul=[];var Xl=[];const Yl=ql({get support(){return 0!=("string"==typeof Fl?Fl:Dl()).length},get top(){return zl("top")},get left(){return zl("left")},get right(){return zl("right")},get bottom(){return zl("bottom")},onChange:function(e){Dl()&&(jl||Wl(),"function"==typeof e&&Xl.push(e))},offChange:function(e){var t=Xl.indexOf(e);t>=0&&Xl.splice(t,1)}}),Gl=ws((()=>{}),["prevent"]),Kl=ws((e=>{}),["stop"]);function Zl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Jl(){const e=Zl(document.documentElement.style,"--window-top");return e?e+Yl.top:0}function Ql(){const e=document.documentElement.style,t=Jl(),n=Zl(e,"--window-bottom"),o=Zl(e,"--window-left"),r=Zl(e,"--window-right"),i=Zl(e,"--top-window-height");return{top:t,bottom:n?n+Yl.bottom:0,left:o?o+Yl.left:0,right:r?r+Yl.right:0,topWindowHeight:i||0}}function ec(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}const tc=new Map;function nc(e,t){let n=tc.get(e);!n||n instanceof HTMLStyleElement||(!function(e){let t=tc.get(e);t&&(t instanceof CSSStyleSheet?document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==t)):document.head.removeChild(t),tc.delete(e))}(e),n=void 0),n?n.innerHTML=t:(n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)),tc.set(e,n)}function oc(e){return Symbol(e)}function rc(e){return e.$page}function ic(e){return 0===e.tagName.indexOf("UNI-")}const sc="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",ac="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",lc="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 cc(e,t="#000",n=27){return ri("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ri("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function uc(){{const{$pageInstance:e}=gi();return e&&yc(e.proxy)}}function dc(e){const t=ie(e);if(t.$page)return yc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return yc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?yc(n):void 0}function fc(){const e=lf(),t=e.length;if(t)return e[t-1]}function hc(){var e;const t=null==(e=fc())?void 0:e.$page;if(t)return t.meta}function pc(){const e=hc();return e?e.id:-1}function mc(){const e=fc();if(e)return e.$vm}const gc=["navigationBar","pullToRefresh"];function vc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);gc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function yc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function bc(e,t,n){if(v(e))n=t,t=e,e=mc();else if("number"==typeof e){const t=lf().find((t=>rc(t).id===e));e=t?t.$vm:mc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-xc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(xc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(wc=setTimeout(s,300))),o=!1};return function(){clearTimeout(wc),o||requestAnimationFrame(s),o=!0}}function Cc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Cc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),de(i.concat(n).join("/"))}function kc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Tc(){Nl(),me(ic),window.addEventListener("touchstart",Il,Ol),window.addEventListener("touchmove",Rl,Ol),window.addEventListener("touchend",$l,Ol),window.addEventListener("touchcancel",$l,Ol)}class Ec{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ae(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&&ae(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=Ac(this.$el.querySelector(e));return t?Oc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Tm.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 Oc(e,t=!0){if(t&&e&&(e=se(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ec(e)),e.$el.__wxsComponentDescriptor}function Lc(e,t){return Oc(e,t)}function $c(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Lc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=se(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Lc(r,!1)]}}function Ac(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Pc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=be(t?r:function(e){for(;!ic(e);)e=e.parentElement;return e}(r)),a=be(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ic(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Rc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Jl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ic(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=Jl();i.touches=Rc(e.touches,t),i.changedTouches=Rc(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 $c(i,t,n)||[i]},createNativeEvent:Pc},Symbol.toStringTag,{value:"Module"});function Mc(e){!function(e){const t=e.globalProperties;c(t,Bc),t.$gcd=Lc}(e._context.config)}let Nc=1;function qc(e){return(e||pc())+".invokeViewApi"}const jc=c(wl("view"),{invokeOnCallback:(e,t)=>Em.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Em,s=o?Nc++:0;o&&r("invokeViewApi."+s,o,!0),i(qc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Em,a=Nc++,l="invokeViewApi."+a;return r(l,n),s(qc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Fc(e){bc(fc(),"onResize",e),Em.invokeOnCallback("onWindowResize",e)}function Vc(e){const t=fc();bc(pp(),"onShow",e),bc(t,"onShow")}function Hc(){bc(pp(),"onHide"),bc(fc(),"onHide")}const Dc=["onPageScroll","onReachBottom"];function Wc(){Dc.forEach((e=>Em.subscribe(e,function(e){return(t,n)=>{bc(parseInt(n),e,t)}}(e))))}function zc(){!function(){const{on:e}=Em;e("onResize",Fc),e("onAppEnterForeground",Vc),e("onAppEnterBackground",Hc)}(),Wc()}function Uc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ke(this.$page.id)),e.eventChannel}}function Xc(e){e._context.config.globalProperties.getOpenerEventChannel=Uc}function Yc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Gc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Zu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Kc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Gc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Gc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Zc={props:["animation"],watch:{animation:{deep:!0,handler(){Kc(this)}}},mounted(){Kc(this)}},Jc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Zc),Qc(e)},Qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},bo(e));function eu(e){return e.__wwe=!0,e}function tu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=be(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const nu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ou(e){const t=rn(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:eu((function(e){e.touches.length>1||s(e)})),onMousedown:eu((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:eu((function(){a()})),onMouseup:eu((function(){r&&l()})),onTouchcancel:eu((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function ru(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const iu=oc("uf"),su=oc("ul");function au(e,t,n){const o=uc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Tm.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Tm.on(r,t[r]):e&&Tm.on(`uni-${r}-${o}-${e}`,t[r])}))}function lu(e,t,n){const o=uc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Tm.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Tm.off(r,t[r]):e&&Tm.off(`uni-${r}-${o}-${e}`,t[r])}))}const cu=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=rn(null),o=br(iu,!1),{hovering:r,binding:i}=ou(e),s=eu(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=br(su,!1);return a&&(a.addHandler(s),Ho((()=>{a.removeHandler(s)}))),function(e,t){au(e.id,t),eo((()=>e.id),((e,n)=>{lu(n,t,!0),au(e,t,!0)})),Do((()=>{lu(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=ru(e,"disabled"),l=ru(e,"loading"),c=ru(e,"plain"),u=o&&"none"!==o;return ri("uni-button",di({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),uu=oc("upm");function du(){return br(uu)}function fu(e){const t=function(e){return Ht(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!==lf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(vc(ol().meta,e)))))}(e);return yr(uu,t),t}function hu(){return ol()}function pu(){return history.state&&history.state.__id__||1}const mu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function gu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function vu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let yu=1;const bu={};function _u(e,t,n){if("number"==typeof e){const o=bu[e];if(o)return o.keepAlive||delete bu[e],o.callback(t,n)}return t}const wu="success",xu="fail",Su="complete";function Cu(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];g(o)&&(t[n]=vu(o),delete e[n])}return t}(t),a=g(r),l=g(i),c=g(s),u=yu++;return function(e,t,n,o=!1){bu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const ku="success",Tu="fail",Eu="complete",Ou={},Lu={};function $u(e,t){return function(n){return e(n,t)||n}}function Au(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Pu(e,t={}){return[ku,Tu,Eu].forEach((n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){Au(o,e,t).then((e=>g(r)&&r(e)||e))}})),t}function Iu(e,t){const n=[];h(Ou.returnValue)&&n.push(...Ou.returnValue);const o=Lu[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Ru(e){const t=Object.create(null);Object.keys(Ou).forEach((e=>{"returnValue"!==e&&(t[e]=Ou[e].slice())}));const n=Lu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Bu(e,t,n,o){const r=Ru(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return Au(r.invoke,n).then((n=>t(Pu(Ru(e),n),...o)))}return t(Pu(r,n),...o)}return t(n,...o)}function Mu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![wu,xu,Su].find((t=>g(e[t]))))}(n)?Iu(e,Bu(e,t,c({},n),o)):Iu(e,new Promise(((r,i)=>{Bu(e,t,c({},n,{success:r,fail:i}),o)})))}function Nu(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,_u(e,c({errMsg:i},o))}function qu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=Cu(e,n,o),i=qu(0,[n],0,o);return i?Nu(r,e,i):t(n,{resolve:t=>function(e,t,n){return _u(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Nu(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Fu(e,t,n,o){return Mu(e,ju(e,t,0,o))}function Vu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=qu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Hu(e,t,n,o){return Mu(e,function(e,t,n,o){return ju(e,t,0,o)}(e,t,0,o))}let Du=!1,Wu=0,zu=0,Uu=960,Xu=375,Yu=750;function Gu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Nf();return{platform:Of?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Wu=e,zu=t,Du="ios"===n}function Ku(e,t){const n=Number(e);return isNaN(n)?t:n}const Zu=Vu(0,((e,t)=>{if(0===Wu&&(Gu(),function(){const e=__uniConfig.globalStyle||{};Uu=Ku(e.rpxCalcMaxDeviceWidth,960),Xu=Ku(e.rpxCalcBaseDeviceWidth,375),Yu=Ku(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Wu;n=e===Yu||n<=Uu?n:Xu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==zu&&Du?.5:1),e<0?-o:o})),Ju=[.5,.8,1,1.25,1.5,2];const Qu=(e,t,n,o)=>{!function(e,t,n,o,r){Em.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)}))};var ed=["scale","rotate","translate","setTransform","transform"],td=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],nd=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const od={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function rd(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(f(od,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(od[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class id{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,rd(t)])}}class sd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class ad{constructor(e){this.width=e}}class ld{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){Em.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new id("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new id("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new sd(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new ad(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===o.length&&a(),o=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const cd=fe((()=>{[...ed,...td].forEach((function(e){ld.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),nd.forEach((function(e){ld.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",rd(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=rd(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),ud=Vu(0,((e,t)=>{if(cd(),t)return new ld(e,dc(t));const n=dc(mc());if(n)return new ld(e,n);Em.emit("onError","createCanvasContext:fail")}));let dd=0,fd={};const hd={canvas:ld,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Qu(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Qu(this.id,this.pageId,"moveToLocation",e)}getScale(e){Qu(this.id,this.pageId,"getScale",e)}getRegion(e){Qu(this.id,this.pageId,"getRegion",e)}includePoints(e){Qu(this.id,this.pageId,"includePoints",e)}translateMarker(e){Qu(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Qu(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Qu(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Qu(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Qu(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Qu(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Qu(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Qu(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Qu(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Qu(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Qu(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Qu(this.id,this.pageId,"openMapApp",e)}on(e,t){Qu(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){qf(this.id,this.pageId,"play")}pause(){qf(this.id,this.pageId,"pause")}stop(){qf(this.id,this.pageId,"stop")}seek(e){qf(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){qf(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Ju.indexOf(e)||(e=1),qf(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){qf(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){qf(this.id,this.pageId,"exitFullScreen")}showStatusBar(){qf(this.id,this.pageId,"showStatusBar")}hideStatusBar(){qf(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(dd++);r.callbackId=e,fd[e]=o}Em.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(he(fd[e],t),delete fd[e])}))}(this.id,this.pageId,e,t)}}};function pd(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=hd[n];e.context=new r(t,o),delete e.contextInfo}}class md{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class gd{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):Ff(i,n)?i:i.querySelector(n);return e?jf(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(jf(t,r))})),!l&&Ff(i,n)&&e.unshift(jf(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{h(e)?e.forEach(pd):pd(e);const o=n[t];g(o)&&o.call(this,e)})),g(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=ie(e),this}select(e){return this._nodesRef=new md(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new md(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new md(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const vd=Vu(0,(e=>((e=ie(e))&&!dc(e)&&(e=null),new gd(e||mc())))),yd={formatArgs:{}},bd={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};let _d=class{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},bd,e)}_getOption(e){const t={transition:c({},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 wd=fe((()=>{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=>{_d.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}}))})),xd=Vu(0,(e=>(wd(),new _d(e))),0,yd),Sd=Vu(0,(()=>{const e=pp();return e&&e.$vm?e.$vm.$locale:ml().getLocale()})),Cd={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const kd={formatArgs:{src(e,t){t.src=kf(e)}}},Td="json",Ed=["text","arraybuffer"],Od=encodeURIComponent;ArrayBuffer,Boolean;const Ld={formatArgs:{method(e,t){t.method=gu((e||"").toUpperCase(),mu)},data(e,t){t.data=e||""},url(e,t){t.method===mu[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[Od(a)]=Od(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!==mu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Td).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Ed.indexOf(t.responseType)&&(t.responseType="text")}}},$d={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=gu((e||"").toUpperCase(),mu)},protocols(e,t){v(e)&&(t.protocols=[e])}}};const Ad={url:{type:String,required:!0}},Pd=(Rd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Rd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Nd("navigateTo")),Id={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(lf().length-1,e)}}};function Rd(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 Bd;function Md(){Bd=""}function Nd(e){return{formatArgs:{url:qd(e)},beforeAll:Md}}function qd(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=lf();return n.length&&(t=rc(n[n.length-1]).route),Cc(t,e)}(t)).split("?")[0],r=kc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Bd===t&&"appLaunch"!==n.openType)return`${Bd} locked`;__uniConfig.ready&&(Bd=t)}else if(r.meta.isTabBar){const e=lf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const jd={formatArgs:{title:"",mask:!1}},Fd=(Boolean,{beforeInvoke(){_l()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=ml();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=ml();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Vd=["success","loading","none","error"],Hd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=gu(e,Vd)},image(e,t){t.image=e?kf(e):""},duration:1500,mask:!1}});function Dd(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Wd(){const e=af().keys();for(const t of e)uf(t)}const zd=Hu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(tf.handledBeforeEntryPageRoutes)return Wd(),Ud({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);sf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Nd("reLaunch"));function Ud({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=pp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Se(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++df,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(Sa(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new ke(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function Xd(){if(tf.handledBeforeEntryPageRoutes)return;tf.handledBeforeEntryPageRoutes=!0;const e=[...nf];nf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Ud(e).then(t).catch(n)));const t=[...of];of.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=mc();if(!e)return;const t=af(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:uf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,bc(e,"onHide"))}(),Ud(e,function(e){const t=af().values();for(const n of t){const t=ef(n);if(Dd(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...rf];rf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=fc();if(!e)return;const t=ef(e);uf(pf(t.path,t.id))}(),Ud(e).then(t).catch(n))));const o=[...sf];sf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Wd(),Ud(e).then(t).catch(n))))}function Yd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Gd=Yd("top:env(a)"),Kd=Yd("top:constant(a)"),Zd=(()=>Gd?"env":Kd?"constant":"")();function Jd(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),ec({"--window-top":(o=t,Zd?`calc(${o}px + ${Zd}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,Zd?`calc(${n}px + ${Zd}(safe-area-inset-bottom))`:`${n}px`)})}const Qd=new Map;function ef(e){return e.$page}const tf={handledBeforeEntryPageRoutes:!1},nf=[],of=[],rf=[],sf=[];function af(){return Qd}function lf(){return cf()}function cf(){const e=[],t=Qd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function uf(e,t=!0){const n=Qd.get(e);n.$.__isUnload=!0,bc(n,"onUnload"),Qd.delete(e),t&&function(e){const t=mf.get(e);t&&(mf.delete(e),gf.pruneCacheEntry(t))}(e)}let df=pu();function ff(e){const t=du();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:a}=o,l=Re(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:de(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function hf(e){const t=ff(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Qd.set(pf(t.path,t.id),e),1===Qd.size&&setTimeout((()=>{Xd()}),0)}function pf(e,t){return e+"$$"+t}const mf=new Map,gf={get:e=>mf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;gf.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(gf.delete(n),gf.pruneCacheEntry(e),kn((()=>{Qd.forEach(((e,t)=>{e.$.isUnmounted&&Qd.delete(t)}))})))}))}(e),mf.set(e,t)},delete(e){mf.get(e)&&mf.delete(e)},forEach(e){mf.forEach(e)}};function vf(e,t){!function(e){const t=bf(e),{body:n}=document;_f&&n.removeAttribute(_f),t&&n.setAttribute(t,""),_f=t}(e),Jd(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),Sf(e,t)}function yf(e){const t=bf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function bf(e){return e.type.__scopeId}let _f;const wf=!!(()=>{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 xf;function Sf(e,t){if(document.removeEventListener("touchmove",_c),xf&&document.removeEventListener("scroll",xf),t.disableScroll)return document.addEventListener("touchmove",_c,wf);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=ef(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Tm.publishHandler("onPageScroll",{scrollTop:o},e),n&&Tm.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Tm.publishHandler("onReachBottom",{},s)),xf=Sc(i),requestAnimationFrame((()=>document.addEventListener("scroll",xf)))}function Cf(e){const{base:t}=__uniConfig.router;return 0===de(e).indexOf(t)?de(e):t+e}function kf(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 Cf(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=cf();return o.length?Cf(Cc(ef(o[o.length-1]).route,e).slice(1)):e}const Tf=navigator.userAgent,Ef=/android/i.test(Tf),Of=/iphone|ipad|ipod/i.test(Tf),Lf=Tf.match(/Windows NT ([\d|\d.\d]*)/i),$f=/Macintosh|Mac/i.test(Tf),Af=/Linux|X11/i.test(Tf),Pf=$f&&navigator.maxTouchPoints>0,If=/OpenHarmony/i.test(Tf);function Rf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Bf(e){return e&&90===Math.abs(window.orientation)}function Mf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Nf(){const e=Rf();if(e){const t=Mf(e,Bf(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}function qf(e,t,n,o){Em.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function jf(e,t){const n={},{top:o,topWindowHeight:r}=Ql();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=ge(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(h(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(h(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Ff(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const Vf={};function Hf(e,t){const n=Vf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return function(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Df(e){for(const n in Vf)if(f(Vf,n)){if(Vf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Vf[t]=e,t}const Wf=Yc(),zf=Yc();const Uf=Jc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=rn(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=Ht({width:-1,height:-1});return eo((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){Oo(o),jo((()=>{t.initial&&kn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ri("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ri("div",{onScroll:r},[ri("div",null,null)],40,["onScroll"]),ri("div",{onScroll:r},[ri("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Xf=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Yf(e,t=!0){const n=t?Xf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Gf=!1;function Kf(){if(Gf)return;Gf=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=Xf,o*=Xf,r*=Xf,i*=Xf,s*=Xf,a*=Xf,l=u?l*Xf:l,c=u?c*Xf:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==Xf&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*Xf}));else if(Array.isArray(e))for(let t=0;tKf()));function Jf(e){return e?kf(e):e}function Qf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function eh(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let th;function nh(e=0,t=0){return th||(th=document.createElement("canvas")),th.width=e,th.height=t,th}const oh=Jc({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Zf();const o=rn(null),r=rn(null),i=rn(null),s=rn(!1),a=function(e){return(t,n)=>{e(t,Pc(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=Ph({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=Ei((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=c({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];i[t]&&o.push(eu((e=>{const o=e.currentTarget.getBoundingClientRect();eh(o,e.touches),eh(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(Gl),i[t]=o})),i}));return{_listeners:o}}(e,d,a),{_handleSubscribe:p,_resize:m}=function(e,t,n){let o=[],r={};const i=Ei((()=>e.hidpi?Xf:1));function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);Yf(o,e.hidpi),t.putImageData(n,0,0)}else Yf(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,c=a.getContext("2d");i||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=Jf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=Jf(o),n[1]=o),o&&!r[o]&&i()}))}function u(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const h=t.value;let p;const m=h.offsetWidth-e;o=o?Math.min(o,m):m;const g=h.offsetHeight-n;r=r?Math.min(r,g):g,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=nh(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)p=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);p=Array.prototype.slice.call(e.data)}b={data:p,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}function f({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=nh(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function h({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f))}const p={actionsChanged:a,getImageData:d,putImageData:f,toTempFilePath:h};function m(e,t,n){let o=p[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(p,{_resize:s,_handleSubscribe:m})}(e,r,s);return function(e,t,n,o){const r=gi().proxy;o=null==o?uc():o,jo((()=>{zh(t||Wh(r),e,o),!n&&t||eo((()=>r.id),((t,n)=>{zh(Wh(r,t),e,o),Uh(n&&Wh(r,n))}))})),Ho((()=>{Uh(t||Wh(r),o)}))}(p,function(e){const t=uc(),n=gi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Xh++;return jo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(e.canvasId),!0),jo((()=>{m()})),()=>{const{canvasId:t,disableScroll:s}=e;return ri("uni-canvas",di({ref:o,"canvas-id":t,"disable-scroll":s},l.value,u.value,h.value),[ri("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),ri("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),ri(Uf,{ref:i,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function rh(){}const ih={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function sh(e,t,n){function o(e){const t=Ei((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",rh,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",rh,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}eo((()=>t.value),(e=>e&&o(e)))}const ah={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},lh={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},ch={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},uh=Jc({name:"Image",props:ah,setup(e,{emit:t}){const n=rn(null),o=function(e,t){const n=rn(""),o=Ei((()=>{let e="auto",o="";const r=ch[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Ht({rootEl:e,src:Ei((()=>t.src?kf(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return jo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=tu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=lh[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){dh&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return eo((()=>t.mode),((e,t)=>{lh[t]&&r(),lh[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),kn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};eo((()=>e.src),(e=>l(e))),eo((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),jo((()=>l(e.src))),Ho((()=>c()))}(o,e,n,i,r),()=>ri("uni-image",{ref:n},[ri("div",{style:o.modeStyle},null,4),lh[e.mode]?ri(Uf,{onResize:i},null,8,["onResize"]):ri("span",null,null)],512)}});const dh="Google Inc."===navigator.vendor;const fh=ye(!0),hh=[];let ph=0,mh=!1;const gh=e=>hh.forEach((t=>t.userAction=e));function vh(){const e=Ht({userAction:!1});return jo((()=>{!function(e={userAction:!1}){mh||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!ph&&gh(!0),ph++,setTimeout((()=>{!--ph&&gh(!1)}),0)}),fh)})),mh=!0);hh.push(e)}(e)})),Ho((()=>{!function(e){const t=hh.indexOf(e);t>=0&&hh.splice(t,1)}(e)})),{state:e}}function yh(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function bh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const _h=["none","text","decimal","numeric","tel","search","email","url"],wh=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~_h.indexOf(e)},cursorColor:{type:String,default:""}},ih),xh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Sh(e,t,n,o,r){let i=null,s=null;s=Ce((n=>{const o=r.value,s=bh(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),eo((()=>e.modelValue),s),eo((()=>e.value),s);const a=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return qo((()=>{s.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function Ch(e,t){vh();const n=Ei((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}eo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),jo((()=>{n.value&&kn(o)}))}function kh(e,t,n,o){kl(pc(),"getSelectedTextRange",yh);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=rn(null),r=tu(t,n),i=Ei((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ei((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ei((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ei((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=bh(e.modelValue,e.type)||bh(e.value,e.type);const u=Ht({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return eo((()=>u.focus),(e=>n("update:focus",e))),eo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Sh(e,i,n,s,r);Ch(e,r),sh(0,r);const{state:l}=function(){const e=Ht({attrs:{}});return jo((()=>{let t=gi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=br(iu,!1);if(!n)return;const o=gi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Ho((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}eo([()=>t.selectionStart,()=>t.selectionEnd],s),eo((()=>t.cursor),a),eo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Th=fe((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Eh(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Th()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Oh(e){return"insertFromPaste"===e.inputType}const Lh=Jc({name:"Input",props:c({},wh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...xh],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ei((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ei((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),a=Ei((()=>{if(void 0!==e.inputmode)return e.inputmode;if(_h.includes(e.type))return e.type;return{number:"numeric",digit:"decimal",idcard:"text"}[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=rn(null!=t?t.toLocaleString():"");return eo((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),eo((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return rn("")}(e,i),c={fn:null};const u=rn(null),{fieldRef:d,state:f,scopedAttrsState:h,fixDisabledColor:p,trigger:m}=kh(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=Eh(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=Eh(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Oh(e))return n.value=l.value=t.value,!1}}));eo((()=>f.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),eo((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)}));const g=["number","digit"],v=Ei((()=>g.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),m("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?ri("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):ri("input",{key:"input",ref:d,value:f.value,onInput:ws((e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?Oh(e)&&(f.value=t.slice(0,f.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(f.value=t)}),["stop"]),disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ri("uni-input",{ref:u},[ri("div",{class:"uni-input-wrapper"},[io(ri("div",di(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Gi,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?ri("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const $h=["class","style"],Ah=/^on[A-Z]+/,Ph=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=gi(),r=sn({}),i=sn({}),s=sn({}),a=n.concat($h);return o.attrs=Ht(o.attrs),Jn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Ah.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}},Ih=function(e,t,n,o){e.addEventListener(t,(e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Rh,Bh;const Mh=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=rn(null),o=Ei((()=>{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=Ei((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return ri("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ri("div",{class:"uni-scroll-view-refresh"},[ri("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ri("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"},[ri("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),ri("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ri("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ri("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ri("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Nh=ye(!0),qh=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=rn(null),i=rn(null),s=rn(null),a=rn(null),l=tu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ei((()=>Number(e.scrollTop)||0)),n=Ei((()=>Number(e.scrollLeft)||0));return{state:Ht({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:h,_scrollLeftChanged:p,_scrollTopChanged:m}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=Ei((()=>e.scrollX)),p=Ei((()=>e.scrollY)),m=Ei((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),g=Ei((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.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){p.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){h.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(p.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:k.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:k.y-C.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:k.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},k={x:0,y:e.refresherThreshold};return jo((()=>{kn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-C.x)>Math.abs(i-C.y))if(h.value){if(0===l.scrollLeft&&o>C.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oC.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),C={x:0,y:0},k={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Nh),s.value.addEventListener("touchmove",l,ye(!1)),s.value.addEventListener("scroll",i,ye(!1)),s.value.addEventListener("touchend",m,Nh),Ho((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",m)}))})),Oo((()=>{p.value&&(s.value.scrollTop=t.lastScrollTop),h.value&&(s.value.scrollLeft=t.lastScrollLeft)})),eo(n,(e=>{b(e)})),eo(o,(e=>{_(e)})),eo((()=>e.scrollIntoView),(e=>{w(e)})),eo((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:h,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),g=Ei((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ei((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return ri("uni-scroll-view",{ref:r},[ri("div",{ref:s,class:"uni-scroll-view"},[ri("div",{ref:i,style:g.value,class:v.value},[t?ri(Mh,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ri("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const jh=Jc({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=rn(null),o=rn(null),r=rn(null),i=rn(Number(e.value));i.valueNumber(e.max)&&(i.value=Number(e.max)),eo((()=>e.value),(e=>{i.value=Number(e)}));const s=tu(n,t),a=function(e,t){const n=()=>{return n=t.value,o=e.min,r=e.max,r=Number(r),o=Number(o),100*(n-o)/(r-o)+"%";var n,o,r},o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",r=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9";return{setBgColor:Ei((()=>({backgroundColor:o()}))),setBlockBg:Ei((()=>({left:n()}))),setActiveColor:Ei((()=>({backgroundColor:r(),width:n()}))),setBlockStyle:Ei((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))}}(e,i),{_onClick:l,_onTrack:c}=function(e,t,n,o,r){const i=Ei((()=>{const t=Number(e.step);return isNaN(t)?1:t})),s=n=>{e.disabled||(l(n),r("change",n,{value:t.value}))},a=(e,t,n)=>Math.round((n-e)/t)*t+e,l=r=>{const s=Number(e.max),l=Number(e.min),c=o.value,u=getComputedStyle(c,null).marginLeft;let d=c.offsetWidth;d+=parseInt(u);const f=n.value,h=f.offsetWidth-(e.showValue?d:0),p=f.getBoundingClientRect().left,m=(r.x-p)/h,g=(i.value+"").split(".")[1];t.value=parseFloat(a(l,i.value,function(e,t,n){return n=Math.min(1,Math.max(0,n)),e*(1-n)+t*n}(l,s,m)).toFixed(g?g.length:0))},c=n=>{if(!e.disabled)return"move"===n.detail.state?(l({x:n.detail.x}),r("changing",n,{value:t.value}),!1):"end"===n.detail.state&&r("change",n,{value:t.value})},u=br(iu,!1);if(u){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};u.addField(n),Ho((()=>{u.removeField(n)}))}return{_onClick:s,_onTrack:c}}(e,i,n,o,s);return jo((()=>{!function(e,t,n){Ho((()=>{document.removeEventListener("mousemove",Rh),document.removeEventListener("mouseup",Bh)}));let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Ih(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),Ih(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),Ih(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Rh=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Ih(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=Bh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),Ih(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}(r.value,c)})),()=>{const{setBgColor:t,setBlockBg:s,setActiveColor:c,setBlockStyle:u}=a;return ri("uni-slider",{ref:n,onClick:eu(l)},[ri("div",{class:"uni-slider-wrapper"},[ri("div",{class:"uni-slider-tap-area"},[ri("div",{style:t.value,class:"uni-slider-handle-wrapper"},[ri("div",{ref:r,style:s.value,class:"uni-slider-handle"},null,4),ri("div",{style:u.value,class:"uni-slider-thumb"},null,4),ri("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),io(ri("span",{ref:o,class:"uni-slider-value"},[i.value],512),[[Gi,e.showValue]])])],8,["onClick"])}}});const Fh={ensp:" ",emsp:" ",nbsp:" "};function Vh(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Fh[t]&&" "===i&&(i=Fh[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Fh.nbsp).replace(/ /g,Fh.ensp).replace(/ /g,Fh.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Hh=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=rn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Hr){let n=[];n=Vh(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(si(e)),t!==r&&o.push(ri("br"))}))}else o.push(t)})),ri("uni-text",{ref:n,selectable:!!e.selectable||null},[ri("span",null,o)],8,["selectable"])}}}),Dh=Jc({name:"View",props:c({},nu),setup(e,{slots:t}){const n=rn(null),{hovering:o,binding:r}=ou(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ri("uni-view",di({class:o.value?i:"",ref:n},r),[Go(t,"default")],16):ri("uni-view",{ref:n},[Go(t,"default")],512)}}});function Wh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function zh(e,t,n){e&&kl(n||pc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Uh(e,t){e&&function(e,t){t=Cl(e,t),delete Sl[t]}(t||pc(),e)}let Xh=0;function Yh(e,t,n,o){g(t)&&Mo(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&&!g(t))&&(Ee.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach((e=>Yh(o,e,n,t))):Yh(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,bc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&bc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function Kh(e,t,n){Gh(e,t,n)}function Zh(e,t,n){return e[t]=n}function Jh(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Qh(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?bc(i.proxy,"onError",n):mn(n,0,o&&o.$.vnode,!1)}}function ep(e,t){return e?[...new Set([].concat(e,t))]:t}function tp(e){const t=e.config;var n;t.errorHandler=Le(e,Qh),n=t.optionMergeStrategies,Ee.forEach((e=>{n[e]=ep}));const o=t.globalProperties;o.$set=Zh,o.$applyOptions=Kh,o.$callMethod=Jh,function(e){Oe.forEach((t=>t(e)))}(e)}function np(e){const t=nl({history:ip(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:rp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(op[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let op=Object.create(null);const rp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,op[o]);if(t)return t}return{left:0,top:0};var o};function ip(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),va(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=cf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=ef(t[r]);uf(pf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const sp={install(e){tp(e),Mc(e),Xc(e),e.config.warnHandler||(e.config.warnHandler=ap),np(e)}};function ap(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 lp={class:"uni-async-loading"},cp=ri("i",{class:"uni-loading"},null,-1),up=Qc({name:"AsyncLoading",render:()=>(Ur(),Zr("div",lp,[cp]))});function dp(){window.location.reload()}const fp=Qc({name:"AsyncError",props:["error"],setup(){vl();const{t:e}=ml();return()=>ri("div",{class:"uni-async-error",onClick:dp},[e("uni.async.error")],8,["onClick"])}});let hp;function pp(){return hp}function mp(e){hp=e,Object.defineProperty(hp.$.ctx,"$children",{get:()=>cf().map((e=>e.$vm))});const t=hp.$.appContext.app;t.component(up.name)||t.component(up.name,up),t.component(fp.name)||t.component(fp.name,fp),function(e){e.$vm=e,e.$mpType="app";const t=rn(ml().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(hp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(hp),zc(),Tc()}function gp(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=gi();if(o(n.proxy),r(n),a)return a(e,t)},e}function vp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?gp(e.default,t):gp(e,t)}function yp(e,t){return vp(e,{type:"page",clone:!0,init:hf,setup(e){e.$pageInstance=e;const t=hu(),n=we(t.query);e.attrs.__pageQuery=n,ef(e.proxy).options=n,e.proxy.options=n;const o=du();var r;Jd(o),e.onReachBottom=Ht([]),e.onPageScroll=Ht([]),eo([e.onReachBottom,e.onPageScroll],(()=>{const t=fc();e.proxy===t&&Sf(e,o)}),{once:!0}),qo((()=>{vf(e,o)})),jo((()=>{yf(e);const{onReady:n}=e;n&&R(n),xp(t)})),$o((()=>{if(!e.__isVisible){vf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),kn((()=>{xp(t)}))}}),"ba",r),function(e,t){$o(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}}));const i=yc(e.proxy);return function(e,t){Tm.subscribe(Cl(e,"invokeViewApi"),Tl)}(i),Ho((()=>{!function(e){Tm.unsubscribe(Cl(e,"invokeViewApi")),Object.keys(Sl).forEach((t=>{0===t.indexOf(e+".")&&delete Sl[t]}))}(i)})),n}})}function bp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Rp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Em.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function _p(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Em.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function wp(){const{emit:e}=Em;"visible"===document.visibilityState?e("onAppEnterForeground",c({},zf)):e("onAppEnterBackground")}function xp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&bc("onTabItemTap",{index:n,text:t,pagePath:o})}const Sp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Cp;function kp(){if(Cp=Cp||Sp.__DC_STAT_UUID,!Cp){Cp=Date.now()+""+Math.floor(1e7*Math.random());try{Sp.__DC_STAT_UUID=Cp}catch(e){}}return Cp}function Tp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ep(){let e,t="0",n="",o="phone";const r=navigator.language;if(Of){e="iOS";const o=Tf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=t.split(".")[0];if(Number(r)>=18){const e=Tf.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const i=Tf.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Ef){e="Android";const o=Tf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Tf.match(/\((.+?)\)/),i=r?r[1].split(";"):Tf.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Rf(),n=Bf(t),o=Mf(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Nf();let s=window.innerHeight;const a=Yl.top,l={left:Yl.left,right:i-Yl.right,top:Yl.top,bottom:s-Yl.bottom,width:i-Yl.left-Yl.right,height:s-Yl.top-Yl.bottom},{top:c,bottom:u}=Ql();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Yl.top,right:Yl.right,bottom:Yl.bottom,left:Yl.left},screenTop:r-s}}));let Lp,$p=!0;function Ap(){$p&&(Lp=Ep())}const Pp=Vu(0,(()=>{Ap();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Lp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:kp(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})})),Ip=Vu(0,(()=>{Ap();const{theme:e,language:t,browserName:n,browserVersion:o}=Lp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Sd?Sd():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:""},{})})),Rp=Vu(0,(()=>{$p=!0,Ap(),$p=!1;const e=Op(),t=Pp(),n=Ip();$p=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Lp,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l})),Bp=Vu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));const Mp=Hu("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e}),0,kd),Np={esc:["Esc","Escape"],enter:["Enter"]},qp=Object.keys(Np);const jp=ri("div",{class:"uni-mask"},null,-1);function Fp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Cs(bo({setup:()=>()=>(Ur(),Zr(e,t,null,16))}))}function Vp(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Hp(e,{onEsc:t,onEnter:n}){const o=rn(e.visible),{key:r,disable:i}=function(){const e=rn(""),t=rn(!1),n=n=>{if(t.value)return;const o=qp.find((e=>-1!==Np[e].indexOf(n.key)));o&&(e.value=o),kn((()=>e.value=""))};return jo((()=>{document.addEventListener("keyup",n)})),Ho((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return eo((()=>e.visible),(e=>o.value=e)),eo((()=>o.value),(e=>i.value=!e)),Jn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Dp=Fu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const h=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(!n)return"string";if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===h)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===h){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let p;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;p=new zp(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},h=setTimeout((function(){p.abort(),u("timeout",{errCode:5})}),l);f.signal.addEventListener("abort",(function(){clearTimeout(h),u("abort",{errCode:600003})})),window.fetch(e,f).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=Wp(s);if(p._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Xp(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),p._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;p=new zp(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,p.abort(),u("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Xp(n,i,r)),c({data:n,statusCode:e,header:Up(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return p}),0,Ld),Wp=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{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 Up(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function Xp(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}const Yp=[],Gp={open:"",close:"",error:"",message:""};class Kp{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:r}=t,i="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${A(e)} callback function\n`,n)}})),this===Yp[0]&&Gp[e]&&Em.invokeOnCallback(Gp[e],i),"error"===e||"close"===e){const e=Yp.indexOf(this);e>=0&&Yp.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(r){o=r}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw he(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),he(e,"sendSocketMessage:ok")}catch(o){he(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;v(o)?t.close(n,o):t.close(n),he(e,"closeSocket:ok")}catch(n){he(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const Zp=Fu("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new Kp(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(Yp.push(t),n())}))),0,$d),Jp=Hu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===bc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(pp().$router.go(-e.delta),t()):n("onBackPress")}),0,Id),Qp=Hu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(tf.handledBeforeEntryPageRoutes)return Ud({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);nf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Pd);function em(e){__uniConfig.darkmode&&Em.on("onThemeChange",e)}function tm(e){Em.off("onThemeChange",e)}function nm(e){let t={};return __uniConfig.darkmode&&(t=Re(e,__uniConfig.themeConfig,Tp())),__uniConfig.darkmode?t:e}const om={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},rm=bo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=rn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Hp(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=rn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=om[e].cancelColor})(e,t)};return Jn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Tp()&&n({theme:"dark"}),em(n))):tm(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ri(Bi,{name:"uni-fade"},{default:()=>[io(ri("uni-modal",{onTouchmove:Gl},[jp,ri("div",{class:"uni-modal"},[t?ri("div",{class:"uni-modal__hd"},[ri("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ri("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ri("div",{class:"uni-modal__bd",onTouchmovePassive:Kl,textContent:o},null,40,["onTouchmovePassive","textContent"]),ri("div",{class:"uni-modal__ft"},[l&&ri("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ri("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Gi,s.value]])]})}}});let im;const sm=fe((()=>{Em.on("onHidePopup",(()=>im.visible=!1))}));let am;function lm(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&im.editable&&(o.content=t),am&&am(o)}const cm=Hu("showModal",((e,{resolve:t})=>{sm(),am=t,im?(c(im,e),im.visible=!0):(im=Ht(e),kn((()=>(Fp(rm,im,lm).mount(Vp("u-a-m")),kn((()=>im.visible=!0))))))}),0,Fd),um={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Vd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},dm={light:"#fff",dark:"rgba(255,255,255,0.9)"},fm=e=>dm[e],hm=bo({name:"Toast",props:um,setup(e){yl(),bl();const{Icon:t}=function(e){const t=rn(fm(Tp())),n=({theme:e})=>t.value=fm(e);Jn((()=>{e.visible?em(n):tm(n)}));return{Icon:Ei((()=>{switch(e.icon){case"success":return ri(cc(sc,t.value,38),{class:"uni-toast__icon"});case"error":return ri(cc(ac,t.value,38),{class:"uni-toast__icon"});case"loading":return ri("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Hp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ri(Bi,{name:"uni-fade"},{default:()=>[io(ri("uni-toast",{"data-duration":r},[o?ri("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Gl},null,40,["onTouchmove"]):"",s||t.value?ri("div",{class:"uni-toast"},[s?ri("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ri("p",{class:"uni-toast__content"},[i])]):ri("div",{class:"uni-sample-toast"},[ri("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Gi,n.value]])]})}}});let pm,mm,gm="";const vm=qe();function ym(e){pm?c(pm,e):(pm=Ht(c(e,{visible:!1})),kn((()=>{vm.run((()=>{eo([()=>pm.visible,()=>pm.duration],(([e,t])=>{if(e){if(mm&&clearTimeout(mm),"onShowLoading"===gm)return;mm=setTimeout((()=>{Sm("onHideToast")}),t)}else mm&&clearTimeout(mm)}))})),Em.on("onHidePopup",(()=>Sm("onHidePopup"))),Fp(hm,pm,(()=>{})).mount(Vp("u-a-t"))}))),setTimeout((()=>{pm.visible=!0}),10)}const bm=Hu("showToast",((e,{resolve:t,reject:n})=>{ym(e),gm="onShowToast",t()}),0,Hd),_m={icon:"loading",duration:1e8,image:""},wm=Hu("showLoading",((e,{resolve:t,reject:n})=>{c(e,_m),ym(e),gm="onShowLoading",t()}),0,jd),xm=Hu("hideLoading",((e,{resolve:t,reject:n})=>{Sm("onHideLoading"),t()}));function Sm(e){const{t:t}=ml();if(!gm)return;let n="";if("onHideToast"===e&&"onShowToast"!==gm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==gm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);gm="",setTimeout((()=>{pm.visible=!1}),10)}function Cm(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Em.emit("onNavigationBarChange",{titleText:t})}Jn(t),Oo(t)}const km=Qc({name:"Layout",setup(e,{emit:t}){const n=rn(null);ec({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=ol();return{routeKey:Ei((()=>pf("/"+e.meta.route,pu()))),isTabBar:Ei((()=>e.meta.isTabBar)),routeCache:gf}}(),{layoutState:r,windowState:i}=function(){hu();{const e=Ht({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return eo((()=>e.marginWidth),(e=>ec({"--window-margin":e+"px"}))),eo((()=>e.leftWindowWidth+e.marginWidth),(e=>{ec({"--window-left":e+"px"})})),eo((()=>e.rightWindowWidth+e.marginWidth),(e=>{ec({"--window-right":e+"px"})})),{layoutState:e,windowState:Ei((()=>({})))}}}();!function(e,t){const n=hu();function o(){const o=document.body.clientWidth,r=cf();let i={};if(r.length>0){i=ef(r[r.length-1]).meta}else{const e=kc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,kn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,kn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}eo([()=>n.path],o),jo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=rn(!1);return Ei((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ri(tl,null,{default:Fn((({Component:o})=>[(Ur(),Zr(To,{matchBy:"key",cache:n},[(Ur(),Zr(Xn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ri("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Tm=c(El,{publishHandler(e,t,n){Em.subscribeHandler(e,t,n)}}),Em=c(jc,{publishHandler(e,t,n){Tm.subscribeHandler(e,t,n)}}),Om={none:"",forward:"M11 7.844q-0.25-0.219-0.25-0.578t0.25-0.578q0.219-0.25 0.563-0.25t0.563 0.25l9.656 9.125q0.125 0.125 0.188 0.297t0.063 0.328q0 0.188-0.063 0.359t-0.188 0.297l-9.656 9.125q-0.219 0.25-0.563 0.25t-0.563-0.25q-0.25-0.219-0.25-0.578t0.25-0.609l9.063-8.594-9.063-8.594z",back:lc,select:lc,share:"M26.563 24.844q0 0.125-0.109 0.234t-0.234 0.109h-17.938q-0.125 0-0.219-0.109t-0.094-0.234v-13.25q0-0.156 0.094-0.25t0.219-0.094h5.5v-1.531h-6q-0.531 0-0.906 0.391t-0.375 0.922v14.375q0 0.531 0.375 0.922t0.906 0.391h18.969q0.531 0 0.891-0.391t0.359-0.953v-5.156h-1.438v4.625zM29.813 10.969l-5.125-5.375-1.031 1.094 3.438 3.594-3.719 0.031q-2.313 0.188-4.344 1.125t-3.578 2.422-2.5 3.453-1.109 4.188l-0.031 0.25h1.469v-0.219q0.156-1.875 1-3.594t2.25-3.063 3.234-2.125 3.828-0.906l0.188-0.031 3.313-0.031-3.438 3.625 1.031 1.063 5.125-5.375-0.031-0.063 0.031-0.063z",favorite:"M27.594 13.375q-0.063-0.188-0.219-0.313t-0.344-0.156l-7.094-0.969-3.219-6.406q-0.094-0.188-0.25-0.281t-0.375-0.094q-0.188 0-0.344 0.094t-0.25 0.281l-3.125 6.438-7.094 1.094q-0.188 0.031-0.344 0.156t-0.219 0.313q-0.031 0.188 0.016 0.375t0.172 0.313l5.156 4.969-1.156 7.063q-0.031 0.188 0.047 0.375t0.234 0.313q0.094 0.063 0.188 0.094t0.219 0.031q0.063 0 0.141-0.031t0.172-0.063l6.313-3.375 6.375 3.313q0.063 0.031 0.141 0.047t0.172 0.016q0.188 0 0.344-0.094t0.25-0.281q0.063-0.094 0.078-0.234t-0.016-0.234q0-0.031 0-0.063l-1.25-6.938 5.094-5.031q0.156-0.156 0.203-0.344t-0.016-0.375zM11.469 19.063q0.031-0.188-0.016-0.344t-0.172-0.281l-4.406-4.25 6.063-0.906q0.156-0.031 0.297-0.125t0.203-0.25l2.688-5.531 2.75 5.5q0.063 0.156 0.203 0.25t0.297 0.125l6.094 0.844-4.375 4.281q-0.125 0.125-0.172 0.297t-0.016 0.328l1.063 6.031-5.438-2.813q-0.156-0.094-0.328-0.078t-0.297 0.078l-5.438 2.875 1-6.031z",home:"M23.719 16.5q-0.313 0-0.531 0.219t-0.219 0.5v7.063q0 0.219-0.172 0.391t-0.391 0.172h-12.344q-0.25 0-0.422-0.172t-0.172-0.391v-7.063q0-0.281-0.219-0.5t-0.531-0.219q-0.281 0-0.516 0.219t-0.234 0.5v7.063q0.031 0.844 0.625 1.453t1.438 0.609h12.375q0.844 0 1.453-0.609t0.609-1.453v-7.063q0-0.125-0.063-0.266t-0.156-0.234q-0.094-0.125-0.234-0.172t-0.297-0.047zM26.5 14.875l-8.813-8.813q-0.313-0.313-0.688-0.453t-0.781-0.141-0.781 0.141-0.656 0.422l-8.813 8.844q-0.188 0.219-0.188 0.516t0.219 0.484q0.094 0.125 0.234 0.172t0.297 0.047q0.125 0 0.25-0.047t0.25-0.141l8.781-8.781q0.156-0.156 0.406-0.156t0.406 0.156l8.813 8.781q0.219 0.188 0.516 0.188t0.516-0.219q0.188-0.188 0.203-0.484t-0.172-0.516z",menu:"M8.938 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM16.188 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM23.469 18.313q0.844 0 1.453-0.609t0.609-1.453-0.609-1.453-1.453-0.609q-0.875 0-1.484 0.609t-0.609 1.453 0.609 1.453 1.484 0.609z",close:"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"},Lm=Qc({name:"PageHead",setup(){const e=rn(null),t=du(),n=function(e,t){const n=Ut(e),o=n?Ht(nm(e)):nm(e);return __uniConfig.darkmode&&n&&eo(e,(e=>{const t=nm(e);for(const n in t)o[n]=t[n]})),t&&em(t),o}(t.navigationBar,(()=>{const e=nm(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=Ei((()=>{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=Ei((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n),i=function({id:e,navigationBar:t}){const n=[],o=[],{buttons:r}=t;if(h(r)){const{type:i}=t,s="transparent"===i,a=Object.create(null);r.forEach(((t,r)=>{if(t.fontSrc&&!t.fontFamily){const e=kf(t.fontSrc);let n=a[e];n||(n=`font${Date.now()}`,a[e]=n,qo((()=>nc("uni-btn-"+n,`@font-face{font-family: "${n}";src: url("${e}") format("truetype")}`)))),t.fontFamily=n}const i=function(e,t,n,o){const r={color:n.color,fontSize:n.fontSize,fontWeight:n.fontWeight};n.fontFamily&&(r.fontFamily=n.fontFamily);return new Proxy({btnClass:{"uni-page-head-btn":!0,"uni-page-head-btn-red-dot":!(!n.redDot&&!n.badgeText),"uni-page-head-btn-select":!!n.select},btnStyle:{backgroundColor:o?n.background:"transparent",width:n.width},btnText:"",btnIconPath:Om[n.type],badgeText:n.badgeText,iconStyle:r,onClick(){bc(e,"onNavigationBarButtonTap",c({index:t},n))},btnSelect:n.select},{get:(e,t,o)=>["btnText"].includes(t)?n.fontSrc&&n.fontFamily?n.text.replace("\\u","&#x"):n.text:Reflect.get(e,t,o)})}(e,r,t,s);"left"===t.float?n.push(i):o.push(i)}))}return{left:n,right:o}}(t);return()=>{const s=function(e,t){if(!t)return ri("div",{class:"uni-page-head-btn",onClick:Pm},[cc(lc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=$m(i.left),l=$m(i.right),c=n.type||"default",u="transparent"!==c&&"float"!==c&&ri("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ri("uni-page-head",{"uni-page-head-type":c},[ri("div",{ref:e,class:o.value,style:r.value},[ri("div",{class:"uni-page-head-hd"},[s,...a]),Am(n),ri("div",{class:"uni-page-head-ft"},[...l])],6),u],8,["uni-page-head-type"])}}});function $m(e){return e.map((({onClick:e,btnClass:t,btnStyle:n,btnText:o,btnIconPath:r,badgeText:i,iconStyle:s,btnSelect:a},l)=>ri("div",{key:l,class:t,style:n,onClick:e,"badge-text":i},[r?cc(r,s.color,s.fontSize):a?ri("span",{style:s},[ri("i",{class:"uni-btn-icon",innerHTML:o},null,8,["innerHTML"]),cc(Om.select,"#000",14)],4):ri("i",{class:"uni-btn-icon",style:s,innerHTML:o},null,12,["innerHTML"])],14,["onClick","badge-text"])))}function Am(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ri("div",{class:"uni-page-head-bd"},[ri("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ri("i",{class:"uni-loading"},null):r?ri("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Pm(){1===lf().length?zd({url:"/"}):Jp({from:"backbutton",success(){}})}const Im=Qc({name:"PageBody",setup(e,t){const n=rn(null),o=rn(null);return eo((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ri(Fr,null,[!1,ri("uni-page-wrapper",di({ref:n},o.value),[ri("uni-page-body",null,[Go(t.slots,"default")]),null],16)])}}),Rm=Qc({name:"Page",setup(e,t){let n=fu(pu());const o=n.navigationBar,r={};return Cm(n),()=>ri("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ri(Lm),Bm(t),null]:[Bm(t),null])}});function Bm(e){return Ur(),Zr(Im,{key:0},{default:Fn((()=>[Go(e.slots,"page")])),_:3})}const Mm={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Zu;const Nm=Object.assign({}),qm=Object.assign;window.__uniConfig=qm({globalStyle:{backgroundColor:"#fff",disableScroll:!0,navigationBar:{backgroundColor:"#4face1",titleText:"智能底盘导航",type:"default",titleColor:"#333333"},isNVue:!1},uniIdRouter:{},compilerVersion:"5.07"},{appId:"__UNI__F0A0426",appName:"智能底盘导航",appVersion:"1.0.0",appVersionCode:"100",async:Mm,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(Nm).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return qm(e[n]||(e[n]={}),Nm[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const jm={delay:Mm.delay,timeout:Mm.timeout,suspensible:Mm.suspensible};Mm.loading&&(jm.loadingComponent={name:"SystemAsyncLoading",render:()=>ri(zn(Mm.loading))}),Mm.error&&(jm.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ri(zn(Mm.error),{error:this.error})}});const Fm=()=>t((()=>import("./pages-index-index.BYXTTbHJ.js")),__vite__mapDeps([0,1,2,3,4,5])).then((e=>yp(e.default||e))),Vm=wo(qm({loader:Fm},jm)),Hm=()=>t((()=>import("./pages-index-roboticArm.gp8YdUfR.js")),__vite__mapDeps([6,7,8])).then((e=>yp(e.default||e))),Dm=wo(qm({loader:Hm},jm)),Wm=()=>t((()=>import("./pages-index-motorInfo.BCzsBDPp.js")),__vite__mapDeps([9,7,10])).then((e=>yp(e.default||e))),zm=wo(qm({loader:Wm},jm)),Um=()=>t((()=>import("./pages-index-gj.Dtc9lGQT.js")),__vite__mapDeps([11,2,1,12])).then((e=>yp(e.default||e))),Xm=wo(qm({loader:Um},jm)),Ym=()=>t((()=>import("./pages-map-edit.CDPwtOeF.js")),__vite__mapDeps([13,2,3,4,14])).then((e=>yp(e.default||e))),Gm=wo(qm({loader:Ym},jm)),Km=()=>t((()=>import("./pages-index-test.D7H-3gaN.js")),__vite__mapDeps([15,16])).then((e=>yp(e.default||e))),Zm=wo(qm({loader:Km},jm)),Jm=()=>t((()=>import("./pages-map-add.FM3NltAw.js")),__vite__mapDeps([17,18])).then((e=>yp(e.default||e))),Qm=wo(qm({loader:Jm},jm)),eg=()=>t((()=>import("./pages-map-jxtest.D2p8nb3b.js")),__vite__mapDeps([19,20])).then((e=>yp(e.default||e))),tg=wo(qm({loader:eg},jm));function ng(e,t){return Ur(),Zr(Rm,null,{page:Fn((()=>[ri(e,qm({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Vm,t)}},loader:Fm,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"智能底盘导航",type:"default",buttons:[{text:"新建地图",fontSize:"14px",color:"#ffffff",background:"rgba(0,0,0,0)",type:"none"},{text:"配网",float:"left",fontSize:"14px",color:"#ffffff",background:"rgba(0,0,0,0)",type:"none"}]},isNVue:!1}},{path:"/pages/index/roboticArm",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Dm,t)}},loader:Hm,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"机械臂",type:"default"},isNVue:!1}},{path:"/pages/index/motorInfo",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(zm,t)}},loader:Wm,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"电机信息",type:"default"},isNVue:!1}},{path:"/pages/index/gj",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Xm,t)}},loader:Um,meta:{navigationBar:{titleText:"智能底盘导航",type:"default"},isNVue:!1}},{path:"/pages/map/edit",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Gm,t)}},loader:Ym,meta:{navigationBar:{titleText:"智能底盘导航",type:"default"},isNVue:!1}},{path:"/pages/index/test",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Zm,t)}},loader:Km,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"编辑地图",type:"default"},isNVue:!1}},{path:"/pages/map/add",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(Qm,t)}},loader:Jm,meta:{enablePullDownRefresh:!1,autoBackButton:!1,navigationBar:{titleText:"新建地图",type:"default"},isNVue:!1}},{path:"/pages/map/jxtest",component:{setup(){const e=pp(),t=e&&e.$route&&e.$route.query||{};return()=>ng(tg,t)}},loader:eg,meta:{navigationBar:{titleText:"智能底盘导航",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const og={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};vp(og,{init:mp,setup(e){const t=hu(),n=()=>{var n;n=e,Object.keys(Cd).forEach((e=>{Cd[e].forEach((t=>{Mo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(Wf,{path:e,query:t}),c(zf,Wf),c({},Wf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:we(t.query)});if(o&&R(o,s),r&&R(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:we(t.query),scene:1001};Xd(),i&&R(i,e)}};return br(Wa).isReady().then(n),jo((()=>{window.addEventListener("resize",Ce(bp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",_p),document.addEventListener("visibilitychange",wp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Em.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ur(),Zr(km));e.setup=(e,o)=>{const r=t&&t(e,o);return g(r)?n:r},e.render=n}});class rg{constructor(e,t){this.options=e,this.animation=xd({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],o={};if(o=n||{styles:{},config:{}},ig.includes(e)){o.styles.transform||(o.styles.transform="");let n="";"rotate"===e&&(n="deg"),o.styles.transform+=`${e}(${t+n}) `}else o.styles[e]=`${t}`;this.currentStepAnimates[this.next]=o}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((o,r)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{o()}))}))}_nvueNextAnimate(e,t=0,n){let o=e[t];if(o){let{styles:r,config:i}=o;this._animateRun(r,i).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const ig=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function sg(e,t){if(t)return clearTimeout(t.timer),new rg(e,t)}ig.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{rg.prototype[e]=function(...t){return this.animation[e](...t),this}}));const ag=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const lg=ag({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:0,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let e={...this.styles,"transition-duration":this.duration/1e3+"s"},t="";for(let n in e){t+=this.toLine(n)+":"+e[n]+";"}return t},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=sg(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){return this.animation?(Object.keys(e).forEach((t=>{const n=e[t];"function"==typeof this.animation[t]&&(Array.isArray(n)?this.animation[t](...n):this.animation[t](n))})),this.animation.step(t),this):this},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.isShow=!0,this.transform=this.styleInit(!1).transform||"",this.opacity=this.styleInit(!1).opacity||0,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=sg(this.config,this),this.tranfromInit(!1).step(),this.animation.run((()=>{this.transform="",this.opacity=this.styleInit(!1).opacity||1,this.$emit("change",{detail:this.isShow})}))}),80)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:"",opacity:1};const n=(e,n)=>{const o=this.animationType(e)[n];n.startsWith("fade")?t.opacity=o:t.transform+=o+" "};return"string"==typeof this.modeClass?n(e,this.modeClass):this.modeClass.forEach((t=>n(e,t))),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(e,t,n,o,r,i){const s=Dh;return io((Ur(),Zr(s,{ref:"ani",animation:r.animationData,class:ce(n.customClass),style:le(i.transformStyles),onClick:i.onClick},{default:Fn((()=>[Go(e.$slots,"default")])),_:3},8,["animation","class","style","onClick"])),[[Gi,r.isShow]])}]]),cg=Cs(og);cg.component("uni-transition",lg),{app:cg}.app.use(sp).mount("#app");export{Go as A,zn as B,Rp as C,Mp as D,Bp as E,Fr as F,Lh as I,qh as S,ag as _,Zr as a,ai as b,Kr as c,ri as d,Qp as e,vd as f,ud as g,cm as h,Dh as i,si as j,Yo as k,uh as l,Hh as m,le as n,Ur as o,cu as p,oh as q,Dp as r,bm as s,X as t,ce as u,jh as v,Fn as w,wm as x,xm as y,Zp as z};