| 123456789101112131415161718192021222324252627282930 |
- function __vite__mapDeps(indexes) {
- if (!__vite__mapDeps.viteFileDeps) {
- __vite__mapDeps.viteFileDeps = ["./pages-index-index.VUgSzq4k.js","./index.CkN7i2fg.js","./_plugin-vue_export-helper.BCo6x5W8.js","./u-icon.-KBhdZC3.js","./u-icon-BVD2JMie.css","./uni-app.es.BphbwsiZ.js","./index.Bby6XORc.js","./index.BVLT2762.js","./index-DbrqUxsP.css","./cart.B1ECWPtI.js","./index.Ejgyjzao.js","./index.DJGxOa1Y.js","./mp-html.DotrT7pa.js","./mp-html-BuBTkKQ9.css","./myCoupon.xQB9E8Lw.js","./index-DfOS8cNv.css","../config.js","./index-CrCSrjZc.css","./pages-category-index.DCGd-agH.js","./index.BuKMdhGs.js","./index-DTNSSDrV.css","./index.D_3MkUmI.js","./index-Bq4AMFfm.css","./mescroll-mixins.BO93TJd-.js","./mescroll-mixins-Fq7Vr4Up.css","./index-CsFWTW3v.css","./pages-cart-index.D3jFY_5y.js","./index-CSCo7rbZ.css","./pages-user-index.DCviOTg7.js","./index.xD-imUXR.js","./index-BatsFtxP.css","./user.CHXC6lKF.js","./order.Bkwa-d-b.js","./index-BPJqjNXZ.css","./pages-custom-index.BX4oKR-U.js","./index-D7pGCOzP.css","./pages-search-index.-AbMgcso.js","./index-DPuCw0tH.css","./pages-login-index.BR6IRfE8.js","./captcha.BCT7zBto.js","./verify.ekddqBdo.js","./upload.7mDP2xs3.js","./index-BqHt4ckf.css","./pages-user-bind-index.C7Ruoz1c.js","./index-DZIJm0uT.css","./pages-user-personal-index.B5wSgZhp.js","./u-form.tBBcXCwJ.js","./emitter.DrjJCwnj.js","./u-form-Dh5Ofwc8.css","./index-DzSVOqsT.css","./pages-article-index.Bbb9dUXL.js","./u-tabs.CzlSTpq9.js","./u-tabs-Cwysgl2L.css","./index.Bjm41Sal.js","./index-COjqDI6E.css","./pages-article-detail.B628fXnl.js","./detail-3cnDOYnx.css","./pages-help-index.Chz5o18H.js","./index-Dt5goJrl.css","./pages-coupon-index.BRz98htr.js","./CouponType.CgQoz4RE.js","./index-DRuzuQ3y.css","./pages-goods-list.ZmVc93d6.js","./list-BEC5qogH.css","./pages-goods-detail.CWdOwhuB.js","./comment.DEeuTQQg.js","./comment-CdMKZYMo.css","./u-popup.W9oi6ki8.js","./u-popup-C-2Ap_uE.css","./detail-DeN4ipe5.css","./pages-comment-index.BuG6eAEw.js","./index-B6lq4lEM.css","./pages-my-coupon-index.NZQRzR-E.js","./index-7NcSCEki.css","./pages-address-index.DmZsZmGU.js","./address.DaP-31Lp.js","./index-DD_-vPHV.css","./pages-address-create.fKl5m8F5.js","./select-region.DbRmmdxV.js","./u-loading.DqBGVEVO.js","./u-loading-BOGmPlwX.css","./select-region-CZENxp8H.css","./create-Dc4CA3R4.css","./pages-address-update.Dvx5mJor.js","./update-O7rUldcf.css","./pages-points-log.Djo7hS8g.js","./log-ax6Nus95.css","./pages-wallet-index.Be8tiJtH.js","./index-UKd6FiDw.css","./pages-wallet-balance-log.B-rn-bRs.js","./log-DO49nRH3.css","./pages-wallet-recharge-index.D1SDwagz.js","./u-modal.DfLshIA1.js","./u-modal-BCGVDa4l.css","./Client.UVv_pAEC.js","./wechat.DR-KEwJV.js","./index-Bqq32Od9.css","./pages-wallet-recharge-order.BhK350dT.js","./order-DuW-kWtU.css","./pages-checkout-index.DqN3sCm8.js","./OrderType.CnZNGNEo.js","./index-_qOAW8go.css","./pages-checkout-cashier-index.EjMC2AYq.js","./index-j1S8v-ka.css","./pages-order-center.imY37P1u.js","./center-DwRQpX6v.css","./pages-order-index.B0VmoOKR.js","./index-CsvV8_zz.css","./pages-order-detail.JET_ldYQ.js","./detail-cGQ06mQJ.css","./pages-order-express-index.CcflhanH.js","./index-BTYSrLht.css","./pages-order-comment-index.C8eU3C5a.js","./index-pFHh8HNn.css","./pages-refund-index.BqLCKwDg.js","./refund.CdqJmCNQ.js","./index-DSbrdvV4.css","./pages-refund-detail.C6n9hPKc.js","./RefundType.BFIfilW1.js","./detail-Asd7Y6EM.css","./pages-refund-apply.DPW9B5Iv.js","./apply-DDhayJvM.css","./pages-web-view-index.D7R8f0If.js"]
- }
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
- }
- import{c as e}from"../config.js";!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 t={},n=function(e,n,o){let r=Promise.resolve();if(n&&n.length>0){const e=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in t)return;t[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let t=e.length-1;t>=0;t--){const o=e[t];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const s=document.createElement("link");return s.rel=r?"stylesheet":"modulepreload",r||(s.as="script",s.crossOrigin=""),s.href=n,a&&s.setAttribute("nonce",a),document.head.appendChild(s),r?new Promise(((e,t)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>e())).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 o(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const r={},i=[],a=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),h=Array.isArray,g=e=>"[object Map]"===T(e),m=e=>"[object Set]"===T(e),v=e=>"function"==typeof e,y=e=>"string"==typeof e,b=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,w=e=>(_(e)||v(e))&&v(e.then)&&v(e.catch),x=Object.prototype.toString,T=e=>x.call(e),S=e=>"[object Object]"===T(e),C=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},A=/-(\w)/g,M=E((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),P=/\B([A-Z])/g,O=E((e=>e.replace(P,"-$1").toLowerCase())),L=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=E((e=>e?`on${L(e)}`:"")),$=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},D=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const j=()=>N||(N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function q(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=y(o)?U(o):q(o);if(r)for(const e in r)t[e]=r[e]}return t}if(y(e)||_(e))return e}const z=/;(?![^(]*\))/g,F=/:([^]+)/,V=/\/\*[^]*?\*\//g;function U(e){const t={};return e.replace(V,"").split(z).forEach((e=>{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function H(e){let t="";if(y(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=H(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W=o("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}const X=e=>y(e)?e:null==e?"":h(e)||_(e)&&(e.toString===x||!v(e.toString))?JSON.stringify(e,G,2):String(e),G=(e,t)=>t&&t.__v_isRef?G(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:b(t)?K(t):!_(t)||h(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},Q=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),J=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Z=["list-item"].map((e=>"uni-"+e));function ee(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==Q.indexOf(t)||-1!==J.indexOf(t)}const te=["%","%"],ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/;function re(e){return 0===e.indexOf("/")}function ie(e){return re(e)?e:"/"+e}function ae(e){return re(e)?e.slice(1):e}function se(e,t){for(const n in t)e.style[n]=t[n]}function le(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const ce=e=>e>9?e:"0"+e;function ue({date:e=new Date,mode:t="date"}){return"time"===t?ce(e.getHours())+":"+ce(e.getMinutes()):e.getFullYear()+"-"+ce(e.getMonth()+1)+"-"+ce(e.getDate())}function de(e,t){e=e||{},y(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?v(e.success)&&e.success(t):v(e.fail)&&e.fail(t),v(e.complete)&&e.complete(t)}let pe;function fe(){return pe||(pe=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),pe)}function he(e){return e&&(e.appContext?e.proxy:e)}function ge(e){if(!e)return;let t=e.type.name;for(;t&&ee(O(t));)t=(e=e.parent).type.name;return e.proxy}function me(e){return 1===e.nodeType}function ve(e){const t=fe();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),q(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),q(t)}if(y(e))return U(e);if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=y(o)?U(o):ve(o);if(r)for(const e in r)t[e]=r[e]}return t}return q(e)}function ye(e){let t="";const n=fe();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach((n=>{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(h(e))for(let o=0;o<e.length;o++){const n=ye(e[o]);n&&(t+=n+" ")}else t=H(e);return t.trim()}function be(e){return M(e.substring(5))}const _e=le((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={}))[be(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[be(t)],o.call(this,t)}}));function we(e){return u({},e.dataset,e.__uniDataset)}const xe=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Te(e){return{passive:e}}function Se(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:we(e),offsetTop:n,offsetLeft:o}}function Ce(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ke(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Ce(e[n])}catch(o){t[n]=e[n]}})),t}const Ee=/\+/g;function Ae(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ee," ");let r=e.indexOf("="),i=Ce(r<0?e:e.slice(0,r)),a=r<0?null:Ce(e.slice(r+1));if(i in t){let e=t[i];h(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Me(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r);const i=()=>e.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Pe{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Oe=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Le=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];let Ie;const $e=[];const Re=le(((e,t)=>t(e))),De=function(){};De.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Be=De;const Ne={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function je(e,t,n){if(y(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 Ne?Ne[o]:o}return r}var o;return t}function qe(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const a=e[i];r[i]=S(a)?qe(a,t,n):h(a)?a.map((e=>S(e)?qe(e,t,n):je(o,e))):je(o,a,i)})),r):e}
- /**
- * @dcloudio/uni-h5-vue v3.4.21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let ze,Fe;class Ve{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ze,!e&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ze;try{return ze=this,e()}finally{ze=t}}}on(){ze=this}off(){ze=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Ue(e){return new Ve(e)}class He{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=ze){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Je();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ze()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ge,t=Fe;try{return Ge=!0,Fe=this,this._runnings++,We(this),this.fn()}finally{Ye(this),this._runnings--,Fe=t,Ge=e}}stop(){var e;this.active&&(We(this),Ye(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function We(e){e._trackId++,e._depsLength=0}function Ye(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Xe(e.deps[t],e);e.deps.length=e._depsLength}}function Xe(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ge=!0,Ke=0;const Qe=[];function Je(){Qe.push(Ge),Ge=!1}function Ze(){const e=Qe.pop();Ge=void 0===e||e}function et(){Ke++}function tt(){for(Ke--;!Ke&&ot.length;)ot.shift()()}function nt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Xe(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ot=[];function rt(e,t,n){et();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&ot.push(o.scheduler)))}tt()}const it=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},at=new WeakMap,st=Symbol(""),lt=Symbol("");function ct(e,t,n){if(Ge&&Fe){let t=at.get(e);t||at.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=it((()=>t.delete(n)))),nt(Fe,o)}}function ut(e,t,n,o,r,i){const a=at.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&h(e)){const e=Number(o);a.forEach(((t,n)=>{("length"===n||!b(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":h(e)?C(n)&&s.push(a.get("length")):(s.push(a.get(st)),g(e)&&s.push(a.get(lt)));break;case"delete":h(e)||(s.push(a.get(st)),g(e)&&s.push(a.get(lt)));break;case"set":g(e)&&s.push(a.get(st))}et();for(const l of s)l&&rt(l,4);tt()}const dt=o("__proto__,__v_isRef,__isVue"),pt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(b)),ft=ht();function ht(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=nn(this);for(let t=0,r=this.length;t<r;t++)ct(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(nn)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Je(),et();const n=nn(this)[t].apply(this,e);return tt(),Ze(),n}})),e}function gt(e){const t=nn(this);return ct(t,0,e),t.hasOwnProperty(e)}class mt{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?Wt:Ht:r?Ut:Vt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=h(e);if(!o){if(i&&f(ft,t))return Reflect.get(ft,t,n);if("hasOwnProperty"===t)return gt}const a=Reflect.get(e,t,n);return(b(t)?pt.has(t):dt(t))?a:(o||ct(e,0,t),r?a:un(a)?i&&C(t)?a:a.value:_(a)?o?Kt(a):Xt(a):a)}}class vt extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Zt(r);if(en(n)||Zt(n)||(r=nn(r),n=nn(n)),!h(e)&&un(r)&&!un(n))return!t&&(r.value=n,!0)}const i=h(e)&&C(t)?Number(t)<e.length:f(e,t),a=Reflect.set(e,t,n,o);return e===nn(o)&&(i?$(n,r)&&ut(e,"set",t,n):ut(e,"add",t,n)),a}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ut(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return b(t)&&pt.has(t)||ct(e,0,t),n}ownKeys(e){return ct(e,0,h(e)?"length":st),Reflect.ownKeys(e)}}class yt extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const bt=new vt,_t=new yt,wt=new vt(!0),xt=e=>e,Tt=e=>Reflect.getPrototypeOf(e);function St(e,t,n=!1,o=!1){const r=nn(e=e.__v_raw),i=nn(t);n||($(t,i)&&ct(r,0,t),ct(r,0,i));const{has:a}=Tt(r),s=o?xt:n?an:rn;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function Ct(e,t=!1){const n=this.__v_raw,o=nn(n),r=nn(e);return t||($(e,r)&&ct(o,0,e),ct(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function kt(e,t=!1){return e=e.__v_raw,!t&&ct(nn(e),0,st),Reflect.get(e,"size",e)}function Et(e){e=nn(e);const t=nn(this);return Tt(t).has.call(t,e)||(t.add(e),ut(t,"add",e,e)),this}function At(e,t){t=nn(t);const n=nn(this),{has:o,get:r}=Tt(n);let i=o.call(n,e);i||(e=nn(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?$(t,a)&&ut(n,"set",e,t):ut(n,"add",e,t),this}function Mt(e){const t=nn(this),{has:n,get:o}=Tt(t);let r=n.call(t,e);r||(e=nn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ut(t,"delete",e,void 0),i}function Pt(){const e=nn(this),t=0!==e.size,n=e.clear();return t&&ut(e,"clear",void 0,void 0),n}function Ot(e,t){return function(n,o){const r=this,i=r.__v_raw,a=nn(i),s=t?xt:e?an:rn;return!e&&ct(a,0,st),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function Lt(e,t,n){return function(...o){const r=this.__v_raw,i=nn(r),a=g(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?xt:t?an:rn;return!t&&ct(i,0,l?lt:st),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function It(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function $t(){const e={get(e){return St(this,e)},get size(){return kt(this)},has:Ct,add:Et,set:At,delete:Mt,clear:Pt,forEach:Ot(!1,!1)},t={get(e){return St(this,e,!1,!0)},get size(){return kt(this)},has:Ct,add:Et,set:At,delete:Mt,clear:Pt,forEach:Ot(!1,!0)},n={get(e){return St(this,e,!0)},get size(){return kt(this,!0)},has(e){return Ct.call(this,e,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Ot(!0,!1)},o={get(e){return St(this,e,!0,!0)},get size(){return kt(this,!0)},has(e){return Ct.call(this,e,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Ot(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Lt(r,!1,!1),n[r]=Lt(r,!0,!1),t[r]=Lt(r,!1,!0),o[r]=Lt(r,!0,!0)})),[e,n,t,o]}const[Rt,Dt,Bt,Nt]=$t();function jt(e,t){const n=t?e?Nt:Bt:e?Dt:Rt;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 qt={get:jt(!1,!1)},zt={get:jt(!1,!0)},Ft={get:jt(!0,!1)},Vt=new WeakMap,Ut=new WeakMap,Ht=new WeakMap,Wt=new WeakMap;function Yt(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=>T(e).slice(8,-1))(e))}function Xt(e){return Zt(e)?e:Qt(e,!1,bt,qt,Vt)}function Gt(e){return Qt(e,!1,wt,zt,Ut)}function Kt(e){return Qt(e,!0,_t,Ft,Ht)}function Qt(e,t,n,o,r){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=Yt(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function Jt(e){return Zt(e)?Jt(e.__v_raw):!(!e||!e.__v_isReactive)}function Zt(e){return!(!e||!e.__v_isReadonly)}function en(e){return!(!e||!e.__v_isShallow)}function tn(e){return Jt(e)||Zt(e)}function nn(e){const t=e&&e.__v_raw;return t?nn(t):e}function on(e){return Object.isExtensible(e)&&D(e,"__v_skip",!0),e}const rn=e=>_(e)?Xt(e):e,an=e=>_(e)?Kt(e):e;class sn{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 He((()=>e(this._value)),(()=>cn(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=nn(this);return e._cacheable&&!e.effect.dirty||!$(e._value,e._value=e.effect.run())||cn(e,4),ln(e),e.effect._dirtyLevel>=2&&cn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ln(e){var t;Ge&&Fe&&(e=nn(e),nt(Fe,null!=(t=e.dep)?t:e.dep=it((()=>e.dep=void 0),e instanceof sn?e:void 0)))}function cn(e,t=4,n){const o=(e=nn(e)).dep;o&&rt(o,t)}function un(e){return!(!e||!0!==e.__v_isRef)}function dn(e){return fn(e,!1)}function pn(e){return fn(e,!0)}function fn(e,t){return un(e)?e:new hn(e,t)}class hn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:nn(e),this._value=t?e:rn(e)}get value(){return ln(this),this._value}set value(e){const t=this.__v_isShallow||en(e)||Zt(e);e=t?e:nn(e),$(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:rn(e),cn(this,4))}}function gn(e){return un(e)?e.value:e}const mn={get:(e,t,n)=>gn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return un(r)&&!un(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function vn(e){return Jt(e)?e:new Proxy(e,mn)}function yn(e,t,n,o){try{return o?e(...o):e()}catch(r){_n(r,t,n)}}function bn(e,t,n,o){if(v(e)){const r=yn(e,t,n,o);return r&&w(r)&&r.catch((e=>{_n(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(bn(e[i],t,n,o));return r}function _n(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void yn(a,null,10,[e,r,i])}wn(e,n,r,o)}function wn(e,t,n,o=!0){console.error(e)}let xn=!1,Tn=!1;const Sn=[];let Cn=0;const kn=[];let En=null,An=0;const Mn=Promise.resolve();let Pn=null;function On(e){const t=Pn||Mn;return e?t.then(this?e.bind(this):e):t}function Ln(e){Sn.length&&Sn.includes(e,xn&&e.allowRecurse?Cn+1:Cn)||(null==e.id?Sn.push(e):Sn.splice(function(e){let t=Cn+1,n=Sn.length;for(;t<n;){const o=t+n>>>1,r=Sn[o],i=Dn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),In())}function In(){xn||Tn||(Tn=!0,Pn=Mn.then(Nn))}function $n(e,t,n=(xn?Cn+1:0)){for(;n<Sn.length;n++){const t=Sn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Sn.splice(n,1),n--,t()}}}function Rn(e){if(kn.length){const e=[...new Set(kn)].sort(((e,t)=>Dn(e)-Dn(t)));if(kn.length=0,En)return void En.push(...e);for(En=e,An=0;An<En.length;An++)En[An]();En=null,An=0}}const Dn=e=>null==e.id?1/0:e.id,Bn=(e,t)=>{const n=Dn(e)-Dn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nn(e){Tn=!1,xn=!0,Sn.sort(Bn);try{for(Cn=0;Cn<Sn.length;Cn++){const e=Sn[Cn];e&&!1!==e.active&&yn(e,null,14)}}finally{Cn=0,Sn.length=0,Rn(),xn=!1,Pn=null,(Sn.length||kn.length)&&Nn()}}function jn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||r;let i=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=o[e]||r;a&&(i=n.map((e=>y(e)?e.trim():e))),t&&(i=n.map(B))}let l,c=o[l=I(t)]||o[l=I(M(t))];!c&&a&&(c=o[l=I(O(t))]),c&&bn(c,e,6,qn(e,c,i));const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,bn(u,e,6,qn(e,u,i))}}function qn(e,t,n){if(1!==n.length)return n;if(v(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&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 zn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!v(e)){const o=e=>{const n=zn(e,t,!0);n&&(s=!0,u(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(h(i)?i.forEach((e=>a[e]=null)):u(a,i),_(e)&&o.set(e,a),a):(_(e)&&o.set(e,null),null)}function Fn(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,O(t))||f(e,t))}let Vn=null,Un=null;function Hn(e){const t=Vn;return Vn=e,Un=e&&e.type.__scopeId||null,t}function Wn(e,t=Vn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Zr(-1);const r=Hn(t);let i;try{i=e(...n)}finally{Hn(r),o._d&&Zr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Yn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Hn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=fi(d.call(t,e,p,i,h,f,g)),y=l}else{const e=t;0,v=fi(e.length>1?e(i,{attrs:l,slots:s,emit:u}):e(i,null)),y=t.props?l:Xn(l)}}catch(w){Gr.length=0,_n(w,e,1),v=ci(Yr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(c)&&(y=Gn(y,a)),_=ui(_,y))}return n.dirs&&(_=ui(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Hn(b),v}const Xn=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},Gn=(e,t)=>{const n={};for(const o in e)c(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Kn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Fn(n,i))return!0}return!1}function Qn(e,t){return eo("components",e,!0,t)||e}const Jn=Symbol.for("v-ndc");function Zn(e){return y(e)?eo("components",e,!1)||e:e||Jn}function eo(e,t,n=!0,o=!1){const r=Vn||_i;if(r){const n=r.type;if("components"===e){const e=Oi(n,!1);if(e&&(e===t||e===M(t)||e===L(M(t))))return n}const i=to(r[e]||n[e],t)||to(r.appContext[e],t);return!i&&o?n:i}}function to(e,t){return e&&(e[t]||e[M(t)]||e[L(M(t))])}const no=e=>e.__isSuspense;const oo=Symbol.for("v-scx");function ro(e,t){return so(e,null,t)}const io={};function ao(e,t,n){return so(e,t,n)}function so(e,t,{immediate:n,deep:o,flush:i,once:s,onTrack:l,onTrigger:c}=r){if(t&&s){const e=t;t=(...t)=>{e(...t),k()}}const u=_i,p=e=>!0===o?e:uo(e,!1===o?1:void 0);let f,g,m=!1,y=!1;if(un(e)?(f=()=>e.value,m=en(e)):Jt(e)?(f=()=>p(e),m=!0):h(e)?(y=!0,m=e.some((e=>Jt(e)||en(e))),f=()=>e.map((e=>un(e)?e.value:Jt(e)?p(e):v(e)?yn(e,u,2):void 0))):f=v(e)?t?()=>yn(e,u,2):()=>(g&&g(),bn(e,u,3,[_])):a,t&&o){const e=f;f=()=>uo(e())}let b,_=e=>{g=S.onStop=()=>{yn(e,u,4),g=S.onStop=void 0}};if(Ei){if(_=a,t?n&&bn(t,u,3,[f(),y?[]:void 0,_]):f(),"sync"!==i)return a;{const e=Cr(oo);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(io):io;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(o||m||(y?e.some(((e,t)=>$(e,w[t]))):$(e,w)))&&(g&&g(),bn(t,u,3,[e,w===io?void 0:y&&w[0]===io?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===i?T=x:"post"===i?T=()=>jr(x,u&&u.suspense):(x.pre=!0,u&&(x.id=u.uid),T=()=>Ln(x));const S=new He(f,a,T),C=ze,k=()=>{S.stop(),C&&d(C.effects,S)};return t?n?x():w=S.run():"post"===i?jr(S.run.bind(S),u&&u.suspense):S.run(),b&&b.push(k),k}function lo(e,t,n){const o=this.proxy,r=y(e)?e.includes(".")?co(o,e):()=>o[e]:e.bind(o,o);let i;v(t)?i=t:(i=t.handler,n=t);const a=Si(this),s=so(r,i.bind(o),n);return a(),s}function co(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function uo(e,t,n=0,o){if(!_(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),un(e))uo(e.value,t,n,o);else if(h(e))for(let r=0;r<e.length;r++)uo(e[r],t,n,o);else if(m(e)||g(e))e.forEach((e=>{uo(e,t,n,o)}));else if(S(e))for(const r in e)uo(e[r],t,n,o);return e}function po(e,t){if(null===Vn)return e;const n=Pi(Vn)||Vn.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,a,s,l=r]=t[i];e&&(v(e)&&(e={mounted:e,updated:e}),e.deep&&uo(a),o.push({dir:e,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function fo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(Je(),bn(l,n,8,[e.el,s,e,t]),Ze())}}const ho=Symbol("_leaveCb"),go=Symbol("_enterCb");const mo=[Function,Array],vo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mo,onEnter:mo,onAfterEnter:mo,onEnterCancelled:mo,onBeforeLeave:mo,onLeave:mo,onAfterLeave:mo,onLeaveCancelled:mo,onBeforeAppear:mo,onAppear:mo,onAfterAppear:mo,onAppearCancelled:mo},yo={name:"BaseTransition",props:vo,setup(e,{slots:t}){const n=wi(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ho((()=>{e.isMounted=!0})),Xo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&So(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Yr){i=e;break}const a=nn(e),{mode:s}=a;if(o.isLeaving)return wo(i);const l=xo(i);if(!l)return wo(i);const c=_o(l,a,o,n);To(l,c);const u=n.subTree,d=u&&xo(u);if(d&&d.type!==Yr&&!ri(l,d)){const e=_o(d,a,o,n);if(To(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},wo(i);"in-out"===s&&l.type!==Yr&&(e.delayLeave=(e,t,n)=>{bo(o,d)[String(d.key)]=d,e[ho]=()=>{t(),e[ho]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function bo(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 _o(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=bo(n,e),x=(e,t)=>{e&&bn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=m||s}t[ho]&&t[ho](!0);const i=w[_];i&&ri(e,i)&&i.el[ho]&&i.el[ho](),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 a=!1;const s=e[go]=t=>{a||(a=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[go]=void 0)};t?T(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[go]&&t[go](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const a=t[ho]=n=>{i||(i=!0,o(),x(n?g:f,[t]),t[ho]=void 0,w[r]===e&&delete w[r])};w[r]=e,p?T(p,[t,a]):a()},clone:e=>_o(e,t,n,o)};return S}function wo(e){if(Mo(e))return(e=ui(e)).children=null,e}function xo(e){return Mo(e)?e.children?e.children[0]:void 0:e}function To(e,t){6&e.shapeFlag&&e.component?To(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 So(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Hr?(128&a.patchFlag&&r++,o=o.concat(So(a.children,t,s))):(t||a.type!==Yr)&&o.push(null!=s?ui(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
- /*! #__NO_SIDE_EFFECTS__ */function Co(e,t){return v(e)?(()=>u({name:e.name},t,{setup:e}))():e}const ko=e=>!!e.type.__asyncLoader
- /*! #__NO_SIDE_EFFECTS__ */;function Eo(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=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)),s)return new Promise(((t,n)=>{s(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 Co({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=_i;if(l)return()=>Ao(l,e);const t=t=>{c=null,_n(t,e,13,!o)};if(a&&e.suspense||Ei)return d().then((t=>()=>Ao(t,e))).catch((e=>(t(e),()=>o?ci(o,{error:e}):null)));const s=dn(!1),u=dn(),p=dn(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&Mo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Ln(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?Ao(l,e):u.value&&o?ci(o,{error:u.value}):n&&!p.value?ci(n):void 0}})}function Ao(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=ci(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Mo=e=>e.type.__isKeepAlive;class Po{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 Oo={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=wi(),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 Po(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!ri(t,i)||"key"===e.matchBy&&t.key!==i.key?(No(o=t),u(o,n,s,!0)):i&&No(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach(((n,o)=>{const i=qo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(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,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),jr((()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&vi(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&zo(t.bda),c(e,p,null,1,s),jr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&vi(n,t.parent,e),t.isDeactivated=!0}),s)},ao((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Io(e,t))),t&&f((e=>!Io(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,jo(n.subTree))};return Ho(g),Yo(g),Xo((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=jo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&R(l.component.bda),No(l);const e=l.component.da;e&&jr(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!oi(o)||!(4&o.shapeFlag)&&!no(o.type))return i=null,o;let a=jo(o);const s=a.type,l=qo(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Io(c,l))||u&&l&&Io(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=ui(a),no(o.type)&&(o.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&To(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,no(o.type)?o:a}}},Lo=Oo;function Io(e,t){return h(e)?e.some((e=>Io(e,t))):y(e)?e.split(",").includes(t):"[object RegExp]"===T(e)&&e.test(t)}function $o(e,t){Do(e,"a",t)}function Ro(e,t){Do(e,"da",t)}function Do(e,t,n=_i){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Fo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Mo(e.parent.vnode)&&Bo(o,t,n,e),e=e.parent}}function Bo(e,t,n,o){const r=Fo(t,e,o,!0);Go((()=>{d(o[t],r)}),n)}function No(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jo(e){return no(e.type)?e.ssContent:e}function qo(e,t){if("name"===t){const t=e.type;return Oi(ko(e)?t.__asyncResolved||{}:t)}return String(e.key)}function zo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Fo(e,t,n=_i,o=!1){if(n){if(r=e,Oe.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;bn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Je();const r=Si(n),i=bn(t,n,e,o);return r(),Ze(),i});return o?i.unshift(a):i.push(a),a}var r}const Vo=e=>(t,n=_i)=>(!Ei||"sp"===e)&&Fo(e,((...e)=>t(...e)),n),Uo=Vo("bm"),Ho=Vo("m"),Wo=Vo("bu"),Yo=Vo("u"),Xo=Vo("bum"),Go=Vo("um"),Ko=Vo("sp"),Qo=Vo("rtg"),Jo=Vo("rtc");function Zo(e,t=_i){Fo("ec",e,t)}function er(e,t,n,o){let r;const i=n&&n[o];if(h(e)||y(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(_(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function tr(e,t,n={},o,r){if(Vn.isCE||Vn.parent&&ko(Vn.parent)&&Vn.parent.isCE)return"default"!==t&&(n.name=t),ci("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Qr();const a=i&&nr(i(n)),s=ni(Hr,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function nr(e){return e.some((e=>!oi(e)||e.type!==Yr&&!(e.type===Hr&&!nr(e.children))))?e:null}const or=e=>{if(!e)return null;if(ki(e)){return Pi(e)||e.proxy}return or(e.parent)},rr=u(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>or(e.parent),$root:e=>or(e.root),$emit:e=>e.emit,$options:e=>pr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Ln(e.update)})(e)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>lo.bind(e)}),ir=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),ar={get({_:e},t){const{ctx:n,setupState:o,data:i,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(ir(o,t))return s[t]=1,o[t];if(i!==r&&f(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return s[t]=3,a[t];if(n!==r&&f(n,t))return s[t]=4,n[t];lr&&(s[t]=0)}}const d=rr[t];let p,h;return d?("$attrs"===t&&ct(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r&&f(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:a}=e;return ir(i,t)?(i[t]=n,!0):o!==r&&f(o,t)?(o[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:a}},s){let l;return!!n[s]||e!==r&&f(e,s)||ir(t,s)||(l=a[0])&&f(l,s)||f(o,s)||f(rr,s)||f(i.config.globalProperties,s)},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 sr(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let lr=!0;function cr(e){const t=pr(e),n=e.proxy,o=e.ctx;lr=!1,t.beforeCreate&&ur(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:g,updated:m,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:C,renderTracked:k,renderTriggered:E,errorCaptured:A,serverPrefetch:M,expose:P,inheritAttrs:O,components:L,directives:I,filters:$}=t;if(u&&function(e,t,n=a){h(e)&&(e=mr(e));for(const o in e){const n=e[o];let r;r=_(n)?"default"in n?Cr(n.from||o,n.default,!0):Cr(n.from||o):Cr(n),un(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),s)for(const a in s){const e=s[a];v(e)&&(o[a]=e.bind(n))}if(r){const t=r.call(n,n);_(t)&&(e.data=Xt(t))}if(lr=!0,i)for(const h in i){const e=i[h],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):a,r=!v(e)&&v(e.set)?e.set.bind(n):a,s=Li({get:t,set:r});Object.defineProperty(o,h,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)dr(l[a],o,n,a);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Sr(t,e[t])}))}function R(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&ur(d,e,"c"),R(Uo,p),R(Ho,f),R(Wo,g),R(Yo,m),R($o,y),R(Ro,b),R(Zo,A),R(Jo,k),R(Qo,E),R(Xo,x),R(Go,S),R(Ko,M),h(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===a&&(e.render=C),null!=O&&(e.inheritAttrs=O),L&&(e.components=L),I&&(e.directives=I);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function ur(e,t,n){bn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function dr(e,t,n,o){const r=o.includes(".")?co(n,o):()=>n[o];if(y(e)){const n=t[e];v(n)&&ao(r,n)}else if(v(e))ao(r,e.bind(n));else if(_(e))if(h(e))e.forEach((e=>dr(e,t,n,o)));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&ao(r,o,e)}}function pr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach((e=>fr(l,e,a,!0))),fr(l,t,a)):l=t,_(t)&&i.set(t,l),l}function fr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&fr(e,i,n,!0),r&&r.forEach((t=>fr(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=hr[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const hr={data:gr,props:br,emits:br,methods:yr,computed:yr,beforeCreate:vr,created:vr,beforeMount:vr,mounted:vr,beforeUpdate:vr,updated:vr,beforeDestroy:vr,beforeUnmount:vr,destroyed:vr,unmounted:vr,activated:vr,deactivated:vr,errorCaptured:vr,serverPrefetch:vr,components:yr,directives:yr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const o in t)n[o]=vr(e[o],t[o]);return n},provide:gr,inject:function(e,t){return yr(mr(e),mr(t))}};function gr(e,t){return t?e?function(){return u(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function mr(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function vr(e,t){return e?[...new Set([].concat(e,t))]:t}function yr(e,t){return e?u(Object.create(null),e,t):t}function br(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:u(Object.create(null),sr(e),sr(null!=t?t:{})):t}function _r(){return{app:null,config:{isNativeTag:s,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wr=0;function xr(e,t){return function(n,o=null){v(n)||(n=u({},n)),null==o||_(o)||(o=null);const r=_r(),i=new WeakSet;let a=!1;const s=r.app={_uid:wr++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:$i,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&v(e.install)?(i.add(e),e.install(s,...t)):v(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,l,c){if(!a){const u=ci(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,Pi(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s),runWithContext(e){const t=Tr;Tr=s;try{return e()}finally{Tr=t}}};return s}}let Tr=null;function Sr(e,t){if(_i){let n=_i.provides;const o=_i.parent&&_i.parent.provides;o===n&&(n=_i.provides=Object.create(o)),n[e]=t,"app"===_i.type.mpType&&_i.appContext.app.provide(e,t)}else;}function Cr(e,t,n=!1){const o=_i||Vn;if(o||Tr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Tr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&v(t)?t.call(o&&o.proxy):t}}function kr(e,t,n,o){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let r in t){if(k(r))continue;const c=t[r];let u;i&&f(i,u=M(r))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:Fn(e.emitsOptions,r)||r in o&&c===o[r]||(o[r]=c,l=!0)}if(a){const t=nn(n),o=s||r;for(let r=0;r<a.length;r++){const s=a[r];n[s]=Er(i,t,s,o[s],e,!f(o,s))}}return l}function Er(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=f(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&v(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const a=Si(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==O(n)||(o=!0))}return o}function Ar(e,t,n=!1){const o=t.propsCache,a=o.get(e);if(a)return a;const s=e.props,l={},c=[];let d=!1;if(!v(e)){const o=e=>{d=!0;const[n,o]=Ar(e,t,!0);u(l,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return _(e)&&o.set(e,i),i;if(h(s))for(let i=0;i<s.length;i++){const e=M(s[i]);Mr(e)&&(l[e]=r)}else if(s)for(const r in s){const e=M(r);if(Mr(e)){const t=s[r],n=l[e]=h(t)||v(t)?{type:t}:u({},t);if(n){const t=Lr(Boolean,n.type),o=Lr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&c.push(e)}}}const p=[l,c];return _(e)&&o.set(e,p),p}function Mr(e){return"$"!==e[0]&&!k(e)}function Pr(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 Or(e,t){return Pr(e)===Pr(t)}function Lr(e,t){return h(t)?t.findIndex((t=>Or(t,e))):v(t)&&Or(t,e)?0:-1}const Ir=e=>"_"===e[0]||"$stable"===e,$r=e=>h(e)?e.map(fi):[fi(e)],Rr=(e,t,n)=>{if(t._n)return t;const o=Wn(((...e)=>$r(t(...e))),n);return o._c=!1,o},Dr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ir(r))continue;const n=e[r];if(v(n))t[r]=Rr(0,n,o);else if(null!=n){const e=$r(n);t[r]=()=>e}}},Br=(e,t)=>{const n=$r(t);e.slots.default=()=>n};function Nr(e,t,n,o,i=!1){if(h(e))return void e.forEach(((e,r)=>Nr(e,t&&(h(t)?t[r]:t),n,o,i)));if(ko(o)&&!i)return;const a=4&o.shapeFlag?Pi(o.component)||o.component.proxy:o.el,s=i?null:a,{i:l,r:c}=e,u=t&&t.r,p=l.refs===r?l.refs={}:l.refs,g=l.setupState;if(null!=u&&u!==c&&(y(u)?(p[u]=null,f(g,u)&&(g[u]=null)):un(u)&&(u.value=null)),v(c))yn(c,l,12,[s,p]);else{const t=y(c),o=un(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:p[c]:c.value;i?h(n)&&d(n,a):h(n)?n.includes(a)||n.push(a):t?(p[c]=[a],f(g,c)&&(g[c]=p[c])):(c.value=[a],e.k&&(p[e.k]=c.value))}else t?(p[c]=s,f(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(p[e.k]=s))};s?(r.id=-1,jr(r,n)):r()}}}const jr=function(e,t){var n;t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):(h(n=e)?kn.push(...n):En&&En.includes(n,n.allowRecurse?An+1:An)||kn.push(n),In())};function qr(e){return function(e,t){j().__VUE__=!0;const{insert:n,remove:o,patchProp:s,forcePatchProp:l,createElement:c,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=a,insertStaticContent:b}=e,_=(e,t,n,o=null,r=null,i=null,a,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ri(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 Wr:x(e,t,n,o);break;case Yr:T(e,t,n,o);break;case Xr:null==e&&S(t,n,o,a);break;case Hr:q(e,t,n,o,r,i,a,s,l);break;default:1&d?A(e,t,n,o,r,i,a,s,l):6&d?z(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,re)}null!=u&&r&&Nr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},C=({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),o(e),e=n;o(t)},A=(e,t,n,o,r,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?P(t,n,o,r,i,a,s,l):$(e,t,r,i,a,s,l)},P=(e,t,o,r,i,a,l,u)=>{let d,p;const{props:f,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=c(e.type,a,f&&f.is,f),8&h?g(d,e.children):16&h&&I(e.children,d,null,r,i,zr(e,a),l,u),v&&fo(e,null,r,"created"),L(d,e,e.scopeId,l,r),f){for(const t in f)"value"===t||k(t)||s(d,t,null,f[t],a,e.children,r,i,ee);"value"in f&&s(d,"value",null,f.value,a),(p=f.onVnodeBeforeMount)&&vi(p,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&fo(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((p=f&&f.onVnodeMounted)||y||v)&&jr((()=>{p&&vi(p,r,e),y&&m.enter(d),v&&fo(e,null,r,"mounted")}),i)},L=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i<o.length;i++)y(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;L(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},I=(e,t,n,o,r,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?hi(e[c]):fi(e[c]);_(null,l,t,n,o,r,i,a,s)}},$=(e,t,n,o,i,a,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||r,m=t.props||r;let v;if(n&&Fr(n,!1),(v=m.onVnodeBeforeUpdate)&&vi(v,n,t,e),f&&fo(t,e,n,"beforeUpdate"),n&&Fr(n,!0),p?B(e.dynamicChildren,p,u,n,o,zr(t,i),a):c||W(e,t,u,null,n,o,zr(t,i),a,!1),d>0){if(16&d)N(u,t,h,m,n,o,i);else if(2&d&&h.class!==m.class&&s(u,"class",null,m.class,i),4&d&&s(u,"style",h.style,m.style,i),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],c=h[a],d=m[a];(d!==c||"value"===a||l&&l(u,a))&&s(u,a,c,d,i,e.children,n,o,ee)}}1&d&&e.children!==t.children&&g(u,t.children)}else c||null!=p||N(u,t,h,m,n,o,i);((v=m.onVnodeUpdated)||f)&&jr((()=>{v&&vi(v,n,t,e),f&&fo(t,e,n,"updated")}),o)},B=(e,t,n,o,r,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===Hr||!ri(l,c)||70&l.shapeFlag)?m(l.el):n;_(l,c,u,null,o,r,i,a,!0)}},N=(e,t,n,o,i,a,c)=>{if(n!==o){if(n!==r)for(const r in n)k(r)||r in o||s(e,r,n[r],null,c,t.children,i,a,ee);for(const r in o){if(k(r))continue;const u=o[r],d=n[r];(u!==d&&"value"!==r||l&&l(e,r))&&s(e,r,d,u,c,t.children,i,a,ee)}"value"in o&&s(e,"value",n.value,o.value,c)}},q=(e,t,o,r,i,a,s,l,c)=>{const u=t.el=e?e.el:d(""),p=t.anchor=e?e.anchor:d("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(p,o,r),I(t.children||[],o,p,i,a,s,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&Vr(e,t,!0)):W(e,t,o,p,i,a,s,l,c)},z=(e,t,n,o,r,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,l):F(t,n,o,r,i,a,l):V(e,t,l)},F=(e,t,n,o,i,a,s)=>{const l=e.component=function(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||yi,a={uid:bi++,vnode:e,type:o,parent:t,appContext:i,get renderer(){return"app"===o.mpType?"app":this.$pageInstance&&this.$pageInstance==a?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new Ve(!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:Ar(o,i),emitsOptions:zn(o,i),emit:null,emitted:null,propsDefaults:r,inheritAttrs:o.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,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};a.ctx={_:a},a.root=t?t.root:a,a.emit=jn.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,o,i);if(Mo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&Ti(t);const{props:n,children:o}=e.vnode,r=ki(e);(function(e,t,n,o=!1){const r={},i={};D(i,ii,1),e.propsDefaults=Object.create(null),kr(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Gt(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=nn(t),D(t,"_",n)):Dr(t,e.slots={})}else e.slots={},t&&Br(e,t);D(e.slots,ii,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=on(new Proxy(e.ctx,ar));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)=>(ct(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Si(e);Je();const i=yn(o,e,0,[e.props,n]);if(Ze(),r(),w(i)){if(i.then(Ci,Ci),t)return i.then((n=>{Ai(e,n,t)})).catch((t=>{_n(t,e,0)}));e.asyncDep=i}else Ai(e,i,t)}else Mi(e,t)}(e,t):void 0;t&&Ti(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,U),!e.el){const e=l.subTree=ci(Yr);T(null,e,t,n)}}else U(l,e,t,n,i,a,s)},V=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||Kn(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Kn(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!Fn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void H(o,t,n);o.next=t,function(e){const t=Sn.indexOf(e);t>Cn&&Sn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},U=(e,t,n,o,r,i,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=Ur(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Fr(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&vi(u,a,t,c),Fr(e,!0);const p=Yn(e),f=e.subTree;e.subTree=p,_(f,p,m(f.el),te(f),e,r,i),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&jr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&jr((()=>vi(u,a,t,c)),r)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=ko(t);if(Fr(e,!1),c&&R(c),!p&&(a=l&&l.onVnodeBeforeMount)&&vi(a,d,t),Fr(e,!0),s&&ae){const n=()=>{e.subTree=Yn(e),ae(s,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=Yn(e);_(null,a,n,o,e,r,i),t.el=a.el}if(u&&jr(u,r),!p&&(a=l&&l.onVnodeMounted)){const e=t;jr((()=>vi(a,d,e)),r)}(256&t.shapeFlag||d&&ko(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&zo(e.ba),e.a&&jr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new He(l,a,(()=>Ln(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Fr(e,!0),u()},H=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=nn(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;kr(e,t,r,i)&&(c=!0);for(const i in s)t&&(f(t,i)||(o=O(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=Er(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(Fn(e.emitsOptions,a))continue;const u=t[a];if(l)if(f(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=M(a);r[t]=Er(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&&ut(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let a=!0,s=r;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:(u(i,t),n||1!==e||delete i._):(a=!t.$stable,Dr(t,i)),s=t}else t&&(Br(e,t),s={default:1});if(a)for(const r in i)Ir(r)||null!=s[r]||delete i[r]})(e,t.children,n),Je(),$n(e),Ze()},W=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void X(c,d,n,o,r,i,a,s,l);if(256&p)return void Y(c,d,n,o,r,i,a,s,l)}8&f?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&f?X(c,d,n,o,r,i,a,s,l):ee(c,r,i,!0):(8&u&&g(n,""),16&f&&I(d,n,o,r,i,a,s,l))},Y=(e,t,n,o,r,a,s,l,c)=>{t=t||i;const u=(e=e||i).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?hi(t[f]):fi(t[f]);_(e[f],o,n,null,r,a,s,l,c)}u>d?ee(e,r,a,!0,!1,p):I(t,n,o,r,a,s,l,c,p)},X=(e,t,n,o,r,a,s,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],i=t[u]=c?hi(t[u]):fi(t[u]);if(!ri(o,i))break;_(o,i,n,null,r,a,s,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],i=t[f]=c?hi(t[f]):fi(t[f]);if(!ri(o,i))break;_(o,i,n,null,r,a,s,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,i=e<d?t[e].el:o;for(;u<=f;)_(null,t[u]=c?hi(t[u]):fi(t[u]),n,i,r,a,s,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],r,a,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=f;u++){const e=t[u]=c?hi(t[u]):fi(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=f-g+1;let w=!1,x=0;const T=new Array(b);for(u=0;u<b;u++)T[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){K(o,r,a,!0);continue}let i;if(null!=o.key)i=m.get(o.key);else for(v=g;v<=f;v++)if(0===T[v-g]&&ri(o,t[v])){i=v;break}void 0===i?K(o,r,a,!0):(T[i-g]=u+1,i>=x?x=i:w=!0,_(o,t[i],n,null,r,a,s,l,c),y++)}const S=w?function(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(T):i;for(v=S.length-1,u=b-1;u>=0;u--){const e=g+u,i=t[e],p=e+1<d?t[e+1].el:o;0===T[u]?_(null,i,n,p,r,a,s,l,c):w&&(v<0||u!==S[v]?G(i,n,p,2):v--)}}},G=(e,t,o,r,i=null)=>{const{el:a,type:s,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 s.move(e,t,o,re);if(s===Hr){n(a,t,o);for(let e=0;e<c.length;e++)G(c[e],t,o,r);return void n(e.anchor,t,o)}if(s===Xr)return void C(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),n(a,t,o),jr((()=>l.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,c):c()}else n(a,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&Nr(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!ko(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&vi(g,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Hr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Hr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Q(e)}(h&&(g=a&&a.onVnodeUnmounted)||f)&&jr((()=>{g&&vi(g,t,e),f&&fo(e,null,t,"unmounted")}),n)},Q=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Hr)return void J(n,r);if(t===Xr)return void E(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},J=(e,t)=>{let n;for(;e!==t;)n=v(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&R(o),r.stop(),i&&(i.active=!1,K(a,e,t,n)),s&&jr(s,t),jr((()=>{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 a=i;a<e.length;a++)K(e[a],t,n,o,r)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,$n(),Rn(),ne=!1),t._vnode=e},re={p:_,um:K,m:G,r:Q,mt:F,mc:I,pc:W,pbc:B,n:te,o:e};let ie,ae;t&&([ie,ae]=t(re));return{render:oe,hydrate:ie,createApp:xr(oe,ie)}}(e)}function zr({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 Fr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Vr(e,t,n=!1){const o=e.children,r=t.children;if(h(o)&&h(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=hi(r[i]),t.el=e.el),n||Vr(e,t)),t.type===Wr&&(t.el=e.el)}}function Ur(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ur(t)}const Hr=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),Yr=Symbol.for("v-cmt"),Xr=Symbol.for("v-stc"),Gr=[];let Kr=null;function Qr(e=!1){Gr.push(Kr=e?null:[])}let Jr=1;function Zr(e){Jr+=e}function ei(e){return e.dynamicChildren=Jr>0?Kr||i:null,Gr.pop(),Kr=Gr[Gr.length-1]||null,Jr>0&&Kr&&Kr.push(e),e}function ti(e,t,n,o,r,i){return ei(li(e,t,n,o,r,i,!0))}function ni(e,t,n,o,r){return ei(ci(e,t,n,o,r,!0))}function oi(e){return!!e&&!0===e.__v_isVNode}function ri(e,t){return e.type===t.type&&e.key===t.key}const ii="__vInternal",ai=({key:e})=>null!=e?e:null,si=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?y(e)||un(e)||v(e)?{i:Vn,r:e,k:t,f:!!n}:e:null);function li(e,t=null,n=null,o=0,r=null,i=(e===Hr?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ai(t),ref:t&&si(t),scopeId:Un,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:Vn};return s?(gi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=y(n)?8:16),Jr>0&&!a&&Kr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Kr.push(l),l}const ci=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Jn||(e=Yr);if(oi(e)){const o=ui(e,t,!0);return n&&gi(o,n),Jr>0&&!i&&Kr&&(6&o.shapeFlag?Kr[Kr.indexOf(e)]=o:Kr.push(o)),o.patchFlag|=-2,o}a=e,v(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?tn(e)||ii in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=ye(e)),_(n)&&(tn(n)&&!h(n)&&(n=u({},n)),t.style=ve(n))}const s=y(e)?1:no(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:v(e)?2:0;return li(e,t,n,o,r,s,i,!0)};function ui(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?mi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ai(s),ref:t&&t.ref?n&&r?h(r)?r.concat(si(t)):[r,si(t)]:si(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Hr?-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&&ui(e.ssContent),ssFallback:e.ssFallback&&ui(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function di(e=" ",t=0){return ci(Wr,null,e,t)}function pi(e="",t=!1){return t?(Qr(),ni(Yr,null,e)):ci(Yr,null,e)}function fi(e){return null==e||"boolean"==typeof e?ci(Yr):h(e)?ci(Hr,null,e.slice()):"object"==typeof e?hi(e):ci(Wr,null,String(e))}function hi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ui(e)}function gi(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),gi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||ii in t?3===o&&Vn&&(1===Vn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Vn}}else v(t)?(t={default:t,_ctx:Vn},n=32):(t=String(t),64&o?(n=16,t=[di(t)]):n=8);e.children=t,e.shapeFlag|=n}function mi(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ye([t.class,o.class]));else if("style"===e)t.style=ve([t.style,o.style]);else if(l(e)){const n=t[e],r=o[e];!r||n===r||h(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function vi(e,t,n,o=null){bn(e,t,7,[n,o])}const yi=_r();let bi=0;let _i=null;const wi=()=>_i||Vn;let xi,Ti;{const e=j(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};xi=t("__VUE_INSTANCE_SETTERS__",(e=>_i=e)),Ti=t("__VUE_SSR_SETTERS__",(e=>Ei=e))}const Si=e=>{const t=_i;return xi(e),e.scope.on(),()=>{e.scope.off(),xi(t)}},Ci=()=>{_i&&_i.scope.off(),xi(null)};function ki(e){return 4&e.vnode.shapeFlag}let Ei=!1;function Ai(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=vn(t)),Mi(e,n)}function Mi(e,t,n){const o=e.type;e.render||(e.render=o.render||a);{const t=Si(e);Je();try{cr(e)}finally{Ze(),t()}}}function Pi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vn(on(e.exposed)),{get:(t,n)=>n in t?t[n]:n in rr?rr[n](e):void 0,has:(e,t)=>t in e||t in rr}))}function Oi(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const Li=(e,t)=>{const n=function(e,t,n=!1){let o,r;const i=v(e);return i?(o=e,r=a):(o=e.get,r=e.set),new sn(o,r,i||!r,n)}(e,0,Ei);return n};function Ii(e,t,n){const o=arguments.length;return 2===o?_(t)&&!h(t)?oi(t)?ci(e,null,[t]):ci(e,t):ci(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&oi(n)&&(n=[n]),ci(e,t,n))}const $i="3.4.21",Ri="undefined"!=typeof document?document:null,Di=Ri&&Ri.createElement("template"),Bi={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?Ri.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ri.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ri.createElement(e,{is:n}):Ri.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ri.createTextNode(e),createComment:e=>Ri.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ri.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Di.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Di.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[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ni="transition",ji=Symbol("_vtc"),qi=(e,{slots:t})=>Ii(yo,function(e){const t={};for(const u in e)u in zi||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[Ui(e.enter),Ui(e.leave)];{const t=Ui(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=b,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Wi(e,t?d:s),Wi(e,t?c:a),n&&n()},A=(e,t)=>{e._isLeaving=!1,Wi(e,p),Wi(e,h),Wi(e,f),t&&t()},M=e=>(t,n)=>{const r=e?C:b,a=()=>E(t,e,n);Fi(r,[t,a]),Yi((()=>{Wi(t,e?l:i),Hi(t,e?d:s),Vi(r)||Gi(t,o,m,a)}))};return u(t,{onBeforeEnter(e){Fi(y,[e]),Hi(e,i),Hi(e,a)},onBeforeAppear(e){Fi(S,[e]),Hi(e,l),Hi(e,c)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Hi(e,p),document.body.offsetHeight,Hi(e,f),Yi((()=>{e._isLeaving&&(Wi(e,p),Hi(e,h),Vi(x)||Gi(e,o,v,n))})),Fi(x,[e,n])},onEnterCancelled(e){E(e,!1),Fi(w,[e])},onAppearCancelled(e){E(e,!0),Fi(k,[e])},onLeaveCancelled(e){A(e),Fi(T,[e])}})}(e),t);qi.displayName="Transition";const zi={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};qi.props=u({},vo,zi);const Fi=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},Vi=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function Ui(e){const t=(e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Hi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[ji]||(e[ji]=new Set)).add(t)}function Wi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[ji];n&&(n.delete(t),n.size||(e[ji]=void 0))}function Yi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xi=0;function Gi(e,t,n,o){const r=e._endId=++Xi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),a=Ki(r,i),s=o("animationDelay"),l=o("animationDuration"),c=Ki(s,l);let u=null,d=0,p=0;t===Ni?a>0&&(u=Ni,d=a,p=i.length):"animation"===t?c>0&&(u="animation",d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?Ni:"animation":null,p=u?u===Ni?i.length:l.length:0);const f=u===Ni&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function Ki(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Qi(t)+Qi(e[n]))))}function Qi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Ji=Symbol("_vod"),Zi=Symbol("_vsh"),ea={beforeMount(e,{value:t},{transition:n}){e[Ji]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ta(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),ta(e,!0),o.enter(e)):o.leave(e,(()=>{ta(e,!1)})):ta(e,t))},beforeUnmount(e,{value:t}){ta(e,t)}};function ta(e,t){e.style.display=t?e[Ji]:"none",e[Zi]=!t}const na=Symbol(""),oa=/(^|;)\s*display\s*:/;const ra=/\s*!important$/;function ia(e,t,n){if(h(n))n.forEach((n=>ia(e,t,n)));else if(null==n&&(n=""),n=ga(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=sa[t];if(n)return n;let o=M(t);if("filter"!==o&&o in e)return sa[t]=o;o=L(o);for(let r=0;r<aa.length;r++){const n=aa[r]+o;if(n in e)return sa[t]=n}return t}(e,t);ra.test(n)?e.setProperty(O(o),n.replace(ra,""),"important"):e[o]=n}}const aa=["Webkit","Moz","ms"],sa={};const{unit:la,unitRatio:ca,unitPrecision:ua}={unit:"rem",unitRatio:10/320,unitPrecision:5},da=(pa=la,fa=ca,ha=ua,e=>e.replace(xe,((e,t)=>{if(!t)return e;if(1===fa)return`${t}${pa}`;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)*fa,ha);return 0===n?"0":`${n}${pa}`})));var pa,fa,ha;const ga=e=>y(e)?da(e):e,ma="http://www.w3.org/1999/xlink";const va=Symbol("_vei");function ya(e,t,n,o,r=null){const i=e[va]||(e[va]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(ba.test(e)){let n;for(t={};n=e.match(ba);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):O(e.slice(2)),t]}(t);if(o){const a=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=xa(e,i);for(let o=0;o<n.length;o++){const i=n[o];bn(i,t,5,i.__wwe?[e]:r(e))}}else bn(xa(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>_a||(wa.then((()=>_a=0)),_a=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,a,s)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,s),i[t]=void 0)}}const ba=/(?:Once|Passive|Capture)$/;let _a=0;const wa=Promise.resolve();function xa(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 Ta=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Sa=["ctrl","shift","alt","meta"],Ca={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)=>Sa.some((n=>e[`${n}Key`]&&!t.includes(n)))},ka=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=Ca[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Ea=u({patchProp:(e,t,n,o,r,i,a,s,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const l=o.proxy;On((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,a);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[ji];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=y(n);let i=!1;if(n&&!r){if(t)if(y(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ia(o,t,"")}else for(const e in t)null==n[e]&&ia(o,e,"");for(const e in n)"display"===e&&(i=!0),ia(o,e,n[e])}else if(r){if(t!==n){const e=o[na];e&&(n+=";"+e),o.cssText=n,i=oa.test(n)}}else t&&e.removeAttribute("style");Ji in e&&(e[Ji]=i?o.display:"",e[Zi]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)ia(o,s,a[s])}(e,n,o):l(t)?c(t)||ya(e,t,0,o,a):("."===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&&Ta(t)&&v(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ta(t)&&y(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Y(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,a,s,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(ma,t.slice(6,t.length)):e.setAttributeNS(ma,t,n);else{const o=W(t);null==n||o&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Bi);let Aa;const Ma=(...e)=>{const t=(Aa||(Aa=qr(Ea))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(y(e)){return document.querySelector(e)}return e}
- /*!
- * vue-router v4.3.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */(e);if(!o)return;const r=t._component;v(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Pa="undefined"!=typeof document;const Oa=Object.assign;function La(e,t){const n={};for(const o in t){const r=t[o];n[o]=$a(r)?r.map(e):e(r)}return n}const Ia=()=>{},$a=Array.isArray,Ra=/#/g,Da=/&/g,Ba=/\//g,Na=/=/g,ja=/\?/g,qa=/\+/g,za=/%5B/g,Fa=/%5D/g,Va=/%5E/g,Ua=/%60/g,Ha=/%7B/g,Wa=/%7C/g,Ya=/%7D/g,Xa=/%20/g;function Ga(e){return encodeURI(""+e).replace(Wa,"|").replace(za,"[").replace(Fa,"]")}function Ka(e){return Ga(e).replace(qa,"%2B").replace(Xa,"+").replace(Ra,"%23").replace(Da,"%26").replace(Ua,"`").replace(Ha,"{").replace(Ya,"}").replace(Va,"^")}function Qa(e){return null==e?"":function(e){return Ga(e).replace(Ra,"%23").replace(ja,"%3F")}(e).replace(Ba,"%2F")}function Ja(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Za=/\/$/;function es(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,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,a,s=n.length-1;for(i=0;i<o.length;i++)if(a=o[i],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Ja(a)}}function ts(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ns(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function os(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!rs(e[n],t[n]))return!1;return!0}function rs(e,t){return $a(e)?is(e,t):$a(t)?is(t,e):e===t}function is(e,t){return $a(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var as,ss,ls,cs;function us(e){if(!e)if(Pa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Za,"")}(ss=as||(as={})).pop="pop",ss.push="push",(cs=ls||(ls={})).back="back",cs.forward="forward",cs.unknown="";const ds=/^[^#]+#/;function ps(e,t){return e.replace(ds,"#")+t}const fs=()=>({left:window.scrollX,top:window.scrollY});function hs(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 gs(e,t){return(history.state?history.state.position-t:-1)+e}const ms=new Map;function vs(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),ts(n,"")}return ts(n,e)+o+r}function ys(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?fs():null}}function bs(e){const{history:t,location:n}=window,o={value:vs(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[a?"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 a=Oa({},r.value,t.state,{forward:e,scroll:fs()});i(a.current,a,!0),i(e,Oa({},ys(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Oa({},t.state,ys(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function _s(e){const t=bs(e=us(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=vs(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,l,{delta:u,type:as.pop,direction:u?u>0?ls.forward:ls.back:ls.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Oa({},e.state,{scroll:fs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=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",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Oa({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ps.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 ws(e){return"string"==typeof e||"symbol"==typeof e}const xs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ts=Symbol("");var Ss,Cs;function ks(e,t){return Oa(new Error,{type:e,[Ts]:!0},t)}function Es(e,t){return e instanceof Error&&Ts in e&&(null==t||!!(e.type&t))}(Cs=Ss||(Ss={}))[Cs.aborted=4]="aborted",Cs[Cs.cancelled=8]="cancelled",Cs[Cs.duplicated=16]="duplicated";const As={sensitive:!1,strict:!1,start:!0,end:!0},Ms=/[.+*?^${}()[\]/\\]/g;function Ps(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Os(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=Ps(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ls(o))return 1;if(Ls(r))return-1}return r.length-o.length}function Ls(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Is={type:0,value:""},$s=/[a-zA-Z0-9_]/;function Rs(e,t,n){const o=function(e,t){const n=Oa({},As,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(Ms,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if($a(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=$a(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Is]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===s?n=2:$s.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}(e.path),n),r=Oa(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ds(e,t){const n=[],o=new Map;function r(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ns(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=zs(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Oa({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=Rs(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!js(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return p?()=>{i(p)}:Ia}function i(e){if(ws(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 a(e){let t=0;for(;t<n.length&&Os(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Fs(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!js(e)&&o.set(e.record.name,e)}return t=zs({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ks(1,{location:e});a=r.record.name,s=Oa(Bs(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Bs(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ks(1,{location:e,currentLocation:t});a=r.record.name,s=Oa({},t.params,e.params),i=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:qs(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Bs(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ns(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 js(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qs(e){return e.reduce(((e,t)=>Oa(e,t.meta)),{})}function zs(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Fs(e,t){return t.children.some((t=>t===e||Fs(e,t)))}function Vs(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(qa," "),r=e.indexOf("="),i=Ja(r<0?e:e.slice(0,r)),a=r<0?null:Ja(e.slice(r+1));if(i in t){let e=t[i];$a(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Us(e){let t="";for(let n in e){const o=e[n];if(n=Ka(n).replace(Na,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}($a(o)?o.map((e=>e&&Ka(e))):[o&&Ka(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Hs(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=$a(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ws=Symbol(""),Ys=Symbol(""),Xs=Symbol(""),Gs=Symbol(""),Ks=Symbol("");function Qs(){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 Js(e,t,n,o,r,i=(e=>e())){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var i;!1===e?l(ks(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ks(2,{from:t,to:e})):(a&&o.enterCallbacks[r]===a&&"function"==typeof e&&a.push(e),s())},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 Zs(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(l.__vccOpts||l)[t];a&&i.push(Js(a,n,o,s,e,r))}else{let a=l();i.push((()=>a.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Js(c,n,o,s,e,r)()}))))}}var a;return i}function el(e){const t=Cr(Xs),n=Cr(Gs),o=Li((()=>t.resolve(gn(e.to)))),r=Li((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(ns.bind(null,r));if(a>-1)return a;const s=ol(e[t-2]);return t>1&&ol(r)===s&&i[i.length-1].path!==s?i.findIndex(ns.bind(null,e[t-2])):a})),i=Li((()=>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(!$a(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),a=Li((()=>r.value>-1&&r.value===n.matched.length-1&&os(n.params,o.value.params)));return{route:o,href:Li((()=>o.value.href)),isActive:i,isExactActive:a,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[gn(e.replace)?"replace":"push"](gn(e.to)).catch(Ia):Promise.resolve()}}}const tl=Co({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:el,setup(e,{slots:t}){const n=Xt(el(e)),{options:o}=Cr(Xs),r=Li((()=>({[rl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[rl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ii("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),nl=tl;function ol(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rl=(e,t,n)=>null!=e?e:null!=t?t:n;function il(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const al=Co({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Cr(Ks),r=Li((()=>e.route||o.value)),i=Cr(Ys,0),a=Li((()=>{let e=gn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Li((()=>r.value.matched[a.value]));Sr(Ys,Li((()=>a.value+1))),Sr(Ws,s),Sr(Ks,r);const l=dn();return ao((()=>[l.value,s.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&&ns(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return il(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=Ii(c,Oa({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return il(n.default,{Component:p,route:o})||p}}});function sl(e){const t=Ds(e.routes,e),n=e.parseQuery||Vs,o=e.stringifyQuery||Us,r=e.history,i=Qs(),a=Qs(),s=Qs(),l=pn(xs);let c=xs;Pa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=La.bind(null,(e=>""+e)),d=La.bind(null,Qa),p=La.bind(null,Ja);function f(e,i){if(i=Oa({},i||l.value),"string"==typeof e){const o=es(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return Oa(o,a,{params:p(a.params),hash:Ja(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Oa({},e,{path:es(n,e.path,i.path).path});else{const t=Oa({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Oa({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Oa({},e,{hash:(h=c,Ga(h).replace(Ha,"{").replace(Ya,"}").replace(Va,"^")),path:s.path}));var h;const g=r.createHref(f);return Oa({fullPath:f,hash:c,query:o===Us?Hs(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?es(n,e,l.value.path):Oa({},e)}function g(e,t){if(c!==e)return ks(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Oa({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(Oa(h(u),{state:"object"==typeof u?Oa({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ns(t.matched[o],n.matched[r])&&os(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=ks(16,{to:d,from:r}),O(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>Es(e)?Es(e,2)?e:P(e):M(e,d,r))).then((e=>{if(e){if(Es(e,2))return y(Oa({replace:s},h(e.to),{state:"object"==typeof e.to?Oa({},i,e.to.state):i,force:a}),t||d)}else e=T(d,r,!0,s,i);return x(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=$.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>ns(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>ns(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=Zs(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Js(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),D(n).then((()=>{n=[];for(const o of i.list())n.push(Js(o,e,t));return n.push(l),D(n)})).then((()=>{n=Zs(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Js(o,e,t))}));return n.push(l),D(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if($a(o.beforeEnter))for(const r of o.beforeEnter)n.push(Js(r,e,t));else n.push(Js(o.beforeEnter,e,t));return n.push(l),D(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Zs(s,"beforeRouteEnter",e,t,_),n.push(l),D(n)))).then((()=>{n=[];for(const o of a.list())n.push(Js(o,e,t));return n.push(l),D(n)})).catch((e=>Es(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function T(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===xs,c=Pa?history.state:{};n&&(o||s?r.replace(e.fullPath,Oa({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,O(e,t,n,s),P()}let S;function C(){S||(S=r.listen(((e,t,n)=>{if(!R.listening)return;const o=f(e),i=v(o);if(i)return void y(Oa(i,{replace:!0}),o).catch(Ia);c=o;const a=l.value;var s,u;Pa&&(s=gs(a.fullPath,n.delta),u=fs(),ms.set(s,u)),w(o,a).catch((e=>Es(e,12)?e:Es(e,2)?(y(e.to,o).then((e=>{Es(e,20)&&!n.delta&&n.type===as.pop&&r.go(-1,!1)})).catch(Ia),Promise.reject()):(n.delta&&r.go(-n.delta,!1),M(e,o,a)))).then((e=>{(e=e||T(o,a,!1))&&(n.delta&&!Es(e,8)?r.go(-n.delta,!1):n.type===as.pop&&Es(e,20)&&r.go(-1,!1)),x(o,a,e)})).catch(Ia)})))}let k,E=Qs(),A=Qs();function M(e,t,n){P(e);const o=A.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function P(e){return k||(k=!e,C(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function O(t,n,o,r){const{scrollBehavior:i}=e;if(!Pa||!i)return Promise.resolve();const a=!o&&function(e){const t=ms.get(e);return ms.delete(e),t}(gs(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return On().then((()=>i(t,n,a))).then((e=>e&&hs(e))).catch((e=>M(e,t,n)))}const L=e=>r.go(e);let I;const $=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ws(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(Oa(h(e),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:A.add,isReady:function(){return k&&l.value!==xs?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",nl),e.component("RouterView",al),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>gn(l)}),Pa&&!I&&l.value===xs&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in xs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Xs,this),e.provide(Gs,Gt(t)),e.provide(Ks,l);const n=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(c=xs,S&&S(),S=null,l.value=xs,I=!1,k=!1),n()}}};function D(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function ll(){return Cr(Gs)}const cl=["{","}"];const ul=/^(?:\d)+/,dl=/^(?:\w)+/;const pl=Object.prototype.hasOwnProperty,fl=(e,t)=>pl.call(e,t),hl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=cl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let a=e[r++];if(a===t){i&&o.push({type:"text",value:i}),i="";let t="";for(a=e[r++];void 0!==a&&a!==n;)t+=a,a=e[r++];const s=a===n,l=ul.test(t)?"list":s&&dl.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=a}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function gl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ml{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||hl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=gl(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=>{fl(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=gl(t,this.messages))&&(o=this.messages[t]):n=t,fl(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 vl(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&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ml({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Nv().$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)}}function yl(e,t){return e.indexOf(t[0])>-1}const bl=le((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let _l;function wl(e){return yl(e,te)?Sl().f(e,function(){const e=uni.getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function xl(e,t){if(1===t.length){if(e){const n=e=>y(e)&&yl(e,te),o=t[0];let r=[];if(h(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return xl(e&&e[n],t)}function Tl(e,t){const n=xl(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach((e=>Tl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>wl(e),set(t){e=t}})}return!0}function Sl(){if(!_l){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,_l=vl(e),bl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>_l.add(e,__uniConfig.locales[e]))),_l.setLocale(e)}}return _l}function Cl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const kl=le((()=>{const e="uni.async.",t=["error"];Sl().add("en",Cl(e,t,["The connection timed out, click the screen to try again."]),!1),Sl().add("es",Cl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Sl().add("fr",Cl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Sl().add("zh-Hans",Cl(e,t,["连接服务器超时,点击屏幕重试"]),!1),Sl().add("zh-Hant",Cl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),El=le((()=>{const e="uni.showActionSheet.",t=["cancel"];Sl().add("en",Cl(e,t,["Cancel"]),!1),Sl().add("es",Cl(e,t,["Cancelar"]),!1),Sl().add("fr",Cl(e,t,["Annuler"]),!1),Sl().add("zh-Hans",Cl(e,t,["取消"]),!1),Sl().add("zh-Hant",Cl(e,t,["取消"]),!1)})),Al=le((()=>{const e="uni.showToast.",t=["unpaired"];Sl().add("en",Cl(e,t,["Please note showToast must be paired with hideToast"]),!1),Sl().add("es",Cl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Sl().add("fr",Cl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Sl().add("zh-Hans",Cl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Sl().add("zh-Hant",Cl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Ml=le((()=>{const e="uni.showLoading.",t=["unpaired"];Sl().add("en",Cl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Sl().add("es",Cl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Sl().add("fr",Cl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Sl().add("zh-Hans",Cl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Sl().add("zh-Hant",Cl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Pl=le((()=>{const e="uni.showModal.",t=["cancel","confirm"];Sl().add("en",Cl(e,t,["Cancel","OK"]),!1),Sl().add("es",Cl(e,t,["Cancelar","OK"]),!1),Sl().add("fr",Cl(e,t,["Annuler","OK"]),!1),Sl().add("zh-Hans",Cl(e,t,["取消","确定"]),!1),Sl().add("zh-Hant",Cl(e,t,["取消","確定"]),!1)})),Ol=le((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Sl().add("en",Cl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Sl().add("es",Cl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Sl().add("fr",Cl(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),Sl().add("zh-Hans",Cl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Sl().add("zh-Hant",Cl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Ll=le((()=>{const e="uni.setClipboardData.",t=["success","fail"];Sl().add("en",Cl(e,t,["Content copied","Copy failed, please copy manually"]),!1),Sl().add("es",Cl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Sl().add("fr",Cl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Sl().add("zh-Hans",Cl(e,t,["内容已复制","复制失败,请手动复制"]),!1),Sl().add("zh-Hant",Cl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),Il=le((()=>{const e="uni.getClipboardData.",t=["fail"];Sl().add("en",Cl(e,t,["Reading failed, please paste manually"]),!1),Sl().add("es",Cl(e,t,["Error de lectura, pegue manualmente"]),!1),Sl().add("fr",Cl(e,t,["Échec de la lecture, veuillez coller manuellement"]),!1),Sl().add("zh-Hans",Cl(e,t,["读取失败,请手动粘贴"]),!1),Sl().add("zh-Hant",Cl(e,t,["讀取失敗,請手動粘貼"]),!1)})),$l=le((()=>{const e="uni.picker.",t=["done","cancel"];Sl().add("en",Cl(e,t,["Done","Cancel"]),!1),Sl().add("es",Cl(e,t,["OK","Cancelar"]),!1),Sl().add("fr",Cl(e,t,["OK","Annuler"]),!1),Sl().add("zh-Hans",Cl(e,t,["完成","取消"]),!1),Sl().add("zh-Hant",Cl(e,t,["完成","取消"]),!1)})),Rl=le((()=>{const e="uni.video.",t=["danmu","volume"];Sl().add("en",Cl(e,t,["Danmu","Volume"]),!1),Sl().add("es",Cl(e,t,["Danmu","Volumen"]),!1),Sl().add("fr",Cl(e,t,["Danmu","Le Volume"]),!1),Sl().add("zh-Hans",Cl(e,t,["弹幕","音量"]),!1),Sl().add("zh-Hant",Cl(e,t,["彈幕","音量"]),!1)})),Dl=le((()=>{const e="uni.chooseLocation.",t=["search","cancel"];Sl().add("en",Cl(e,t,["Find Place","Cancel"]),!1),Sl().add("es",Cl(e,t,["Encontrar","Cancelar"]),!1),Sl().add("fr",Cl(e,t,["Trouve","Annuler"]),!1),Sl().add("zh-Hans",Cl(e,t,["搜索地点","取消"]),!1),Sl().add("zh-Hant",Cl(e,t,["搜索地點","取消"]),!1)}));function Bl(e){const t=new Be;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 Nl=1;const jl=Object.create(null);function ql(e,t){return e+"."+t}function zl(e,t,n){t=ql(e,t),jl[t]||(jl[t]=n)}function Fl({id:e,name:t,args:n},o){t=ql(o,t);const r=t=>{e&&Zx.publishHandler("invokeViewApi."+e,t)},i=jl[t];i?i(n,r):r({})}const Vl=u(Bl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Zx,i=n?Nl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Ul=Te(!0);let Hl;function Wl(){Hl&&(clearTimeout(Hl),Hl=null)}let Yl=0,Xl=0;function Gl(e){if(Wl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Yl=t,Xl=n,Hl=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 Kl(e){if(!Hl)return;if(1!==e.touches.length)return Wl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Yl)>10||Math.abs(n-Xl)>10?Wl():void 0}function Ql(e,t){const n=Number(e);return isNaN(n)?t:n}function Jl(){const e=__uniConfig.globalStyle||{},t=Ql(e.rpxCalcMaxDeviceWidth,960),n=Ql(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Zl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ec,tc,nc=["top","left","right","bottom"],oc={};function rc(){return tc="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 ic(){if(tc="string"==typeof tc?tc:rc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),nc.forEach((function(e){a(o,e)})),document.body.appendChild(o),i(),ec=!0}else nc.forEach((function(e){oc[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 a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:tc+"(safe-area-inset-"+n+")"};r(o,c),r(a,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,function(e){sc.length||setTimeout((function(){var e={};sc.forEach((function(t){e[t]=oc[t]})),sc.length=0,lc.forEach((function(t){t(e)}))}),0);sc.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(oc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function ac(e){return ec||ic(),oc[e]}var sc=[];var lc=[];const cc=Zl({get support(){return 0!=("string"==typeof tc?tc:rc()).length},get top(){return ac("top")},get left(){return ac("left")},get right(){return ac("right")},get bottom(){return ac("bottom")},onChange:function(e){rc()&&(ec||ic(),"function"==typeof e&&lc.push(e))},offChange:function(e){var t=lc.indexOf(e);t>=0&&lc.splice(t,1)}}),uc=ka((()=>{}),["prevent"]),dc=ka((e=>{}),["stop"]);function pc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function fc(){const e=pc(document.documentElement.style,"--window-top");return e?e+cc.top:0}function hc(){const e=document.documentElement.style,t=fc(),n=pc(e,"--window-bottom"),o=pc(e,"--window-left"),r=pc(e,"--window-right"),i=pc(e,"--top-window-height");return{top:t,bottom:n?n+cc.bottom:0,left:o?o+cc.left:0,right:r?r+cc.right:0,topWindowHeight:i||0}}function gc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function mc(e){return gc(e)}function vc(e){return Symbol(e)}function yc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function bc(e,t=!1){if(t)return function(e){if(!yc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uni.upx2px(parseFloat(t))+"px"))}(e);if(y(e)){const t=parseInt(e)||0;return yc(e)?uni.upx2px(t):t}return e}function _c(e){return e.$page}function wc(e){return 0===e.tagName.indexOf("UNI-")}const xc="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",Tc="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",Sc="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",Cc="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",kc="M31.562 4.9966666659375q0.435 0.399 0.435 0.87 0.036 0.58-0.399 0.98l-18.61 19.917q-0.145 0.145-0.327 0.217-0.073 0.037-0.145 0.11-0.254 0.035-0.472 0.035-0.29 0-0.544-0.036l-0.145-0.072q-0.109-0.073-0.217-0.182l-0.11-0.072L0.363 16.2786666659375q-0.327-0.399-0.363-0.907 0-0.544 0.363-1.016 0.435-0.326 0.961-0.362 0.527-0.036 0.962 0.362l9.722 9.542L29.712 5.0326666659375q0.399-0.363 0.943-0.363 0.544-0.036 0.907 0.327z";function Ec(e,t="#000",n=27){return ci("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ci("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ac(){{const{$pageInstance:e}=wi();return e&&Dc(e.proxy)}}function Mc(e){const t=he(e);if(t.$page)return Dc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Dc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Dc(n):void 0}function Pc(){const e=Bh(),t=e.length;if(t)return e[t-1]}function Oc(){var e;const t=null==(e=Pc())?void 0:e.$page;if(t)return t.meta}function Lc(){const e=Oc();return e?e.id:-1}function Ic(){const e=Pc();if(e)return e.$vm}const $c=["navigationBar","pullToRefresh"];function Rc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);$c.forEach((t=>{o[t]=u({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Dc(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(y(e))n=t,t=e,e=Ic();else if("number"==typeof e){const t=Bh().find((t=>_c(t).id===e));e=t?t.$vm:Ic()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function Nc(e){e.preventDefault()}let jc,qc=0;function zc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-qc)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(qc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(jc=setTimeout(a,300))),o=!1};return function(){clearTimeout(jc),o||requestAnimationFrame(a),o=!0}}function Fc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Fc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ie(i.concat(n).join("/"))}function Vc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Uc(){Jl(),_e(wc),window.addEventListener("touchstart",Gl,Ul),window.addEventListener("touchmove",Kl,Ul),window.addEventListener("touchend",Wl,Ul),window.addEventListener("touchcancel",Wl,Ul)}class Hc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(me(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&&me(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=Gc(this.$el.querySelector(e));return t?Wc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=Gc(n[o]);e&&t.push(Wc(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||y(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:O(n);(y(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(y(e)&&(e=U(e)),S(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];v(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Zx.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 Wc(e,t=!0){if(t&&e&&(e=ge(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Hc(e)),e.$el.__wxsComponentDescriptor}function Yc(e,t){return Wc(e,t)}function Xc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Yc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ge(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Yc(r,!1)]}}function Gc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Kc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=Se(t?r:function(e){for(;!wc(e);)e=e.parentElement;return e}(r)),s=Se(i);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};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){u(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Qc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Jc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const Zc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!wc(o);if(r)return Xc(e,t,n,!1)||[e];const i=Kc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=fc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Qc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=fc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Qc(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=fc();i.touches=Jc(e.touches,t),i.changedTouches=Jc(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 Xc(i,t,n)||[i]},createNativeEvent:Kc},Symbol.toStringTag,{value:"Module"});function eu(e){!function(e){const t=e.globalProperties;u(t,Zc),t.$gcd=Yc}(e._context.config)}let tu=1;function nu(e){return(e||Lc())+".invokeViewApi"}const ou=u(Bl("view"),{invokeOnCallback:(e,t)=>tT.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=tT,a=o?tu++:0;o&&r("invokeViewApi."+a,o,!0),i(nu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=tT,s=tu++,l="invokeViewApi."+s;return r(l,n),a(nu(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function ru(e){Bc(Pc(),"onResize",e),tT.invokeOnCallback("onWindowResize",e)}function iu(e){const t=Pc();Bc(Nv(),"onShow",e),Bc(t,"onShow")}function au(){Bc(Nv(),"onHide"),Bc(Pc(),"onHide")}const su=["onPageScroll","onReachBottom"];function lu(){su.forEach((e=>tT.subscribe(e,function(e){return(t,n)=>{Bc(parseInt(n),e,t)}}(e))))}function cu(){!function(){const{on:e}=tT;e("onResize",ru),e("onAppEnterForeground",iu),e("onAppEnterBackground",au)}(),lu()}function uu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Pe(this.$page.id)),e.eventChannel}}function du(e){e._context.config.globalProperties.getOpenerEventChannel=uu}function pu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function fu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${uni.upx2px(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function hu(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],a=t.option.transition,s=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,a=e.option,s=a.transition,l={},c=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(fu)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];l[i]=r.includes(i)?fu(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)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<r&&setTimeout(i,a.duration+a.delay)}setTimeout((()=>{i()}),0)}const gu={props:["animation"],watch:{animation:{deep:!0,handler(){hu(this)}}},mounted(){hu(this)}},mu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(gu),vu(e)},vu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Co(e));function yu(e){return e.__wwe=!0,e}function bu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Se(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const _u={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function wu(e){const t=dn(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(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 s(){r=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:yu((function(e){e.touches.length>1||a(e)})),onMousedown:yu((function(e){r||(a(e),window.addEventListener("mouseup",l))})),onTouchend:yu((function(){s()})),onMouseup:yu((function(){r&&l()})),onTouchcancel:yu((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function xu(e,t){return y(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Tu=vc("uf"),Su=mu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=dn(null);return function(e){const t=[];Sr(Tu,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(bu(o,n)),()=>ci("uni-form",{ref:o},[ci("span",null,[t.default&&t.default()])],512)}});const Cu=vc("ul");function ku(e,t,n){const o=Ac();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Zx.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Zx.on(r,t[r]):e&&Zx.on(`uni-${r}-${o}-${e}`,t[r])}))}function Eu(e,t,n){const o=Ac();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Zx.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Zx.off(r,t[r]):e&&Zx.off(`uni-${r}-${o}-${e}`,t[r])}))}const Au=mu({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=dn(null),o=Cr(Tu,!1),{hovering:r,binding:i}=wu(e),a=yu(((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;})),s=Cr(Cu,!1);return s&&(s.addHandler(a),Xo((()=>{s.removeHandler(a)}))),function(e,t){ku(e.id,t),ao((()=>e.id),((e,n)=>{Eu(n,t,!0),ku(e,t,!0)})),Go((()=>{Eu(e.id,t)}))}(e,{"label-click":a}),()=>{const o=e.hoverClass,s=xu(e,"disabled"),l=xu(e,"loading"),c=xu(e,"plain"),u=o&&"none"!==o;return ci("uni-button",mi({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Mu=vc("upm");function Pu(){return Cr(Mu)}function Ou(e){const t=function(e){return Xt(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=bc(e.offset)),e.height&&(e.height=bc(e.height)),e.range&&(e.range=bc(e.range)),e}(u({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=44+cc.top),e.pullToRefresh=t}}{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!==Bh().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Rc(ll().meta,e)))))}(e);return Sr(Mu,t),t}function Lu(){return ll()}function Iu(){return history.state&&history.state.__id__||1}var $u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ru=function(){const e=new Uint8Array(256);for(var t=0;t<$u.length;t++)e[$u.charCodeAt(t)]=t;return e}();const Du=["original","compressed"],Bu=["album","camera"],Nu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function ju(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function qu(e,t){return!h(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function zu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Fu=1;const Vu={};function Uu(e,t,n,o=!1){return Vu[e]={name:t,keepAlive:o,callback:n},e}function Hu(e,t,n){if("number"==typeof e){const o=Vu[e];if(o)return o.keepAlive||delete Vu[e],o.callback(t,n)}return t}function Wu(e){for(const t in Vu)if(Vu[t].name===e)return!0;return!1}const Yu="success",Xu="fail",Gu="complete";function Ku(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:a}=function(e){const t={};for(const n in e){const o=e[n];v(o)&&(t[n]=zu(o),delete e[n])}return t}(t),s=v(r),l=v(i),c=v(a),u=Fu++;return Uu(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),v(n)&&n(u),u.errMsg===e+":ok"?(v(o)&&o(u,t),s&&r(u)):l&&i(u),c&&a(u)})),u}const Qu="success",Ju="fail",Zu="complete",ed={},td={};function nd(e,t){return function(n){return e(n,t)||n}}function od(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(nd(i,n));else{const e=i(t,n);if(w(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function rd(e,t={}){return[Qu,Ju,Zu].forEach((n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){od(o,e,t).then((e=>v(r)&&r(e)||e))}})),t}function id(e,t){const n=[];h(ed.returnValue)&&n.push(...ed.returnValue);const o=td[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ad(e){const t=Object.create(null);Object.keys(ed).forEach((e=>{"returnValue"!==e&&(t[e]=ed[e].slice())}));const n=td[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function sd(e,t,n,o){const r=ad(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return od(r.invoke,n).then((n=>t(rd(ad(e),n),...o)))}return t(rd(r,n),...o)}return t(n,...o)}function ld(e,t){return(n={},...o)=>function(e){return!(!S(e)||![Yu,Xu,Gu].find((t=>v(e[t]))))}(n)?id(e,sd(e,t,u({},n),o)):id(e,new Promise(((r,i)=>{sd(e,t,u({},n,{success:r,fail:i}),o)})))}function cd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,Hu(e,u({errMsg:i},o))}function ud(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(y(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],a=o[t];if(v(a)){const o=a(e[0][t],n);if(y(o))return o}else f(n,t)||(n[t]=a)}}(t,o);if(r)return r}function dd(e){if(!v(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function pd(e,t,n){return o=>{dd(o);const r=ud(0,[o],0,n);if(r)throw new Error(r);const i=!Wu(e);!function(e,t){Uu(Fu++,e,t,!0)}(e,o),i&&(!function(e){tT.on("api."+e,(t=>{for(const n in Vu){const o=Vu[n];o.name===e&&o.callback(t)}}))}(e),t())}}function fd(e,t,n){return o=>{dd(o);const r=ud(0,[o],0,n);if(r)throw new Error(r);!function(e,t){for(const n in Vu){const o=Vu[n];o.callback===t&&o.name===e&&delete Vu[n]}}(e=e.replace("off","on"),o);Wu(e)||(!function(e){tT.off("api."+e)}(e),t())}}function hd(e,t,n,o){return n=>{const r=Ku(e,n,o),i=ud(0,[n],0,o);return i?cd(r,e,i):t(n,{resolve:t=>function(e,t,n){return Hu(e,u(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>cd(r,e,function(e){return!e||y(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function gd(e,t,n){return pd(e,t,n)}function md(e,t,n){return fd(e,t,n)}function vd(e,t,n,o){return ld(e,hd(e,t,0,o))}function yd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ud(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function bd(e,t,n,o){return ld(e,function(e,t,n,o){return hd(e,t,0,o)}(e,t,0,o))}function _d(e){return`method 'uni.${e}' not supported`}function wd(e){return()=>{console.error(_d(e))}}const xd=wd;function Td(e){return(t,{reject:n})=>n(_d(e))}const Sd=yd(0,(e=>function(e){var t,n,o,r,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=Ru[e.charCodeAt(t)],o=Ru[e.charCodeAt(t+1)],r=Ru[e.charCodeAt(t+2)],i=Ru[e.charCodeAt(t+3)],u[l++]=n<<2|o>>4,u[l++]=(15&o)<<4|r>>2,u[l++]=(3&r)<<6|63&i;return c}(e))),Cd=yd(0,(e=>function(e){var t,n=new Uint8Array(e),o=n.length,r="";for(t=0;t<o;t+=3)r+=$u[n[t]>>2],r+=$u[(3&n[t])<<4|n[t+1]>>4],r+=$u[(15&n[t+1])<<2|n[t+2]>>6],r+=$u[63&n[t+2]];return o%3==2?r=r.substring(0,r.length-1)+"=":o%3==1&&(r=r.substring(0,r.length-2)+"=="),r}(e)));let kd=!1,Ed=0,Ad=0,Md=960,Pd=375,Od=750;function Ld(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=cg(),t=pg(dg(e,ug(e)));return{platform:rg?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Ed=e,Ad=t,kd="ios"===n}function Id(e,t){const n=Number(e);return isNaN(n)?t:n}const $d=yd(0,((e,t)=>{if(0===Ed&&(Ld(),function(){const e=__uniConfig.globalStyle||{};Md=Id(e.rpxCalcMaxDeviceWidth,960),Pd=Id(e.rpxCalcBaseDeviceWidth,375),Od=Id(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Ed;n=e===Od||n<=Md?n:Pd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Ad&&kd?.5:1),e<0?-o:o}));function Rd(e,t){Object.keys(t).forEach((n=>{v(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):h(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function Dd(e,t){e&&t&&Object.keys(t).forEach((n=>{const o=e[n],r=t[n];h(o)&&v(r)&&d(o,r)}))}const Bd=yd(0,((e,t)=>{y(e)&&S(t)?Rd(td[e]||(td[e]={}),t):S(e)&&Rd(ed,e)})),Nd=yd(0,((e,t)=>{y(e)?S(t)?Dd(td[e],t):delete td[e]:S(e)&&Dd(ed,e)}));const jd=new class{constructor(){this.$emitter=new Be}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},qd=yd(0,((e,t)=>(jd.on(e,t),()=>jd.off(e,t)))),zd=yd(0,((e,t)=>(jd.once(e,t),()=>jd.off(e,t)))),Fd=yd(0,((e,t)=>{h(e)||(e=e?[e]:[]),e.forEach((e=>{jd.off(e,t)}))})),Vd=yd(0,((e,...t)=>{jd.emit(e,...t)}));const Ud=[.5,.8,1,1.25,1.5,2];class Hd{constructor(e,t){this.id=e,this.pageId=t}play(){fg(this.id,this.pageId,"play")}pause(){fg(this.id,this.pageId,"pause")}stop(){fg(this.id,this.pageId,"stop")}seek(e){fg(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){fg(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Ud.indexOf(e)||(e=1),fg(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){fg(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){fg(this.id,this.pageId,"exitFullScreen")}showStatusBar(){fg(this.id,this.pageId,"showStatusBar")}hideStatusBar(){fg(this.id,this.pageId,"hideStatusBar")}}const Wd=yd(0,((e,t)=>new Hd(e,Mc(t||Ic())))),Yd=(e,t,n,o)=>{!function(e,t,n,o,r){tT.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)}))};class Xd{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Yd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Yd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Yd(this.id,this.pageId,"getScale",e)}getRegion(e){Yd(this.id,this.pageId,"getRegion",e)}includePoints(e){Yd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Yd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Yd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Yd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Yd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Yd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Yd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Yd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Yd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Yd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Yd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Yd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Yd(this.id,this.pageId,"openMapApp",e)}on(e,t){Yd(this.id,this.pageId,"on",{name:e,callback:t})}}const Gd=yd(0,((e,t)=>new Xd(e,Mc(t||Ic()))));function Kd(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Qd=Kd("width"),Jd=Kd("height"),Zd={formatArgs:{x:Kd("x"),y:Kd("y"),width:Qd,height:Jd}},ep={canvasId:{type:String,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0}},tp=Zd,np=(Uint8ClampedArray,{PNG:"png",JPG:"jpg",JPEG:"jpg"}),op={formatArgs:{x:Kd("x",0),y:Kd("y",0),width:Qd,height:Jd,destWidth:Kd("destWidth"),destHeight:Kd("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=np[e];n||(n=np.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function rp(e,t,n,o,r){tT.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var ip=["scale","rotate","translate","setTransform","transform"],ap=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],sp=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const lp={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 cp(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(lp,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(lp[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 up{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,cp(t)])}}class dp{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class pp{constructor(e){this.width=e}}class fp{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,a,s,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=[],rp(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new up("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new up("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 dp(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 pp(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],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.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 s(){a.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 hp=le((()=>{[...ip,...ap].forEach((function(e){fp.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,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=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,a,s,l,c,n,o,r,i]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),sp.forEach((function(e){fp.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",cp(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=cp(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)}))})),gp=yd(0,((e,t)=>{if(hp(),t)return new fp(e,Mc(t));const n=Mc(Ic());if(n)return new fp(e,n);tT.emit("onError","createCanvasContext:fail")})),mp=bd("canvasGetImageData",(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:a})=>{const s=Mc(Ic());s?rp(e,s,"getImageData",{x:t,y:n,width:o,height:r},(function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void a("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,i(e)})):a()}),0,Zd),vp=bd("canvasPutImageData",(({canvasId:e,data:t,x:n,y:o,width:r,height:i},{resolve:a,reject:s})=>{var l=Mc(Ic());if(!l)return void s();t=Array.prototype.slice.call(t),rp(e,l,"putImageData",{data:t,x:n,y:o,width:r,height:i,compressed:void 0},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?s():a(e)}))}),0,tp),yp=bd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=Mc(Ic());if(!d)return void u();rp(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:l,dirname:"/canvas"},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,op),bp=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],_p=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],wp={thresholds:[0],initialRatio:0,observeAll:!1},xp=["top","right","bottom","left"];let Tp=1;function Sp(e={}){return xp.map((t=>`${Number(e[t])||0}px`)).join(" ")}class Cp{constructor(e,t){this._pageId=Mc(e),this._component=e,this._options=u({},wp,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Sp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Sp(e),this}observe(e,t){v(t)&&(this._options.selector=e,this._reqId=Tp++,function({reqId:e,component:t,options:n,callback:o},r){const i=Zh(t);(i.__io||(i.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}var t=function(t){for(var n=window.document,o=e(n);o;)o=e(n=o.ownerDocument);return n}(),n=[],o=null,r=null;function i(e){this.time=e.time,this.target=e.target,this.rootBounds=h(e.rootBounds),this.boundingClientRect=h(e.boundingClientRect),this.intersectionRect=h(e.intersectionRect||f()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}function c(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-r,s=o-n;return a>=0&&s>=0&&{top:n,bottom:o,left:r,right:i,width:a,height:s}||null}function p(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function g(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function m(e,t){for(var n=t;n;){if(n==e)return!0;n=v(n)}return!1}function v(n){var o=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function y(e){return e&&9===e.nodeType}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return o||(o=function(e,t){r=e&&t?g(e,t):f(),n.forEach((function(e){e._checkForIntersections()}))}),o},a._resetCrossOriginUpdater=function(){o=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(n){var o=n.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(n)){var r=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=o.setInterval(r,this.POLL_INTERVAL):(c(o,"resize",r,!0),c(n,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(a=new o.MutationObserver(r)).observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push((function(){var e=n.defaultView;e&&(i&&e.clearInterval(i),u(e,"resize",r,!0)),u(n,"scroll",r,!0),a&&a.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=s){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(n){var o=this._monitoringDocuments.indexOf(n);if(-1!=o){var r=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==n)return!0;for(;o&&o!=r;){var i=e(o);if((o=i&&i.ownerDocument)==n)return!0}return!1}))){var i=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),i(),n!=r){var a=e(n);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!o||r){var e=this._rootIsInDom(),t=e?this._getRootRect():f();this._observationTargets.forEach((function(n){var r=n.element,a=p(r),l=this._rootContainsTarget(r),c=n.entry,u=e&&l&&this._computeTargetAndRootIntersection(r,a,t),d=null;this._rootContainsTarget(r)?o&&!this.root||(d=t):d=f();var h=n.entry=new i({time:s(),target:r,boundingClientRect:a,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(e,n,i){if("none"!=window.getComputedStyle(e).display){for(var a=n,s=v(e),l=!1;!l&&s;){var c=null,u=1==s.nodeType?window.getComputedStyle(s):{};if("none"==u.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==t)o&&!this.root?!r||0==r.width&&0==r.height?(s=null,c=null,a=null):c=r:c=i;else{var f=v(s),h=f&&p(f),m=f&&this._computeTargetAndRootIntersection(f,h,i);h&&m?(s=f,c=g(h,m)):(s=null,a=null)}else{var y=s.ownerDocument;s!=y.body&&s!=y.documentElement&&"visible"!=u.overflow&&(c=p(s))}if(c&&(a=d(c,a)),!a)break;s=s&&v(s)}return a}},a.prototype._getRootRect=function(){var e;if(this.root&&!y(this.root))e=p(this.root);else{var n=y(this.root)?this.root:t,o=n.documentElement,r=n.body;e={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},a.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return m(n,e)&&(!this.root||n==e.ownerDocument)},a.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},a.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:ah(e),intersectionRect:ih(e.intersectionRect),boundingClientRect:ih(e.boundingClientRect),relativeRect:ih(e.rootBounds),time:Date.now(),dataset:we(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)r.observe(n[e])}else{r.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?r.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return r}(i,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=Zh(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const kp=yd(0,((e,t)=>((e=he(e))&&!Mc(e)&&(t=e,e=null),new Cp(e||Ic(),t))));let Ep=1;class Ap{constructor(e){this._pageId=(null==e?void 0:e.$page)&&e.$page.id,this._component=e}observe(e,t){v(t)&&(this._reqId=Ep++,function({reqId:e,component:t,options:n,callback:o},r){const i=mg[e]=window.matchMedia(function(e){const t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(const o of n)"orientation"!==o&&e[o]&&Number(e[o]>=0)&&t.push(`(${yg(o)}: ${Number(e[o])}px)`),"orientation"===o&&e[o]&&t.push(`(${yg(o)}: ${e[o]})`);return t.join(" and ")}(n)),a=vg[e]=e=>o(e.matches);a(i),i.addListener(a)}({reqId:this._reqId,component:this._component,options:e,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=vg[e],r=mg[e];r&&(r.removeListener(o),delete vg[e],delete mg[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Mp=yd(0,(e=>((e=he(e))&&!Mc(e)&&(e=null),new Ap(e||Ic()))));let Pp=0,Op={};const Lp={canvas:fp,map:Xd,video:Hd,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(Pp++);r.callbackId=e,Op[e]=o}tT.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(de(Op[e],t),delete Op[e])}))}(this.id,this.pageId,e,t)}}};function Ip(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Lp[n];e.context=new r(t,o),delete e.contextInfo}}class $p{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 Rp{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),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,l=3===s||8===s;if(o){const e=l?a.querySelector(n):gg(i,n)?i:i.querySelector(n);return e?hg(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(hg(t,r))})),!l&&gg(i,n)&&e.unshift(hg(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(Ip):Ip(e);const o=n[t];v(o)&&o.call(this,e)})),v(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=he(e),this}select(e){return this._nodesRef=new $p(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new $p(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new $p(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 Dp=yd(0,(e=>((e=he(e))&&!Mc(e)&&(e=null),new Rp(e||Ic())))),Bp={formatArgs:{}},Np={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class jp{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Np,e)}_getOption(e){const t={transition:u({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const qp=le((()=>{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=>{jp.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}}))})),zp=yd(0,(e=>(qp(),new jp(e))),0,Bp),Fp=gd("onTabBarMidButtonTap",(()=>{})),Vp=gd("onWindowResize",(()=>{})),Up=md("offWindowResize",(()=>{})),Hp=yd(0,(()=>{const e=Nv();return e&&e.$vm?e.$vm.$locale:Sl().getLocale()})),Wp=gd("onLocaleChange",(()=>{})),Yp=yd(0,(e=>{const t=Nv();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage.UNI_LOCALE=e),tT.invokeOnCallback("onLocaleChange",{locale:e}),!0)})),Xp=bd("setPageMeta",((e,{resolve:t})=>{t(function(e,{pageStyle:t,rootFontSize:n}){if(t){(document.querySelector("uni-page-body")||document.body).setAttribute("style",t)}n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}(Ic(),e))})),Gp=bd("getSelectedTextRange",((e,{resolve:t,reject:n})=>{tT.invokeViewMethod("getSelectedTextRange",{},Lc(),(e=>{void 0===e.end&&void 0===e.start?n("no focused"):t(e)}))})),Kp={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};function Qp(e,t){const n=Nv();if(n&&n.$vm)return Fo(e,t,n.$vm.$);Kp[e].push(t)}function Jp(e,t){const n=Nv();if(n&&n.$vm)return function(e,t,n){const o=e.$[t];h(o)&&n.__weh&&d(o,n.__weh)}(n.$vm,e,t);d(Kp[e],t)}const Zp=yd(0,(()=>kg())),ef=yd(0,(()=>u({},Sg)));let tf,nf,of;function rf(e){try{return JSON.parse(e)}catch(t){}return e}const af=[];function sf(e,t){af.forEach((n=>{n(e,t)})),af.length=0}const lf=bd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===of&&(of=!1,tf="",nf="uniPush is not enabled"),af.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==tf&&sf(tf,nf)}))})),cf=[],uf={formatArgs:{showToast:!0},beforeInvoke(){Ll()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Sl(),o=n("uni.setClipboardData.success");o&&uni.showToast({title:o,icon:"success",mask:!1})}},df=(Boolean,{formatArgs:{filePath(e,t){t.filePath=tg(e)}}}),pf={formatArgs:{filePath(e,t){t.filePath=tg(e)}}},ff=["wgs84","gcj02"],hf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===ff.indexOf(e)?t.type=ff[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},gf=(Boolean,(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}}),mf={formatArgs:{latitude(e,t){const n=gf("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=gf("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},vf={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=qu(e,Du)},sourceType(e,t){t.sourceType=qu(e,Bu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},yf={formatArgs:{sourceType(e,t){t.sourceType=qu(e,Bu)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},bf=(Boolean,["all","image","video"]),_f={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=qu(e,Bu)},type(e,t){t.type=ju(e,bf)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},wf={formatArgs:{src(e,t){t.src=tg(e)}}},xf={formatArgs:{urls(e,t){t.urls=e.map((e=>y(e)&&e?tg(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=tg(e))}}},Tf={formatArgs:{src(e,t){t.src=tg(e)}}},Sf="json",Cf=["text","arraybuffer"],kf=encodeURIComponent;ArrayBuffer,Boolean;const Ef={formatArgs:{method(e,t){t.method=ju((e||"").toUpperCase(),Nu)},data(e,t){t.data=e||""},url(e,t){t.method===Nu[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)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(f(t,s)){let e=t[s];null==e?e="":S(e)&&(e=JSON.stringify(e)),a[kf(s)]=kf(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Nu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Sf).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Cf.indexOf(t.responseType)&&(t.responseType="text")}}},Af={formatArgs:{header(e,t){t.header=e||{}}}},Mf={formatArgs:{filePath(e,t){e&&(t.filePath=tg(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Pf={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=ju((e||"").toUpperCase(),Nu)},protocols(e,t){y(e)&&(t.protocols=[e])}}},Of=["wgs84","gcj02"],Lf={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Of.indexOf(e)?t.type=Of[1]:t.type=e}}};const If={url:{type:String,required:!0}},$f=(jf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),jf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Ff("navigateTo")),Rf=Ff("redirectTo"),Df=Ff("reLaunch"),Bf=Ff("switchTab"),Nf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Bh().length-1,e)}}};function jf(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 qf;function zf(){qf=""}function Ff(e){return{formatArgs:{url:Vf(e)},beforeAll:zf}}function Vf(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=Bh();return n.length&&(t=_c(n[n.length-1]).route),Fc(t,e)}(t)).split("?")[0],r=Vc(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(!y(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(qf===t&&"appLaunch"!==n.openType)return`${qf} locked`;__uniConfig.ready&&(qf=t)}else if(r.meta.isTabBar){const e=Bh(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Uf={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Hf={formatArgs:{duration:300}},Wf={formatArgs:{itemColor:"#000"}},Yf=(Boolean,{formatArgs:{title:"",mask:!1}}),Xf=(Boolean,{beforeInvoke(){Pl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=Sl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=Sl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Gf=["success","loading","none","error"],Kf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=ju(e,Gf)},image(e,t){t.image=e?tg(e):""},duration:1500,mask:!1}}),Qf={beforeInvoke(){const e=Oc();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},Jf={beforeInvoke:Qf.beforeInvoke,formatArgs:u({pagePath(e,t){e&&(t.pagePath=ae(e))}},Qf.formatArgs)},Zf=/^(linear|radial)-gradient\(.+?\);?$/,eh={beforeInvoke:Qf.beforeInvoke,formatArgs:{backgroundImage(e,t){e&&!Zf.test(e)&&(t.backgroundImage=tg(e))},borderStyle(e,t){e&&(t.borderStyle="white"===e?"white":"black")}}},th=Qf,nh=Qf,oh=Qf,rh={beforeInvoke:Qf.beforeInvoke,formatArgs:u({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},Qf.formatArgs)};function ih(e){const{bottom:t,height:n,left:o,right:r,top:i,width:a}=e||{};return{bottom:t,height:n,left:o,right:r,top:i,width:a}}function ah(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:i}}=e;return 0!==t?t:r===n?i/o:r/n}function sh(){const e=Ic();if(!e)return;const t=Dh(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:jh(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Bc(e,"onHide"))}function lh(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function ch(e){const t=Dh().values();for(const n of t){const t=Ph(n);if(lh(e,t))return n.$.__isActive=!0,t.id}}const uh=bd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Oh.handledBeforeEntryPageRoutes)return sh(),gh({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},ch(e)).then(o).catch(r);Ih.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Bf);function dh(){const e=Pc();if(!e)return;const t=Ph(e);jh(Vh(t.path,t.id))}const ph=bd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Oh.handledBeforeEntryPageRoutes)return dh(),gh({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);$h.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Rf);function fh(){const e=Dh().keys();for(const t of e)jh(t)}const hh=bd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Oh.handledBeforeEntryPageRoutes)return fh(),gh({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Rh.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Df);function gh({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const a=Nv().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ae(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++qh,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((i=>{if(Es(i))return c(i.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.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 Pe(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function mh(){if(Oh.handledBeforeEntryPageRoutes)return;Oh.handledBeforeEntryPageRoutes=!0;const e=[...Lh];Lh.length=0,e.forEach((({args:e,resolve:t,reject:n})=>gh(e).then(t).catch(n)));const t=[...Ih];Ih.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(sh(),gh(e,ch(e.url)).then(t).catch(n))));const n=[...$h];$h.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(dh(),gh(e).then(t).catch(n))));const o=[...Rh];Rh.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(fh(),gh(e).then(t).catch(n))))}let vh;function yh(){var e;return vh||(vh=__uniConfig.tabBar&&Xt((e=__uniConfig.tabBar,bl()&&e.list&&e.list.forEach((e=>{Tl(e,["text"])})),e))),vh}function bh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const _h=bh("--a:0"),wh=bh("top:env(a)"),xh=bh("top:constant(a)"),Th=bh("backdrop-filter:blur(10px)"),Sh={"css.var":_h,"css.env":wh,"css.constant":xh,"css.backdrop-filter":Th},Ch=yd(0,(e=>f(Sh,e)?Sh[e]:!!f(uni,e))),kh=(()=>wh?"env":xh?"constant":"")();function Eh(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=yh();e.shown&&(n=parseInt(e.height))}var o;mc({"--window-top":(o=t,kh?`calc(${o}px + ${kh}(safe-area-inset-top))`:`${o}px`),"--window-bottom":Ah(n)})}function Ah(e){return kh?`calc(${e}px + ${kh}(safe-area-inset-bottom))`:`${e}px`}const Mh=new Map;function Ph(e){return e.$page}const Oh={handledBeforeEntryPageRoutes:!1},Lh=[],Ih=[],$h=[],Rh=[];function Dh(){return Mh}function Bh(){return Nh()}function Nh(){const e=[],t=Mh.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function jh(e,t=!0){const n=Mh.get(e);n.$.__isUnload=!0,Bc(n,"onUnload"),Mh.delete(e),t&&function(e){const t=Uh.get(e);t&&(Uh.delete(e),Hh.pruneCacheEntry(t))}(e)}let qh=Iu();function zh(e){const t=Pu();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:a,route:s}=o,l=qe(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:ie(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Fh(e){const t=zh(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),Mh.set(Vh(t.path,t.id),e),1===Mh.size&&setTimeout((()=>{mh()}),0)}function Vh(e,t){return e+"$$"+t}const Uh=new Map,Hh={get:e=>Uh.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Hh.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Hh.delete(n),Hh.pruneCacheEntry(e),On((()=>{Mh.forEach(((e,t)=>{e.$.isUnmounted&&Mh.delete(t)}))}))}}))}(e),Uh.set(e,t)},delete(e){Uh.get(e)&&Uh.delete(e)},forEach(e){Uh.forEach(e)}};function Wh(e,t){!function(e){const t=Xh(e),{body:n}=document;Gh&&n.removeAttribute(Gh),t&&n.setAttribute(t,""),Gh=t}(e),Eh(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),Jh(e,t)}function Yh(e){const t=Xh(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Xh(e){return e.type.__scopeId}let Gh;const Kh=!!(()=>{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 Qh;function Jh(e,t){if(document.removeEventListener("touchmove",Nc),Qh&&document.removeEventListener("scroll",Qh),t.disableScroll)return document.addEventListener("touchmove",Nc,Kh);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={},a=Ph(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Zx.publishHandler("onPageScroll",{scrollTop:o},e),n&&Zx.emit(e+".onPageScroll",{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Zx.publishHandler("onReachBottom",{},a)),Qh=zc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Qh)))}function Zh(e){return e.$el}function eg(e){const{base:t}=__uniConfig.router;return 0===ie(e).indexOf(t)?ie(e):t+e}function tg(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 eg(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Nh();return o.length?eg(Fc(Ph(o[o.length-1]).route,e).slice(1)):e}const ng=navigator.userAgent,og=/android/i.test(ng),rg=/iphone|ipad|ipod/i.test(ng),ig=ng.match(/Windows NT ([\d|\d.\d]*)/i),ag=/Macintosh|Mac/i.test(ng),sg=/Linux|X11/i.test(ng),lg=ag&&navigator.maxTouchPoints>0;function cg(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function ug(e){return e&&90===Math.abs(window.orientation)}function dg(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function pg(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function fg(e,t,n,o){tT.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function hg(e,t){const n={},{top:o,topWindowHeight:r}=hc();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=we(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 gg(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)}let mg={},vg={};function yg(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}const bg={};function _g(e,t){const n=bg[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 a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return wg(a,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 wg(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function xg(e){for(const n in bg)if(f(bg,n)){if(bg[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return bg[t]=e,t}function Tg(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete bg[e]}const Sg=pu(),Cg=pu();function kg(){return u({},Cg)}const Eg=mu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=dn(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=Xt({width:-1,height:-1});return ao((()=>u({},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){$o(o),Ho((()=>{t.initial&&On(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ci("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ci("div",{onScroll:r},[ci("div",null,null)],40,["onScroll"]),ci("div",{onScroll:r},[ci("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Ag(){}const Mg={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 Pg(e,t,n){function o(e){const t=Li((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Ag,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Ag,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}ao((()=>t.value),(e=>e&&o(e)))}var Og=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Lg=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Ig=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,$g=qg("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Rg=qg("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Dg=qg("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),Bg=qg("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Ng=qg("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),jg=qg("script,style");function qg(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const zg={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Fg={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Vg={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"]},Ug=mu({name:"Image",props:zg,setup(e,{emit:t}){const n=dn(null),o=function(e,t){const n=dn(""),o=Li((()=>{let e="auto",o="";const r=Vg[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=Xt({rootEl:e,src:Li((()=>t.src?tg(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Ho((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=bu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Fg[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Hg&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return ao((()=>t.mode),((e,t)=>{Fg[t]&&r(),Fg[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),On((()=>{o()})),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};ao((()=>e.src),(e=>l(e))),ao((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),Ho((()=>l(e.src))),Xo((()=>c()))}(o,e,n,i,r),()=>ci("uni-image",{ref:n},[ci("div",{style:o.modeStyle},null,4),Fg[e.mode]?ci(Eg,{onResize:i},null,8,["onResize"]):ci("span",null,null)],512)}});const Hg="Google Inc."===navigator.vendor;const Wg=Te(!0),Yg=[];let Xg=0,Gg=!1;const Kg=e=>Yg.forEach((t=>t.userAction=e));function Qg(e={userAction:!1}){if(!Gg){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Xg&&Kg(!0),Xg++,setTimeout((()=>{!--Xg&&Kg(!1)}),0)}),Wg)})),Gg=!0}Yg.push(e)}const Jg=()=>!!Xg;function Zg(){const e=Xt({userAction:!1});return Ho((()=>{Qg(e)})),Xo((()=>{!function(e){const t=Yg.indexOf(e);t>=0&&Yg.splice(t,1)}(e)})),{state:e}}function em(){const e=Xt({attrs:{}});return Ho((()=>{let t=wi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function tm(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 nm(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const om=["none","text","decimal","numeric","tel","search","email","url"],rm=u({},{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=>!!~om.indexOf(e)},cursorColor:{type:String,default:""}},Mg),im=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function am(e,t,n,o){let r=null;r=Me((n=>{t.value=nm(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),ao((()=>e.modelValue),r),ao((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-r<t?n=setTimeout(o,t-(a-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Uo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function sm(e,t){Zg();const n=Li((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}ao((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Ho((()=>{n.value&&On(o)}))}function lm(e,t,n,o){zl(Lc(),"getSelectedTextRange",tm);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=dn(null),r=bu(t,n),i=Li((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Li((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Li((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Li((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=nm(e.modelValue,e.type)||nm(e.value,e.type);const u=Xt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return ao((()=>u.focus),(e=>n("update:focus",e))),ao((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:s}=am(e,i,n,a);sm(e,r),Pg(0,r);const{state:l}=em();!function(e,t){const n=Cr(Tu,!1);if(!n)return;const o=wi(),r={submit(){const n=o.proxy;return[n[e],y(t)?n[t]:t.value]},reset(){y(t)?o.proxy[t]="":t.value=""}};n.addField(r),Xo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function a(){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 s(){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}ao([()=>t.selectionStart,()=>t.selectionEnd],a),ao((()=>t.cursor),s),ao((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),v(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}),a(),s()})),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,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const cm=u({},rm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),um=le((()=>{{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 dm(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&um()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const pm=mu({name:"Input",props:cm,emits:["confirm",...im],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Li((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Li((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(O(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=dn(null!=t?t.toLocaleString():"");return ao((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),ao((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return dn("")}(e,i),l={fn:null};const c=dn(null),{fieldRef:u,state:d,scopedAttrsState:p,fixDisabledColor:f,trigger:h}=lm(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!s.value||!o.value)&&"-"===t.data||"-"===s.value[0]&&"deleteContentBackward"===t.inputType)return s.value="-",n.value="",l.fn=()=>{s.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=dm(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=dm(t,s,n,o,l);if("boolean"==typeof e)return e;s.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));ao((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const g=["number","digit"],m=Li((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&f?ci("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ci("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ci("uni-input",{ref:c},[ci("div",{class:"uni-input-wrapper"},[po(ci("div",mi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ea,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?ci("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const fm=["class","style"],hm=/^on[A-Z]+/,gm=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=wi(),r=pn({}),i=pn({}),a=pn({}),s=n.concat(fm);return o.attrs=Xt(o.attrs),ro((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:hm.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,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function mm(e){const t=[];return h(e)&&e.forEach((e=>{oi(e)?e.type===Hr?t.push(...mm(e.children)):t.push(e):h(e)&&t.push(...mm(e))})),t}const vm=mu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=dn(null),o=dn(!1);let{setContexts:r,events:i}=function(e,t){const n=dn(0),o=dn(0),r=Xt({x:null,y:null}),i=dn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function r(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:r(e.parentNode)}return r(e)}const u=yu((t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=ym(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),d=yu((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==r.x&&i.value&&i.value>0){l(ym(n)/i.value)}r.x=n.x,r.y=n.y}})),p=yu((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function f(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return Sr("movableAreaWidth",n),Sr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=gm(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Ho((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(on(o))}r(e)}return Sr("_isMounted",o),Sr("movableAreaRootRef",n),Sr("addMovableViewContext",(e=>{d.push(e),p()})),Sr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=mm(e),ci("uni-movable-area",mi({ref:n},s.value,l.value,c),[ci(Eg,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function ym(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const bm=function(e,t,n,o){e.addEventListener(t,(e=>{v(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let _m,wm;function xm(e,t,n){Xo((()=>{document.removeEventListener("mousemove",_m),document.removeEventListener("mouseup",wm)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,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:s,y:l,dx:s-o,dy:l-r,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;bm(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),bm(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),bm(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=_m=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),bm(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=wm=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),bm(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function Tm(e,t,n){return e>t-n&&e<t+n}function Sm(e,t){return Tm(e,0,t)}function Cm(){}function km(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Em(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Am(e,t,n){this._springX=new Em(e,t,n),this._springY=new Em(e,t,n),this._springScale=new Em(e,t,n),this._startTime=0}Cm.prototype.x=function(e){return Math.sqrt(e)},km.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},km.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},km.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},km.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},km.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},km.prototype.dt=function(){return-this._x_v/this._x_a},km.prototype.done=function(){const e=Tm(this.s().x,this._endPositionX)||Tm(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},km.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},km.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Em.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Em.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Em.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Em.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Sm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Sm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Sm(t,.1)&&(t=0),Sm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Sm(o-e,.1)&&Sm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Em.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Em.prototype.done=function(e){return e||(e=(new Date).getTime()),Tm(this.x(),this._endPosition,.1)&&Sm(this.dx(),.1)},Em.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Em.prototype.springConstant=function(){return this._k},Em.prototype.damping=function(){return this._c},Em.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Am.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Am.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Am.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Am.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Mm(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Pm=mu({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=dn(null),r=bu(o,n),{setParent:i}=function(e,t,n){const o=Cr("_isMounted",dn(!1)),r=Cr("addMovableViewContext",(()=>{})),i=Cr("removeMovableViewContext",(()=>{}));let a,s,l=dn(1),c=dn(1),u=dn(!1),d=dn(0),p=dn(0),f=null,h=null,g=!1,m=null,v=null;const y=new Cm,b=new Cm,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Li((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new km(1,w.value);ao((()=>e.disabled),(()=>{H()}));const{_updateOldScale:T,_endScale:S,_setScale:C,scaleValueSync:k,_updateBoundary:E,_updateOffset:A,_updateWH:M,_scaleOffset:P,minX:O,minY:L,maxX:I,maxY:$,FAandSFACancel:R,_getLimitXY:D,_setTransform:B,_revise:N,dampingNumber:j,xMove:q,yMove:z,xSync:F,ySync:V,_STD:U}=function(e,t,n,o,r,i,a,s,l,c){const u=Li((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=Li((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=dn(Number(e.scaleValue)||1);ao(p,(e=>{B(e)})),ao(u,(()=>{D()})),ao(d,(()=>{D()})),ao((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Cr("movableAreaWidth",dn(0)),r=Cr("movableAreaHeight",dn(0)),i=Cr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=dn(0),c=dn(0),u=dn(0),d=dn(0),p=dn(0),f=dn(0);function h(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-a.y+s.y,i=r.value-c.value-a.y-s.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function g(){a.x=Im(e.value,i.value),a.y=$m(e.value,i.value)}function m(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:f}}(t,o,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:C,dampingNumber:k,xMove:E,yMove:A,xSync:M,ySync:P,_STD:O}=function(e,t,n,o,r,i,a,s,l,c,u,d,p,f){const h=Li((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Li((()=>"all"===t.direction||"horizontal"===t.direction)),m=Li((()=>"all"===t.direction||"vertical"===t.direction)),v=dn(Dm(t.x)),y=dn(Dm(t.y));ao((()=>t.x),(e=>{v.value=Dm(e)})),ao((()=>t.y),(e=>{y.value=Dm(e)})),ao(v,(e=>{C(e)})),ao(y,(e=>{k(e)}));const b=new Am(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<a.value&&(e=a.value,n=!0),t>i.value?(t=i.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,a,s){w(),g.value||(e=l.value),m.value||(n=c.value),t.scale||(r=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Rm(b,(function(){let e=b.x();T(e.x,e.y,e.scale,i,a,s)}),(function(){u.cancel()}))):T(e,n,r,i,a,s)}function T(r,i,a,s="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===r&&c.value===i||u||f("change",{},{x:Mm(r,n.x),y:Mm(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=p(a)).toFixed(3),d&&a!==o.value&&f("scale",{},{x:r,y:i,scale:a});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=a)}function S(e){let t=_(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i}function C(e){if(g.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}return e}function k(e){if(m.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:T,_revise:S,dampingNumber:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,a,s,l,c,R,n);function L(t,n){if(e.scale){t=R(t),g(t),f();const e=x(a.value,s.value),o=e.x,r=e.y;n?T(o,r,t,"",!0,!0):Lm((function(){S(o,r,t,"",!0,!0)}))}}function I(){i.value=!0}function $(e){r.value=e}function R(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function D(){if(!e.scale)return!1;L(o.value,!0),$(o.value)}function B(t){return!!e.scale&&(L(t=R(t),!0),$(t),t)}function N(){i.value=!1,$(o.value)}function j(e){e&&(e=r.value*e,I(),L(e))}return{_updateOldScale:$,_endScale:N,_setScale:j,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:C,dampingNumber:k,xMove:E,yMove:A,xSync:M,ySync:P,_STD:O}}(e,n,t,l,c,u,d,p,f,h);function H(){u.value||e.disabled||(R(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],q.value&&(a=d.value),z.value&&(s=p.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function W(t){if(!u.value&&!e.disabled&&g){let n=d.value,o=p.value;if(null===v&&(v=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),q.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),z.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),z.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),q.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let r="touch";n<O.value?e.outOfBounds?(r="touch-out-of-bounds",n=O.value-y.x(O.value-n)):n=O.value:n>I.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=I.value+y.x(n-I.value)):n=I.value),o<L.value?e.outOfBounds?(r="touch-out-of-bounds",o=L.value-b.x(L.value-o)):o=L.value:o>$.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=$.value+b.x(o-$.value)):o=$.value),Lm((function(){B(n,o,l.value,r)}))}}}function Y(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!N("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=p.value;x.setV(e,t),x.setS(n,o);const r=x.delta().x,i=x.delta().y;let a=r+n,s=i+o;a<O.value?(a=O.value,s=o+(O.value-n)*i/r):a>I.value&&(a=I.value,s=o+(I.value-n)*i/r),s<L.value?(s=L.value,a=n+(L.value-o)*r/i):s>$.value&&(s=$.value,a=n+($.value-o)*r/i),x.setEnd(a,s),h=Rm(x,(function(){let e=x.s(),t=e.x,n=e.y;B(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||R()}function X(){if(!o.value)return;R();let t=e.scale?k.value:1;A(),M(t),E();let n=D(F.value+P.x,V.value+P.y),r=n.x,i=n.y;B(r,i,t,"",!0),T(t)}return Ho((()=>{xm(n.value,(e=>{switch(e.detail.state){case"start":H();break;case"move":W(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),U.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:X,_endScale:S,_setScale:C};r(e),Go((()=>{i(e)}))})),Go((()=>{R()})),{setParent:X}}(e,r,o);return()=>ci("uni-movable-view",{ref:o},[ci(Eg,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Om=!1;function Lm(e){Om||(Om=!0,requestAnimationFrame((function(){e(),Om=!1})))}function Im(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Im(e.offsetParent,t):0}function $m(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=$m(e.offsetParent,t):0}function Rm(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Dm(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}const Bm=mu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=dn(null),r=dn(null),i=bu(o,n),a=function(e){const t=Xt([...e.value]),n=Xt({value:t,height:34});return ao((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),s=dn(null);Ho((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=dn([]),c=dn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Yr));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Sr("getPickerViewColumn",(function(e){return Li({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),Sr("pickerViewProps",e),Sr("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=mm(e);l.value=t,On((()=>{c.value=t}))}return ci("uni-picker-view",{ref:o},[ci(Eg,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),ci("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Nm{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function jm(e,t,n){return e>t-n&&e<t+n}function qm(e,t){return jm(e,0,t)}class zm{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!qm(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(qm(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),qm(t,.4)&&(t=0),qm(o,.4)&&(o=0),o+=this._endPosition),this._solution&&qm(o-e,.4)&&qm(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),jm(this.x(),this._endPosition,.4)&&qm(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Fm{constructor(e,t,n){this._extent=e,this._friction=t||new Nm(.01),this._spring=n||new zm(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class Vm{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Fm(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),v(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),v(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(v(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),v(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function Um(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Vm(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const Hm=mu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=dn(null),r=dn(null),i=Cr("getPickerViewColumn"),a=wi(),s=i?i(a):dn(0),l=Cr("pickerViewProps"),c=Cr("pickerViewState"),u=dn(34),d=dn(null);Ho((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=Li((()=>(c.height-u.value)/2)),{state:f}=em();let h;const g=Xt({current:s.value,length:0});let m;function v(){h&&!m&&(m=!0,On((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}ao((()=>s.value),(e=>{e!==g.current&&(g.current=e,v())})),ao((()=>g.current),(e=>s.value=e)),ao([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(g.current+t,g.length-1);g.current=r=Math.max(r,0),h.scrollTo(r*u.value)}}}return Ho((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=Um(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Nm(1e-4),spring:new zm(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,xm(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),v()})),()=>{const e=t.default&&t.default();g.length=mm(e).length;const n=`${p.value}px 0`;return ci("uni-picker-view-column",{ref:o},[ci("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[ci("div",mi(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),ci("div",mi(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[ci(Eg,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),ci("div",{ref:r,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Wm={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},Ym={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Xm=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map((n=>{var o;if(S(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(Wm,i))return;return function(e,t){if(S(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=tg(o))}}(i,n.attrs),r=u(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),Ii(n.name,r,Xm(e,t,n.children))}return"text"===n.type&&y(n.text)&&""!==n.text?di((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return f(Ym,t)&&Ym[t]?Ym[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function Gm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,r,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&jg[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+i.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(r=e.match(Lg))&&(e=e.substring(r[0].length),r[0].replace(Lg,c),o=!1):0==e.indexOf("<")&&(r=e.match(Og))&&(e=e.substring(r[0].length),r[0].replace(Og,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,o,r){if(n=n.toLowerCase(),Rg[n])for(;i.last()&&Dg[i.last()];)c("",i.last());if(Bg[n]&&i.last()==n&&c("",n),(r=$g[n]||!!r)||i.push(n),t.start){var a=[];o.replace(Ig,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Ng[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,r)}}function c(e,n){if(n)for(o=i.length-1;o>=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e}),{})}(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Km=mu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=wi(),o=n&&n.vnode.scopeId||"",r=dn(null),i=dn([]),a=bu(r,t);function s(e,t={}){a("itemclick",e,t)}return ao((()=>e.nodes),(function(){let t=e.nodes;y(t)&&(t=Gm(e.nodes)),i.value=Xm(o,s,t)}),{immediate:!0}),()=>Ii("uni-rich-text",{ref:r},Ii("div",{},i.value))}}),Qm=mu({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=dn(null),o=Li((()=>{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=Li((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:a,refresherThreshold:s}=e;return ci("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?ci("div",{class:"uni-scroll-view-refresh"},[ci("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ci("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"},[ci("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),ci("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ci("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ci("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?ci("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Jm=Te(!0),Zm=mu({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=dn(null),i=dn(null),a=dn(null),s=dn(null),l=bu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Li((()=>Number(e.scrollTop)||0)),n=Li((()=>Number(e.scrollLeft)||0));return{state:Xt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:f,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const f=Li((()=>e.scrollX)),h=Li((()=>e.scrollY)),g=Li((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Li((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=a.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=s.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",p),i.removeEventListener("webkitTransitionEnd",p),p=()=>x(e,t),i.addEventListener("transitionend",p),i.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),f.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):a.value.scrollTop=t)}function _(t){f.value&&(e.scrollWithAnimation?v(t,"x"):a.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=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(f.value){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):a.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):a.value.scrollTop=r}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=f.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={x:0,y:e.refresherThreshold};return Ho((()=>{On((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=a.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(f.value){if(0===l.scrollLeft&&o>S.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<S.x)return void(s=!1);s=!0}else s=!1;else if(h.value)if(0===l.scrollTop&&i>S.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<S.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&T("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-S.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},p=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",p,Jm),a.value.addEventListener("touchmove",l,Te(!1)),a.value.addEventListener("scroll",i,Te(!1)),a.value.addEventListener("touchend",g,Jm),Xo((()=>{a.value.removeEventListener("touchstart",p),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",g)}))})),$o((()=>{h.value&&(a.value.scrollTop=t.lastScrollTop),f.value&&(a.value.scrollLeft=t.lastScrollLeft)})),ao(n,(e=>{b(e)})),ao(o,(e=>{_(e)})),ao((()=>e.scrollIntoView),(e=>{w(e)})),ao((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:f,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,s,t),m=Li((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",f.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Li((()=>{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:p}=c;return ci("uni-scroll-view",{ref:r},[ci("div",{ref:a,class:"uni-scroll-view"},[ci("div",{ref:i,style:m.value,class:v.value},[t?ci(Qm,{refreshState:p,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ci("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function ev(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const v=Li((()=>n.value.length>t.displayMultipleItems)),y=Li((()=>e.circular&&v.value));function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s<i;s++){const t=r[s],n=Math.floor(o/i)*i+s,l=n+i,c=n-i,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),p=Math.max(o-(c+1),c-a,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*p+"%")+", "+(e.vertical?100*-r*p+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){b(o),f=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function T(e,o,r){w();const i=t.duration,a=n.value.length;let s=d;if(y.value)if(r<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);f={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function S(){a();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,T(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function C(e){e?S():a()}return ao([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++){if(r[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(m="",t.current=o)})),ao([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),f&&(b(f.toPos),f=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);p=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(s+l-g),g=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))})),ao((()=>t.interval),(()=>{c&&(a(),S())})),ao((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),ao((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),ao((()=>e.autoplay&&!t.userTracking),C),C(e.autoplay&&!t.userTracking),Ho((()=>{let r=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}xm(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(r){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=s-a||1,p=o.value;e.vertical?u(-r.dy/p.offsetHeight,-r.ddy/d):u(-r.dx/p.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Go((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const tv=mu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=dn(null),r=bu(o,n),i=dn(null),a=dn(null),s=function(e){return Xt({interval:Li((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Li((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Li((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Li((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:bc(e.previousMargin,!0),bottom:bc(e.nextMargin,!0)}:{top:0,bottom:0,left:bc(e.previousMargin,!0),right:bc(e.nextMargin,!0)}),t})),c=Li((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=dn([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(on(o))}p.value=e}Sr("addSwiperContext",(function(e){d.push(e),f()}));Sr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=ev(e,s,p,a,n,r);let v=()=>null;return v=nv(o,e,s,h,p,g,m),()=>{const n=t.default&&t.default();return u=mm(n),ci("uni-swiper",{ref:o},[ci("div",{ref:i,class:"uni-swiper-wrapper"},[ci("div",{class:"uni-swiper-slides",style:l.value},[ci("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&ci("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>ci("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),nv=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,c=!1,d=dn(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}ro((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()})),ro((()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,c=!0,s&&(d.value=!0))}));const f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}o(l)}const g=()=>Ec(Sc,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(r-s<u/3||l-r<u/3):!(o-i<c/3||a-o<c/3),p)return m=setTimeout((()=>{d.value=p}),300);d.value=p},y=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Ho(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ci(Hr,null,[ci("div",mi({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},f),[g()],16,["onClick"]),ci("div",mi({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"next",c)},f),[g()],16,["onClick"])]):null}},ov=mu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=dn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return Ho((()=>{const e=Cr("addSwiperContext");e&&e(o)})),Go((()=>{const e=Cr("removeSwiperContext");e&&e(o)})),()=>ci("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),rv={ensp:" ",emsp:" ",nbsp:" "};function iv(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&rv[t]&&" "===i&&(i=rv[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,rv.nbsp).replace(/ /g,rv.ensp).replace(/ /g,rv.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const av=mu({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=dn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Yr){const n=iv(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(di(e)),t!==r&&o.push(ci("br"))}))}else o.push(t)})),ci("uni-text",{ref:n,selectable:!!e.selectable||null},[ci("span",null,o)],8,["selectable"])}}}),sv=u({},rm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>cv.concat("return").includes(e)}});let lv=!1;const cv=["done","go","next","search","send"];const uv=mu({name:"Textarea",props:sv,emits:["confirm","linechange",...im],setup(e,{emit:t,expose:n}){const o=dn(null),r=dn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=lm(e,o,t),u=Li((()=>a.value.split("\n"))),d=Li((()=>cv.includes(e.confirmType))),p=dn(0),f=dn(null);function h({height:e}){p.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return ao((()=>p.value),(t=>{const n=o.value,i=f.value,a=r.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(a.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";lv=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?ci("textarea",{key:"disabled-textarea",ref:i,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":lv},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ci("textarea",{key:"textarea",ref:i,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":lv},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return ci("uni-textarea",{ref:o,"auto-height":e.autoHeight},[ci("div",{ref:r,class:"uni-textarea-wrapper"},[po(ci("div",mi(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ea,!a.value.length]]),ci("div",{ref:f,class:"uni-textarea-line"},[" "],512),ci("div",{class:"uni-textarea-compute"},[u.value.map((e=>ci("div",null,[e.trim()?e:"."]))),ci(Eg,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?ci("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),dv=mu({name:"View",props:u({},_u),setup(e,{slots:t}){const n=dn(null),{hovering:o,binding:r}=wu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ci("uni-view",mi({class:o.value?i:"",ref:n},r),[tr(t,"default")],16):ci("uni-view",{ref:n},[tr(t,"default")],512)}}});function pv(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function fv(e,t,n){e&&zl(n||Lc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function hv(e,t){e&&function(e,t){t=ql(e,t),delete jl[t]}(t||Lc(),e)}function gv(e,t,n,o){const r=wi().proxy;Ho((()=>{fv(t||pv(r),e,o),!n&&t||ao((()=>r.id),((t,n)=>{fv(pv(r,t),e,o),hv(n&&pv(r,n))}))})),Xo((()=>{hv(t||pv(r),o)}))}let mv=0;function vv(e){const t=Ac(),n=wi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+mv++;return Ho((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function yv(e,t,n,o){v(t)&&Fo(e,t.bind(n),o)}function bv(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!v(t))&&(Le.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach((e=>yv(o,e,n,t))):yv(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Bc(n,"onLoad",e),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 _v(e,t,n){bv(e,t,n)}function wv(e,t,n){return e[t]=n}function xv(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Tv(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):wn(n,0,o&&o.$.vnode,!1)}}function Sv(e,t){return e?[...new Set([].concat(e,t))]:t}function Cv(e){const t=e.config;var n;t.errorHandler=Re(e,Tv),n=t.optionMergeStrategies,Le.forEach((e=>{n[e]=Sv}));const o=t.globalProperties;o.$set=wv,o.$applyOptions=_v,o.$callMethod=xv,function(e){Ie=e,$e.forEach((t=>t(e)))}(e)}function kv(e){const t=sl({history:Mv(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Av});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ev[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Ev=Object.create(null);const Av=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Ev[o]);if(t)return t}return{left:0,top:0};var o};function Mv(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),_s(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Nh(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ph(t[r]);jh(Vh(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Pv={install(e){Cv(e),eu(e),du(e),e.config.warnHandler||(e.config.warnHandler=Ov),kv(e)}};function Ov(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 Lv={class:"uni-async-loading"},Iv=ci("i",{class:"uni-loading"},null,-1),$v=vu({name:"AsyncLoading",render:()=>(Qr(),ni("div",Lv,[Iv]))});function Rv(){window.location.reload()}const Dv=vu({name:"AsyncError",props:["error"],setup(){kl();const{t:e}=Sl();return()=>ci("div",{class:"uni-async-error",onClick:Rv},[e("uni.async.error")],8,["onClick"])}});let Bv;function Nv(){return Bv}function jv(e){Bv=e,Object.defineProperty(Bv.$.ctx,"$children",{get:()=>Nh().map((e=>e.$vm))});const t=Bv.$.appContext.app;t.component($v.name)||t.component($v.name,$v),t.component(Dv.name)||t.component(Dv.name,Dv),function(e){e.$vm=e,e.$mpType="app";const t=dn(Sl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Bv),function(e,t){const n=e.$options||{};n.globalData=u(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Bv),cu(),Uc()}function qv(e,{clone:t,init:n,setup:o,before:r}){t&&(e=u({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=wi();if(n(r.proxy),o(r),i)return i(e,t)},e}function zv(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?qv(e.default,t):qv(e,t)}function Fv(e){return zv(e,{clone:!0,init:Fh,setup(e){e.$pageInstance=e;const t=Lu(),n=ke(t.query);e.attrs.__pageQuery=n,Ph(e.proxy).options=n,e.proxy.options=n;const o=Pu();var r,i;return Eh(o),e.onReachBottom=Xt([]),e.onPageScroll=Xt([]),ao([e.onReachBottom,e.onPageScroll],(()=>{const t=Pc();e.proxy===t&&Jh(e,o)}),{once:!0}),Uo((()=>{Wh(e,o)})),Ho((()=>{Yh(e);const{onReady:n}=e;n&&R(n),Wv(t)})),Do((()=>{if(!e.__isVisible){Wh(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),On((()=>{Wv(t)}))}}),"ba",r),function(e,t){Do(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}})),i=o.id,Zx.subscribe(ql(i,"invokeViewApi"),Fl),Xo((()=>{!function(e){Zx.unsubscribe(ql(e,"invokeViewApi")),Object.keys(jl).forEach((t=>{0===t.indexOf(e+".")&&delete jl[t]}))}(o.id)})),n}})}function Vv(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=uni.getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";tT.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Uv(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&tT.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Hv(){const{emit:e}=tT;"visible"===document.visibilityState?e("onAppEnterForeground",kg()):e("onAppEnterBackground")}function Wv(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Bc("onTabItemTap",{index:n,text:t,pagePath:o})}function Yv(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Xv(e,t,n){const o=Xt({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let a;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(s){function l(){s.stopPropagation(),s.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=s.targetTouches[0],d=u.pageX,p=u.pageY,f=r,h=t.value;if("progress"===c?(!function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(d-f.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{o.toastThin=!1,a=void 0}),1e3)),n.volume=i,o.volumeNew=i)}(p-f.y),"none"===c)if(Math.abs(d-f.x)>Math.abs(p-f.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=i||(i=setTimeout((()=>{o.toastThin=!0}),500)),o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const Gv={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},Kv=mu({name:"Video",props:Gv,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=dn(null),i=dn(null),a=bu(r,t),{state:s}=Zg(),{$attrs:l}=gm({excludeListeners:!0});Sl(),Rl();const{videoRef:c,state:u,play:d,pause:p,stop:f,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=dn(null),r=Li((()=>tg(e.src))),i=Li((()=>"true"===e.muted||!0===e.muted)),a=Xt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return ao((()=>r.value),(()=>{a.playing=!1,a.currentTime=0})),ao((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),ao((()=>i.value),(e=>{o.value.muted=e})),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;a.pauseUpdatingCurrentTime||(a.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:E,danmuRef:A,updateDanmu:M,toggleDanmu:P,sendDanmu:O}=function(e,t){const n=dn(null),o=Xt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:L,onFullscreenChange:I,emitFullscreenChange:$,toggleFullscreen:R,requestFullScreen:D,exitFullScreen:B}=function(e,t,n,o,r){const i=Xt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return Xo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,c,s,r),{state:N,onTouchstart:j,onTouchend:q,onTouchmove:z}=Xv(e,c,L),{state:F,progressRef:V,ballRef:U,clickProgress:H,toggleControls:W,autoHideEnd:Y,autoHideStart:X}=function(e,t,n,o){const r=dn(null),i=dn(null),a=Li((()=>e.showCenterPlayBtn&&!t.start)),s=dn(!0),l=Li((()=>!a.value&&e.controls&&s.value)),c=Xt({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function p(){u&&(clearTimeout(u),u=null)}return Xo((()=>{u&&clearTimeout(u)})),ao((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():p()})),Ho((()=>{const e=Te(!1);let a,s,l,u=!0;const d=i.value;function p(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-a)<Math.abs(d-s))return void f(e);u=!1;const p=r.value.offsetWidth;let h=l+(i-a)/p*100;h<0?h=0:h>100&&(h=100),t.progress=h,null==o||o(t.duration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function f(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",p,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];a=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",p,e)})),d.addEventListener("touchend",f),d.addEventListener("touchcancel",f)})),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,a=e.offsetX;for(;i&&i!==o;)a+=i.offsetLeft,i=i.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:p}}(e,u,g,(e=>{N.currentTimeNew=e}));!function(e,t,n,o,r,i,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:a,exitFullScreen:s};gv(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),vv(),!0)}(d,p,f,g,O,m,D,B);const G=function(e,t,n,o,r){const i=Li((()=>"progress"===t.gestureType||n.touching));return ao(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),ao([()=>e.currentTime,()=>{Gv.duration}],(()=>{e.progress=e.currentTime/e.duration*100})),ao((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,N,F);return()=>ci("uni-video",{ref:r,id:e.id,onClick:W},[ci("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:q,onTouchmove:z,onFullscreenchange:ka(I,["stop"]),onWebkitfullscreenchange:ka((e=>I(e,!0)),["stop"])},[ci("video",mi({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),M(e)},onWebkitbeginfullscreen:()=>$(!0),onX5videoenterfullscreen:()=>$(!0),onWebkitendfullscreen:()=>$(!1),onX5videoexitfullscreen:()=>$(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),po(ci("div",{class:"uni-video-bar uni-video-bar-full",onClick:ka((()=>{}),["stop"])},[ci("div",{class:"uni-video-controls"},[po(ci("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ka(v,["stop"])},null,10,["onClick"]),[[ea,e.showPlayBtn]]),po(ci("div",{class:"uni-video-current-time"},[Yv(u.currentTime)],512),[[ea,e.showProgress]]),po(ci("div",{ref:V,class:"uni-video-progress-container",onClick:ka(H,["stop"])},[ci("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[ci("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),ci("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),ci("div",{ref:U,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[ci("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[ea,e.showProgress]]),po(ci("div",{class:"uni-video-duration"},[Yv(Number(e.duration)||u.duration)],512),[[ea,e.showProgress]])]),po(ci("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ka(P,["stop"])},null,10,["onClick"]),[[ea,e.danmuBtn]]),po(ci("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":L.fullscreen},onClick:ka((()=>R(!L.fullscreen)),["stop"])},null,10,["onClick"]),[[ea,e.showFullscreenBtn]])],8,["onClick"]),[[ea,F.controlsShow]]),po(ci("div",{ref:A,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[ea,u.start&&E.enable]]),F.centerPlayBtnShow&&ci("div",{class:"uni-video-cover",onClick:ka((()=>{}),["stop"])},[ci("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ka(d,["stop"])},null,8,["onClick"])],8,["onClick"]),ci("div",{class:"uni-video-loading"},["volume"===N.gestureType?ci("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":N.toastThin},style:{marginTop:"5px"}},[!N.toastThin&&N.volumeNew>0&&"volume"===N.gestureType?ci("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!N.toastThin&&ci("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),ci("div",{class:"uni-video-toast-draw",style:{width:100*N.volumeNew+"%"}},null)],2):null]),ci("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[ci("div",{class:"uni-video-toast-title"},[ci("span",{class:"uni-video-toast-title-current-time"},[Yv(N.currentTimeNew)])," / ",Number(e.duration)||Yv(u.duration)])],2),ci("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Qv=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Jv=le((()=>tT.on("onWebInvokeAppService",Qv))),Zv=mu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Jv();const n=dn(null),o=dn(null),{$attrs:r,$excludeAttrs:i,$listeners:a}=gm({excludeListeners:!0}),s=bu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},ro((()=>{for(const e in r.value)if(f(r.value,e)){const n=r.value[e];t[e]=n}})),ro((()=>{t.src=tg(e.src)})),o.value=t,l=function(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();se(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else se(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),Ho((()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))})),$o((()=>{e.fullscreen&&(o.value.style.display="block")})),Ro((()=>{e.fullscreen&&(o.value.style.display="none")})),Xo((()=>{e.fullscreen&&document.body.removeChild(o.value)})),()=>ci(Hr,null,[ci("uni-web-view",mi({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,i.value,{ref:n}),[ci(Eg,{onResize:l},null,8,["onResize"])],16)])}});let ey,ty=0;function ny(e,t,n,o){var r,i=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+ty++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[s],i.remove()}window[s]=e=>{v(n)&&n(e),c()},i.onerror=()=>{v(o)&&o(),c()},r=setTimeout((function(){v(o)&&o(),c()}),l),i.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(i)}function oy(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",(()=>{this.callback()})),this.Text.setMap(t.map)}function r(){}function i(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=i,this.createBMapText=r,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(hy())this.callback=s,this.visible&&this.createAMapText();else if(gy())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,hy()?this.visible&&this.createAMapText():gy()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!hy()&&!gy()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const ry={};function iy(e,t){const n=dy();if(!n.key)return void console.error("Map key not configured.");const o=ry[n.type]=ry[n.type]||[];if(ey)t(ey);else if(window[n.type]&&window[n.type].maps)ey=hy()||gy()?window[n.type]:window[n.type].maps,ey.Callout=ey.Callout||oy(ey),t(ey);else if(o.length)o.push(t);else{o.push(t);const r=window,i="__map_callback__"+n.type;r[i]=function(){delete r[i],ey=hy()||gy()?window[n.type]:window[n.type].maps,ey.Callout=oy(ey),o.forEach((e=>e(ey))),o.length=0},hy()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=ay(n.type);n.type===uy.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===uy.BMAP?a.src=`${s}ak=${n.key}&callback=${i}`:a.src=`${s}key=${n.key}&callback=${i}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const ay=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);const sy="M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z",ly="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",cy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC";var uy=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(uy||{});function dy(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let py=!1,fy=!1;const hy=()=>fy?py:(fy=!0,py="AMap"===dy().type),gy=()=>"BMapGL"===dy().type;function my(e,t,n){const o=dy();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise((e=>{ny(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},(n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:r}=n.locations[0];e({longitude:o,latitude:r,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}),(()=>e(t)))})):"AMap"===o.type?new Promise((e=>{iy([],(()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",((n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e({longitude:r,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}))}))})):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))}const vy=vu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Cr("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),Go((()=>{n.remove()})),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach((e=>{r.style[e]=o[e]||""})),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}(t);let r;function i(e){hy()?e.removeAMapText():e.setMap(null)}if(n(((n,a,s)=>{function l(e){const l=e.title;let c;c=hy()?new a.LngLat(e.longitude,e.latitude):gy()?new a.Point(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const p=e.anchor||{};let f,h,g,m,v="number"==typeof p.x?p.x:.5,y="number"==typeof p.y?p.y:1;e.iconPath&&(e.width||e.height)?(h=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(h=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),f="MarkerImage"in a?new a.MarkerImage(u.src,null,null,new a.Point(v*h,y*g),new a.Size(h,g)):"Icon"in a?new a.Icon({image:u.src,size:new a.Size(h,g),imageSize:new a.Size(h,g),imageOffset:new a.Pixel(v*h,y*g)}):{url:u.src,anchor:new a.Point(v,y),size:new a.Size(h,g)},gy()?(r=new a.Marker(new a.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(f)),"setRotation"in r&&r.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in r&&(r.label.setMap(null),delete r.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in a)_=new a.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),r.label=_;else if("setLabel"in r)if(hy()){const t=`<div style="\n margin-left:${e.marginLeft};\n margin-top:${e.marginTop};\n padding:${e.padding};\n background-color:${e.backgroundColor};\n border-radius:${e.borderRadius};\n line-height:${e.lineHeight};\n color:${e.color};\n font-size:${e.fontSize};\n\n ">\n ${b.content}\n <div>`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,T=r.callout;if(w.content||l){hy()&&w.content&&(w.content=w.content.replaceAll("\n","<br/>"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:o},T)T.setOption(x);else if(hy()){const e=()=>{""!==t&&s("callouttap",{},{markerId:Number(t)})};T=r.callout=new a.Callout(x,e)}else T=r.callout=new a.Callout(x),T.div.onclick=function(e){""!==t&&s("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},dy().type===uy.GOOGLE&&(T.div.ontouchstart=function(e){e.stopPropagation()},T.div.onpointerdown=function(e){e.stopPropagation()})}else T&&(i(T),delete r.callout)},e.iconPath?u.src=tg(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){gy()||(r=new a.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=a.event||a.Event;gy()||o.addListener(r,"click",(()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(hy())n.visible=!n.visible,n.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&s("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})}))}(e),ao(e,l)})),t){const e=Cr("addMapChidlContext"),o=Cr("removeMapChidlContext"),i={id:t,translate(e){n(((t,n,o)=>{const i=e.destination,a=e.duration,s=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),p=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof a?a:1e3)/36e5),f=n.event||n.Event,h=f.addListener(r,"moving",(e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)})),g=f.addListener(r,"moveend",(()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;v(o)&&o()}));let m=0;s&&(r.lastPosition&&(m=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-m),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,p):(r.setPosition(d),f.trigger(r,"moveend",{}))}))}};e(i),Go((()=>o(i)))}return Go((function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))})),()=>null}});function yy(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,a]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return a?{r:s,g:l,b:c,a:(`0x100${a}`-65536)/255}:{r:s,g:l,b:c,a:1}}const by={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},_y=vu({name:"MapPolyline",props:by,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Cr("onMapReady")(((r,i)=>{function a(e){const o=[];e.points.forEach((e=>{let t;t=hy()?[e.longitude,e.latitude]:gy()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),o.push(t)}));const a=Number(e.width)||1,{r:s,g:l,b:c,a:u}=yy(e.color),{r:d,g:p,b:f,a:h}=yy(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:a,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:r,clickable:!1,path:o,strokeWeight:a+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(s,l,c,u),v.strokeColor=new i.Color(d,p,f,h)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${p}, ${f})`,v.strokeOpacity=h),m&&(n=new i.Polyline(v)),gy()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}a(e),ao(e,(function(e){o(),a(e)}))})),Go(o),()=>null}}),wy=vu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Cr("onMapReady")(((o,r)=>{function i(e){const n=hy()||gy()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(gy())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:a}=yy(e.fillColor),{r:s,g:l,b:c,a:u}=yy(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,a),i.strokeColor=new r.Color(s,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=a,i.strokeColor=`rgb(${s}, ${l}, ${c})`,i.strokeOpacity=u)}if(gy()){let e=new r.Point(i.center[0],i.center[1]);t=new r.Circle(e,i.radius,i),o.addOverlay(t)}else t=new r.Circle(i),hy()&&o.add(t)}i(e),ao(e,(function(e){n(),i(e)}))})),Go(n),()=>null}}),xy={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},Ty=vu({name:"MapControl",props:xy,setup(e){const t=Li((()=>tg(e.iconPath))),n=Li((()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t})),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>ci("div",{class:"uni-map-control"},[ci("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Sy=le((()=>{bp.forEach((e=>{Cy.prototype[e]=function(t){v(t)&&this._events[e].push(t)}})),_p.forEach((e=>{Cy.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class Cy{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach((t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=tg(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},bp.forEach((e=>{this._events[e]=[]})),e.addEventListener("loadedmetadata",(()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)}));var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach((n=>{e.addEventListener(n.toLowerCase(),(()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach((e=>{e()}))}),!1)})),Sy()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((e=>{e()}))}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const ky=yd(0,(()=>new Cy)),Ey=bd("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),Ay=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let My;function Py(){if(My=My||Ay.__DC_STAT_UUID,!My){My=Date.now()+""+Math.floor(1e7*Math.random());try{Ay.__DC_STAT_UUID=My}catch(e){}}return My}function Oy(){if(!0!==__uniConfig.darkmode)return y(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ly(){let e,t="0",n="",o="phone";const r=navigator.language;if(rg){e="iOS";const o=ng.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=ng.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(og){e="Android";const o=ng.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=ng.match(/\((.+?)\)/),i=r?r[1].split(";"):ng.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(lg){if(n="iPad",e="iOS",o="pad",t=v(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=ng.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(ig||ag||sg){n="PC",e="PC",o="pc",t="0";let r=ng.match(/\((.+?)\)/)[1];if(ig){switch(e="Windows",ig[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(ag){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(sg){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,a=e.toLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(ng)&&(s=t[n],l=ng.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:a,browserName:s.toLowerCase(),browserVersion:l,language:r,deviceType:o,ua:ng,osname:e,osversion:t,theme:Oy()}}const Iy=yd(0,(()=>{const e=window.devicePixelRatio,t=cg(),n=ug(t),o=dg(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=pg(o);let a=window.innerHeight;const s=cc.top,l={left:cc.left,right:i-cc.right,top:cc.top,bottom:a-cc.bottom,width:i-cc.left-cc.right,height:a-cc.top-cc.bottom},{top:c,bottom:u}=hc();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:cc.top,right:cc.right,bottom:cc.bottom,left:cc.left},screenTop:r-a}}));let $y,Ry=!0;function Dy(){Ry&&($y=Ly())}const By=yd(0,(()=>{Dy();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:c}=$y;return u({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Py(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:c})})),Ny=yd(0,(()=>{Dy();const{theme:e,language:t,browserName:n,browserVersion:o}=$y;return u({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Hp?Hp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),jy=yd(0,(()=>{Ry=!0,Dy(),Ry=!1;const e=Iy(),t=By(),n=Ny();Ry=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=$y,l=u(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),qy=bd("getSystemInfo",((e,{resolve:t})=>t(jy())));function zy(){Hy().then((({networkType:e})=>{tT.invokeOnCallback("onNetworkStatusChange",{isConnected:"none"!==e,networkType:e})}))}function Fy(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const Vy=gd("onNetworkStatusChange",(()=>{const e=Fy();e?e.addEventListener("change",zy):(window.addEventListener("offline",zy),window.addEventListener("online",zy))})),Uy=md("offNetworkStatusChange",(()=>{const e=Fy();e?e.removeEventListener("change",zy):(window.removeEventListener("offline",zy),window.removeEventListener("online",zy))})),Hy=bd("getNetworkType",((e,{resolve:t})=>{const n=Fy();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})}));let Wy=null;const Yy=gd("onAccelerometer",(()=>{Gy()})),Xy=md("offAccelerometer",(()=>{Ky()})),Gy=bd("startAccelerometer",((e,{resolve:t,reject:n})=>{if(window.DeviceMotionEvent){if(!Wy){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Wy=function(e){const t=e.acceleration||e.accelerationIncludingGravity;tT.invokeOnCallback("onAccelerometer",{x:t&&t.x||0,y:t&&t.y||0,z:t&&t.z||0})},window.addEventListener("devicemotion",Wy,!1)}})),Ky=bd("stopAccelerometer",((e,{resolve:t})=>{Wy&&(window.removeEventListener("devicemotion",Wy,!1),Wy=null),t()}));let Qy=null;const Jy=gd("onCompass",(()=>{eb()})),Zy=md("offCompass",(()=>{tb()})),eb=bd("startCompass",((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!Qy){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Qy=function(e){const t=360-(null!==e.alpha?e.alpha:360);tT.invokeOnCallback("onCompass",{direction:t})},window.addEventListener("deviceorientation",Qy,!1)}})),tb=bd("stopCompass",((e,{resolve:t})=>{Qy&&(window.removeEventListener("deviceorientation",Qy,!1),Qy=null),t()})),nb=!!window.navigator.vibrate,ob=bd("vibrateShort",((e,{resolve:t,reject:n})=>{nb&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),rb=bd("vibrateLong",((e,{resolve:t,reject:n})=>{nb&&window.navigator.vibrate(400)?t():n("vibrateLong:fail")}));var ib=(e,t,n)=>new Promise(((o,r)=>{var i=e=>{try{s(n.next(e))}catch(t){r(t)}},a=e=>{try{s(n.throw(e))}catch(t){r(t)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));const ab=bd("getClipboardData",((e,t)=>ib(void 0,[e,t],(function*(e,{resolve:t,reject:n}){Il();const{t:o}=Sl();try{t({data:yield navigator.clipboard.readText()})}catch(r){!function(e,t){const n=document.getElementById("#clipboard"),o=n?n.value:void 0;o?e({data:o}):t()}(t,(()=>{n(`${r} ${o("uni.getClipboardData.fail")}`)}))}})))),sb=bd("setClipboardData",((e,t)=>ib(void 0,[e,t],(function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}(e,t,n)}}))),0,uf);const lb=e=>{tT.invokeOnCallback("onThemeChange",e)},cb=gd("onThemeChange",(()=>{tT.on("onThemeChange",lb)})),ub=md("offThemeChange",(()=>{tT.off("onThemeChange",lb)}));const db=yd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),pb=bd("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{db(e,t),n()}catch(r){o(r.message)}}));function fb(e){const t=localStorage&&localStorage.getItem(e);if(!y(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=y(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const hb=yd(0,(e=>{try{return fb(e)}catch(t){return""}})),gb=bd("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:fb(e)})}catch(o){n(o.message)}})),mb=yd(0,(e=>{localStorage&&localStorage.removeItem(e)})),vb=bd("removeStorage",(({key:e},{resolve:t})=>{mb(e),t()})),yb=yd(0,(()=>{localStorage&&localStorage.clear()})),bb=bd("clearStorage",((e,{resolve:t})=>{yb(),t()})),_b=yd(0,(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let o=0;o<e;o++){const e=localStorage.key(o),r=localStorage.getItem(e)||"";n+=e.length+r.length,"uni-storage-keys"!==e&&t.push(e)}return{keys:t,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE}})),wb=bd("getStorageInfo",((e,{resolve:t})=>{t(_b())})),xb=bd("getFileInfo",(({filePath:e},{resolve:t,reject:n})=>{_g(e).then((e=>{t({size:e.size})})).catch((e=>{n(String(e))}))}),0,df),Tb=bd("openDocument",(({filePath:e},{resolve:t})=>(window.open(e),t())),0,pf),Sb=bd("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const Cb=bd("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,wf),kb=bd("getVideoInfo",(({src:e},{resolve:t,reject:n})=>{_g(e,!0).then((e=>e)).catch((()=>null)).then((o=>{const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const i=setTimeout((()=>{r.onloadedmetadata=null,r.onerror=null,n()}),e.startsWith("data:")||e.startsWith("blob:")?300:3e3);r.onloadedmetadata=function(){clearTimeout(i),r.onerror=null,t({size:Math.ceil((o?o.size:0)/1024),duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0})},r.onerror=function(){clearTimeout(i),r.onloadedmetadata=null,n()},r.src=e}else n()}))}),0,Tf),Eb={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Ab({count:e,sourceType:t,type:n,extension:o}){Qg();const r=document.createElement("input");return r.type="file",se(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Eb[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}let Mb=null;const Pb=bd("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{Ol();const{t:a}=Sl();Mb&&(document.body.removeChild(Mb),Mb=null),Mb=Ab({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Mb),Mb.addEventListener("cancel",(()=>{i("chooseFile:fail cancel")})),Mb.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||xg(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),Mb.click(),Jg()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,_f);let Ob=null;const Lb=bd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Ol();const{t:i}=Sl();Ob&&(document.body.removeChild(Ob),Ob=null),Ob=Ab({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Ob),Ob.addEventListener("cancel",(()=>{r("chooseImage:fail cancel")})),Ob.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let i;Object.defineProperty(t,"path",{get:()=>(i=i||xg(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Ob.click(),Jg()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,vf),Ib={esc:["Esc","Escape"],enter:["Enter"]},$b=Object.keys(Ib);function Rb(){const e=dn(""),t=dn(!1),n=n=>{if(t.value)return;const o=$b.find((e=>-1!==Ib[e].indexOf(n.key)));o&&(e.value=o),On((()=>e.value=""))};return Ho((()=>{document.addEventListener("keyup",n)})),Xo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Db=ci("div",{class:"uni-mask"},null,-1);function Bb(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ma(Co({setup:()=>()=>(Qr(),ni(e,t,null,16))}))}function Nb(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function jb(e,{onEsc:t,onEnter:n}){const o=dn(e.visible),{key:r,disable:i}=Rb();return ao((()=>e.visible),(e=>o.value=e)),ao((()=>o.value),(e=>i.value=!e)),ro((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let qb=0,zb="";function Fb(e){let t=qb;qb+=e?1:-1,qb=Math.max(0,qb),qb>0?0===t&&(zb=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=zb,zb="")}function Vb(){Ho((()=>Fb(!0))),Go((()=>Fb(!1)))}const Ub=vu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Xt({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,l=n*r>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return ci(vm,{style:n,onTouchstart:yu(c),onTouchmove:yu(d),onTouchend:yu(u)},{default:()=>[ci(Pm,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[ci("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function Hb(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Wb=vu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Vb();const n=dn(null),o=dn(Hb(e));let r;function i(){r||On((()=>{t("close")}))}function a(e){o.value=e.detail.current}ao((()=>e.current),(()=>o.value=Hb(e))),Ho((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return ci("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[ci(tv,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>ci(ov,null,{default:()=>[ci(Ub,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!oi(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ci("div",{style:s},[Ec(Cc,"#ffffff",26)],4)],8,["onClick"]);var r}}});let Yb,Xb=null;const Gb=()=>{Xb=null,On((()=>{null==Yb||Yb.unmount(),Yb=null}))},Kb=bd("previewImage",((e,{resolve:t})=>{Xb?u(Xb,e):(Xb=Xt(e),On((()=>{Yb=Bb(Wb,Xb,Gb),Yb.mount(Nb("u-a-p"))}))),t()}),0,xf),Qb=bd("closePreviewImage",((e,{resolve:t,reject:n})=>{Yb?(Gb(),t()):n()}));let Jb=null;const Zb=bd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Ol();const{t:r}=Sl();Jb&&(document.body.removeChild(Jb),Jb=null),Jb=Ab({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Jb),Jb.addEventListener("cancel",(()=>{o("chooseVideo:fail cancel")})),Jb.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||xg(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=xg(t);i.onloadedmetadata=function(){Tg(e),n(u(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,Tg(e),n(r)}),300),i.src=e}else n(r)})),Jb.click(),Jg()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,yf),e_=vd("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:a,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(y(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){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 h;if(a){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,a=t.signal;h=new n_(t);const p={method:o,headers:n,body:d,signal:a,credentials:s?"include":"same-origin"},f=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);p.signal.addEventListener("abort",(function(){clearTimeout(f),u("abort",{errCode:600003})})),window.fetch(e,p).then((e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach(((e,t)=>{a[t]=e}));const s=t_(a);if(h._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:a,cookies:s});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=r_(n,i,r)),void c({data:n,statusCode:t,header:a,cookies:s})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new n_(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(a);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=r_(n,i,r)),c({data:n,statusCode:e,header:o_(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),u(void 0,{errCode:5})},t.withCredentials=s,t.send(d)}return h}),0,Ef),t_=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class n_{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new Be,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function o_(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 r_(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class i_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const a_=vd("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new i_(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:xg(n)})},a.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},a.onerror=function(){clearTimeout(i),r("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout",{errCode:5})}),n),s}),0,Af);class s_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const l_=vd("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new s_;return h(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(wg(e)):_g(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Mf),c_=[],u_={open:"",close:"",error:"",message:""};class d_{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${L(e)} callback function\n`,n)}})),this===c_[0]&&u_[e]&&tT.invokeOnCallback(u_[e],i),"error"===e||"close"===e){const e=c_.indexOf(this);e>=0&&c_.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 de(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),de(e,"sendSocketMessage:ok")}catch(o){de(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;y(o)?t.close(n,o):t.close(n),de(e,"closeSocket:ok")}catch(n){de(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 p_=vd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new d_(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(c_.push(t),n())}))),0,Pf);function f_(e,t,n,o,r){const i=e[t];v(i)&&i.call(e,u({},n,{success(){o()},fail({errMsg:e}){r(e.replace("sendSocketMessage:fail ",""))},complete:void 0}))}const h_=bd("sendSocketMessage",((e,{resolve:t,reject:n})=>{const o=c_[0];o&&o.readyState===o.OPEN?f_(o,"send",e,t,n):n("WebSocket is not connected")})),g_=bd("closeSocket",((e,{resolve:t,reject:n})=>{const o=c_[0];o?f_(o,"close",e,t,n):n("WebSocket is not connected")}));function m_(e){const t=`onSocket${L(e)}`;return gd(t,(()=>{u_[e]=t}))}const v_=m_("open"),y_=m_("error"),b_=m_("message"),__=m_("close"),w_=bd("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=dy();new Promise(((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition((t=>e({coords:t.coords})),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))})).catch((e=>new Promise(((t,n)=>{a.type===uy.QQ?ny(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},(e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))}),(()=>n(new Error("network error")))):a.type===uy.GOOGLE?e_({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===uy.AMAP?iy([],(()=>{window.AMap.plugin("AMap.Geolocation",(()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition(((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))}))}))})):n(e)})))).then((({coords:t,skip:n})=>{my(e,t,n).then((e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})})).catch((e=>{i(e.message)}))})).catch((e=>{i(e.message||JSON.stringify(e))}))}),0,hf);const x_=vu({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=Xt({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:cy,width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:ly,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return ao([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function r(){const t=dy();let o="";if(t.type===uy.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===uy.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===uy.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function i(){t("close")}function a({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return Vb(),w_({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>ci("div",{class:"uni-system-open-location"},[ci(Vx,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[ci("div",{class:"map-move",onClick:()=>a(n.location)},[Ec(sy,"#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),ci("div",{class:"info"},[ci("div",{class:"name",onClick:()=>a(n.marker)},[e.name],8,["onClick"]),ci("div",{class:"address",onClick:()=>a(n.marker)},[e.address],8,["onClick"]),ci("div",{class:"nav",onClick:r},[Ec("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),ci("div",{class:"nav-btn-back",onClick:i},[Ec(Sc,"#ffffff",26)],8,["onClick"])])}});let T_=null;const S_=bd("openLocation",((e,{resolve:t})=>{T_?u(T_,e):(T_=Xt(e),On((()=>{const e=Bb(x_,T_,(()=>{T_=null,On((()=>{e.unmount()}))}));e.mount(Nb("u-a-o"))}))),t()}),0,mf);const C_=vu({name:"LoctaionPicker",props:{latitude:{type:Number},longitude:{type:Number}},emits:["close"],setup(e,{emit:t}){Vb(),Dl();const{t:n}=Sl(),o=function(e){const t=Xt({latitude:0,longitude:0,keyword:"",searching:!1});function n(){e.latitude&&e.longitude&&(t.latitude=e.latitude,t.longitude=e.longitude)}return ao([()=>e.latitude,()=>e.longitude],n),n(),t}(e),{list:r,listState:i,loadMore:a,reset:s,getList:l}=function(e){const t=__uniConfig.qqMapKey,n=Xt([]),o=dn(-1),r=Li((()=>n[o.value])),i=Xt({loading:!0,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:o,selected:r}),a=dn(""),s=Li((()=>a.value?`region(${a.value},1,${e.latitude},${e.longitude})`:`nearby(${e.latitude},${e.longitude},5000)`));function l(e){e.forEach((e=>{n.push({name:e.title||e.name,address:e.address,distance:e._distance||e.distance,latitude:e.location.lat,longitude:e.location.lng})}))}function c(){i.loading=!0;const o=dy();if(o.type===uy.GOOGLE){if(i.pageIndex>1&&i.nextPage)return void i.nextPage();new google.maps.places.PlacesService(document.createElement("div"))[e.searching?"textSearch":"nearbySearch"]({location:{lat:e.latitude,lng:e.longitude},query:e.keyword,radius:5e3},((e,t,o)=>{i.loading=!1,e&&e.length&&e.forEach((e=>{n.push({name:e.name||"",address:e.vicinity||e.formatted_address||"",distance:0,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng()})})),o&&(o.hasNextPage?i.nextPage=()=>{o.nextPage()}:i.hasNextPage=!1)}))}else o.type===uy.QQ?ny(e.searching?`https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=${t}&boundary=${s.value}&keyword=${e.keyword}&page_size=${i.pageSize}&page_index=${i.pageIndex}`:`https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=${t}&location=${e.latitude},${e.longitude}&get_poi=1&poi_options=page_size=${i.pageSize};page_index=${i.pageIndex}`,{callback:"callback"},(t=>{if(i.loading=!1,e.searching&&"data"in t&&t.data.length)l(t.data);else if("result"in t){const e=t.result;a.value=e.ad_info?e.ad_info.adcode:"",e.pois&&l(e.pois)}n.length===i.pageSize*i.pageIndex&&(i.hasNextPage=!1)}),(()=>{i.loading=!1})):o.type===uy.AMAP&&window.AMap.plugin("AMap.PlaceSearch",(function(){const t=new window.AMap.PlaceSearch({city:"全国",pageSize:10,pageIndex:i.pageIndex}),n=e.searching?e.keyword:"",o=e.searching?5e4:5e3;t.searchNearBy(n,[e.longitude,e.latitude],o,(function(e,t){"error"===e?console.error(t):"no_data"===e?i.hasNextPage=!1:l(t.poiList.pois)})),i.loading=!1}))}return{listState:i,list:n,loadMore:function(){!i.loading&&i.hasNextPage&&(i.pageIndex++,c())},reset:function(){i.selectedIndex=-1,i.pageIndex=1,i.hasNextPage=!0,i.nextPage=null,n.splice(0,n.length)},getList:c}}(o),c=Me((()=>{s(),o.keyword&&l()}),1e3,{setTimeout:setTimeout,clearTimeout:clearTimeout});function d(e){o.keyword=e.detail.value,c()}function p(){t("close",u({},i.selected))}function f(){t("close")}function h(e){const t=e.detail.centerLocation;t&&m(t)}function g(){w_({type:"gcj02",success:m,fail:()=>{}})}function m({latitude:e,longitude:t}){o.latitude=e,o.longitude=t,o.searching||(s(),l())}return ao((()=>o.searching),(e=>{s(),e||l()})),o.latitude&&o.longitude||g(),()=>{const e=r.map(((e,t)=>{return ci("div",{key:t,class:{"list-item":!0,selected:i.selectedIndex===t},onClick:()=>{i.selectedIndex=t,o.latitude=e.latitude,o.longitude=e.longitude}},[Ec(kc,"#007aff",24),ci("div",{class:"list-item-title"},[e.name]),ci("div",{class:"list-item-detail"},[(n=e.distance,n>100?`${n>1e3?(n/1e3).toFixed(1)+"k":n.toFixed(0)}m | `:n>0?"<100m | ":""),e.address])],10,["onClick"]);var n}));return i.loading&&e.unshift(ci("div",{class:"list-loading"},[ci("i",{class:"uni-loading"},null)])),ci("div",{class:"uni-system-choose-location"},[ci(Vx,{latitude:o.latitude,longitude:o.longitude,class:"map","show-location":!0,libraries:["places"],onUpdated:l,onRegionchange:h},{default:()=>[ci("div",{class:"map-location",style:`background-image: url("${cy}")`},null),ci("div",{class:"map-move",onClick:g},[Ec(sy,"#000000",24)],8,["onClick"])],_:1},8,["latitude","longitude","show-location","onUpdated","onRegionchange"]),ci("div",{class:"nav"},[ci("div",{class:"nav-btn back",onClick:f},[Ec(Cc,"#ffffff",26)],8,["onClick"]),ci("div",{class:{"nav-btn":!0,confirm:!0,disable:!i.selected},onClick:p},[Ec(kc,"#ffffff",26)],10,["onClick"])]),ci("div",{class:"menu"},[ci("div",{class:"search"},[ci(pm,{value:o.keyword,class:"search-input",placeholder:n("uni.chooseLocation.search"),onFocus:()=>o.searching=!0,onInput:d},null,8,["value","placeholder","onFocus","onInput"]),o.searching&&ci("div",{class:"search-btn",onClick:()=>{o.searching=!1,o.keyword=""}},[n("uni.chooseLocation.cancel")],8,["onClick"])]),ci(Zm,{"scroll-y":!0,class:"list",onScrolltolower:a},(t=e,"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!oi(t)?e:{default:()=>[e],_:2}),8,["scroll-y","onScrolltolower"])])]);var t}}});let k_=null;const E_=bd("chooseLocation",((e,{resolve:t,reject:n})=>{k_?n("cancel"):(k_=Xt(e),On((()=>{const e=Bb(C_,k_,(o=>{k_=null,On((()=>{e.unmount()})),o?t(o):n("cancel")}));e.mount(Nb("u-a-c"))})))}));let A_=!1,M_=0;const P_=bd("startLocationUpdate",((e,{resolve:t,reject:n})=>{navigator.geolocation?(M_=M_||navigator.geolocation.watchPosition((n=>{A_=!0,my(null==e?void 0:e.type,n.coords).then((e=>{tT.invokeOnCallback("onLocationChange",e),t()})).catch((e=>{tT.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})}))}),(e=>{A_||(n(e.message),A_=!0),tT.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})})),setTimeout(t,100)):n()}),0,Lf),O_=bd("stopLocationUpdate",((e,{resolve:t})=>{M_&&(navigator.geolocation.clearWatch(M_),A_=!1,M_=0),t()})),L_=gd("onLocationChange",(()=>{})),I_=md("offLocationChange",(()=>{})),$_=gd("onLocationChangeError",(()=>{})),R_=md("offLocationChangeError",(()=>{})),D_=bd("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Bc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Nv().$router.go(-e.delta),t()):n("onBackPress")}),0,Nf),B_=bd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Oh.handledBeforeEntryPageRoutes)return gh({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Lh.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,$f),N_=bd("preloadPage",(({url:e},{resolve:t,reject:n})=>{const o=Vc(e.split("?")[0]);o?o.loader&&o.loader().then((()=>{t({url:e,errMsg:"preloadPage:ok"})})).catch((t=>{n(`${e} ${String(t)}`)})):n(`${e}}`)}));function j_(e){__uniConfig.darkmode&&tT.on("onThemeChange",e)}function q_(e){tT.off("onThemeChange",e)}function z_(e){let t={};return __uniConfig.darkmode&&(t=qe(e,__uniConfig.themeConfig,Oy())),__uniConfig.darkmode?t:e}function F_(e,t){const n=Jt(e),o=n?Xt(z_(e)):z_(e);return __uniConfig.darkmode&&n&&ao(e,(e=>{const t=z_(e);for(const n in t)o[n]=t[n]})),t&&j_(t),o}const V_={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},U_=Co({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=dn(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=jb(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=dn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=V_[e].cancelColor})(e,t)};return ro((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Oy()&&n({theme:"dark"}),j_(n))):q_(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,ci(qi,{name:"uni-fade"},{default:()=>[po(ci("uni-modal",{onTouchmove:uc},[Db,ci("div",{class:"uni-modal"},[t?ci("div",{class:"uni-modal__hd"},[ci("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ci("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ci("div",{class:"uni-modal__bd",onTouchmovePassive:dc,textContent:o},null,40,["onTouchmovePassive","textContent"]),ci("div",{class:"uni-modal__ft"},[l&&ci("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ci("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[ea,a.value]])]})}}});let H_;const W_=le((()=>{tT.on("onHidePopup",(()=>H_.visible=!1))}));let Y_;function X_(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&H_.editable&&(o.content=t),Y_&&Y_(o)}const G_=bd("showModal",((e,{resolve:t})=>{W_(),Y_=t,H_?(u(H_,e),H_.visible=!0):(H_=Xt(e),On((()=>(Bb(U_,H_,X_).mount(Nb("u-a-m")),On((()=>H_.visible=!0))))))}),0,Xf),K_={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Gf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Q_={light:"#fff",dark:"rgba(255,255,255,0.9)"},J_=e=>Q_[e],Z_=Co({name:"Toast",props:K_,setup(e){Al(),Ml();const{Icon:t}=function(e){const t=dn(J_(Oy())),n=({theme:e})=>t.value=J_(e);ro((()=>{e.visible?j_(n):q_(n)}));return{Icon:Li((()=>{switch(e.icon){case"success":return ci(Ec(xc,t.value,38),{class:"uni-toast__icon"});case"error":return ci(Ec(Tc,t.value,38),{class:"uni-toast__icon"});case"loading":return ci("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=jb(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return ci(qi,{name:"uni-fade"},{default:()=>[po(ci("uni-toast",{"data-duration":r},[o?ci("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:uc},null,40,["onTouchmove"]):"",a||t.value?ci("div",{class:"uni-toast"},[a?ci("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,ci("p",{class:"uni-toast__content"},[i])]):ci("div",{class:"uni-sample-toast"},[ci("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[ea,n.value]])]})}}});let ew,tw,nw="";const ow=Ue();function rw(e){ew?u(ew,e):(ew=Xt(u(e,{visible:!1})),On((()=>{ow.run((()=>{ao([()=>ew.visible,()=>ew.duration],(([e,t])=>{if(e){if(tw&&clearTimeout(tw),"onShowLoading"===nw)return;tw=setTimeout((()=>{uw("onHideToast")}),t)}else tw&&clearTimeout(tw)}))})),tT.on("onHidePopup",(()=>uw("onHidePopup"))),Bb(Z_,ew,(()=>{})).mount(Nb("u-a-t"))}))),setTimeout((()=>{ew.visible=!0}),10)}const iw=bd("showToast",((e,{resolve:t,reject:n})=>{rw(e),nw="onShowToast",t()}),0,Kf),aw={icon:"loading",duration:1e8,image:""},sw=bd("showLoading",((e,{resolve:t,reject:n})=>{u(e,aw),rw(e),nw="onShowLoading",t()}),0,Yf),lw=bd("hideToast",((e,{resolve:t,reject:n})=>{uw("onHideToast"),t()})),cw=bd("hideLoading",((e,{resolve:t,reject:n})=>{uw("onHideLoading"),t()}));function uw(e){const{t:t}=Sl();if(!nw)return;let n="";if("onHideToast"===e&&"onShowToast"!==nw?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==nw&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);nw="",setTimeout((()=>{ew.visible=!1}),10)}function dw(e){const t=dn(0),n=dn(0),o=Li((()=>t.value>=500&&n.value>=500)),r=Li((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(o.value&&a){u(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width?a.width:300),o=s(a.top),l=s(a.height),c=e+t/2;r.transform="none !important";const d=Math.max(0,c-t/2);r.left=`${d}px`,a.width&&(r.width=`${t}px`);let p=Math.max(12,c-d);p=Math.min(t-12,p),i.left=`${p}px`;const f=n.value/2;o+l-f>f-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Ho((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=uni.getSystemInfoSync();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Go((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}const pw={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const fw=Co({name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:()=>[]},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){El();const n=dn(260),o=dn(0),r=dn(0),i=dn(0),a=dn(0),s=dn(null),l=dn(null),{t:c}=Sl(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:r}=Rb();return ao((()=>e.visible),(e=>r.value=!e)),ro((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}(e,t),{popupStyle:d}=dw(e);let p;function f(e){const t=i.value+e.deltaY;Math.abs(t)>10?(a.value+=t/3,a.value=a.value>=o.value?o.value:a.value<=0?0:a.value,p.scrollTo(a.value)):i.value=t,e.preventDefault()}Ho((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=Um(s.value,{enableY:!0,friction:new Nm(1e-4),spring:new zm(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});p=e,xm(s.value,(r=>{if(e)switch(r.detail.state){case"start":t(r);break;case"move":n(r);break;case"end":case"cancel":o(r)}}),!0)})),ao((()=>e.visible),(()=>{On((()=>{e.title&&(r.value=document.querySelector(".uni-actionsheet__title").offsetHeight),p.update(),s.value&&(o.value=s.value.clientHeight-n.value),document.querySelectorAll(".uni-actionsheet__cell").forEach((e=>{!function(e){const t=20;let n=0,o=0;e.addEventListener("touchstart",(e=>{const t=e.changedTouches[0];n=t.clientX,o=t.clientY})),e.addEventListener("touchend",(e=>{const r=e.changedTouches[0];if(Math.abs(r.clientX-n)<t&&Math.abs(r.clientY-o)<t){const t=e.target,n=e.currentTarget,o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t,currentTarget:n});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{o[e]=r[e]})),e.target.dispatchEvent(o)}}))}(e)}))}))}));const h=function(e){const t=Xt({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach((n=>{t[n]=pw[e][n]}))}(e,t)};return ro((()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:Oy()}),j_(n))):q_(n)})),t}(e);return()=>ci("uni-actionsheet",{onTouchmove:uc},[ci(qi,{name:"uni-fade"},{default:()=>[po(ci("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[ea,e.visible]])]}),ci("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[ci("div",{ref:l,class:"uni-actionsheet__menu",onWheel:f},[e.title?ci(Hr,null,[ci("div",{class:"uni-actionsheet__cell",style:{height:`${r.value}px`}},null),ci("div",{class:"uni-actionsheet__title"},[e.title])]):"",ci("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[ci("div",{ref:s},[e.itemList.map(((e,t)=>ci("div",{key:t,style:{color:h.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"])))],512)])],40,["onWheel"]),ci("div",{class:"uni-actionsheet__action"},[ci("div",{style:{color:h.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),ci("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let hw,gw,mw;const vw=le((()=>{tT.on("onHidePopup",(()=>mw.visible=!1))}));function yw(e){-1===e?gw&&gw("cancel"):hw&&hw({tapIndex:e})}const bw=bd("showActionSheet",((e,{resolve:t,reject:n})=>{vw(),hw=t,gw=n,mw?(u(mw,e),mw.visible=!0):(mw=Xt(e),On((()=>(Bb(fw,mw,yw).mount(Nb("u-s-a-s")),On((()=>mw.visible=!0))))))}),0,Wf),_w=bd("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{(function(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${tg(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${tg(t.substring(4,t.length-1))}')`:tg(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function ww(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,tT.emit("onNavigationBarChange",{titleText:t})}ro(t),$o(t)}function xw(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case"setNavigationBarTitle":const{title:s}=n;i.titleText=s}o()}const Tw=bd("setNavigationBarColor",((e,{resolve:t,reject:n})=>{xw(Oc(),"setNavigationBarColor",e,t,n)}),0,Uf),Sw=bd("showNavigationBarLoading",((e,{resolve:t,reject:n})=>{xw(Oc(),"showNavigationBarLoading",e||{},t,n)})),Cw=bd("hideNavigationBarLoading",((e,{resolve:t,reject:n})=>{xw(Oc(),"hideNavigationBarLoading",e||{},t,n)})),kw=bd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{xw(Oc(),"setNavigationBarTitle",e,t,n)})),Ew=bd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(y(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:i}=o;if(e=Math.min(e,i-r),0===t)return void(o.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}(t||e||0,n),o()}),0,Hf),Aw=bd("startPullDownRefresh",((e,{resolve:t})=>{tT.invokeViewMethod("startPullDownRefresh",{},Lc()),t()})),Mw=bd("stopPullDownRefresh",((e,{resolve:t})=>{tT.invokeViewMethod("stopPullDownRefresh",{},Lc()),t()})),Pw=["text","iconPath","iconfont","selectedIconPath","visible"],Ow=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],Lw=["badge","redDot"];function Iw(e,t,n){t.forEach((function(t){f(n,t)&&(e[t]=n[t])}))}function $w(e,t,n,o){var r;let i=!1;const a=Nh();if(a.length&&Ph(a[a.length-1]).meta.isTabBar&&(i=!0),!i)return o("not TabBar page");const{index:s}=t;if("number"==typeof s){const e=null==(r=null==__uniConfig?void 0:__uniConfig.tabBar)?void 0:r.list.length;if(!e||s>=e)return o("tabbar item not found")}const l=yh();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;Iw(e,Pw,t);const{pagePath:o}=t;if(o){const e=ie(o);e!==n&&function(e,t,n){const o=Vc(ie(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=Vc(ie(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=ae(n))}}(s,n,e)}break;case"setTabBarStyle":Iw(l,Ow,t);break;case"showTabBarRedDot":Iw(l.list[s],Lw,{badge:"",redDot:!0});break;case"setTabBarBadge":Iw(l.list[s],Lw,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Iw(l.list[s],Lw,{badge:"",redDot:!1})}n()}const Rw=bd("setTabBarItem",((e,{resolve:t,reject:n})=>{$w("setTabBarItem",e,t,n)}),0,Jf),Dw=bd("setTabBarStyle",((e,{resolve:t,reject:n})=>{$w("setTabBarStyle",e,t,n)}),0,eh),Bw=bd("hideTabBar",((e,{resolve:t,reject:n})=>{$w("hideTabBar",e||{},t,n)})),Nw=bd("showTabBar",((e,{resolve:t,reject:n})=>{$w("showTabBar",e||{},t,n)})),jw=bd("hideTabBarRedDot",((e,{resolve:t,reject:n})=>{$w("hideTabBarRedDot",e,t,n)}),0,th),qw=bd("showTabBarRedDot",((e,{resolve:t,reject:n})=>{$w("showTabBarRedDot",e,t,n)}),0,nh),zw=bd("removeTabBarBadge",((e,{resolve:t,reject:n})=>{$w("removeTabBarBadge",e,t,n)}),0,oh),Fw=bd("setTabBarBadge",((e,{resolve:t,reject:n})=>{$w("setTabBarBadge",e,t,n)}),0,rh),Vw=vu({name:"TabBar",setup(){const e=dn([]),t=yh(),n=F_(t,(()=>{const e=z_(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}dn(u({type:"midButton"},e.midButton)),ro(n)}(n,e),function(e){ao((()=>e.shown),(t=>{mc({"--window-bottom":Ah(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return ro((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>()=>{const{pagePath:o,text:r}=t;let i=ie(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?uni.switchTab({from:"tabBar",url:i,tabBarText:r}):Bc("onTabItemTap",{index:n,text:r,pagePath:o})}}(ll(),n,e),{style:r,borderStyle:i,placeholderStyle:a}=function(e){const t=Li((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Th&&n&&"none"!==n&&(t=Uw[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Li((()=>{const{borderStyle:t,borderColor:n}=e;return n&&y(n)?{backgroundColor:n}:{backgroundColor:Hw[t]||Hw.black}})),o=Li((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Ho((()=>{n.iconfontSrc&&_w({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,a)=>{const s=o===a;return function(e,t,n,o,r,i,a,s){return ci("div",{key:a,class:"uni-tabbar__item",onClick:s(r,a)},[Ww(e,t||"",n,o,r,i)],8,["onClick"])}(s?r:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,o,e);return ci("uni-tabbar",{class:"uni-tabbar-"+n.position},[ci("div",{class:"uni-tabbar",style:r.value},[ci("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),ci("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const Uw={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},Hw={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Ww(e,t,n,o,r,i){const{height:a}=i;return ci("div",{class:"uni-tabbar__bd",style:{height:a}},[n?Xw(n,o||"rgb(0, 0, 0, 0.8)",r,i):t&&Yw(t,r,i),r.text&&Gw(e,r,i),r.redDot&&Kw(r.badge)],4)}function Yw(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return ci("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&ci("img",{src:tg(e)},null,8,["src"])],6)}function Xw(e,t,n,o){var r;const{type:i,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||s,color:t};return ci("div",{class:l,style:c},["midButton"!==i&&ci("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Gw(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:a}=n;return ci("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[r],4)}function Kw(e){return ci("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}let Qw;function Jw(){return Qw}const Zw=vu({name:"Layout",setup(e,{emit:t}){const n=dn(null);gc({"--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=ll();return{routeKey:Li((()=>Vh("/"+e.meta.route,Iu()))),isTabBar:Li((()=>e.meta.isTabBar)),routeCache:Hh}}(),{layoutState:r,windowState:i}=function(){Lu();{const e=Xt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return ao((()=>e.marginWidth),(e=>gc({"--window-margin":e+"px"}))),ao((()=>e.leftWindowWidth+e.marginWidth),(e=>{gc({"--window-left":e+"px"})})),ao((()=>e.rightWindowWidth+e.marginWidth),(e=>{gc({"--window-right":e+"px"})})),{layoutState:e,windowState:Li((()=>({})))}}}();!function(e,t){const n=Lu();function o(){const o=document.body.clientWidth,r=Nh();let i={};if(r.length>0){i=Ph(r[r.length-1]).meta}else{const e=Vc(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,On((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,On((()=>{const e=t.value;e&&e.removeAttribute("style")})))}ao([()=>n.path],o),Ho((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const a=function(e){const t=Lu(),n=yh(),o=Li((()=>t.meta.isTabBar&&n.shown));return gc({"--tab-bar-height":n.height}),o}(),s=function(e){const t=dn(!1);return Li((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return Qw=r,()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ci(al,null,{default:Wn((({Component:o})=>[(Qr(),ni(Lo,{matchBy:"key",cache:n},[(Qr(),ni(Zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return po(ci(Vw,null,null,512),[[ea,e.value]])}(a);return ci("uni-app",{ref:n,class:s.value},[e,t],2)}}});const ex=bd("showTopWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowTopWindow=!0,On(t)):n()})),tx=bd("hideTopWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowTopWindow=!1,On(t)):n()})),nx=bd("showLeftWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowLeftWindow=!0,On(t)):n()})),ox=bd("hideLeftWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowLeftWindow=!1,On(t)):n()})),rx=bd("showRightWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowRightWindow=!0,On(t)):n()})),ix=bd("hideRightWindow",((e,{resolve:t,reject:n})=>{const o=Jw();o?(o.apiShowRightWindow=!1,On(t)):n()})),ax=yd(0,(()=>{const e=Jw();return u({},e&&e.topWindowStyle)})),sx=yd(0,(e=>{const t=Jw();t&&(t.topWindowStyle=e)})),lx=yd(0,(()=>{const e=Jw();return u({},e&&e.leftWindowStyle)})),cx=yd(0,(e=>{const t=Jw();t&&(t.leftWindowStyle=e)})),ux=yd(0,(()=>{const e=Jw();return u({},e&&e.rightWindowStyle)})),dx=yd(0,(e=>{const t=Jw();t&&(t.rightWindowStyle=e)})),px=yd(0,(e=>{const t=document.querySelector("uni-page-body");return t?t.querySelector(`#${e}`):null})),fx=bd("saveImageToPhotosAlbum",Td("saveImageToPhotosAlbum")),hx=yd(0,wd("getRecorderManager")),gx=bd("saveVideoToPhotosAlbum",Td("saveVideoToPhotosAlbum")),mx=yd(0,wd("createCameraContext")),vx=yd(0,wd("createLivePlayerContext")),yx=bd("saveFile",Td("saveFile")),bx=bd("getSavedFileList",Td("getSavedFileList")),_x=bd("getSavedFileInfo",Td("getSavedFileInfo")),xx=bd("removeSavedFile",Td("removeSavedFile")),Tx=gd("onMemoryWarning",xd("onMemoryWarning")),Sx=gd("onGyroscopeChange",xd("onGyroscopeChange")),Cx=bd("startGyroscope",Td("startGyroscope")),kx=bd("stopGyroscope",Td("stopGyroscope")),Ex=bd("scanCode",Td("scanCode")),Ax=bd("setScreenBrightness",Td("setScreenBrightness")),Mx=bd("getScreenBrightness",Td("getScreenBrightness")),Px=bd("setKeepScreenOn",Td("setKeepScreenOn")),Ox=gd("onUserCaptureScreen",xd("onUserCaptureScreen")),Lx=bd("addPhoneContact",Td("addPhoneContact")),Ix=bd("login",Td("login")),$x=bd("getProvider",Td("getProvider")),Rx=Object.defineProperty({__proto__:null,$emit:Vd,$off:Fd,$on:qd,$once:zd,__f__:function(e,t,...n){t&&n.push(t),console[e].apply(console,n)},addInterceptor:Bd,addPhoneContact:Lx,arrayBufferToBase64:Cd,base64ToArrayBuffer:Sd,canIUse:Ch,canvasGetImageData:mp,canvasPutImageData:vp,canvasToTempFilePath:yp,chooseFile:Pb,chooseImage:Lb,chooseLocation:E_,chooseVideo:Zb,clearStorage:bb,clearStorageSync:yb,closePreviewImage:Qb,closeSocket:g_,connectSocket:p_,createAnimation:zp,createCameraContext:mx,createCanvasContext:gp,createInnerAudioContext:ky,createIntersectionObserver:kp,createLivePlayerContext:vx,createMapContext:Gd,createMediaQueryObserver:Mp,createSelectorQuery:Dp,createVideoContext:Wd,cssBackdropFilter:Th,cssConstant:xh,cssEnv:wh,cssVar:_h,downloadFile:a_,getAppBaseInfo:Ny,getClipboardData:ab,getDeviceInfo:By,getElementById:px,getEnterOptionsSync:Zp,getFileInfo:xb,getImageInfo:Cb,getLaunchOptionsSync:ef,getLeftWindowStyle:lx,getLocale:Hp,getLocation:w_,getNetworkType:Hy,getProvider:$x,getPushClientId:lf,getRecorderManager:hx,getRightWindowStyle:ux,getSavedFileInfo:_x,getSavedFileList:bx,getScreenBrightness:Mx,getSelectedTextRange:Gp,getStorage:gb,getStorageInfo:wb,getStorageInfoSync:_b,getStorageSync:hb,getSystemInfo:qy,getSystemInfoSync:jy,getTabBarPageId:ch,getTopWindowStyle:ax,getVideoInfo:kb,getWindowInfo:Iy,hideActionSheet:()=>{mw&&(mw.visible=!1)},hideKeyboard:Sb,hideLeftWindow:ox,hideLoading:cw,hideModal:()=>{H_&&(H_.visible=!1)},hideNavigationBarLoading:Cw,hideRightWindow:ix,hideTabBar:Bw,hideTabBarRedDot:jw,hideToast:lw,hideTopWindow:tx,interceptors:{},invokePushCallback:function(e){if("enabled"===e.type)of=!0;else if("clientId"===e.type)tf=e.cid,nf=e.errMsg,sf(tf,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:rf(e.message)};for(let e=0;e<cf.length;e++){if((0,cf[e])(t),t.stopped)break}}else"click"===e.type&&cf.forEach((t=>{t({type:"click",data:rf(e.message)})}))},loadFontFace:_w,login:Ix,makePhoneCall:Ey,navigateBack:D_,navigateTo:B_,offAccelerometerChange:Xy,offAppHide:function(e){Jp("onHide",e)},offAppShow:function(e){Jp("onShow",e)},offCompassChange:Zy,offError:function(e){Jp("onError",e)},offLocationChange:I_,offLocationChangeError:R_,offNetworkStatusChange:Uy,offPageNotFound:function(e){Jp("onPageNotFound",e)},offPushMessage:e=>{if(e){const t=cf.indexOf(e);t>-1&&cf.splice(t,1)}else cf.length=0},offThemeChange:ub,offUnhandledRejection:function(e){Jp("onUnhandledRejection",e)},offWindowResize:Up,onAccelerometerChange:Yy,onAppHide:function(e){Qp("onHide",e)},onAppShow:function(e){Qp("onShow",e)},onCompassChange:Jy,onCreateVueApp:function(e){if(Ie)return e(Ie);$e.push(e)},onError:function(e){Qp("onError",e)},onGyroscopeChange:Sx,onLocaleChange:Wp,onLocationChange:L_,onLocationChangeError:$_,onMemoryWarning:Tx,onNetworkStatusChange:Vy,onPageNotFound:function(e){Qp("onPageNotFound",e)},onPushMessage:e=>{-1===cf.indexOf(e)&&cf.push(e)},onSocketClose:__,onSocketError:y_,onSocketMessage:b_,onSocketOpen:v_,onTabBarMidButtonTap:Fp,onThemeChange:cb,onUnhandledRejection:function(e){Qp("onUnhandledRejection",e)},onUserCaptureScreen:Ox,onWindowResize:Vp,openDocument:Tb,openLocation:S_,pageScrollTo:Ew,preloadPage:N_,previewImage:Kb,reLaunch:hh,redirectTo:ph,removeAllPages:fh,removeInterceptor:Nd,removeLastPage:dh,removeNonTabBarPages:sh,removeSavedFile:xx,removeStorage:vb,removeStorageSync:mb,removeTabBarBadge:zw,request:e_,rpx2px:$d,saveFile:yx,saveImageToPhotosAlbum:fx,saveVideoToPhotosAlbum:gx,scanCode:Ex,sendSocketMessage:h_,setClipboardData:sb,setKeepScreenOn:Px,setLeftWindowStyle:cx,setLocale:Yp,setNavigationBarColor:Tw,setNavigationBarTitle:kw,setPageMeta:Xp,setRightWindowStyle:dx,setScreenBrightness:Ax,setStorage:pb,setStorageSync:db,setTabBarBadge:Fw,setTabBarItem:Rw,setTabBarStyle:Dw,setTopWindowStyle:sx,showActionSheet:bw,showLeftWindow:nx,showLoading:sw,showModal:G_,showNavigationBarLoading:Sw,showRightWindow:rx,showTabBar:Nw,showTabBarRedDot:qw,showToast:iw,showTopWindow:ex,startAccelerometer:Gy,startCompass:eb,startGyroscope:Cx,startLocationUpdate:P_,startPullDownRefresh:Aw,stopAccelerometer:Ky,stopCompass:tb,stopGyroscope:kx,stopLocationUpdate:O_,stopPullDownRefresh:Mw,switchTab:uh,uploadFile:l_,upx2px:$d,vibrateLong:rb,vibrateShort:ob},Symbol.toStringTag,{value:"Module"}),Dx=vu({name:"MapLocation",setup(){const e=Xt({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){w_({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),Zy(t)};const r=Cr("onMapReady");let i;Jy(t),r(n),Go(o);const a=Cr("addMapChidlContext"),s=Cr("removeMapChidlContext"),l={id:"MAP_LOCATION",state:e};a(l),Go((()=>s(l)))}return()=>e.latitude?ci(vy,mi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:ly},e),null,16,["iconPath"]):null}}),Bx=vu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Cr("onMapReady")(((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:a,dashArray:s,fillColor:l,zIndex:c}=e,u=r.map((e=>{const{latitude:t,longitude:n}=e;return hy()?[n,t]:gy()?new o.Point(n,t):new o.LatLng(t,n)})),{r:d,g:p,b:f,a:h}=yy(l),{r:g,g:m,b:v,a:y}=yy(a),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:s.some((e=>e>0))?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(b.fillColor=new o.Color(d,p,f,h),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${p}, ${f})`,b.fillOpacity=h,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):gy()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),ao(e,i)})),Go((()=>{t.setMap(null)})),()=>null}});function Nx(e){const t=[];return h(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function jx(e,t,n){return gy()?function(e,t,n){return new e.Point(n,t)}(e,t,n):hy()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function qx(e){return"getLat"in e?e.getLat():gy()?e.lat:e.lat()}function zx(e){return"getLng"in e?e.getLng():gy()?e.lng:e.lng()}function Fx(e,t,n){const o=bu(t,n),r=dn(null);let i,a;const s=Xt({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Nx(e.includePoints)}),l=[];let c,d;function p(e){c?e(a,i,o):l.push(e)}const f=[];function h(e){d?e():l.push(e)}const g={};function m(){const e=a.getCenter();return{scale:a.getZoom(),centerLocation:{latitude:qx(e),longitude:zx(e)}}}function v(){if(hy()){const e=[];s.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new i.Bounds(...e);a.setBounds(t)}else if(gy());else{const e=new i.LatLngBounds;s.includePoints.forEach((({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)})),a.fitBounds(e)}}function y(){const t=r.value,l=jx(i,s.latitude,s.longitude),c=i.event||i.Event,p=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(gy()&&(p.centerAndZoom(l,Number(e.scale)),p.enableScrollWheelZoom(),p._printLog&&p._printLog("uniapp")),ao((()=>e.scale),(e=>{p.setZoom(Number(e)||16)})),h((()=>{s.includePoints.length&&(v(),function(){const e=jx(i,s.latitude,s.longitude);a.setCenter(e)}())})),gy())p.addEventListener("click",(()=>{o("tap",{},{}),o("click",{},{})})),p.addEventListener("dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),p.addEventListener("dragend",(()=>{o("regionchange",{},u({type:"end",causedBy:"drag"},m()))}));else{const e=c.addListener(p,"bounds_changed",(()=>{e.remove(),d=!0,f.forEach((e=>e())),f.length=0}));c.addListener(p,"click",(()=>{o("tap",{},{}),o("click",{},{})})),c.addListener(p,"dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),c.addListener(p,"dragend",(()=>{o("regionchange",{},u({type:"end",causedBy:"drag"},m()))}));const t=()=>{n("update:scale",p.getZoom()),o("regionchange",{},u({type:"end",causedBy:"scale"},m()))};c.addListener(p,"zoom_changed",t),c.addListener(p,"zoomend",t),c.addListener(p,"center_changed",(()=>{const e=p.getCenter(),t=qx(e),o=zx(e);n("update:latitude",t),n("update:longitude",o)}))}return p}ao([()=>e.latitude,()=>e.longitude],(([e,t])=>{const n=Number(e),o=Number(t);if((n!==s.latitude||o!==s.longitude)&&(s.latitude=n,s.longitude=o,a)){const e=jx(i,s.latitude,s.longitude);a.setCenter(e)}})),ao((()=>e.includePoints),(e=>{s.includePoints=Nx(e),d&&v()}),{deep:!0});try{gv(((e,t={})=>{switch(e){case"getCenterLocation":p((()=>{const n=a.getCenter();de(t,{latitude:qx(n),longitude:zx(n),errMsg:`${e}:ok`})}));break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g.MAP_LOCATION;e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(s.latitude=n,s.longitude=o,a){const e=jx(i,n,o);a.setCenter(e)}p((()=>{de(t,`${e}:ok`)}))}else de(t,`${e}:fail`)}break;case"translateMarker":p((()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){de(t,`${e}:fail ${o.message}`)}de(t,`${e}:ok`)}else de(t,`${e}:fail not found`)}));break;case"includePoints":s.includePoints=Nx(t.includePoints),(d||hy())&&v(),h((()=>{de(t,`${e}:ok`)}));break;case"getRegion":h((()=>{const n=a.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();de(t,{southwest:{latitude:qx(o),longitude:zx(o)},northeast:{latitude:qx(r),longitude:zx(r)},errMsg:`${e}:ok`})}));break;case"getScale":p((()=>{de(t,{scale:a.getZoom(),errMsg:`${e}:ok`})}))}}),vv(),!0)}catch(b){}return Ho((()=>{iy(e.libraries,(e=>{i=e,a=y(),c=!0,l.forEach((e=>e(a,i,o))),l.length=0,o("updated",{},{})}))})),Sr("onMapReady",p),Sr("addMapChidlContext",(function(e){g[e.id]=e})),Sr("removeMapChidlContext",(function(e){delete g[e.id]})),{state:s,mapRef:r,trigger:o}}const Vx=mu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=dn(null),{mapRef:r,trigger:i}=Fx(e,o,t);return()=>ci("uni-map",{ref:o,id:e.id},[ci("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>ci(vy,mi({key:e.id},e),null,16))),e.polyline.map((e=>ci(_y,e,null,16))),e.circles.map((e=>ci(wy,e,null,16))),e.controls.map((e=>ci(Ty,mi(e,{trigger:i}),null,16,["trigger"]))),e.showLocation&&ci(Dx,null,null),e.polygons.map((e=>ci(Bx,e,null,16))),ci("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function Ux(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!oi(e)}function Hx(e){if(e.mode===Xx.TIME)return"00:00";if(e.mode===Xx.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Gx.YEAR:return t.toString();case Gx.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Wx(e){if(e.mode===Xx.TIME)return"23:59";if(e.mode===Xx.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Gx.YEAR:return t.toString();case Gx.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Yx(e,t,n,o){const r=e.mode===Xx.DATE?"-":":",i=e.mode===Xx.DATE?t.dateArray:t.timeArray;let a;if(e.mode===Xx.TIME)a=2;else switch(e.fields){case Gx.YEAR:a=1;break;case Gx.MONTH:a=2;break;default:a=3}const s=String(n).split(r);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?Yx(e,t,o):l.map((()=>0))),l}const Xx={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Gx={YEAR:"year",MONTH:"month",DAY:"day"},Kx={PICKER:"picker",SELECT:"select"},Qx=mu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Xx.SELECTOR,validator:e=>Object.values(Xx).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Hx(e)},end:{type:String,default:e=>Wx(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){$l();const{t:o}=Sl(),r=dn(null),i=dn(null),a=dn(null),s=dn(null),l=dn(!1),{state:c,rangeArray:u}=function(e){const t=Xt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Li((()=>{let n=e.range;switch(e.mode){case Xx.SELECTOR:return[n];case Xx.MULTISELECTOR:return n;case Xx.TIME:return t.timeArray;case Xx.DATE:{const n=t.dateArray;switch(e.fields){case Gx.YEAR:return[n[0]];case Gx.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),d=bu(r,t),{system:p,selectorTypeComputed:f,_show:g,_l10nColumn:m,_l10nItem:v,_input:y,_fixInputPosition:b,_pickerViewChange:_,_cancel:w,_change:x,_resetFormData:T,_getFormData:S,_createTime:C,_createDate:k,_setValueSync:E}=function(e,t,n,o,r,i,a){const s=function(){const e=dn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=dn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=Li((()=>{const t=e.selectorType;return Object.values(Kx).includes(t)?t:s.value?Kx.PICKER:Kx.SELECT})),u=Li((()=>e.mode===Xx.DATE&&!Object.values(Gx).includes(e.fields)&&t.isDesktop?l.value:"")),d=Li((()=>Yx(e,t,e.start,Hx(e)))),p=Li((()=>Yx(e,t,e.end,Wx(e))));function f(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const a=i.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case Xx.SELECTOR:t.valueSync=0;break;case Xx.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case Xx.DATE:case Xx.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function T(){let n=e.value;switch(e.mode){case Xx.MULTISELECTOR:{h(n)||(n=t.valueArray),h(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),a=isNaN(o)?isNaN(i)?0:i:o,s=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,a<0||a>s?0:a)}}break;case Xx.TIME:case Xx.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,o=t.valueSync;switch(e.mode){case Xx.MULTISELECTOR:n=[...o];break;case Xx.TIME:n=Yx(e,t,o,ue({mode:Xx.TIME}));break;case Xx.DATE:n=Yx(e,t,o,ue({mode:Xx.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case Xx.SELECTOR:return n[0];case Xx.MULTISELECTOR:return n.map((e=>e));case Xx.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case Xx.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function k(){A(),t.valueChangeSource="click";const e=C();t.valueSync=h(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:a,pageY:s}=e;if(a>o&&a<o+r&&s>n&&s<n+i)return}A(),n("cancel",{},{})}function A(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function M(){e.mode===Xx.SELECTOR&&c.value===Kx.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function P(e){const n=e.target;t.valueSync=n.value,On((()=>{k()}))}function O(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}}function L(e){t.valueArray=I(e.detail.value,!0)}function I(t,n){const{getLocale:o}=Sl();if(e.mode===Xx.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case Gx.YEAR:return t;case Gx.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function $(t,n){const{getLocale:o}=Sl();if(e.mode===Xx.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Gx.YEAR&&n===(e.fields===Gx.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return ao((()=>t.visible),(e=>{e?(clearTimeout(Jx),t.contentVisible=e,M()):Jx=setTimeout((()=>{t.contentVisible=e}),300)})),ao([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),ao((()=>t.valueSync),S,{deep:!0}),ao((()=>t.valueArray),(o=>{if(e.mode===Xx.TIME||e.mode===Xx.DATE){const n=e.mode===Xx.TIME?_:w,o=t.valueArray,r=d.value,i=p.value;if(e.mode===Xx.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();i<r&&(o[2]-=i+n-r)}n(o)<n(r)?x(o,r):n(o)>n(i)&&x(o,i)}o.forEach(((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===Xx.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:f,_cancel:E,_change:k,_l10nColumn:I,_l10nItem:$,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:O,_pickerViewChange:L}}(e,c,d,r,i,a,s);!function(e,t,n){const{key:o,disable:r}=Rb();ro((()=>{r.value=!e.visible})),ao(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,w,x),function(e,t){const n=Cr(Tu,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Xo((()=>{n.removeField(o)}))}}(T,S),C(),k(),E();const A=dw(c);return ro((()=>{c.isDesktop=A.isDesktop.value,c.popupStyle=A.popupStyle.value})),Xo((()=>{i.value&&i.value.remove()})),Ho((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:h,valueArray:T,popupStyle:S,valueSync:C}=c,{rangeKey:k,mode:E,start:A,end:M}=e,P=xu(e,"disabled");return ci("uni-picker",mi({ref:r},P,{onClick:yu(g)}),[l.value?ci("div",{ref:i,class:["uni-picker-container",`uni-${E}-${f.value}`],onWheel:uc,onTouchmove:uc},[ci(qi,{name:"uni-fade"},{default:()=>[po(ci("div",{class:"uni-mask uni-picker-mask",onClick:yu(w),onMousemove:b},null,40,["onClick","onMousemove"]),[[ea,d]])]}),p.value?null:ci("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:S.content},[ci("div",{class:"uni-picker-header",onClick:dc},[ci("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:yu(w)},[o("uni.picker.cancel")],8,["onClick"]),ci("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),h?ci(Bm,{value:m(T),class:"uni-picker-content",onChange:_},Ux(t=er(m(u.value),((e,t)=>{let n;return ci(Hm,{key:t},Ux(n=er(e,((e,n)=>ci("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":v(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,ci("div",{ref:a,class:"uni-picker-select",onWheel:dc,onTouchmove:dc},[er(u.value[0],((e,t)=>ci("div",{key:t,class:["uni-picker-item",{selected:T[0]===t}],onClick:()=>{T[0]=t,x()}},["object"==typeof e?e[k]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),ci("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,ci("div",null,[n.default&&n.default()]),p.value?ci("div",{class:"uni-picker-system",onMousemove:yu(b)},[ci("input",{class:["uni-picker-system_input",p.value],ref:s,value:C,type:E,tabindex:"-1",min:A,max:M,onChange:e=>{y(e),dc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let Jx;const Zx=u(Vl,{publishHandler(e,t,n){tT.subscribeHandler(e,t,n)}}),eT=Rx,tT=u(ou,{publishHandler(e,t,n){Zx.subscribeHandler(e,t,n)}}),nT=vu({name:"PageHead",setup(){const e=dn(null),t=Pu(),n=F_(t.navigationBar,(()=>{const e=z_(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=Li((()=>{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=Li((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return ci("div",{class:"uni-page-head-btn",onClick:rT},[Ec(Sc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&ci("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ci("uni-page-head",{"uni-page-head-type":a},[ci("div",{ref:e,class:o.value,style:r.value},[ci("div",{class:"uni-page-head-hd"},[i]),oT(n),ci("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function oT(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ci("div",{class:"uni-page-head-bd"},[ci("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ci("i",{class:"uni-loading"},null):r?ci("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function rT(){1===Bh().length?uni.reLaunch({url:"/"}):uni.navigateBack({from:"backbutton",success(){}})}const iT={name:"PageRefresh",setup(){const{pullToRefresh:e}=Pu();return{offset:e.offset,color:e.color}}},aT=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},sT={class:"uni-page-refresh-inner"},lT=["fill"],cT=[li("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),li("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],uT={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},dT=["stroke"];const pT=aT(iT,[["render",function(e,t,n,o,r,i){return Qr(),ti("uni-page-refresh",null,[li("div",{style:ve({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[li("div",sT,[(Qr(),ti("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},cT,8,lT)),(Qr(),ti("svg",uT,[li("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,dT)]))])],4)])}]]);function fT(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const hT="aborting",gT="refreshing",mT="restoring";function vT(e){const t=Pu(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let a,s,l,c,u,d,p,f;gv((()=>{t.enablePullDownRefresh&&(f||(f=gT,v(),setTimeout((()=>{x()}),50)))}),"startPullDownRefresh",!1,n),gv((()=>{t.enablePullDownRefresh&&f===gT&&(y(),f=mT,v(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{y(),f=h=g=null})))}),"stopPullDownRefresh",!1,n),Ho((()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style}));let h=null,g=null;function m(e){f&&a&&a.classList[e]("uni-page-refresh--"+f)}function v(){m("add")}function y(){m("remove")}const b=yu((e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([hT,gT,mT].indexOf(f)>=0)})),_=yu((e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!fT(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!f)return;e.cancelable&&e.preventDefault(),null===h&&(g=n,f="pulling",v()),n-=g,n<0&&(n=0),h=n;(n>=r&&"reached"!==f||n<r&&"pulling"!==f)&&(y(),f="reached"===f?"pulling":"reached",v()),function(e){if(!s)return;let t=e/r;t>1?t=1:t*=t*t;const n=Math.round(e/(r/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)})),w=yu((e=>{t.enablePullDownRefresh&&fT(e,u,d)&&null!==f&&("pulling"===f?(y(),f=hT,v(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{y(),f=h=g=null}))):"reached"===f&&(y(),f=gT,v(),x()))}));function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",Bc(n,"onPullDownRefresh"))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const yT=vu({name:"PageBody",setup(e,t){const n=Pu(),o=dn(null),r=dn(null),i=n.enablePullDownRefresh?vT(o):null,a=dn(null);return ao((()=>n.enablePullDownRefresh),(()=>{a.value=n.enablePullDownRefresh?i:null}),{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return ci(pT,{ref:e},null,512)}(o,n);return ci(Hr,null,[e,ci("uni-page-wrapper",mi({ref:r},a.value),[ci("uni-page-body",null,[tr(t.slots,"default")]),null],16)])}}});const bT=vu({name:"Page",setup(e,t){let n=Ou(Iu());const o=n.navigationBar,r={};return ww(n),()=>ci("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ci(nT),_T(t),null]:[_T(t),null])}});function _T(e){return Qr(),ni(yT,{key:0},{default:Wn((()=>[tr(e.slots,"page")])),_:3})}const wT={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.getApp=Nv,window.getCurrentPages=Bh,window.wx=eT,window.uni=eT,window.UniViewJSBridge=Zx,window.UniServiceJSBridge=tT,window.rpx2px=$d,window.__setupPage=e=>Fv(e);const xT=Object.assign({}),TT=Object.assign;window.__uniConfig=TT({tabBar:{position:"bottom",color:"#000000",selectedColor:"#fa2209",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home-active.png",text:"首页"},{pagePath:"pages/category/index",iconPath:"/static/tabbar/cate.png",selectedIconPath:"/static/tabbar/cate-active.png",text:"分类"},{pagePath:"pages/cart/index",iconPath:"/static/tabbar/cart.png",selectedIconPath:"/static/tabbar/cart-active.png",text:"购物车"},{pagePath:"pages/user/index",iconPath:"/static/tabbar/user.png",selectedIconPath:"/static/tabbar/user-active.png",text:"我的"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},globalStyle:{maxWidth:450,rpxCalcMaxDeviceWidth:450,rpxCalcBaseDeviceWidth:450,rpxCalcIncludeWidth:9999,backgroundTextStyle:"dark",navigationBar:{backgroundColor:"#ffffff",titleText:"",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{}},compilerVersion:"4.75"},{appId:"__UNI__EBB6AD2",appName:"萤火商城2.0",appVersion:"2.1.2",appVersionCode:212,async:wT,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{qqmap:{key:"ZWEBZ-R7N3U-BJSVH-4TCR3-66MDQ-S3FDJ"}}},qqMapKey:"ZWEBZ-R7N3U-BJSVH-4TCR3-66MDQ-S3FDJ",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"zh-Hans",fallbackLocale:"",locales:Object.keys(xT).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return TT(e[n]||(e[n]={}),xT[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const ST={delay:wT.delay,timeout:wT.timeout,suspensible:wT.suspensible};wT.loading&&(ST.loadingComponent={name:"SystemAsyncLoading",render:()=>ci(Qn(wT.loading))}),wT.error&&(ST.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ci(Qn(wT.error),{error:this.error})}});const CT=()=>n((()=>import("./pages-index-index.VUgSzq4k.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url).then((e=>Fv(e.default||e))),kT=Eo(TT({loader:CT},ST)),ET=()=>n((()=>import("./pages-category-index.DCGd-agH.js")),__vite__mapDeps([18,19,2,20,21,22,23,5,24,6,7,8,9,10,16,25]),import.meta.url).then((e=>Fv(e.default||e))),AT=Eo(TT({loader:ET},ST)),MT=()=>n((()=>import("./pages-cart-index.D3jFY_5y.js")),__vite__mapDeps([26,3,2,4,5,21,22,9,16,27]),import.meta.url).then((e=>Fv(e.default||e))),PT=Eo(TT({loader:MT},ST)),OT=()=>n((()=>import("./pages-user-index.DCviOTg7.js")),__vite__mapDeps([28,29,2,30,11,31,32,16,33]),import.meta.url).then((e=>Fv(e.default||e))),LT=Eo(TT({loader:OT},ST)),IT=()=>n((()=>import("./pages-custom-index.BX4oKR-U.js")),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,35]),import.meta.url).then((e=>Fv(e.default||e))),$T=Eo(TT({loader:IT},ST)),RT=()=>n((()=>import("./pages-search-index.-AbMgcso.js")),__vite__mapDeps([36,2,16,37]),import.meta.url).then((e=>Fv(e.default||e))),DT=Eo(TT({loader:RT},ST)),BT=()=>n((()=>import("./pages-login-index.BR6IRfE8.js")),__vite__mapDeps([38,39,40,2,41,29,30,16,42]),import.meta.url).then((e=>Fv(e.default||e))),NT=Eo(TT({loader:BT},ST)),jT=()=>n((()=>import("./pages-user-bind-index.C7Ruoz1c.js")),__vite__mapDeps([43,31,39,40,2,16,44]),import.meta.url).then((e=>Fv(e.default||e))),qT=Eo(TT({loader:jT},ST)),zT=()=>n((()=>import("./pages-user-personal-index.B5wSgZhp.js")),__vite__mapDeps([45,46,3,2,4,5,47,48,29,30,31,41,16,49]),import.meta.url).then((e=>Fv(e.default||e))),FT=Eo(TT({loader:zT},ST)),VT=()=>n((()=>import("./pages-article-index.Bbb9dUXL.js")),__vite__mapDeps([50,51,2,5,52,23,24,53,16,54]),import.meta.url).then((e=>Fv(e.default||e))),UT=Eo(TT({loader:VT},ST)),HT=()=>n((()=>import("./pages-article-detail.B628fXnl.js")),__vite__mapDeps([55,12,2,13,5,53,16,56]),import.meta.url).then((e=>Fv(e.default||e))),WT=Eo(TT({loader:HT},ST)),YT=()=>n((()=>import("./pages-help-index.Chz5o18H.js")),__vite__mapDeps([57,23,2,5,24,16,58]),import.meta.url).then((e=>Fv(e.default||e))),XT=Eo(TT({loader:YT},ST)),GT=()=>n((()=>import("./pages-coupon-index.BRz98htr.js")),__vite__mapDeps([59,14,60,21,2,22,16,61]),import.meta.url).then((e=>Fv(e.default||e))),KT=Eo(TT({loader:GT},ST)),QT=()=>n((()=>import("./pages-goods-list.ZmVc93d6.js")),__vite__mapDeps([62,23,2,5,24,10,19,20,16,63]),import.meta.url).then((e=>Fv(e.default||e))),JT=Eo(TT({loader:QT},ST)),ZT=()=>n((()=>import("./pages-goods-detail.CWdOwhuB.js")),__vite__mapDeps([64,12,2,13,5,10,9,7,8,11,65,3,4,66,29,30,67,68,16,69]),import.meta.url).then((e=>Fv(e.default||e))),eS=Eo(TT({loader:ZT},ST)),tS=()=>n((()=>import("./pages-comment-index.BuG6eAEw.js")),__vite__mapDeps([70,51,2,5,52,65,3,4,66,23,24,29,30,16,71]),import.meta.url).then((e=>Fv(e.default||e))),nS=Eo(TT({loader:tS},ST)),oS=()=>n((()=>import("./pages-my-coupon-index.NZQRzR-E.js")),__vite__mapDeps([72,51,2,5,52,23,24,14,60,16,73]),import.meta.url).then((e=>Fv(e.default||e))),rS=Eo(TT({loader:oS},ST)),iS=()=>n((()=>import("./pages-address-index.DmZsZmGU.js")),__vite__mapDeps([74,3,2,4,5,47,75,21,22,16,76]),import.meta.url).then((e=>Fv(e.default||e))),aS=Eo(TT({loader:iS},ST)),sS=()=>n((()=>import("./pages-address-create.fKl5m8F5.js")),__vite__mapDeps([77,46,3,2,4,5,47,48,78,79,80,67,68,81,40,75,16,82]),import.meta.url).then((e=>Fv(e.default||e))),lS=Eo(TT({loader:sS},ST)),cS=()=>n((()=>import("./pages-address-update.Dvx5mJor.js")),__vite__mapDeps([83,46,3,2,4,5,47,48,78,79,80,67,68,81,40,75,16,84]),import.meta.url).then((e=>Fv(e.default||e))),uS=Eo(TT({loader:cS},ST)),dS=()=>n((()=>import("./pages-points-log.Djo7hS8g.js")),__vite__mapDeps([85,23,2,5,24,16,86]),import.meta.url).then((e=>Fv(e.default||e))),pS=Eo(TT({loader:dS},ST)),fS=()=>n((()=>import("./pages-wallet-index.Be8tiJtH.js")),__vite__mapDeps([87,31,2,16,88]),import.meta.url).then((e=>Fv(e.default||e))),hS=Eo(TT({loader:fS},ST)),gS=()=>n((()=>import("./pages-wallet-balance-log.B-rn-bRs.js")),__vite__mapDeps([89,23,2,5,24,16,90]),import.meta.url).then((e=>Fv(e.default||e))),mS=Eo(TT({loader:gS},ST)),vS=()=>n((()=>import("./pages-wallet-recharge-index.D1SDwagz.js")),__vite__mapDeps([91,92,79,2,80,5,67,3,4,68,93,94,95,16,96]),import.meta.url).then((e=>Fv(e.default||e))),yS=Eo(TT({loader:vS},ST)),bS=()=>n((()=>import("./pages-wallet-recharge-order.BhK350dT.js")),__vite__mapDeps([97,23,2,5,24,16,98]),import.meta.url).then((e=>Fv(e.default||e))),_S=Eo(TT({loader:bS},ST)),wS=()=>n((()=>import("./pages-checkout-index.DqN3sCm8.js")),__vite__mapDeps([99,79,2,80,5,92,67,3,4,68,93,60,100,16,101]),import.meta.url).then((e=>Fv(e.default||e))),xS=Eo(TT({loader:wS},ST)),TS=()=>n((()=>import("./pages-checkout-cashier-index.EjMC2AYq.js")),__vite__mapDeps([102,92,79,2,80,5,67,3,4,68,93,95,94,100,16,103]),import.meta.url).then((e=>Fv(e.default||e))),SS=Eo(TT({loader:TS},ST)),CS=()=>n((()=>import("./pages-order-center.imY37P1u.js")),__vite__mapDeps([104,31,2,16,105]),import.meta.url).then((e=>Fv(e.default||e))),kS=Eo(TT({loader:CS},ST)),ES=()=>n((()=>import("./pages-order-index.B0VmoOKR.js")),__vite__mapDeps([106,51,2,5,52,23,24,100,94,32,16,107]),import.meta.url).then((e=>Fv(e.default||e))),AS=Eo(TT({loader:ES},ST)),MS=()=>n((()=>import("./pages-order-detail.JET_ldYQ.js")),__vite__mapDeps([108,100,94,32,2,16,109]),import.meta.url).then((e=>Fv(e.default||e))),PS=Eo(TT({loader:MS},ST)),OS=()=>n((()=>import("./pages-order-express-index.CcflhanH.js")),__vite__mapDeps([110,51,2,5,52,32,16,111]),import.meta.url).then((e=>Fv(e.default||e))),LS=Eo(TT({loader:OS},ST)),IS=()=>n((()=>import("./pages-order-comment-index.C8eU3C5a.js")),__vite__mapDeps([112,41,2,16,113]),import.meta.url).then((e=>Fv(e.default||e))),$S=Eo(TT({loader:IS},ST)),RS=()=>n((()=>import("./pages-refund-index.BqLCKwDg.js")),__vite__mapDeps([114,51,2,5,52,23,24,115,16,116]),import.meta.url).then((e=>Fv(e.default||e))),DS=Eo(TT({loader:RS},ST)),BS=()=>n((()=>import("./pages-refund-detail.C6n9hPKc.js")),__vite__mapDeps([117,118,115,2,16,119]),import.meta.url).then((e=>Fv(e.default||e))),NS=Eo(TT({loader:BS},ST)),jS=()=>n((()=>import("./pages-refund-apply.DPW9B5Iv.js")),__vite__mapDeps([120,118,41,115,2,16,121]),import.meta.url).then((e=>Fv(e.default||e))),qS=Eo(TT({loader:jS},ST)),zS=()=>n((()=>import("./pages-web-view-index.D7R8f0If.js")),__vite__mapDeps([122,2,16]),import.meta.url).then((e=>Fv(e.default||e))),FS=Eo(TT({loader:zS},ST));function VS(e,t){return Qr(),ni(bT,null,{page:Wn((()=>[ci(e,TT({},t,{ref:"page"}),null,512)])),_:1})}function US(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(kT,t)}},loader:CT,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/category/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(AT,t)}},loader:ET,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"全部分类",type:"default"},isNVue:!1}},{path:"/pages/cart/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(PT,t)}},loader:MT,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/user/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(LT,t)}},loader:OT,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,enablePullDownRefresh:!0,navigationBar:{titleText:"个人中心",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/custom/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS($T,t)}},loader:IT,meta:{enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(DT,t)}},loader:RT,meta:{navigationBar:{titleText:"商品搜索",type:"default"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(NT,t)}},loader:BT,meta:{navigationBar:{titleText:"会员登录",type:"default"},isNVue:!1}},{path:"/pages/user/bind/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(qT,t)}},loader:jT,meta:{navigationBar:{titleText:"绑定手机",type:"default"},isNVue:!1}},{path:"/pages/user/personal/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(FT,t)}},loader:zT,meta:{navigationBar:{titleText:"个人信息",type:"default"},isNVue:!1}},{path:"/pages/article/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(UT,t)}},loader:VT,meta:{navigationBar:{titleText:"资讯列表",type:"default"},isNVue:!1}},{path:"/pages/article/detail",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(WT,t)}},loader:HT,meta:{navigationBar:{titleText:"资讯详情",type:"default"},isNVue:!1}},{path:"/pages/help/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(XT,t)}},loader:YT,meta:{navigationBar:{titleText:"帮助中心",type:"default"},isNVue:!1}},{path:"/pages/coupon/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(KT,t)}},loader:GT,meta:{navigationBar:{titleText:"领券中心",type:"default"},isNVue:!1}},{path:"/pages/goods/list",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(JT,t)}},loader:QT,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/detail",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(eS,t)}},loader:ZT,meta:{navigationBar:{titleText:"商品详情页",type:"default"},isNVue:!1}},{path:"/pages/comment/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(nS,t)}},loader:tS,meta:{navigationBar:{titleText:"商品评价页",type:"default"},isNVue:!1}},{path:"/pages/my-coupon/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(rS,t)}},loader:oS,meta:{navigationBar:{titleText:"我的优惠券",type:"default"},isNVue:!1}},{path:"/pages/address/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(aS,t)}},loader:iS,meta:{navigationBar:{titleText:"收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/create",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(lS,t)}},loader:sS,meta:{navigationBar:{titleText:"新增收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/update",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(uS,t)}},loader:cS,meta:{navigationBar:{titleText:"编辑收货地址",type:"default"},isNVue:!1}},{path:"/pages/points/log",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(pS,t)}},loader:dS,meta:{navigationBar:{titleText:"账单明细",type:"default"},isNVue:!1}},{path:"/pages/wallet/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(hS,t)}},loader:fS,meta:{navigationBar:{titleText:"我的钱包",type:"default"},isNVue:!1}},{path:"/pages/wallet/balance/log",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(mS,t)}},loader:gS,meta:{navigationBar:{titleText:"账单详情",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(yS,t)}},loader:vS,meta:{navigationBar:{titleText:"充值中心",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/order",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(_S,t)}},loader:bS,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/checkout/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(xS,t)}},loader:wS,meta:{navigationBar:{titleText:"订单结算台",type:"default"},isNVue:!1}},{path:"/pages/checkout/cashier/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(SS,t)}},loader:TS,meta:{navigationBar:{titleText:"支付订单",type:"default"},isNVue:!1}},{path:"/pages/order/center",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(kS,t)}},loader:CS,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"订单中心",type:"default"},isNVue:!1}},{path:"/pages/order/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(AS,t)}},loader:ES,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(PS,t)}},loader:MS,meta:{navigationBar:{backgroundColor:"#e8c269",titleText:"订单详情",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/order/express/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(LS,t)}},loader:OS,meta:{navigationBar:{titleText:"物流跟踪",type:"default"},isNVue:!1}},{path:"/pages/order/comment/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS($S,t)}},loader:IS,meta:{navigationBar:{titleText:"订单评价",type:"default"},isNVue:!1}},{path:"/pages/refund/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(DS,t)}},loader:RS,meta:{navigationBar:{titleText:"退换/售后",type:"default"},isNVue:!1}},{path:"/pages/refund/detail",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(NS,t)}},loader:BS,meta:{navigationBar:{titleText:"售后详情",type:"default"},isNVue:!1}},{path:"/pages/refund/apply",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(qS,t)}},loader:jS,meta:{navigationBar:{titleText:"申请售后",type:"default"},isNVue:!1}},{path:"/pages/web-view/index",component:{setup(){const e=Nv(),t=e&&e.$route&&e.$route.query||{};return()=>VS(FS,t)}},loader:zS,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const HS="function"==typeof Proxy;class WS{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const a in e.settings){const t=e.settings[a];n[a]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r={...n};try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(r,t)}catch(i){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(i){}r=e}},t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function YS(e,t){const n=US(),o=US().__VUE_DEVTOOLS_GLOBAL_HOOK__,r=HS&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const i=r?new WS(e,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)}
- /*!
- * vuex v4.1.0
- * (c) 2022 Evan You
- * @license MIT
- */function XS(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function GS(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function KS(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;JS(e,n,[],e._modules.root,!0),QS(e,n,t)}function QS(e,t,n){var o=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={},s={},l=Ue(!0);l.run((function(){XS(i,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),s[n]=Li((function(){return a[n]()})),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})}))})),e._state=Xt({data:t}),e._scope=l,e.strict&&function(e){ao((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null})),r&&r.stop()}function JS(e,t,n,o,r){var i=!n.length,a=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=o),!i&&!r){var s=eC(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=o.state}))}var c=o.context=function(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var i=tC(n,o,r),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:o?e.commit:function(n,o,r){var i=tC(n,o,r),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return ZS(e,t)}},state:{get:function(){return eC(e.state,n)}}}),r}(e,a,n);o.forEachMutation((function(t,n){!function(e,t,n,o){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,o.state,t)}))}(e,a+n,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:a+n,r=t.handler||t;!function(e,t,n,o){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r,i=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return(r=i)&&"function"==typeof r.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,o,r,c)})),o.forEachGetter((function(t,n){!function(e,t,n,o){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)}}(e,a+n,t,c)})),o.forEachChild((function(o,i){JS(e,t,n.concat(i),o,r)}))}function ZS(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function eC(e,t){return t.reduce((function(e,t){return e[t]}),e)}function tC(e,t,n){var o;return null!==(o=e)&&"object"==typeof o&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var nC=0;function oC(e,t){YS({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:"vuex:mutations",label:"Vuex Mutations",color:rC}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:rC}),n.addInspector({id:"vuex",label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&"vuex"===n.inspectorId)if(n.filter){var o=[];lC(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[sC(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId;ZS(t,o),n.state=function(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),r={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var i=function(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var r=t,i=o.pop();o.forEach((function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value})),r[i]=cC((function(){return e[n]}))}else t[n]=cC((function(){return e[n]}))})),t}(t);r.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?aC(e):e,editable:!1,value:cC((function(){return i[e]}))}}))}return r}((r=t._modules,(a=(i=o).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var o=e[t];if(!o)throw new Error('Missing module "'+t+'" for path "'+i+'".');return n===a.length-1?o:o._children}),"root"===i?r:r.root._children)),"root"===o?t.getters:t._makeLocalGettersCache,o)}var r,i,a})),n.on.editInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId,r=n.path;"root"!==o&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit((function(){n.set(t._state.data,r,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree("vuex"),n.sendInspectorState("vuex"),n.addTimelineEvent({layerId:"vuex:mutations",event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=nC++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},r=Date.now()-e._time;o.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var rC=8702998,iC={label:"namespaced",textColor:16777215,backgroundColor:6710886};function aC(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function sC(e,t){return{id:t||"root",label:aC(t),tags:e.namespaced?[iC]:[],children:Object.keys(e._children).map((function(n){return sC(e._children[n],t+n+"/")}))}}function lC(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[iC]:[]}),Object.keys(t._children).forEach((function(r){lC(e,t._children[r],n,o+r+"/")}))}function cC(e){try{return e()}catch(t){return t}}var uC=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},dC={namespaced:{configurable:!0}};dC.namespaced.get=function(){return!!this._rawModule.namespaced},uC.prototype.addChild=function(e,t){this._children[e]=t},uC.prototype.removeChild=function(e){delete this._children[e]},uC.prototype.getChild=function(e){return this._children[e]},uC.prototype.hasChild=function(e){return e in this._children},uC.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},uC.prototype.forEachChild=function(e){XS(this._children,e)},uC.prototype.forEachGetter=function(e){this._rawModule.getters&&XS(this._rawModule.getters,e)},uC.prototype.forEachAction=function(e){this._rawModule.actions&&XS(this._rawModule.actions,e)},uC.prototype.forEachMutation=function(e){this._rawModule.mutations&&XS(this._rawModule.mutations,e)},Object.defineProperties(uC.prototype,dC);var pC=function(e){this.register([],e,!1)};function fC(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;fC(e.concat(o),t.getChild(o),n.modules[o])}}pC.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},pC.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},pC.prototype.update=function(e){fC([],this.root,e)},pC.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new uC(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&XS(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},pC.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},pC.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var hC=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new pC(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return s.call(i,e,t,n)},this.strict=o;var l=this._modules.root.state;JS(this,l,[],this._modules.root),QS(this,l),n.forEach((function(e){return e(t)}))},gC={state:{configurable:!0}};hC.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&oC(e,this)},gC.state.get=function(){return this._state.data},gC.state.set=function(e){},hC.prototype.commit=function(e,t,n){var o=this,r=tC(e,t,n),i=r.type,a=r.payload,s={type:i,payload:a},l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},hC.prototype.dispatch=function(e,t){var n=this,o=tC(e,t),r=o.type,i=o.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(c){}var l=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(c){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(c){}t(e)}))}))}},hC.prototype.subscribe=function(e,t){return GS(e,this._subscribers,t)},hC.prototype.subscribeAction=function(e,t){return GS("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},hC.prototype.watch=function(e,t,n){var o=this;return ao((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},hC.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},hC.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),JS(this,this.state,e,this._modules.get(e),n.preserveState),QS(this,this.state)},hC.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete eC(t.state,e.slice(0,-1))[e[e.length-1]]})),KS(this)},hC.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},hC.prototype.hotUpdate=function(e){this._modules.update(e),KS(this,!0)},hC.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(hC.prototype,gC);const mC={set(e,t,n){uni.setStorageSync(e,t);const o=parseInt(n);if(o>0){let t=Date.parse(new Date);t=t/1e3+o,uni.setStorageSync(e+"_expiry",t+"")}else uni.removeStorageSync(e+"_expiry")},get(e,t){const n=parseInt(uni.getStorageSync(e+"_expiry"));if(n&&parseInt(n)<Date.parse(new Date)/1e3)return t||!1;const o=uni.getStorageSync(e);return o||(null!=t&&""!=t||(t=!1),t)},remove(e){uni.removeStorageSync(e),uni.removeStorageSync(e+"_expiry")},clear(){uni.clearStorageSync()}},vC=e=>e.replace(/\-/g,"/"),yC=(e={})=>{const t=[];for(const n in e){const o=e[n];o&&(TC(o)?o.forEach((e=>{t.push(n+"="+e)})):t.push(n+"="+o))}return t.join("&")},bC=(e="")=>{var t=new Object;if(e)for(var n=e.split("&"),o=0;o<n.length;o++)t[n[o].split("=")[0]]=n[o].split("=")[1]||"";return t},_C=(e,t)=>{for(var n in t)if(t[n]==e)return!0;return!1},wC=e=>0===Object.keys(e).length,xC=e=>"[object Object]"===Object.prototype.toString.call(e),TC=e=>"[object Array]"===Object.prototype.toString.call(e),SC=e=>TC(e)?0===e.length:xC(e)?wC(e):!e,CC=(e,t)=>xC(e)&&void 0!==e[t],kC=e=>{let t=TC(e)?[]:{};if("object"==typeof e){for(let n in e)t[n]="object"==typeof e[n]?kC(e[n]):e[n];return t}};function EC(e,t=100){let n;return function(){const o=this,r=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}}const AC=(e,t)=>e.filter((e=>t.indexOf(e)>-1)),MC=e=>null===e||"object"!=typeof e?e:Object.keys(e).reduce(((t,n)=>(null!==e[n]&&void 0!==e[n]&&(t[n]=MC(e[n])),t)),{}),PC=(e,t)=>{let n=/^(http|https):\/\//.test(t.url),o=Object.assign({timeout:e.timeout},e.config,t);return"FILE"==t.method?o.url=n?t.url:e.fileUrl+t.url:o.url=n?t.url:e.baseUrl+t.url,t.header?o.header=Object.assign({},e.header,t.header):o.header=Object.assign({},e.header),o};var OC={qiniuRegion:"",qiniuImageURLPrefix:"",qiniuUploadToken:"",qiniuUploadTokenURL:"",qiniuUploadTokenFunction:null,qiniuShouldUseQiniuFileName:!1};function LC(e,t,n,o,r,i){var a;if(null!=e)if(o&&function(e){e.region?OC.qiniuRegion=e.region:console.error("qiniu uploader need your bucket region"),e.uptoken?OC.qiniuUploadToken=e.uptoken:e.uptokenURL?OC.qiniuUploadTokenURL=e.uptokenURL:e.uptokenFunc&&(OC.qiniuUploadTokenFunction=e.uptokenFunc),e.domain&&(OC.qiniuImageURLPrefix=e.domain),OC.qiniuShouldUseQiniuFileName=e.shouldUseQiniuFileName}(o),OC.qiniuUploadToken)IC(e,t,n,o,r,i);else if(OC.qiniuUploadTokenURL)a=function(){IC(e,t,n,o,r,i)},wx.request({url:OC.qiniuUploadTokenURL,success:function(e){var t=e.data.uptoken;t&&t.length>0?(OC.qiniuUploadToken=t,a&&a()):console.error("qiniuUploader cannot get your token, please check the uptokenURL or server")},fail:function(e){console.error("qiniu UploadToken is null, please check the init config or networking: "+e)}});else{if(!OC.qiniuUploadTokenFunction)return void console.error("qiniu uploader need one of [uptoken, uptokenURL, uptokenFunc]");if(OC.qiniuUploadToken=OC.qiniuUploadTokenFunction(),null==OC.qiniuUploadToken&&OC.qiniuUploadToken.length>0)return void console.error("qiniu UploadTokenFunction result is null, please check the return value");IC(e,t,n,o,r,i)}else console.error("qiniu uploader need filePath to upload")}function IC(e,t,n,o,r,i){if(null==OC.qiniuUploadToken&&OC.qiniuUploadToken.length>0)console.error("qiniu UploadToken is null, please check the init config or networking");else{var a=function(e){var t=null;switch(e){case"ECN":t="https://up.qbox.me";break;case"NCN":t="https://up-z1.qbox.me";break;case"SCN":t="https://up-z2.qbox.me";break;case"NA":t="https://up-na0.qbox.me";break;case"ASG":t="https://up-as0.qbox.me";break;default:console.error("please make the region is with one of [ECN, SCN, NCN, NA, ASG]")}return t}(OC.qiniuRegion),s=e.split("//")[1];o&&o.key&&(s=o.key);var l={token:OC.qiniuUploadToken};OC.qiniuShouldUseQiniuFileName||(l.key=s);var c=wx.uploadFile({url:a,filePath:e,name:"file",formData:l,success:function(e){var o=e.data;e.data.hasOwnProperty("type")&&"Buffer"===e.data.type&&(o=String.fromCharCode.apply(null,e.data.data));try{var r=JSON.parse(o),i=OC.qiniuImageURLPrefix+"/"+r.key;r.imageURL=i,t&&t(r)}catch(a){console.log("parse JSON failed, origin String is: "+o),n&&n(a)}},fail:function(e){console.error(e),n&&n(e)}});c.onProgressUpdate((e=>{r&&r(e)})),i&&i((()=>{c.abort()}))}}const $C=function(e){return new Promise(((t,n)=>{uni.chooseImage({count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"],success:function(e){t(e.tempFiles)},fail:e=>{n({errMsg:e.errMsg,errCode:e.errCode,statusCode:0})}})}))},RC=function(e){return new Promise(((t,n)=>{uni.chooseVideo({sourceType:e.sourceType||["album","camera"],compressed:e.compressed||!1,maxDuration:e.maxDuration||60,camera:e.camera||"back",success:function(e){let n=[{path:e.tempFilePath}];n[0].duration=e.duration,n[0].size=e.size,n[0].height=e.height,n[0].width=e.width,n[0].name=e.name,t(n)},fail:e=>{n({errMsg:e.errMsg,errCode:e.errCode,statusCode:0})}})}))},DC=function(e,t){return new Promise(((n,o)=>{if(Array.isArray(e.files)){let r=e.files.length,i=new Array;t?t((t=>{let a=t.visitPrefix.length;"/"==t.visitPrefix.charAt(a-1)&&(t.visitPrefix=t.visitPrefix.substring(0,a-1)),function a(s){let l=e.files[s],c=function(e,t=""){const n="0123456789qwertyuioplkjhgfdsazxcvbnm";let o="",r=new Date;for(let i=0;i<e;i++)o+=n.charAt(Math.ceil(1e8*Math.random())%n.length);return"file/"+t+r.getTime()+o}(10,t.folderPath),u={fileIndex:s,files:e.files,...l};if(l.name){u.name=l.name;let e=l.name.split(".");c+="."+e[e.length-1]}LC(l.path||l,(t=>{u.url=t.imageURL,e.onEachUpdate&&e.onEachUpdate({url:t.imageURL,...u}),i.push(t.imageURL),r-1>s?a(s+1):n(i)}),(e=>{o(e)}),{region:t.region||"SCN",domain:t.visitPrefix,key:c,uptoken:t.token,uptokenURL:"UpTokenURL.com/uptoken"},(t=>{console.log(e),e.onProgressUpdate&&e.onProgressUpdate(Object.assign({},u,t))}))}(0)})):o({errMsg:"请添加七牛云回调方法:getQnToken",statusCode:0})}else o({errMsg:"files 必须是数组类型",statusCode:0})}))};const BC=Object.assign({},{name:"萤火商城2.0",apiUrl:"./index.php?s=/api/",enabledSettingCache:!0},e),NC={all:()=>BC,get:(e,t)=>BC.hasOwnProperty(e)?BC[e]:(console.error(`检测到不存在的配置项: ${e}`),t)},jC=NC.get("apiUrl"),qC=new class extends class{constructor(e){this.baseUrl=e.baseUrl||"",this.fileUrl=e.fileUrl||"",this.timeout=e.timeout||6e3,this.defaultUploadUrl=e.defaultUploadUrl||"",this.header=e.header||{},this.config=e.config||{isPrompt:!0,load:!0,isFactory:!0,resend:0}}post(e="",t={},n={}){return this.request({method:"POST",data:t,url:e,...n})}get(e="",t={},n={}){return this.request({method:"GET",data:t,url:e,...n})}put(e="",t={},n={}){return this.request({method:"PUT",data:t,url:e,...n})}delete(e="",t={},n={}){return this.request({method:"DELETE",data:t,url:e,...n})}jsonp(e="",t={},n={}){return this.request({method:"JSONP",data:t,url:e,...n})}async request(e){let t,n=!1;try{if(!e.url)throw{errMsg:"【request】缺失数据url",statusCode:0};if(t=PC(this,e),n=!0,this.requestStart){let e=this.requestStart(t);if("object"!=typeof e)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:t.data,method:t.method,header:t.header,url:t.url};["data","header","isPrompt","load","isFactory"].forEach((n=>{t[n]=e[n]}))}let o={};if(o="JSONP"==t.method?await(e=>new Promise(((t,n)=>{let o="";Object.keys(e.data).forEach((t=>{o+=t+"="+e.data[t]+"&"})),""!==o&&(o=o.substr(0,o.lastIndexOf("&"))),e.url=e.url+"?"+o;let r="callback"+Math.ceil(1e6*Math.random());window[r]=e=>{t(e)};let i=document.createElement("script");i.src=e.url+"&callback="+r,document.head.appendChild(i),document.head.removeChild(i)})))(t):await(e=>new Promise(((t,n)=>{let o=!0,r={url:e.url,header:e.header,success:e=>{o=!1,t(e)},fail:e=>{o=!1,"request:fail abort"==e.errMsg?n({errMsg:"请求超时,请重新尝试",statusCode:0}):n(e)}};e.method&&(r.method=e.method),e.data&&(r.data=e.data),e.dataType&&(r.dataType=e.dataType),e.responseType&&(r.responseType=e.responseType),e.withCredentials&&(r.withCredentials=e.withCredentials);let i=uni.request(r);setTimeout((()=>{o&&i.abort()}),e.timeout)})))(t),t.isFactory&&this.dataFactory){let e=await this.dataFactory({...t,response:o});return Promise.resolve(e)}return Promise.resolve(o)}catch(o){return this.requestError&&this.requestError(o),Promise.reject(o)}finally{n&&this.requestEnd&&this.requestEnd(t)}}}{constructor(e){super(e)}async qnImgUpload(e={}){let t;try{t=await $C(e),e.onSelectComplete&&e.onSelectComplete(t)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}if(t)return this.qnFileUpload({...e,files:t})}async qnVideoUpload(e={}){let t;try{t=await RC(e),e.onSelectComplete&&e.onSelectComplete(t)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}if(t)return this.qnFileUpload({...e,files:t})}async qnFileUpload(e={}){let t;try{if(t={...this.config,...e,header:{},method:"FILE"},this.requestStart){let e=this.requestStart(t);if("object"!=typeof e)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:t.data,method:t.method,header:t.header,url:t.url};["load","files"].forEach((n=>{t[n]=e[n]}))}let n=await DC(t,this.getQnToken);return Promise.resolve(n)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}finally{this.requestEnd&&this.requestEnd(t)}}async urlImgUpload(){let e={};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1]));try{e.files=await $C(e),e.onSelectComplete&&e.onSelectComplete(e.files)}catch(t){return this.requestError&&this.requestError(t),Promise.reject(t)}if(e.files)return this.urlFileUpload(e)}async urlVideoUpload(){let e={};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1]));try{e.files=await RC(e),e.onSelectComplete&&e.onSelectComplete(e.files)}catch(t){return this.requestError&&this.requestError(t),Promise.reject(t)}if(e.files)return this.urlFileUpload(e)}async urlFileUpload(){let e={method:"FILE"};arguments[0]&&("string"==typeof arguments[0]?e.url=arguments[0]:"object"==typeof arguments[0]&&(e=Object.assign(e,arguments[0]))),arguments[1]&&"object"==typeof arguments[1]&&(e=Object.assign(e,arguments[1])),!e.url&&this.defaultUploadUrl&&(e.url=this.defaultUploadUrl);let t=!1;try{if(!e.url)throw{errMsg:"【request】文件上传缺失数据url",statusCode:0,data:e.data,method:e.method,header:e.header,url:e.url};if(e=PC(this,e),t=!0,this.requestStart){let t=this.requestStart(e);if("object"!=typeof t)throw{errMsg:"【request】请求开始拦截器未通过",statusCode:0,data:e.data,method:e.method,header:e.header,url:e.url};["data","header","isPrompt","load","isFactory","files"].forEach((n=>{e[n]=t[n]}))}let n=await function(e,t){return new Promise(((n,o)=>{if(e.header["Content-Type"]&&delete e.header["Content-Type"],e.header["content-type"]&&delete e.header["content-type"],Array.isArray(e.files)){let r=function(s){let l=e.files[s],c={fileIndex:s,files:e.files,...l},u={url:e.url,filePath:l.path,header:e.header,name:e.name||"file",success:l=>{e.isFactory&&t?t({...e,response:l}).then((t=>{a.push(t),e.onEachUpdate&&e.onEachUpdate({data:t,...c}),i<=s?n(a):r(s+1)}),(e=>{o(e)})):(e.onEachUpdate&&e.onEachUpdate({data:l,...c}),a.push(l),i<=s?n(a):r(s+1))},fail:e=>{o(e)}};e.data&&(u.formData=e.data),uni.uploadFile(u).onProgressUpdate((t=>{e.onProgressUpdate&&e.onProgressUpdate(Object.assign({},c,t))}))};const i=e.files.length-1;let a=new Array;r(0)}else o({errMsg:"files 必须是数组类型",statusCode:0})}))}(e,this.dataFactory);return Promise.resolve(n)}catch(n){return this.requestError&&this.requestError(n),Promise.reject(n)}finally{t&&this.requestEnd&&this.requestEnd(e)}}}({baseUrl:jC,fileUrl:jC,defaultUploadUrl:"upload/image",header:{"Content-Type":"application/json;charset=utf-8"},timeout:15e3,config:{isPrompt:!0,load:!0,isFactory:!0}});let zC=0;qC.requestStart=e=>{if(e.load&&(zC<=0&&uni.showLoading({title:"加载中",mask:!0}),zC+=1),"FILE"==e.method&&e.maxSize){const t=e.maxSize;for(let n of e.files)if(n.size>t)return setTimeout((()=>{uni.showToast({title:"图片过大,请重新上传",icon:"none"})}),10),!1}return e.header.platform=KC.getters.platform,e.header["Access-Token"]=KC.getters.token,e.header.domain=window.location.hostname,CC(e,"data")&&!wC(e.data)&&(e.data=MC(e.data)),e},qC.requestEnd=e=>{e.load&&(zC-=1,zC<=0&&uni.hideLoading())};let FC=!1;qC.dataFactory=async e=>{if(!e.response.statusCode||200!=e.response.statusCode)return Promise.reject({statusCode:e.response.statusCode,errMsg:"http状态码错误"});let t=e.response.data;if("string"==typeof t)try{t=JSON.parse(t)}catch(n){t=!1}return!1===t||"object"!=typeof t?Promise.reject({statusCode:e.response.statusCode,errMsg:"请检查api地址能否访问正常"}):200==t.status?Promise.resolve(t):401==t.status?(KC.dispatch("Logout"),FC||(FC=!0,uni.showModal({title:"温馨提示",content:"此时此刻需要您登录喔~",confirmText:"去登录",cancelText:"再逛会",success:e=>{e.confirm&&uni.navigateTo({url:"/pages/login/index"}),e.cancel&&Bh().length>1&&uni.navigateBack(),FC=!1}})),Promise.reject({statusCode:0,errMsg:t.message,result:t})):500==t.status?(e.isPrompt&&t.data.isPrompt&&setTimeout((()=>{uni.showToast({title:t.message,icon:"none",duration:2500})}),10),Promise.reject({statusCode:0,errMsg:t.message,result:t})):void 0},qC.requestError=e=>{if(0===e.statusCode)throw e;setTimeout((()=>VC(e)),10)};const VC=e=>{let t=`网络请求出错:${e.errMsg}`;"request:fail"===e.errMsg&&(t="网络请求错误:请检查api地址能否访问正常"),uni.showToast({title:t,icon:"none",duration:3500})},UC="passport/login",HC="passport/loginMpWx",WC="passport/loginMpWxMobile",YC="passport/isPersonalMpweixin";function XC(e,t){return qC.post(YC,e,t)}const GC=(e,{token:t,userId:n})=>{const o=2592e3;mC.set("userId",n,o),mC.set("AccessToken",t,o),e("SET_TOKEN",t),e("SET_USER_ID",n)};const KC=new hC({modules:{app:{state:{platform:""},mutations:{SET_PLATFORM:(e,t)=>{e.platform=t}},actions:{}},user:{state:{token:"",userId:null},mutations:{SET_TOKEN:(e,t)=>{e.token=t},SET_USER_ID:(e,t)=>{e.userId=t}},actions:{Login:({commit:e},t)=>new Promise(((n,o)=>{(function(e){return qC.post(UC,e)})({form:t}).then((t=>{const o=t.data;GC(e,o),n(t)})).catch(o)})),LoginMpWx:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return qC.post(HC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;GC(e,o),n(t)})).catch(o)})),LoginMpWxMobile:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return qC.post(WC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;GC(e,o),n(t)})).catch(o)})),Logout({commit:e},t){const n=this;return new Promise(((t,o)=>{n.getters.userId>0&&(mC.remove("userId"),mC.remove("AccessToken"),e("SET_TOKEN",""),e("SET_USER_ID",null),t())}))}}},theme:{state:{appTheme:{mainBg:"#fa2209",mainBg2:"#ff6335",mainText:"#ffffff",viceBg:"#ffb100",viceBg2:"#ffb900",viceText:"#ffffff"}},mutations:{SET_APP_THEME:(e,t)=>{SC(t)||(e.appTheme=t)}},actions:{SetAppTheme:({commit:e},t)=>new Promise(((n,o)=>{mC.set("appTheme",t),e("SET_APP_THEME",t),n()}))}},page:{state:{query:null},mutations:{SET_QUERY_PARAM:(e,t)=>{e.query=t}},actions:{SetQueryParam:({commit:e},t)=>(e("SET_QUERY_PARAM",t),"sdadadad"),OnceQueryParam({commit:e},t){const n=null===this.getters.pageQuery?null:kC(this.getters.pageQuery);return e("SET_QUERY_PARAM",null),n}}}},state:{},mutations:{},actions:{},getters:{platform:e=>e.app.platform,token:e=>e.user.token,userId:e=>e.user.userId,appTheme:e=>e.theme.appTheme,pageQuery:e=>e.page.query}}),QC="store/data",JC=()=>qC.get(QC),ZC="setting/data";class ek{constructor(e){const t=[],n=[];if(!Array.isArray(e))throw new Error("param is not an array!");e.map((e=>{e.key&&e.name&&(t.push(e.key),n.push(e.value),this[e.key]=e,e.key!==e.value&&(this[e.value]=e))})),this.data=e,this.keyArr=t,this.valueArr=n}keyOf(e){return this.data[this.keyArr.indexOf(e)]}valueOf(e){return this.data[this.valueArr.indexOf(e)]}getNameByKey(e){const t=this.keyOf(e);if(!t)throw new Error("No enum constant"+e);return t.name}getNameByValue(e){const t=this.valueOf(e);if(!t)throw new Error("No enum constant"+e);return t.name}getValueByKey(e){const t=this.keyOf(e);if(!t)throw new Error("No enum constant"+e);return t.key}getData(){return this.data}}const tk=new ek([{key:"REGISTER",name:"账户注册设置",value:"register"},{key:"APP_THEME",name:"店铺页面风格",value:"app_theme"},{key:"PAGE_CATEGORY_TEMPLATE",name:"分类页模板",value:"page_category_template"},{key:"POINTS",name:"积分设置",value:"points"},{key:"RECHARGE",name:"充值设置",value:"recharge"},{key:"CUSTOMER",name:"商城客服设置",value:"customer"}]),nk=(()=>{const e=window.navigator.userAgent.toLowerCase();return"micromessenger"===String(e.match(/MicroMessenger/i))})()?"WXOFFICIAL":"H5",ok=e=>{mC.set("Setting",e,600)},rk=()=>new Promise(((e,t)=>{qC.get(ZC).then((t=>{e(t.data.setting)}))})),ik=e=>(null==e&&(e=NC.get("enabledSettingCache")),new Promise(((t,n)=>{const o=mC.get("Setting");e&&o?t(o):rk().then((e=>{ok(e),t(e)}))}))),ak=(e,t)=>new Promise(((n,o)=>{ik(t).then((t=>n(t[e])))})),sk={setStorage:ok,data:ik,item:ak,setAppTheme:()=>new Promise(((e,t)=>{ak(tk.APP_THEME.value).then((t=>{KC.dispatch("SetAppTheme",t),e()}))})),isShowCustomerBtn:async()=>{const e=await ak(tk.CUSTOMER.value,!0);return!!e.enabled&&("mpwxkf"===e.provider&&"MP-WEIXIN"===nk)}},lk=e=>{(e=>{mC.set("Store",e,600)})(e),sk.setStorage(e.setting),sk.setAppTheme()},ck=(e=!0)=>new Promise(((t,n)=>{const o=mC.get("Store");e&&o?t(o):new Promise(((e,t)=>{JC().then((t=>{lk(t.data),e(t.data)}))})).then((e=>{t(e)}))})),uk={data:ck,storeInfo:()=>new Promise(((e,t)=>{ck().then((t=>e(t.storeInfo)))})),h5Url:()=>new Promise(((e,t)=>{ck().then((t=>{const n=t.clientData.h5.setting.baseUrl;e(n)}))}))},dk={data:[],current_page:1,last_page:1,per_page:15,total:0},pk=(e,t)=>{uni.showToast({title:e,icon:"success",mask:!0,duration:1500,success(){t&&t()}})},fk=(e,t)=>{uni.showModal({title:"友情提示",content:e,showCancel:!1,success(e){t&&t()}})},hk=(e,t=1500,n=!0)=>{uni.showToast({title:e,icon:"none",mask:n,duration:t})},gk=()=>["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"],mk=(e,t,n)=>{let o=e;if(!SC(t)){o+="#/"+t;const e=vk(n);SC(e)||(o+="?"+e)}return o},vk=e=>yC(yk(e)),yk=e=>({...e}),bk=(e,t={},n="navigateTo")=>{if(!e||0==e.length)return!1;if(_C(e,["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"]))return KC.dispatch("SetQueryParam",t),uni.switchTab({url:`/${e}`}),!0;const o=SC(t)?"":"?"+yC(t);return"navigateTo"===n&&uni.navigateTo({url:`/${e}${o}`}),"redirectTo"===n&&uni.redirectTo({url:`/${e}${o}`}),!0},_k=()=>{const e=Bh(),t=e[e.length-1].$page.fullPath.split("?");return{path:t[0].slice(1),query:bC(t[1])}},wk=e=>{uni.setStorageSync("cartTotalNum",Number(e))},xk=()=>{const e=(e=>{const t=uni.getStorageSync("cartTotalNum")||0;return Tk()?t:0})();e>0?uni.setTabBarBadge({index:2,text:`${e}`}):uni.removeTabBarBadge({index:2})},Tk=()=>!!KC.getters.userId,Sk=()=>kC(dk),Ck=(e,t,n)=>(1==n&&(t.data=[]),t.data.concat(e.data)),kk=e=>CC(e,"scene")?(e=>{if(void 0===e)return{};const t={},n=decodeURIComponent(e).split(",");for(const o in n){const e=n[o].split(":");e.length>0&&e[0]&&(t[e[0]]=e[1]||null)}return t})(e.scene):{},Ek=e=>!0,Ak=e=>e.filter((e=>!0)).length>0,Mk=e=>e.filter((e=>!e.moduleKey||(e.moduleKey,!0))),Pk=e=>!!e&&("PAGE"===e.type&&bk(e.param.path,e.param.query),"CUSTOM"===e.type&&bk(e.param.path,bC(e.param.queryStr)),"URL"===e.type&&window.open(e.param.url),!0),Ok=e=>{let t="";for(const n in e){t+=`--${n.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[n]};`}return t},Lk={globalData:{},onLaunch({path:e,query:t,scene:n}){this.onStartupQuery(xC(t)?t:{}),this.getStoreInfo()},methods:{onStartupQuery(e){},getStoreInfo(){uk.data(!1)},updateManager(){const e=uni.getUpdateManager();e.onCheckForUpdate((e=>{})),e.onUpdateReady((()=>{uni.showModal({title:"更新提示",content:"新版本已经准备好,即将重启应用",showCancel:!1,success(t){t.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((()=>{uni.showModal({title:"更新提示",content:"新版本下载失败",showCancel:!1})}))}}};function Ik(){KC.commit("SET_PLATFORM",nk),KC.commit("SET_TOKEN",mC.get("AccessToken")),KC.commit("SET_USER_ID",mC.get("userId")),KC.commit("SET_APP_THEME",mC.get("appTheme"))}zv(Lk,{init:jv,setup(e){const t=Lu(),n=()=>{var n;n=e,Object.keys(Kp).forEach((e=>{Kp[e].forEach((t=>{Fo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,a=function({path:e,query:t}){return u(Sg,{path:e,query:t}),u(Cg,Sg),u({},Sg)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:ke(t.query)});if(o&&R(o,a),r&&R(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};mh(),i&&R(i,e)}};return Cr(Xs).isReady().then(n),Ho((()=>{window.addEventListener("resize",Me(Vv,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Uv),document.addEventListener("visibilitychange",Hv),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{tT.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=()=>(Qr(),ni(Zw));e.setup=(e,o)=>{const r=t&&t(e,o);return v(r)?n:r},e.render=n}});const $k={data:()=>({platform:nk}),computed:{appTheme:()=>KC.getters.appTheme,appThemeStyle:()=>Ok(KC.getters.appTheme)},mounted(){"WXOFFICIAL"===this.platform&&this.hideNavigationBar()},methods:{hideNavigationBar(){this.$nextTick((()=>{const e=document.getElementsByTagName("uni-page-head");e.length&&(e[0].style.display="none",document.body.style.setProperty("--window-top","0px"))}))},customThemeStyle:e=>Ok({...KC.getters.appTheme,...e})}},Rk={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function Dk(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?Dk(e[o]):e[o]);return n}function Bk(e={},t={}){if("object"!=typeof(e=Dk(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Bk(e[n],t[n]):e[n]=t[n]);return e}function Nk(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function jk(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function qk(e){return"[object Object]"===Object.prototype.toString.call(e)}function zk(e){return"function"==typeof e}const Fk={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!!e&&(Nk(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:Nk,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:jk,isEmpty:jk,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:qk,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:zk,promise:function(e){return qk(e)&&zk(e.then)&&zk(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const Vk=new class{setConfig(e){this.config=Bk(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(uni.hideLoading(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=Fk.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{uni.showLoading({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),uni.request(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const Uk=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:o})}}).route;function Hk(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function Wk(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function Yk(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t<e.length;t++){let o=Number(e[t]).toString(16);o=1==String(o).length?"0"+o:o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{let e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let n=0;n<e.length;n+=1)t+=e[n]+e[n];return t}}}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");let n=this;if(n.length>=e)return String(n);let o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const Xk={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=Wk(e,!1),r=o[0],i=o[1],a=o[2],s=Wk(t,!1),l=(s[0]-r)/n,c=(s[1]-i)/n,u=(s[2]-a)/n,d=[];for(let p=0;p<n;p++){let e=Yk("rgb("+Math.round(l*p+r)+","+Math.round(c*p+i)+","+Math.round(u*p+a)+")");d.push(e)}return d},hexToRgb:Wk,rgbToHex:Yk,colorToRgba:function(e,t=.3){let n=(e=Yk(e)).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){var o="#";for(let e=1;e<4;e+=1)o+=n.slice(e,e+1).concat(n.slice(e,e+1));n=o}var r=[];for(let e=1;e<7;e+=2)r.push(parseInt("0x"+n.slice(e,e+2)));return"rgba("+r.join(",")+","+t+")"}return n}};let Gk=null;let Kk=[],Qk=[];function Jk(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}const Zk={v:"1.10.1",version:"1.10.1",type:["primary","success","info","error","warning"]};const eE={queryParams:function(e={},t=!0,n="brackets"){let o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(let i in e){let t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)r.push(i+"["+n+"]="+t[n]);break;case"brackets":default:t.forEach((e=>{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:Uk,timeFormat:Hk,date:Hk,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":Hk(n,t)}return r},colorGradient:Xk.colorGradient,colorToRgba:Xk.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;i<e;i++)r[i]=o[0|Math.random()*n];else{let e;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let t=0;t<36;t++)r[t]||(e=0|16*Math.random(),r[t]=o[19==t?3&e|8:e])}return t?(r.shift(),"u"+r.join("")):r.join("")},color:{primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",bgColor:"#f3f4f6",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},sys:function(){return uni.getSystemInfoSync()},os:function(){return uni.getSystemInfoSync().platform},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},wranning:function(e){},get:Vk.get,post:Vk.post,put:Vk.put,delete:Vk.delete,hexToRgb:Xk.hexToRgb,rgbToHex:Xk.rgbToHex,test:Fk,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Dk,deepMerge:Bk,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),Fk.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:Vk,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:Zk,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==Gk&&clearTimeout(Gk),n){var o=!Gk;Gk=setTimeout((function(){Gk=null}),t),o&&"function"==typeof e&&e()}else Gk=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){Kk[o]||(Kk[o]=null),n?Qk[o]||(Qk[o]=!0,"function"==typeof e&&e(),Kk[o]=setTimeout((()=>{Qk[o]=!1}),t)):Qk[o]||(Qk[o]=!0,Kk[o]=setTimeout((()=>{Qk[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(Fk.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=Jk(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");n[Jk(o[0])]=Jk(o[1])}return n}let n="";for(const o in e){n+=`${o.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[o]};`}return Jk(n)}};uni.$u=eE;const tE={install:e=>{e.mixin(Rk),e.config.globalProperties.$u=eE}};(function(){const e=Ma({...Lk,store:KC,created:Ik});return e.config.globalProperties.$toast=hk,e.config.globalProperties.$success=pk,e.config.globalProperties.$error=fk,e.config.globalProperties.$navTo=bk,e.config.globalProperties.$getShareUrlParams=vk,e.config.globalProperties.$checkModule=Ek,e.config.globalProperties.$checkModules=Ak,e.use(tE),e.mixin($k),{app:e}})().app.use(Pv).mount("#app");export{qC as $,tr as A,_C as B,wk as C,Tk as D,ek as E,Hr as F,AC as G,EC as H,pm as I,Mk as J,Pk as K,ov as L,tv as M,Kv as N,li as O,kC as P,Bh as Q,Au as R,uk as S,XC as T,gk as U,_k as V,mk as W,kk as X,Km as Y,Hm as Z,Bm as _,ci as a,mC as a0,TC as a1,xC as a2,wC as a3,uv as a4,Su as a5,vC as a6,nk as a7,Qx as a8,Zv as a9,ti as b,ni as c,er as d,pi as e,di as f,Ug as g,ka as h,dv as i,Zm as j,ye as k,av as l,Sk as m,ve as n,Qr as o,Ck as p,Zn as q,Qn as r,xk as s,X as t,po as u,ea as v,Wn as w,KC as x,sk as y,tk as z};
|