index-DjrXbm8j.js 472 KB

123456789101112131415161718192021222324252627282930
  1. function __vite__mapDeps(indexes) {
  2. if (!__vite__mapDeps.viteFileDeps) {
  3. __vite__mapDeps.viteFileDeps = ["./pages-index-index.C8w_4RQd.js","./index.DGxxr6Fw.js","./_plugin-vue_export-helper.BCo6x5W8.js","./u-icon.CceDw6og.js","./u-icon-BVD2JMie.css","./uni-app.es.BBYSZWAl.js","./index.BYCmFj3h.js","./index.B2BLa7Kp.js","./index-DbrqUxsP.css","./cart.DkSr8b4b.js","./index.GnS007ld.js","./index.Wa4CkWBf.js","./mp-html.ZAj8ttOt.js","./mp-html-BuBTkKQ9.css","./myCoupon.B8gbzgxX.js","./index-DfOS8cNv.css","../config.js","./index-CrCSrjZc.css","./pages-category-index.C6i6AZB8.js","./index.ldWspIcQ.js","./index-DTNSSDrV.css","./index.sAOYHECi.js","./index-Bq4AMFfm.css","./mescroll-mixins.D-UxEU0U.js","./mescroll-mixins-Fq7Vr4Up.css","./index-CsFWTW3v.css","./pages-cart-index.Buf-MoAr.js","./index-CSCo7rbZ.css","./pages-user-index.DEIiSKUr.js","./index.DLAdF8TG.js","./index-bGg0VjPs.css","./user.DeQhYGSk.js","./order.19TCtDeV.js","./index-BPJqjNXZ.css","./pages-custom-index.CSvrto3w.js","./index-D7pGCOzP.css","./pages-search-index.DU2VQwgi.js","./index-DPuCw0tH.css","./pages-login-index.DuCPUm7O.js","./verify.GLYtc6cp.js","./upload.CBYmKwzJ.js","./index-C0hSp23p.css","./pages-user-bind-index.AOFso4DY.js","./index-DZIJm0uT.css","./pages-user-personal-index.BcsdjQLe.js","./u-form.CnRO9FWp.js","./emitter.DrjJCwnj.js","./u-form-Dh5Ofwc8.css","./index-DzSVOqsT.css","./pages-article-index.J_TMIatb.js","./u-tabs.DUyuqQI6.js","./u-tabs-Cwysgl2L.css","./index.hvaH05y_.js","./index-COjqDI6E.css","./pages-article-detail.C9L0wqOL.js","./detail-3cnDOYnx.css","./pages-help-index.C4zU0j-W.js","./index-Dt5goJrl.css","./pages-coupon-index.C3atwH1t.js","./CouponType.Bkmpzp02.js","./index-DRuzuQ3y.css","./pages-goods-list.DmTiFbi9.js","./list-BEC5qogH.css","./pages-goods-detail.fOATWzsX.js","./comment.WQ6opLiQ.js","./comment-CdMKZYMo.css","./u-popup.DchUjwdP.js","./u-popup-C-2Ap_uE.css","./detail-DeN4ipe5.css","./pages-comment-index.CZiJ9PZu.js","./index-B6lq4lEM.css","./pages-my-coupon-index.DbF1Lleh.js","./index-7NcSCEki.css","./pages-address-index.BS11FbUx.js","./address.Dggquybz.js","./index-DD_-vPHV.css","./pages-address-create.D7XpbCJl.js","./select-region.CJ6WfydA.js","./u-loading.COhOFO7U.js","./u-loading-BOGmPlwX.css","./select-region-CZENxp8H.css","./create-Dc4CA3R4.css","./pages-address-update.CODa-Okr.js","./update-O7rUldcf.css","./pages-points-log.Cw_1yjkW.js","./log-ax6Nus95.css","./pages-wallet-index.DNfue43W.js","./index-UKd6FiDw.css","./pages-wallet-balance-log.B3E28gBC.js","./log-DO49nRH3.css","./pages-wallet-recharge-index.YttlY6js.js","./u-modal.DWmk-Snt.js","./u-modal-BCGVDa4l.css","./Client.JYZLS_35.js","./wechat.KfUqr1BM.js","./index-Bqq32Od9.css","./pages-wallet-recharge-order.CiAAgrzb.js","./order-DuW-kWtU.css","./pages-checkout-index.RU1Bx1fF.js","./OrderType.tEdKfI6F.js","./index-_qOAW8go.css","./pages-checkout-cashier-index.V1YUT43t.js","./index-j1S8v-ka.css","./pages-order-center.C7UExR1P.js","./center-DwRQpX6v.css","./pages-order-index.aLZQZFFU.js","./index-CsvV8_zz.css","./pages-order-detail.B-nu7IMT.js","./detail-cGQ06mQJ.css","./pages-order-express-index.BlSDvs4s.js","./index-BTYSrLht.css","./pages-order-comment-index.D3aWo-sy.js","./index-pFHh8HNn.css","./pages-refund-index.Bi4Zdxkl.js","./refund.Dw9qaW8j.js","./index-DSbrdvV4.css","./pages-refund-detail.BzPZpiEb.js","./RefundType.BJ8zo4_O.js","./detail-Asd7Y6EM.css","./pages-refund-apply.BCNE22YL.js","./apply-DDhayJvM.css","./pages-web-view-index.cr5BbI1M.js"]
  4. }
  5. return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
  6. }
  7. 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}))};
  8. /**
  9. * @vue/shared v3.4.21
  10. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  11. * @license MIT
  12. **/
  13. 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,h=(e,t)=>p.call(e,t),f=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),k=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=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,L=E((e=>e.replace(P,"-$1").toLowerCase())),O=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=E((e=>e?`on${O(e)}`:"")),R=(e,t)=>!Object.is(e,t),$=(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(f(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(f(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?"":f(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)||f(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var Q={};const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map((e=>"uni-"+e)),ee=["list-item"].map((e=>"uni-"+e));function te(e){if(-1!==ee.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==Q.UNI_APP_X?-1!==J.indexOf(t):-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const ne=["%","%"],oe=/^([a-z-]+:)?\/\//i,re=/^data:.*,.*/;function ie(e){return void 0===e?null:e}class ae{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n<t.length;n++){const o=t[n];for(let t in o)e[t]=o[t]}return e}constructor(e={}){if(e instanceof Map)e.forEach(((e,t)=>{this[t]=e}));else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o<t.length;o++){const r=t[o];n[r]={enumerable:!1,value:e[r]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let r=0;r<e.length;r++){const i=e[r];switch(i){case".":t.length>0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=ie(t);if(0===n.length)return o;let r=this;for(let i=0;i<n.length;i++){const e=n[i];if(!(r instanceof Object))return o;if(!(e in r))return o;r=r[e]}return r}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=ie(t);return this._getValue(e,n)}getString(e,t){const n=ie(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=ie(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=ie(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=ie(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=ie(t);let o=this._getValue(e,n);return o instanceof Array?o:n}toMap(){let e=new Map;for(let t in this)e.set(t,this[t]);return e}forEach(e){for(let t in this)e(this[t],t)}}function se(e){return e&&(e.appContext?e.proxy:e)}function le(e){if(!e)return;let t=e.type.name;for(;t&&te(L(t));)t=(e=e.parent).type.name;return e.proxy}function ce(e){return 1===e.nodeType}function ue(e){if(e instanceof ae){const t={};return ae.keys(e).forEach((n=>{t[n]=e[n]})),q(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),q(t)}if(y(e))return U(e);if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=y(o)?U(o):ue(o);if(r)for(const e in r)t[e]=r[e]}return t}return q(e)}function de(e){let t="";if(e instanceof ae)ae.keys(e).forEach((n=>{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(f(e))for(let n=0;n<e.length;n++){const o=de(e[n]);o&&(t+=o+" ")}else t=H(e);return t.trim()}function pe(e){return 0===e.indexOf("/")}function he(e){return pe(e)?e:"/"+e}function fe(e){return pe(e)?e.slice(1):e}function ge(e,t){for(const n in t)e.style[n]=t[n]}function me(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const ve=e=>e>9?e:"0"+e;function ye({date:e=new Date,mode:t="date"}){return"time"===t?ve(e.getHours())+":"+ve(e.getMinutes()):e.getFullYear()+"-"+ve(e.getMonth()+1)+"-"+ve(e.getDate())}function be(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)}function _e(e){return M(e.substring(5))}const we=me((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={}))[_e(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[_e(t)],o.call(this,t)}}));function xe(e){return u({},e.dataset,e.__uniDataset)}const Te=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Se(e){return{passive:e}}function ke(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:xe(e),offsetTop:n,offsetLeft:o}}function Ce(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ee(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Ce(e[n])}catch(o){t[n]=e[n]}})),t}const Ae=/\+/g;function Me(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(Ae," ");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];f(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Pe(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 Le{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","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onCopyUrl","onUploadDouyinVideo","onLiveMount","onTitleClick","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Ie=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onCopyUrl","onUploadDouyinVideo","onLiveMount","onTitleClick","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged","onLastPageBackPress"];let Re;const $e=[];const De=me(((e,t)=>t(e))),Be=function(){};Be.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 Ne=Be;const je={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function qe(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 je?je[o]:o}return r}var o;return t}function ze(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)?ze(a,t,n):f(a)?a.map((e=>S(e)?ze(e,t,n):qe(o,e))):qe(o,a,i)})),r):e}
  14. /**
  15. * @dcloudio/uni-h5-vue v3.4.21
  16. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  17. * @license MIT
  18. **/let Fe,Ve;class Ue{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fe,!e&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Fe;try{return Fe=this,e()}finally{Fe=t}}}on(){Fe=this}off(){Fe=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 He(e){return new Ue(e)}class We{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=Fe){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Ze();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),et()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ke,t=Ve;try{return Ke=!0,Ve=this,this._runnings++,Ye(this),this.fn()}finally{Xe(this),this._runnings--,Ve=t,Ke=e}}stop(){var e;this.active&&(Ye(this),Xe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ye(e){e._trackId++,e._depsLength=0}function Xe(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ge(e.deps[t],e);e.deps.length=e._depsLength}}function Ge(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ke=!0,Qe=0;const Je=[];function Ze(){Je.push(Ke),Ke=!1}function et(){const e=Je.pop();Ke=void 0===e||e}function tt(){Qe++}function nt(){for(Qe--;!Qe&&rt.length;)rt.shift()()}function ot(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ge(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const rt=[];function it(e,t,n){tt();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&&rt.push(o.scheduler)))}nt()}const at=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},st=new WeakMap,lt=Symbol(""),ct=Symbol("");function ut(e,t,n){if(Ke&&Ve){let t=st.get(e);t||st.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=at((()=>t.delete(n)))),ot(Ve,o)}}function dt(e,t,n,o,r,i){const a=st.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&f(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":f(e)?k(n)&&s.push(a.get("length")):(s.push(a.get(lt)),g(e)&&s.push(a.get(ct)));break;case"delete":f(e)||(s.push(a.get(lt)),g(e)&&s.push(a.get(ct)));break;case"set":g(e)&&s.push(a.get(lt))}tt();for(const l of s)l&&it(l,4);nt()}const pt=o("__proto__,__v_isRef,__isVue"),ht=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(b)),ft=gt();function gt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=on(this);for(let t=0,r=this.length;t<r;t++)ut(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(on)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ze(),tt();const n=on(this)[t].apply(this,e);return nt(),et(),n}})),e}function mt(e){const t=on(this);return ut(t,0,e),t.hasOwnProperty(e)}class vt{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?Yt:Wt:r?Ht:Ut).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=f(e);if(!o){if(i&&h(ft,t))return Reflect.get(ft,t,n);if("hasOwnProperty"===t)return mt}const a=Reflect.get(e,t,n);return(b(t)?ht.has(t):pt(t))?a:(o||ut(e,0,t),r?a:dn(a)?i&&k(t)?a:a.value:_(a)?o?Qt(a):Gt(a):a)}}class yt extends vt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=en(r);if(tn(n)||en(n)||(r=on(r),n=on(n)),!f(e)&&dn(r)&&!dn(n))return!t&&(r.value=n,!0)}const i=f(e)&&k(t)?Number(t)<e.length:h(e,t),a=Reflect.set(e,t,n,o);return e===on(o)&&(i?R(n,r)&&dt(e,"set",t,n):dt(e,"add",t,n)),a}deleteProperty(e,t){const n=h(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&dt(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return b(t)&&ht.has(t)||ut(e,0,t),n}ownKeys(e){return ut(e,0,f(e)?"length":lt),Reflect.ownKeys(e)}}class bt extends vt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const _t=new yt,wt=new bt,xt=new yt(!0),Tt=e=>e,St=e=>Reflect.getPrototypeOf(e);function kt(e,t,n=!1,o=!1){const r=on(e=e.__v_raw),i=on(t);n||(R(t,i)&&ut(r,0,t),ut(r,0,i));const{has:a}=St(r),s=o?Tt:n?sn:an;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=on(n),r=on(e);return t||(R(e,r)&&ut(o,0,e),ut(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Et(e,t=!1){return e=e.__v_raw,!t&&ut(on(e),0,lt),Reflect.get(e,"size",e)}function At(e){e=on(e);const t=on(this);return St(t).has.call(t,e)||(t.add(e),dt(t,"add",e,e)),this}function Mt(e,t){t=on(t);const n=on(this),{has:o,get:r}=St(n);let i=o.call(n,e);i||(e=on(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?R(t,a)&&dt(n,"set",e,t):dt(n,"add",e,t),this}function Pt(e){const t=on(this),{has:n,get:o}=St(t);let r=n.call(t,e);r||(e=on(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&dt(t,"delete",e,void 0),i}function Lt(){const e=on(this),t=0!==e.size,n=e.clear();return t&&dt(e,"clear",void 0,void 0),n}function Ot(e,t){return function(n,o){const r=this,i=r.__v_raw,a=on(i),s=t?Tt:e?sn:an;return!e&&ut(a,0,lt),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function It(e,t,n){return function(...o){const r=this.__v_raw,i=on(r),a=g(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?Tt:t?sn:an;return!t&&ut(i,0,l?ct:lt),{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 Rt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function $t(){const e={get(e){return kt(this,e)},get size(){return Et(this)},has:Ct,add:At,set:Mt,delete:Pt,clear:Lt,forEach:Ot(!1,!1)},t={get(e){return kt(this,e,!1,!0)},get size(){return Et(this)},has:Ct,add:At,set:Mt,delete:Pt,clear:Lt,forEach:Ot(!1,!0)},n={get(e){return kt(this,e,!0)},get size(){return Et(this,!0)},has(e){return Ct.call(this,e,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Ot(!0,!1)},o={get(e){return kt(this,e,!0,!0)},get size(){return Et(this,!0)},has(e){return Ct.call(this,e,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Ot(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=It(r,!1,!1),n[r]=It(r,!0,!1),t[r]=It(r,!1,!0),o[r]=It(r,!0,!0)})),[e,n,t,o]}const[Dt,Bt,Nt,jt]=$t();function qt(e,t){const n=t?e?jt:Nt:e?Bt:Dt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(h(n,o)&&o in t?n:t,o,r)}const zt={get:qt(!1,!1)},Ft={get:qt(!1,!0)},Vt={get:qt(!0,!1)},Ut=new WeakMap,Ht=new WeakMap,Wt=new WeakMap,Yt=new WeakMap;function Xt(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 Gt(e){return en(e)?e:Jt(e,!1,_t,zt,Ut)}function Kt(e){return Jt(e,!1,xt,Ft,Ht)}function Qt(e){return Jt(e,!0,wt,Vt,Wt)}function Jt(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=Xt(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function Zt(e){return en(e)?Zt(e.__v_raw):!(!e||!e.__v_isReactive)}function en(e){return!(!e||!e.__v_isReadonly)}function tn(e){return!(!e||!e.__v_isShallow)}function nn(e){return Zt(e)||en(e)}function on(e){const t=e&&e.__v_raw;return t?on(t):e}function rn(e){return Object.isExtensible(e)&&D(e,"__v_skip",!0),e}const an=e=>_(e)?Gt(e):e,sn=e=>_(e)?Qt(e):e;class ln{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new We((()=>e(this._value)),(()=>un(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=on(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||un(e,4),cn(e),e.effect._dirtyLevel>=2&&un(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function cn(e){var t;Ke&&Ve&&(e=on(e),ot(Ve,null!=(t=e.dep)?t:e.dep=at((()=>e.dep=void 0),e instanceof ln?e:void 0)))}function un(e,t=4,n){const o=(e=on(e)).dep;o&&it(o,t)}function dn(e){return!(!e||!0!==e.__v_isRef)}function pn(e){return fn(e,!1)}function hn(e){return fn(e,!0)}function fn(e,t){return dn(e)?e:new gn(e,t)}class gn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:on(e),this._value=t?e:an(e)}get value(){return cn(this),this._value}set value(e){const t=this.__v_isShallow||tn(e)||en(e);e=t?e:on(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:an(e),un(this,4))}}function mn(e){return dn(e)?e.value:e}const vn={get:(e,t,n)=>mn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return dn(r)&&!dn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function yn(e){return Zt(e)?e:new Proxy(e,vn)}function bn(e,t,n,o){try{return o?e(...o):e()}catch(r){wn(r,t,n)}}function _n(e,t,n,o){if(v(e)){const r=bn(e,t,n,o);return r&&w(r)&&r.catch((e=>{wn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(_n(e[i],t,n,o));return r}function wn(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 bn(a,null,10,[e,r,i])}xn(e,n,r,o)}function xn(e,t,n,o=!0){console.error(e)}let Tn=!1,Sn=!1;const kn=[];let Cn=0;const En=[];let An=null,Mn=0;const Pn=Promise.resolve();let Ln=null;function On(e){const t=Ln||Pn;return e?t.then(this?e.bind(this):e):t}function In(e){kn.length&&kn.includes(e,Tn&&e.allowRecurse?Cn+1:Cn)||(null==e.id?kn.push(e):kn.splice(function(e){let t=Cn+1,n=kn.length;for(;t<n;){const o=t+n>>>1,r=kn[o],i=Bn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Rn())}function Rn(){Tn||Sn||(Sn=!0,Ln=Pn.then(jn))}function $n(e,t,n=(Tn?Cn+1:0)){for(;n<kn.length;n++){const t=kn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;kn.splice(n,1),n--,t()}}}function Dn(e){if(En.length){const e=[...new Set(En)].sort(((e,t)=>Bn(e)-Bn(t)));if(En.length=0,An)return void An.push(...e);for(An=e,Mn=0;Mn<An.length;Mn++)An[Mn]();An=null,Mn=0}}const Bn=e=>null==e.id?1/0:e.id,Nn=(e,t)=>{const n=Bn(e)-Bn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jn(e){Sn=!1,Tn=!0,kn.sort(Nn);try{for(Cn=0;Cn<kn.length;Cn++){const e=kn[Cn];e&&!1!==e.active&&bn(e,null,14)}}finally{Cn=0,kn.length=0,Dn(),Tn=!1,Ln=null,(kn.length||En.length)&&jn()}}function qn(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(L(t))]),c&&_n(c,e,6,zn(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,_n(u,e,6,zn(e,u,i))}}function zn(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&&h(o,"type")&&h(o,"timeStamp")&&h(o,"target")&&h(o,"currentTarget")&&h(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Fn(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=Fn(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?(f(i)?i.forEach((e=>a[e]=null)):u(a,i),_(e)&&o.set(e,a),a):(_(e)&&o.set(e,null),null)}function Vn(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),h(e,t[0].toLowerCase()+t.slice(1))||h(e,L(t))||h(e,t))}let Un=null,Hn=null;function Wn(e){const t=Un;return Un=e,Hn=e&&e.type.__scopeId||null,t}function Yn(e,t=Un,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&ti(-1);const r=Wn(t);let i;try{i=e(...n)}finally{Wn(r),o._d&&ti(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Xn(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:h,setupState:f,ctx:g,inheritAttrs:m}=e;let v,y;const b=Wn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=gi(d.call(t,e,p,i,f,h,g)),y=l}else{const e=t;0,v=gi(e.length>1?e(i,{attrs:l,slots:s,emit:u}):e(i,null)),y=t.props?l:Gn(l)}}catch(w){Qr.length=0,wn(w,e,1),v=di(Gr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(c)&&(y=Kn(y,a)),_=pi(_,y))}return n.dirs&&(_=pi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Wn(b),v}const Gn=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},Kn=(e,t)=>{const n={};for(const o in e)c(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Qn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Vn(n,i))return!0}return!1}function Jn(e,t){return to("components",e,!0,t)||e}const Zn=Symbol.for("v-ndc");function eo(e){return y(e)?to("components",e,!1)||e:e||Zn}function to(e,t,n=!0,o=!1){const r=Un||xi;if(r){const n=r.type;if("components"===e){const e=Ii(n,!1);if(e&&(e===t||e===M(t)||e===O(M(t))))return n}const i=no(r[e]||n[e],t)||no(r.appContext[e],t);return!i&&o?n:i}}function no(e,t){return e&&(e[t]||e[M(t)]||e[O(M(t))])}const oo=e=>e.__isSuspense;const ro=Symbol.for("v-scx");function io(e,t){return lo(e,null,t)}const ao={};function so(e,t,n){return lo(e,t,n)}function lo(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),C()}}const u=xi,p=e=>!0===o?e:po(e,!1===o?1:void 0);let h,g,m=!1,y=!1;if(dn(e)?(h=()=>e.value,m=tn(e)):Zt(e)?(h=()=>p(e),m=!0):f(e)?(y=!0,m=e.some((e=>Zt(e)||tn(e))),h=()=>e.map((e=>dn(e)?e.value:Zt(e)?p(e):v(e)?bn(e,u,2):void 0))):h=v(e)?t?()=>bn(e,u,2):()=>(g&&g(),_n(e,u,3,[_])):a,t&&o){const e=h;h=()=>po(e())}let b,_=e=>{g=S.onStop=()=>{bn(e,u,4),g=S.onStop=void 0}};if(Mi){if(_=a,t?n&&_n(t,u,3,[h(),y?[]:void 0,_]):h(),"sync"!==i)return a;{const e=Cr(ro);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(ao):ao;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(o||m||(y?e.some(((e,t)=>R(e,w[t]))):R(e,w)))&&(g&&g(),_n(t,u,3,[e,w===ao?void 0:y&&w[0]===ao?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===i?T=x:"post"===i?T=()=>zr(x,u&&u.suspense):(x.pre=!0,u&&(x.id=u.uid),T=()=>In(x));const S=new We(h,a,T),k=Fe,C=()=>{S.stop(),k&&d(k.effects,S)};return t?n?x():w=S.run():"post"===i?zr(S.run.bind(S),u&&u.suspense):S.run(),b&&b.push(C),C}function co(e,t,n){const o=this.proxy,r=y(e)?e.includes(".")?uo(o,e):()=>o[e]:e.bind(o,o);let i;v(t)?i=t:(i=t.handler,n=t);const a=Ci(this),s=lo(r,i.bind(o),n);return a(),s}function uo(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 po(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),dn(e))po(e.value,t,n,o);else if(f(e))for(let r=0;r<e.length;r++)po(e[r],t,n,o);else if(m(e)||g(e))e.forEach((e=>{po(e,t,n,o)}));else if(S(e))for(const r in e)po(e[r],t,n,o);return e}function ho(e,t){if(null===Un)return e;const n=Oi(Un)||Un.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&&po(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&&(Ze(),_n(l,n,8,[e.el,s,e,t]),et())}}const go=Symbol("_leaveCb"),mo=Symbol("_enterCb");const vo=[Function,Array],yo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vo,onEnter:vo,onAfterEnter:vo,onEnterCancelled:vo,onBeforeLeave:vo,onLeave:vo,onAfterLeave:vo,onLeaveCancelled:vo,onBeforeAppear:vo,onAppear:vo,onAfterAppear:vo,onAppearCancelled:vo},bo={name:"BaseTransition",props:yo,setup(e,{slots:t}){const n=Ti(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wo((()=>{e.isMounted=!0})),Go((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&ko(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Gr){i=e;break}const a=on(e),{mode:s}=a;if(o.isLeaving)return xo(i);const l=To(i);if(!l)return xo(i);const c=wo(l,a,o,n);So(l,c);const u=n.subTree,d=u&&To(u);if(d&&d.type!==Gr&&!ai(l,d)){const e=wo(d,a,o,n);if(So(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},xo(i);"in-out"===s&&l.type!==Gr&&(e.delayLeave=(e,t,n)=>{_o(o,d)[String(d.key)]=d,e[go]=()=>{t(),e[go]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function _o(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 wo(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:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=_o(n,e),x=(e,t)=>{e&&_n(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),f(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[go]&&t[go](!0);const i=w[_];i&&ai(e,i)&&i.el[go]&&i.el[go](),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[mo]=t=>{a||(a=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[mo]=void 0)};t?T(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t[mo]&&t[mo](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const a=t[go]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[go]=void 0,w[r]===e&&delete w[r])};w[r]=e,p?T(p,[t,a]):a()},clone:e=>wo(e,t,n,o)};return S}function xo(e){if(Po(e))return(e=pi(e)).children=null,e}function To(e){return Po(e)?e.children?e.children[0]:void 0:e}function So(e,t){6&e.shapeFlag&&e.component?So(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 ko(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===Yr?(128&a.patchFlag&&r++,o=o.concat(ko(a.children,t,s))):(t||a.type!==Gr)&&o.push(null!=s?pi(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
  19. /*! #__NO_SIDE_EFFECTS__ */function Co(e,t){return v(e)?(()=>u({name:e.name},t,{setup:e}))():e}const Eo=e=>!!e.type.__asyncLoader
  20. /*! #__NO_SIDE_EFFECTS__ */;function Ao(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=xi;if(l)return()=>Mo(l,e);const t=t=>{c=null,wn(t,e,13,!o)};if(a&&e.suspense||Mi)return d().then((t=>()=>Mo(t,e))).catch((e=>(t(e),()=>o?di(o,{error:e}):null)));const s=pn(!1),u=pn(),p=pn(!!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&&Po(e.parent.vnode)&&(e.parent.effect.dirty=!0,In(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?Mo(l,e):u.value&&o?di(o,{error:u.value}):n&&!p.value?di(n):void 0}})}function Mo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=di(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Po=e=>e.type.__isKeepAlive;class Lo{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=Ti(),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 Lo(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||!ai(t,i)||"key"===e.matchBy&&t.key!==i.key?(jo(o=t),u(o,n,s,!0)):i&&jo(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function h(t){r.forEach(((n,o)=>{const i=zo(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,$(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),zr((()=>{i.isDeactivated=!1,i.a&&$(i.a);const t=e.props&&e.props.onVnodeMounted;t&&bi(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&Fo(t.bda),c(e,p,null,1,s),zr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&$(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&bi(n,t.parent,e),t.isDeactivated=!0}),s)},so((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&h((t=>Ro(e,t))),t&&h((e=>!Ro(t,e)))}),{flush:"post",deep:!0});let f=null;const g=()=>{null!=f&&r.set(f,qo(n.subTree))};return Wo(g),Xo(g),Go((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=qo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&$(l.component.bda),jo(l);const e=l.component.da;e&&zr(e,s)}}))})),()=>{if(f=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!ii(o)||!(4&o.shapeFlag)&&!oo(o.type))return i=null,o;let a=qo(o);const s=a.type,l=zo(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Ro(c,l))||u&&l&&Ro(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=pi(a),oo(o.type)&&(o.ssContent=a)),f=d,p&&(a.el=p.el,a.component=p.component,a.transition&&So(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,oo(o.type)?o:a}}},Io=Oo;function Ro(e,t){return f(e)?e.some((e=>Ro(e,t))):y(e)?e.split(",").includes(t):"[object RegExp]"===T(e)&&e.test(t)}function $o(e,t){Bo(e,"a",t)}function Do(e,t){Bo(e,"da",t)}function Bo(e,t,n=xi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Vo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Po(e.parent.vnode)&&No(o,t,n,e),e=e.parent}}function No(e,t,n,o){const r=Vo(t,e,o,!0);Ko((()=>{d(o[t],r)}),n)}function jo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qo(e){return oo(e.type)?e.ssContent:e}function zo(e,t){if("name"===t){const t=e.type;return Ii(Eo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Fo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Vo(e,t,n=xi,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;_n(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;Ze();const r=Ci(n),i=_n(t,n,e,o);return r(),et(),i});return o?i.unshift(a):i.push(a),a}var r}const Uo=e=>(t,n=xi)=>(!Mi||"sp"===e)&&Vo(e,((...e)=>t(...e)),n),Ho=Uo("bm"),Wo=Uo("m"),Yo=Uo("bu"),Xo=Uo("u"),Go=Uo("bum"),Ko=Uo("um"),Qo=Uo("sp"),Jo=Uo("rtg"),Zo=Uo("rtc");function er(e,t=xi){Vo("ec",e,t)}function tr(e,t,n,o){let r;const i=n&&n[o];if(f(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 nr(e,t,n={},o,r){if(Un.isCE||Un.parent&&Eo(Un.parent)&&Un.parent.isCE)return"default"!==t&&(n.name=t),di("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Zr();const a=i&&or(i(n)),s=ri(Yr,{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 or(e){return e.some((e=>!ii(e)||e.type!==Gr&&!(e.type===Yr&&!or(e.children))))?e:null}const rr=e=>{if(!e)return null;if(Ai(e)){return Oi(e)||e.proxy}return rr(e.parent)},ir=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=>rr(e.parent),$root:e=>rr(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,In(e.update)})(e)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>co.bind(e)}),ar=(e,t)=>e!==r&&!e.__isScriptSetup&&h(e,t),sr={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(ar(o,t))return s[t]=1,o[t];if(i!==r&&h(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&h(u,t))return s[t]=3,a[t];if(n!==r&&h(n,t))return s[t]=4,n[t];cr&&(s[t]=0)}}const d=ir[t];let p,f;return d?("$attrs"===t&&ut(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r&&h(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,h(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:a}=e;return ar(i,t)?(i[t]=n,!0):o!==r&&h(o,t)?(o[t]=n,!0):!h(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&&h(e,s)||ar(t,s)||(l=a[0])&&h(l,s)||h(o,s)||h(ir,s)||h(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:h(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function lr(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let cr=!0;function ur(e){const t=hr(e),n=e.proxy,o=e.ctx;cr=!1,t.beforeCreate&&dr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:g,updated:m,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:k,renderTracked:C,renderTriggered:E,errorCaptured:A,serverPrefetch:M,expose:P,inheritAttrs:L,components:O,directives:I,filters:R}=t;if(u&&function(e,t,n=a){f(e)&&(e=vr(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),dn(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=Gt(t))}if(cr=!0,i)for(const f in i){const e=i[f],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=Ri({get:t,set:r});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)pr(l[a],o,n,a);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{kr(t,e[t])}))}function $(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&dr(d,e,"c"),$(Ho,p),$(Wo,h),$(Yo,g),$(Xo,m),$($o,y),$(Do,b),$(er,A),$(Zo,C),$(Jo,E),$(Go,x),$(Ko,S),$(Qo,M),f(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={});k&&e.render===a&&(e.render=k),null!=L&&(e.inheritAttrs=L),O&&(e.components=O),I&&(e.directives=I);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function dr(e,t,n){_n(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function pr(e,t,n,o){const r=o.includes(".")?uo(n,o):()=>n[o];if(y(e)){const n=t[e];v(n)&&so(r,n)}else if(v(e))so(r,e.bind(n));else if(_(e))if(f(e))e.forEach((e=>pr(e,t,n,o)));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&so(r,o,e)}}function hr(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=gr[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const gr={data:mr,props:_r,emits:_r,methods:br,computed:br,beforeCreate:yr,created:yr,beforeMount:yr,mounted:yr,beforeUpdate:yr,updated:yr,beforeDestroy:yr,beforeUnmount:yr,destroyed:yr,unmounted:yr,activated:yr,deactivated:yr,errorCaptured:yr,serverPrefetch:yr,components:br,directives:br,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]=yr(e[o],t[o]);return n},provide:mr,inject:function(e,t){return br(vr(e),vr(t))}};function mr(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 vr(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function yr(e,t){return e?[...new Set([].concat(e,t))]:t}function br(e,t){return e?u(Object.create(null),e,t):t}function _r(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:u(Object.create(null),lr(e),lr(null!=t?t:{})):t}function wr(){return{app:null,config:{isNativeTag:s,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let xr=0;function Tr(e,t){return function(n,o=null){v(n)||(n=u({},n)),null==o||_(o)||(o=null);const r=wr(),i=new WeakSet;let a=!1;const s=r.app={_uid:xr++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Di,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=di(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,Oi(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=Sr;Sr=s;try{return e()}finally{Sr=t}}};return s}}let Sr=null;function kr(e,t){if(xi){let n=xi.provides;const o=xi.parent&&xi.parent.provides;o===n&&(n=xi.provides=Object.create(o)),n[e]=t,"app"===xi.type.mpType&&xi.appContext.app.provide(e,t)}else;}function Cr(e,t,n=!1){const o=xi||Un;if(o||Sr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Sr._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 Er(e,t,n,o){const[i,a]=e.propsOptions;let s,l=!1;if(t)for(let r in t){if(C(r))continue;const c=t[r];let u;i&&h(i,u=M(r))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:Vn(e.emitsOptions,r)||r in o&&c===o[r]||(o[r]=Ar(e,r,c),l=!0)}if(a){const t=on(n),o=s||r;for(let r=0;r<a.length;r++){const s=a[r];n[s]=Mr(i,t,s,o[s],e,!h(o,s))}}return l}function Ar(e,t,n){return n}function Mr(e,t,n,o,r,i){const a=function(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=h(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=Ci(r);o=i[n]=e.call(null,t),a()}}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==L(n)||(o=!0))}return o}(e,t,n,o,r,i);return a}function Pr(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]=Pr(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(f(s))for(let i=0;i<s.length;i++){const e=M(s[i]);Lr(e)&&(l[e]=r)}else if(s)for(const r in s){const e=M(r);if(Lr(e)){const t=s[r],n=l[e]=f(t)||v(t)?{type:t}:u({},t);if(n){const t=Rr(Boolean,n.type),o=Rr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||h(n,"default"))&&c.push(e)}}}const p=[l,c];return _(e)&&o.set(e,p),p}function Lr(e){return"$"!==e[0]&&!C(e)}function Or(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 Ir(e,t){return Or(e)===Or(t)}function Rr(e,t){return f(t)?t.findIndex((t=>Ir(t,e))):v(t)&&Ir(t,e)?0:-1}const $r=e=>"_"===e[0]||"$stable"===e,Dr=e=>f(e)?e.map(gi):[gi(e)],Br=(e,t,n)=>{if(t._n)return t;const o=Yn(((...e)=>Dr(t(...e))),n);return o._c=!1,o},Nr=(e,t,n)=>{const o=e._ctx;for(const r in e){if($r(r))continue;const n=e[r];if(v(n))t[r]=Br(0,n,o);else if(null!=n){const e=Dr(n);t[r]=()=>e}}},jr=(e,t)=>{const n=Dr(t);e.slots.default=()=>n};function qr(e,t,n,o,i=!1){if(f(e))return void e.forEach(((e,r)=>qr(e,t&&(f(t)?t[r]:t),n,o,i)));if(Eo(o)&&!i)return;const a=4&o.shapeFlag?Oi(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,h(g,u)&&(g[u]=null)):dn(u)&&(u.value=null)),v(c))bn(c,l,12,[s,p]);else{const t=y(c),o=dn(c);if(t||o){const r=()=>{if(e.f){const n=t?h(g,c)?g[c]:p[c]:c.value;i?f(n)&&d(n,a):f(n)?n.includes(a)||n.push(a):t?(p[c]=[a],h(g,c)&&(g[c]=p[c])):(c.value=[a],e.k&&(p[e.k]=c.value))}else t?(p[c]=s,h(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(p[e.k]=s))};s?(r.id=-1,zr(r,n)):r()}}}const zr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?En.push(...n):An&&An.includes(n,n.allowRecurse?Mn+1:Mn)||En.push(n),Rn())};function Fr(e){return function(e,t){j().__VUE__=!0;const{insert:n,remove:o,patchProp:s,forcePatchProp:l,createElement:c,createText:d,createComment:p,setText:f,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&&!ai(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 Xr:x(e,t,n,o);break;case Gr:T(e,t,n,o);break;case Kr:null==e&&S(t,n,o,a);break;case Yr: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&&qr(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&&f(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)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),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):R(e,t,r,i,a,s,l)},P=(e,t,o,r,i,a,l,u)=>{let d,p;const{props:h,shapeFlag:f,transition:m,dirs:v}=e;if(d=e.el=c(e.type,a,h&&h.is,h),8&f?g(d,e.children):16&f&&I(e.children,d,null,r,i,Vr(e,a),l,u),v&&fo(e,null,r,"created"),O(d,e,e.scopeId,l,r),h){for(const t in h)"value"===t||C(t)||s(d,t,null,h[t],a,e.children,r,i,ee);"value"in h&&s(d,"value",null,h.value,a),(p=h.onVnodeBeforeMount)&&bi(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=h&&h.onVnodeMounted)||y||v)&&zr((()=>{p&&bi(p,r,e),y&&m.enter(d),v&&fo(e,null,r,"mounted")}),i)},O=(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;O(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?mi(e[c]):gi(e[c]);_(null,l,t,n,o,r,i,a,s)}},R=(e,t,n,o,i,a,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:h}=t;d|=16&e.patchFlag;const f=e.props||r,m=t.props||r;let v;if(n&&Ur(n,!1),(v=m.onVnodeBeforeUpdate)&&bi(v,n,t,e),h&&fo(t,e,n,"beforeUpdate"),n&&Ur(n,!0),p?B(e.dynamicChildren,p,u,n,o,Vr(t,i),a):c||W(e,t,u,null,n,o,Vr(t,i),a,!1),d>0){if(16&d)N(u,t,f,m,n,o,i);else if(2&d&&f.class!==m.class&&s(u,"class",null,m.class,i),4&d&&s(u,"style",f.style,m.style,i),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],c=f[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,f,m,n,o,i);((v=m.onVnodeUpdated)||h)&&zr((()=>{v&&bi(v,n,t,e),h&&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===Yr||!ai(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)C(r)||r in o||s(e,r,n[r],null,c,t.children,i,a,ee);for(const r in o){if(C(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:h,dynamicChildren:f,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)):h>0&&64&h&&f&&e.dynamicChildren?(B(e.dynamicChildren,f,o,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&Hr(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)||_i,a={uid:wi++,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 Ue(!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:Pr(o,i),emitsOptions:Fn(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=qn.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,o,i);if(Po(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&ki(t);const{props:n,children:o}=e.vnode,r=Ai(e);(function(e,t,n,o=!1){const r={},i={};D(i,si,1),e.propsDefaults=Object.create(null),Er(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:Kt(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=on(t),D(t,"_",n)):Nr(t,e.slots={})}else e.slots={},t&&jr(e,t);D(e.slots,si,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=rn(new Proxy(e.ctx,sr));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)=>(ut(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Ci(e);Ze();const i=bn(o,e,0,[e.props,n]);if(et(),r(),w(i)){if(i.then(Ei,Ei),t)return i.then((n=>{Pi(e,n,t)})).catch((t=>{wn(t,e,0)}));e.asyncDep=i}else Pi(e,i,t)}else Li(e,t)}(e,t):void 0;t&&ki(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,U),!e.el){const e=l.subTree=di(Gr);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||Qn(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Qn(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]&&!Vn(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=kn.indexOf(e);t>Cn&&kn.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=Wr(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Ur(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&$(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&bi(u,a,t,c),Ur(e,!0);const p=Xn(e),h=e.subTree;e.subTree=p,_(h,p,m(h.el),te(h),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&&zr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&zr((()=>bi(u,a,t,c)),r)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=Eo(t);if(Ur(e,!1),c&&$(c),!p&&(a=l&&l.onVnodeBeforeMount)&&bi(a,d,t),Ur(e,!0),s&&ae){const n=()=>{e.subTree=Xn(e),ae(s,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=Xn(e);_(null,a,n,o,e,r,i),t.el=a.el}if(u&&zr(u,r),!p&&(a=l&&l.onVnodeMounted)){const e=t;zr((()=>bi(a,d,e)),r)}(256&t.shapeFlag||d&&Eo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Fo(e.ba),e.a&&zr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new We(l,a,(()=>In(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Ur(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=on(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;Er(e,t,r,i)&&(c=!0);for(const i in s)t&&(h(t,i)||(o=L(i))!==i&&h(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=Mr(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&h(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(Vn(e.emitsOptions,a))continue;const u=t[a];if(l)if(h(i,a))u!==i[a]&&(i[a]=Ar(0,0,u),c=!0);else{const t=M(a);r[t]=Mr(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=Ar(0,0,u),c=!0)}}c&&dt(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,Nr(t,i)),s=t}else t&&(jr(e,t),s={default:1});if(a)for(const r in i)$r(r)||null!=s[r]||delete i[r]})(e,t.children,n),Ze(),$n(e),et()},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:h}=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&h?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&h?X(c,d,n,o,r,i,a,s,l):ee(c,r,i,!0):(8&u&&g(n,""),16&h&&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 h;for(h=0;h<p;h++){const o=t[h]=c?mi(t[h]):gi(t[h]);_(e[h],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,h=d-1;for(;u<=p&&u<=h;){const o=e[u],i=t[u]=c?mi(t[u]):gi(t[u]);if(!ai(o,i))break;_(o,i,n,null,r,a,s,l,c),u++}for(;u<=p&&u<=h;){const o=e[p],i=t[h]=c?mi(t[h]):gi(t[h]);if(!ai(o,i))break;_(o,i,n,null,r,a,s,l,c),p--,h--}if(u>p){if(u<=h){const e=h+1,i=e<d?t[e].el:o;for(;u<=h;)_(null,t[u]=c?mi(t[u]):gi(t[u]),n,i,r,a,s,l,c),u++}}else if(u>h)for(;u<=p;)K(e[u],r,a,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=h;u++){const e=t[u]=c?mi(t[u]):gi(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=h-g+1;let w=!1,x=0;const T=new Array(b);for(u=0;u<b;u++)T[u]=0;for(u=f;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<=h;v++)if(0===T[v-g]&&ai(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===Yr){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===Kr)return void k(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),n(a,t,o),zr((()=>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&&qr(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,f=!Eo(e);let g;if(f&&(g=a&&a.onVnodeBeforeUnmount)&&bi(g,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Yr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Yr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Q(e)}(f&&(g=a&&a.onVnodeUnmounted)||h)&&zr((()=>{g&&bi(g,t,e),h&&fo(e,null,t,"unmounted")}),n)},Q=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Yr)return void J(n,r);if(t===Kr)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&&$(o),r.stop(),i&&(i.active=!1,K(a,e,t,n)),s&&zr(s,t),zr((()=>{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(),Dn(),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:Tr(oe,ie)}}(e)}function Vr({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 Ur({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hr(e,t,n=!1){const o=e.children,r=t.children;if(f(o)&&f(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]=mi(r[i]),t.el=e.el),n||Hr(e,t)),t.type===Xr&&(t.el=e.el)}}function Wr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wr(t)}const Yr=Symbol.for("v-fgt"),Xr=Symbol.for("v-txt"),Gr=Symbol.for("v-cmt"),Kr=Symbol.for("v-stc"),Qr=[];let Jr=null;function Zr(e=!1){Qr.push(Jr=e?null:[])}let ei=1;function ti(e){ei+=e}function ni(e){return e.dynamicChildren=ei>0?Jr||i:null,Qr.pop(),Jr=Qr[Qr.length-1]||null,ei>0&&Jr&&Jr.push(e),e}function oi(e,t,n,o,r,i){return ni(ui(e,t,n,o,r,i,!0))}function ri(e,t,n,o,r){return ni(di(e,t,n,o,r,!0))}function ii(e){return!!e&&!0===e.__v_isVNode}function ai(e,t){return e.type===t.type&&e.key===t.key}const si="__vInternal",li=({key:e})=>null!=e?e:null,ci=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?y(e)||dn(e)||v(e)?{i:Un,r:e,k:t,f:!!n}:e:null);function ui(e,t=null,n=null,o=0,r=null,i=(e===Yr?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&ci(t),scopeId:Hn,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:Un};return s?(vi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=y(n)?8:16),ei>0&&!a&&Jr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Jr.push(l),l}const di=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Zn||(e=Gr);if(ii(e)){const o=pi(e,t,!0);return n&&vi(o,n),ei>0&&!i&&Jr&&(6&o.shapeFlag?Jr[Jr.indexOf(e)]=o:Jr.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?nn(e)||si in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=de(e)),_(n)&&(nn(n)&&!f(n)&&(n=u({},n)),t.style=ue(n))}const s=y(e)?1:oo(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:v(e)?2:0;return ui(e,t,n,o,r,s,i,!0)};function pi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?yi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&li(s),ref:t&&t.ref?n&&r?f(r)?r.concat(ci(t)):[r,ci(t)]:ci(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!==Yr?-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&&pi(e.ssContent),ssFallback:e.ssFallback&&pi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function hi(e=" ",t=0){return di(Xr,null,e,t)}function fi(e="",t=!1){return t?(Zr(),ri(Gr,null,e)):di(Gr,null,e)}function gi(e){return null==e||"boolean"==typeof e?di(Gr):f(e)?di(Yr,null,e.slice()):"object"==typeof e?mi(e):di(Xr,null,String(e))}function mi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:pi(e)}function vi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),vi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||si in t?3===o&&Un&&(1===Un.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Un}}else v(t)?(t={default:t,_ctx:Un},n=32):(t=String(t),64&o?(n=16,t=[hi(t)]):n=8);e.children=t,e.shapeFlag|=n}function yi(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=de([t.class,o.class]));else if("style"===e)t.style=ue([t.style,o.style]);else if(l(e)){const n=t[e],r=o[e];!r||n===r||f(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function bi(e,t,n,o=null){_n(e,t,7,[n,o])}const _i=wr();let wi=0;let xi=null;const Ti=()=>xi||Un;let Si,ki;{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)}};Si=t("__VUE_INSTANCE_SETTERS__",(e=>xi=e)),ki=t("__VUE_SSR_SETTERS__",(e=>Mi=e))}const Ci=e=>{const t=xi;return Si(e),e.scope.on(),()=>{e.scope.off(),Si(t)}},Ei=()=>{xi&&xi.scope.off(),Si(null)};function Ai(e){return 4&e.vnode.shapeFlag}let Mi=!1;function Pi(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=yn(t)),Li(e,n)}function Li(e,t,n){const o=e.type;e.render||(e.render=o.render||a);{const t=Ci(e);Ze();try{ur(e)}finally{et(),t()}}}function Oi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yn(rn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ir?ir[n](e):void 0,has:(e,t)=>t in e||t in ir}))}function Ii(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const Ri=(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 ln(o,r,i||!r,n)}(e,0,Mi);return n};function $i(e,t,n){const o=arguments.length;return 2===o?_(t)&&!f(t)?ii(t)?di(e,null,[t]):di(e,t):di(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&ii(n)&&(n=[n]),di(e,t,n))}const Di="3.4.21",Bi="undefined"!=typeof document?document:null,Ni=Bi&&Bi.createElement("template"),ji={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?Bi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Bi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Bi.createElement(e,{is:n}):Bi.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Bi.createTextNode(e),createComment:e=>Bi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bi.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{Ni.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=Ni.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]}},qi="transition",zi=Symbol("_vtc"),Fi=(e,{slots:t})=>$i(bo,function(e){const t={};for(const u in e)u in Vi||(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:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[Wi(e.enter),Wi(e.leave)];{const t=Wi(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:k=b,onAppearCancelled:C=w}=t,E=(e,t,n)=>{Xi(e,t?d:s),Xi(e,t?c:a),n&&n()},A=(e,t)=>{e._isLeaving=!1,Xi(e,p),Xi(e,f),Xi(e,h),t&&t()},M=e=>(t,n)=>{const r=e?k:b,a=()=>E(t,e,n);Ui(r,[t,a]),Gi((()=>{Xi(t,e?l:i),Yi(t,e?d:s),Hi(r)||Qi(t,o,m,a)}))};return u(t,{onBeforeEnter(e){Ui(y,[e]),Yi(e,i),Yi(e,a)},onBeforeAppear(e){Ui(S,[e]),Yi(e,l),Yi(e,c)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Yi(e,p),document.body.offsetHeight,Yi(e,h),Gi((()=>{e._isLeaving&&(Xi(e,p),Yi(e,f),Hi(x)||Qi(e,o,v,n))})),Ui(x,[e,n])},onEnterCancelled(e){E(e,!1),Ui(w,[e])},onAppearCancelled(e){E(e,!0),Ui(C,[e])},onLeaveCancelled(e){A(e),Ui(T,[e])}})}(e),t);Fi.displayName="Transition";const Vi={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};Fi.props=u({},yo,Vi);const Ui=(e,t=[])=>{f(e)?e.forEach((e=>e(...t))):e&&e(...t)},Hi=e=>!!e&&(f(e)?e.some((e=>e.length>1)):e.length>1);function Wi(e){const t=(e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Yi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[zi]||(e[zi]=new Set)).add(t)}function Xi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[zi];n&&(n.delete(t),n.size||(e[zi]=void 0))}function Gi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ki=0;function Qi(e,t,n,o){const r=e._endId=++Ki,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=Ji(r,i),s=o("animationDelay"),l=o("animationDuration"),c=Ji(s,l);let u=null,d=0,p=0;t===qi?a>0&&(u=qi,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?qi:"animation":null,p=u?u===qi?i.length:l.length:0);const h=u===qi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}(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 Ji(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Zi(t)+Zi(e[n]))))}function Zi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const ea=Symbol("_vod"),ta=Symbol("_vsh"),na={beforeMount(e,{value:t},{transition:n}){e[ea]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):oa(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),oa(e,!0),o.enter(e)):o.leave(e,(()=>{oa(e,!1)})):oa(e,t))},beforeUnmount(e,{value:t}){oa(e,t)}};function oa(e,t){e.style.display=t?e[ea]:"none",e[ta]=!t}const ra=Symbol(""),ia=/(^|;)\s*display\s*:/;const aa=/\s*!important$/;function sa(e,t,n){if(f(n))n.forEach((n=>sa(e,t,n)));else if(null==n&&(n=""),n=va(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ca[t];if(n)return n;let o=M(t);if("filter"!==o&&o in e)return ca[t]=o;o=O(o);for(let r=0;r<la.length;r++){const n=la[r]+o;if(n in e)return ca[t]=n}return t}(e,t);aa.test(n)?e.setProperty(L(o),n.replace(aa,""),"important"):e[o]=n}}const la=["Webkit","Moz","ms"],ca={};const{unit:ua,unitRatio:da,unitPrecision:pa}={unit:"rem",unitRatio:10/320,unitPrecision:5},ha=(fa=ua,ga=da,ma=pa,e=>e.replace(Te,((e,t)=>{if(!t)return e;if(1===ga)return`${t}${fa}`;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)*ga,ma);return 0===n?"0":`${n}${fa}`})));var fa,ga,ma;const va=e=>y(e)?ha(e):e,ya="http://www.w3.org/1999/xlink";const ba=Symbol("_vei");function _a(e,t,n,o,r=null){const i=e[ba]||(e[ba]={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(wa.test(e)){let n;for(t={};n=e.match(wa);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):L(e.slice(2)),t]}(t);if(o){const 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&&f(i)){const n=Sa(e,i);for(let o=0;o<n.length;o++){const i=n[o];_n(i,t,5,i.__wwe?[e]:r(e))}}else _n(Sa(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>xa||(Ta.then((()=>xa=0)),xa=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 wa=/(?:Once|Passive|Capture)$/;let xa=0;const Ta=Promise.resolve();function Sa(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const ka=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ca=["ctrl","shift","alt","meta"],Ea={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)=>Ca.some((n=>e[`${n}Key`]&&!t.includes(n)))},Aa=(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=Ea[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Ma=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[zi];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]&&sa(o,t,"")}else for(const e in t)null==n[e]&&sa(o,e,"");for(const e in n)"display"===e&&(i=!0),sa(o,e,n[e])}else if(r){if(t!==n){const e=o[ra];e&&(n+=";"+e),o.cssText=n,i=ia.test(n)}}else t&&e.removeAttribute("style");ea in e&&(e[ea]=i?o.display:"",e[ta]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)sa(o,s,a[s])}(e,n,o):l(t)?c(t)||_a(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&&ka(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(ka(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(ya,t.slice(6,t.length)):e.setAttributeNS(ya,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))},ji);let Pa;const La=(...e)=>{const t=(Pa||(Pa=Fr(Ma))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(y(e)){return document.querySelector(e)}return e}
  21. /*!
  22. * vue-router v4.4.4
  23. * (c) 2024 Eduardo San Martin Morote
  24. * @license MIT
  25. */(e);if(!o)return;const 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 Oa="undefined"!=typeof document;function Ia(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Ra=Object.assign;function $a(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ba(r)?r.map(e):e(r)}return n}const Da=()=>{},Ba=Array.isArray,Na=/#/g,ja=/&/g,qa=/\//g,za=/=/g,Fa=/\?/g,Va=/\+/g,Ua=/%5B/g,Ha=/%5D/g,Wa=/%5E/g,Ya=/%60/g,Xa=/%7B/g,Ga=/%7C/g,Ka=/%7D/g,Qa=/%20/g;function Ja(e){return encodeURI(""+e).replace(Ga,"|").replace(Ua,"[").replace(Ha,"]")}function Za(e){return Ja(e).replace(Va,"%2B").replace(Qa,"+").replace(Na,"%23").replace(ja,"%26").replace(Ya,"`").replace(Xa,"{").replace(Ka,"}").replace(Wa,"^")}function es(e){return null==e?"":function(e){return Ja(e).replace(Na,"%23").replace(Fa,"%3F")}(e).replace(qa,"%2F")}function ts(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const ns=/\/$/;function os(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:ts(a)}}function rs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function is(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function as(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ss(e[n],t[n]))return!1;return!0}function ss(e,t){return Ba(e)?ls(e,t):Ba(t)?ls(t,e):e===t}function ls(e,t){return Ba(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const cs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var us,ds,ps,hs;function fs(e){if(!e)if(Oa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(ns,"")}(ds=us||(us={})).pop="pop",ds.push="push",(hs=ps||(ps={})).back="back",hs.forward="forward",hs.unknown="";const gs=/^[^#]+#/;function ms(e,t){return e.replace(gs,"#")+t}const vs=()=>({left:window.scrollX,top:window.scrollY});function ys(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 bs(e,t){return(history.state?history.state.position-t:-1)+e}const _s=new Map;function ws(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),rs(n,"")}return rs(n,e)+o+r}function xs(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?vs():null}}function Ts(e){const{history:t,location:n}=window,o={value:ws(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=Ra({},r.value,t.state,{forward:e,scroll:vs()});i(a.current,a,!0),i(e,Ra({},xs(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ra({},t.state,xs(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Ss(e){const t=Ts(e=fs(e)),n=function(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=ws(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:us.pop,direction:u?u>0?ps.forward:ps.back:ps.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ra({},e.state,{scroll:vs()}),"")}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=Ra({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ms.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 ks(e){return"string"==typeof e||"symbol"==typeof e}const Cs=Symbol("");var Es,As;function Ms(e,t){return Ra(new Error,{type:e,[Cs]:!0},t)}function Ps(e,t){return e instanceof Error&&Cs in e&&(null==t||!!(e.type&t))}(As=Es||(Es={}))[As.aborted=4]="aborted",As[As.cancelled=8]="cancelled",As[As.duplicated=16]="duplicated";const Ls={sensitive:!1,strict:!1,start:!0,end:!0},Os=/[.+*?^${}()[\]/\\]/g;function Is(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 Rs(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=Is(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if($s(o))return 1;if($s(r))return-1}return r.length-o.length}function $s(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ds={type:0,value:""},Bs=/[a-zA-Z0-9_]/;function Ns(e,t,n){const o=function(e,t){const n=Ra({},Ls,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(Os,"\\$&"),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(Ba(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Ba(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[[Ds]];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:Bs.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=Ra(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function js(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:zs(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Us(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(Ra({},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=Ns(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!Fs(d)&&i(e.name)),Hs(d)&&a(d),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}return p?()=>{i(p)}:Da}function i(e){if(ks(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){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Rs(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(Hs(t)&&0===Rs(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Fs(e)&&o.set(e.record.name,e)}return t=Us({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 Ms(1,{location:e});a=r.record.name,s=Ra(qs(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&qs(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 Ms(1,{location:e,currentLocation:t});a=r.record.name,s=Ra({},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:Vs(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function qs(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function zs(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 Fs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vs(e){return e.reduce(((e,t)=>Ra(e,t.meta)),{})}function Us(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Hs({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ws(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(Va," "),r=e.indexOf("="),i=ts(r<0?e:e.slice(0,r)),a=r<0?null:ts(e.slice(r+1));if(i in t){let e=t[i];Ba(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Ys(e){let t="";for(let n in e){const o=e[n];if(n=Za(n).replace(za,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(Ba(o)?o.map((e=>e&&Za(e))):[o&&Za(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Xs(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ba(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Gs=Symbol(""),Ks=Symbol(""),Qs=Symbol(""),Js=Symbol(""),Zs=Symbol("");function el(){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 tl(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(Ms(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(Ms(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 nl(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(Ia(s)){const l=(s.__vccOpts||s)[t];l&&i.push(tl(l,n,o,a,e,r))}else{let l=s();i.push((()=>l.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Ia(l.default)?i.default:i;var l;a.mods[e]=i,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&tl(c,n,o,a,e,r)()}))))}}return i}function ol(e){const t=Cr(Qs),n=Cr(Js),o=Ri((()=>{const n=mn(e.to);return t.resolve(n)})),r=Ri((()=>{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(is.bind(null,r));if(a>-1)return a;const s=al(e[t-2]);return t>1&&al(r)===s&&i[i.length-1].path!==s?i.findIndex(is.bind(null,e[t-2])):a})),i=Ri((()=>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(!Ba(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),a=Ri((()=>r.value>-1&&r.value===n.matched.length-1&&as(n.params,o.value.params)));return{route:o,href:Ri((()=>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[mn(e.replace)?"replace":"push"](mn(e.to)).catch(Da):Promise.resolve()}}}const rl=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:ol,setup(e,{slots:t}){const n=Gt(ol(e)),{options:o}=Cr(Qs),r=Ri((()=>({[sl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[sl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:$i("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),il=rl;function al(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sl=(e,t,n)=>null!=e?e:null!=t?t:n,ll=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(Zs),r=Ri((()=>e.route||o.value)),i=Cr(Ks,0),a=Ri((()=>{let e=mn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Ri((()=>r.value.matched[a.value]));kr(Ks,Ri((()=>a.value+1))),kr(Gs,s),kr(Zs,r);const l=pn();return so((()=>[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&&is(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 cl(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=$i(c,Ra({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return cl(n.default,{Component:p,route:o})||p}}});function cl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ul=ll;function dl(e){const t=js(e.routes,e),n=e.parseQuery||Ws,o=e.stringifyQuery||Ys,r=e.history,i=el(),a=el(),s=el(),l=hn(cs);let c=cs;Oa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$a.bind(null,(e=>""+e)),d=$a.bind(null,es),p=$a.bind(null,ts);function h(e,i){if(i=Ra({},i||l.value),"string"==typeof e){const o=os(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return Ra(o,a,{params:p(a.params),hash:ts(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Ra({},e,{path:os(n,e.path,i.path).path});else{const t=Ra({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Ra({},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 h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ra({},e,{hash:(f=c,Ja(f).replace(Xa,"{").replace(Ka,"}").replace(Wa,"^")),path:s.path}));var f;const g=r.createHref(h);return Ra({fullPath:h,hash:c,query:o===Ys?Xs(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function f(e){return"string"==typeof e?os(n,e,l.value.path):Ra({},e)}function g(e,t){if(c!==e)return Ms(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=f(o):{path:o},o.params={}),Ra({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return y(Ra(f(u),{state:"object"==typeof u?Ra({},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&&is(t.matched[o],n.matched[r])&&as(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=Ms(16,{to:d,from:r}),L(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>Ps(e)?Ps(e,2)?e:P(e):M(e,d,r))).then((e=>{if(e){if(Ps(e,2))return y(Ra({replace:s},f(e.to),{state:"object"==typeof e.to?Ra({},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=R.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=>is(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>is(e,s)))||r.push(s))}return[n,o,r]}(e,t);n=nl(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(tl(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(tl(o,e,t));return n.push(l),D(n)})).then((()=>{n=nl(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(tl(o,e,t))}));return n.push(l),D(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(Ba(o.beforeEnter))for(const r of o.beforeEnter)n.push(tl(r,e,t));else n.push(tl(o.beforeEnter,e,t));return n.push(l),D(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=nl(s,"beforeRouteEnter",e,t,_),n.push(l),D(n)))).then((()=>{n=[];for(const o of a.list())n.push(tl(o,e,t));return n.push(l),D(n)})).catch((e=>Ps(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===cs,c=Oa?history.state:{};n&&(o||s?r.replace(e.fullPath,Ra({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,L(e,t,n,s),P()}let S;function k(){S||(S=r.listen(((e,t,n)=>{if(!$.listening)return;const o=h(e),i=v(o);if(i)return void y(Ra(i,{replace:!0}),o).catch(Da);c=o;const a=l.value;var s,u;Oa&&(s=bs(a.fullPath,n.delta),u=vs(),_s.set(s,u)),w(o,a).catch((e=>Ps(e,12)?e:Ps(e,2)?(y(e.to,o).then((e=>{Ps(e,20)&&!n.delta&&n.type===us.pop&&r.go(-1,!1)})).catch(Da),Promise.reject()):(n.delta&&r.go(-n.delta,!1),M(e,o,a)))).then((e=>{(e=e||T(o,a,!1))&&(n.delta&&!Ps(e,8)?r.go(-n.delta,!1):n.type===us.pop&&Ps(e,20)&&r.go(-1,!1)),x(o,a,e)})).catch(Da)})))}let C,E=el(),A=el();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 C||(C=!e,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function L(t,n,o,r){const{scrollBehavior:i}=e;if(!Oa||!i)return Promise.resolve();const a=!o&&function(e){const t=_s.get(e);return _s.delete(e),t}(bs(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return On().then((()=>i(t,n,a))).then((e=>e&&ys(e))).catch((e=>M(e,t,n)))}const O=e=>r.go(e);let I;const R=new Set,$={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ks(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:m,replace:function(e){return m(Ra(f(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:A.add,isReady:function(){return C&&l.value!==cs?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",il),e.component("RouterView",ul),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>mn(l)}),Oa&&!I&&l.value===cs&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in cs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Qs,this),e.provide(Js,Kt(t)),e.provide(Zs,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=cs,S&&S(),S=null,l.value=cs,I=!1,C=!1),n()}}};function D(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return $}function pl(e){return Cr(Js)}const hl=["{","}"];const fl=/^(?:\d)+/,gl=/^(?:\w)+/;const ml=Object.prototype.hasOwnProperty,vl=(e,t)=>ml.call(e,t),yl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=hl){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=fl.test(t)?"list":s&&gl.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 bl(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 _l{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||yl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=bl(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=>{vl(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=bl(t,this.messages))&&(o=this.messages[t]):n=t,vl(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 wl(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 _l({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=sy().$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 xl(e,t){return e.indexOf(t[0])>-1}var Tl=Object.defineProperty,Sl=(e,t,n)=>(((e,t,n)=>{t in e?Tl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const kl=me((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Cl;function El(e){return xl(e,ne)?Pl().f(e,function(){const e=uni.getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ne):e}function Al(e,t){if(1===t.length){if(e){const n=e=>y(e)&&xl(e,ne),o=t[0];let r=[];if(f(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 Al(e&&e[n],t)}function Ml(e,t){const n=Al(e,t);if(!n)return!1;const o=t[t.length-1];if(f(n))n.forEach((e=>Ml(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>El(e),set(t){e=t}})}return!0}function Pl(){if(!Cl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Cl=wl(e),kl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Cl.add(e,__uniConfig.locales[e]))),Cl.setLocale(e)}}return Cl}function Ll(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Ol=me((()=>{const e="uni.async.",t=["error"];Pl().add("en",Ll(e,t,["The connection timed out, click the screen to try again."]),!1),Pl().add("es",Ll(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Pl().add("fr",Ll(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Pl().add("zh-Hans",Ll(e,t,["连接服务器超时,点击屏幕重试"]),!1),Pl().add("zh-Hant",Ll(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Il=me((()=>{const e="uni.showActionSheet.",t=["cancel"];Pl().add("en",Ll(e,t,["Cancel"]),!1),Pl().add("es",Ll(e,t,["Cancelar"]),!1),Pl().add("fr",Ll(e,t,["Annuler"]),!1),Pl().add("zh-Hans",Ll(e,t,["取消"]),!1),Pl().add("zh-Hant",Ll(e,t,["取消"]),!1)})),Rl=me((()=>{const e="uni.showToast.",t=["unpaired"];Pl().add("en",Ll(e,t,["Please note showToast must be paired with hideToast"]),!1),Pl().add("es",Ll(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Pl().add("fr",Ll(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Pl().add("zh-Hans",Ll(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Pl().add("zh-Hant",Ll(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),$l=me((()=>{const e="uni.showLoading.",t=["unpaired"];Pl().add("en",Ll(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Pl().add("es",Ll(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Pl().add("fr",Ll(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Pl().add("zh-Hans",Ll(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Pl().add("zh-Hant",Ll(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Dl=me((()=>{const e="uni.showModal.",t=["cancel","confirm"];Pl().add("en",Ll(e,t,["Cancel","OK"]),!1),Pl().add("es",Ll(e,t,["Cancelar","OK"]),!1),Pl().add("fr",Ll(e,t,["Annuler","OK"]),!1),Pl().add("zh-Hans",Ll(e,t,["取消","确定"]),!1),Pl().add("zh-Hant",Ll(e,t,["取消","確定"]),!1)})),Bl=me((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Pl().add("en",Ll(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Pl().add("es",Ll(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Pl().add("fr",Ll(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),Pl().add("zh-Hans",Ll(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Pl().add("zh-Hant",Ll(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Nl=me((()=>{const e="uni.setClipboardData.",t=["success","fail"];Pl().add("en",Ll(e,t,["Content copied","Copy failed, please copy manually"]),!1),Pl().add("es",Ll(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Pl().add("fr",Ll(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Pl().add("zh-Hans",Ll(e,t,["内容已复制","复制失败,请手动复制"]),!1),Pl().add("zh-Hant",Ll(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),jl=me((()=>{const e="uni.getClipboardData.",t=["fail"];Pl().add("en",Ll(e,t,["Reading failed, please paste manually"]),!1),Pl().add("es",Ll(e,t,["Error de lectura, pegue manualmente"]),!1),Pl().add("fr",Ll(e,t,["Échec de la lecture, veuillez coller manuellement"]),!1),Pl().add("zh-Hans",Ll(e,t,["读取失败,请手动粘贴"]),!1),Pl().add("zh-Hant",Ll(e,t,["讀取失敗,請手動粘貼"]),!1)})),ql=me((()=>{const e="uni.picker.",t=["done","cancel"];Pl().add("en",Ll(e,t,["Done","Cancel"]),!1),Pl().add("es",Ll(e,t,["OK","Cancelar"]),!1),Pl().add("fr",Ll(e,t,["OK","Annuler"]),!1),Pl().add("zh-Hans",Ll(e,t,["完成","取消"]),!1),Pl().add("zh-Hant",Ll(e,t,["完成","取消"]),!1)})),zl=me((()=>{const e="uni.video.",t=["danmu","volume"];Pl().add("en",Ll(e,t,["Danmu","Volume"]),!1),Pl().add("es",Ll(e,t,["Danmu","Volumen"]),!1),Pl().add("fr",Ll(e,t,["Danmu","Le Volume"]),!1),Pl().add("zh-Hans",Ll(e,t,["弹幕","音量"]),!1),Pl().add("zh-Hant",Ll(e,t,["彈幕","音量"]),!1)})),Fl=me((()=>{const e="uni.chooseLocation.",t=["search","cancel"];Pl().add("en",Ll(e,t,["Find Place","Cancel"]),!1),Pl().add("es",Ll(e,t,["Encontrar","Cancelar"]),!1),Pl().add("fr",Ll(e,t,["Trouve","Annuler"]),!1),Pl().add("zh-Hans",Ll(e,t,["搜索地点","取消"]),!1),Pl().add("zh-Hant",Ll(e,t,["搜索地點","取消"]),!1)}));function Vl(e){const t=new Ne;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 Ul=1;const Hl=Object.create(null);function Wl(e,t){return e+"."+t}function Yl(e,t,n){t=Wl(e,t),Hl[t]||(Hl[t]=n)}function Xl({id:e,name:t,args:n},o){t=Wl(o,t);const r=t=>{e&&mT.publishHandler("invokeViewApi."+e,t)},i=Hl[t];i?i(n,r):r({})}const Gl=u(Vl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=mT,i=n?Ul++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Kl=Se(!0);let Ql;function Jl(){Ql&&(clearTimeout(Ql),Ql=null)}let Zl=0,ec=0;function tc(e){if(Jl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Zl=t,ec=n,Ql=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 nc(e){if(!Ql)return;if(1!==e.touches.length)return Jl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Zl)>10||Math.abs(n-ec)>10?Jl():void 0}function oc(e,t){const n=Number(e);return isNaN(n)?t:n}function rc(){const e=__uniConfig.globalStyle||{},t=oc(e.rpxCalcMaxDeviceWidth,960),n=oc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor);var t=e&&window.matchMedia("(orientation:landscape)").matches?Math.max(screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t:Math.min(window.innerWidth,document.documentElement.clientWidth)}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o),/^Apple/.test(navigator.vendor)&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}function ic(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ac,sc,lc=["top","left","right","bottom"],cc={};function uc(){return sc="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 dc(){if(sc="string"==typeof sc?sc:uc()){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"}),lc.forEach((function(e){a(o,e)})),document.body.appendChild(o),i(),ac=!0}else lc.forEach((function(e){cc[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:sc+"(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){hc.length||setTimeout((function(){var e={};hc.forEach((function(t){e[t]=cc[t]})),hc.length=0,fc.forEach((function(t){t(e)}))}),0);hc.push(e)}(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(cc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function pc(e){return ac||dc(),cc[e]}var hc=[];var fc=[];var gc={get support(){return 0!=("string"==typeof sc?sc:uc()).length},get top(){return pc("top")},get left(){return pc("left")},get right(){return pc("right")},get bottom(){return pc("bottom")},onChange:function(e){uc()&&(ac||dc(),"function"==typeof e&&fc.push(e))},offChange:function(e){var t=fc.indexOf(e);t>=0&&fc.splice(t,1)}};const mc=ic(gc),vc=Aa((()=>{}),["prevent"]),yc=Aa((e=>{}),["stop"]);function bc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function _c(){const e=bc(document.documentElement.style,"--window-top");return e?e+mc.top:0}function wc(){const e=document.documentElement.style,t=_c(),n=bc(e,"--window-bottom"),o=bc(e,"--window-left"),r=bc(e,"--window-right"),i=bc(e,"--top-window-height");return{top:t,bottom:n?n+mc.bottom:0,left:o?o+mc.left:0,right:r?r+mc.right:0,topWindowHeight:i||0}}function xc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Tc(e){return xc(e)}function Sc(e){return Symbol(e)}function kc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Cc(e,t=!1){if(t)return function(e){if(!kc(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 kc(e)?uni.upx2px(t):t}return e}function Ec(e){return e.$page}function Ac(e){return 0===e.tagName.indexOf("UNI-")}const Mc="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",Pc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",Lc="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",Oc="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",Ic="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 Rc(e,t="#000",n=27){return di("svg",{width:n,height:n,viewBox:"0 0 32 32"},[di("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function $c(){{const{$pageInstance:e}=Ti();return e&&Vc(e.proxy)}}function Dc(e){const t=se(e);if(t.$page)return Vc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Vc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Vc(n):void 0}function Bc(){const e=_g(),t=e.length;if(t)return e[t-1]}function Nc(){var e;const t=null==(e=Bc())?void 0:e.$page;if(t)return t.meta}function jc(){const e=Nc();return e?e.id:-1}function qc(){const e=Bc();if(e)return e.$vm}const zc=["navigationBar","pullToRefresh"];function Fc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);zc.forEach((t=>{o[t]=u({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Vc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Uc(e,t,n){if(y(e))n=t,t=e,e=qc();else if("number"==typeof e){const t=_g().find((t=>Ec(t).id===e));e=t?t.$vm:qc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n);var r,i}function Hc(e){e.preventDefault()}let Wc,Yc=0;function Xc({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-Yc)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(Yc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(Wc=setTimeout(a,300))),o=!1};return function(){clearTimeout(Wc),o||requestAnimationFrame(a),o=!0}}function Gc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Gc(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),he(i.concat(n).join("/"))}function Kc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Qc(){rc(),we(Ac),window.addEventListener("touchstart",tc,Kl),window.addEventListener("touchmove",nc,Kl),window.addEventListener("touchend",Jl,Kl),window.addEventListener("touchcancel",Jl,Kl)}class Jc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ce(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&&ce(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=nu(this.$el.querySelector(e));return t?Zc(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=nu(n[o]);e&&t.push(Zc(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:L(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&&mT.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 Zc(e,t=!0){if(t&&e&&(e=le(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Jc(e)),e.$el.__wxsComponentDescriptor}function eu(e,t){return Zc(e,t)}function tu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>eu(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=le(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,eu(r,!1)]}}function nu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function ou(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let a,s;a=ke(t?r:function(e){for(;!Ac(e);)e=e.parentElement;return e}(r)),s=ke(i);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return"undefined"!=typeof CustomEvent&&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 ru(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function iu(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 au=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!Ac(o);if(r)return tu(e,t,n,!1)||[e];const i=ou(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=_c();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[ru(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=_c();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[ru(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=_c();i.touches=iu(e.touches,t),i.changedTouches=iu(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 tu(i,t,n)||[i]},createNativeEvent:ou},Symbol.toStringTag,{value:"Module"});function su(e){!function(e){const t=e.globalProperties;u(t,au),t.$gcd=eu}(e._context.config)}let lu=1;function cu(e){return(e||jc())+".invokeViewApi"}const uu=u(Vl("view"),{invokeOnCallback:(e,t)=>yT.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=yT,a=o?lu++:0;o&&r("invokeViewApi."+a,o,!0),i(cu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=yT,s=lu++,l="invokeViewApi."+s;return r(l,n),a(cu(o),{id:s,name:e,args:t},o),()=>{i(l)}}});function du(e){Uc(Bc(),"onResize",e),yT.invokeOnCallback("onWindowResize",e)}function pu(e){const t=Bc();Uc(sy(),"onShow",e),Uc(t,"onShow")}function hu(){Uc(sy(),"onHide"),Uc(Bc(),"onHide")}const fu=["onPageScroll","onReachBottom"];function gu(){fu.forEach((e=>yT.subscribe(e,function(e){return(t,n)=>{Uc(parseInt(n),e,t)}}(e))))}function mu(){!function(){const{on:e}=yT;e("onResize",du),e("onAppEnterForeground",pu),e("onAppEnterBackground",hu)}(),gu()}function vu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Le(this.$page.id)),e.eventChannel}}function yu(e){e._context.config.globalProperties.getOpenerEventChannel=vu}function bu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function _u(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 wu(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(_u)),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)?_u(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 xu={props:["animation"],watch:{animation:{deep:!0,handler(){wu(this)}}},mounted(){wu(this)}},Tu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(xu),Su(e)},Su=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Co(e));function ku(e){return e.__wwe=!0,e}function Cu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=ke(n);return{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Eu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Au(e){const t=pn(!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:ku((function(e){e.touches.length>1||a(e)})),onMousedown:ku((function(e){r||(a(e),window.addEventListener("mouseup",l))})),onTouchend:ku((function(){s()})),onMouseup:ku((function(){r&&l()})),onTouchcancel:ku((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Mu(e,t){return y(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Pu=Sc("uf"),Lu=Tu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=pn(null);return function(e){const t=[];kr(Pu,{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)}})}(Cu(o,n)),()=>di("uni-form",{ref:o},[di("span",null,[t.default&&t.default()])],512)}});const Ou=Sc("ul");function Iu(e,t,n){const o=$c();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&mT.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?mT.on(r,t[r]):e&&mT.on(`uni-${r}-${o}-${e}`,t[r])}))}function Ru(e,t,n){const o=$c();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&mT.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?mT.off(r,t[r]):e&&mT.off(`uni-${r}-${o}-${e}`,t[r])}))}const $u=Tu({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=pn(null),o=Cr(Pu,!1),{hovering:r,binding:i}=Au(e),a=ku(((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(Ou,!1);return s&&(s.addHandler(a),Go((()=>{s.removeHandler(a)}))),function(e,t){Iu(e.id,t),so((()=>e.id),((e,n)=>{Ru(n,t,!0),Iu(e,t,!0)})),Ko((()=>{Ru(e.id,t)}))}(e,{"label-click":a}),()=>{const o=e.hoverClass,s=Mu(e,"disabled"),l=Mu(e,"loading"),c=Mu(e,"plain"),u=o&&"none"!==o;return di("uni-button",yi({ref:n,onClick:a,id:e.id,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Du=Sc("upm");function Bu(){return Cr(Du)}function Nu(e){const t=function(e){return Gt(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Cc(e.offset)),e.height&&(e.height=Cc(e.height)),e.range&&(e.range=Cc(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+mc.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!==_g().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Fc(pl().meta,e)))))}(e);return kr(Du,t),t}function ju(){return pl()}function qu(){return history.state&&history.state.__id__||1}var zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fu=function(){const e=new Uint8Array(256);for(var t=0;t<zu.length;t++)e[zu.charCodeAt(t)]=t;return e}();const Vu=["original","compressed"],Uu=["album","camera"],Hu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Wu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Yu(e,t){return!f(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Xu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Gu=1;const Ku={};function Qu(e,t,n,o=!1){return Ku[e]={name:t,keepAlive:o,callback:n},e}function Ju(e,t,n){if("number"==typeof e){const o=Ku[e];if(o)return o.keepAlive||delete Ku[e],o.callback(t,n)}return t}function Zu(e){for(const t in Ku)if(Ku[t].name===e)return!0;return!1}const ed="success",td="fail",nd="complete";function od(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]=Xu(o),delete e[n])}return t}(t),s=v(r),l=v(i),c=v(a),u=Gu++;return Qu(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 rd="success",id="fail",ad="complete",sd={},ld={};function cd(e,t){return function(n){return e(n,t)||n}}function ud(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(cd(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 dd(e,t={}){return[rd,id,ad].forEach((n=>{const o=e[n];if(!f(o))return;const r=t[n];t[n]=function(e){ud(o,e,t).then((e=>v(r)&&r(e)||e))}})),t}function pd(e,t){const n=[];f(sd.returnValue)&&n.push(...sd.returnValue);const o=ld[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function hd(e){const t=Object.create(null);Object.keys(sd).forEach((e=>{"returnValue"!==e&&(t[e]=sd[e].slice())}));const n=ld[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function fd(e,t,n,o){const r=hd(e);if(r&&Object.keys(r).length){if(f(r.invoke)){return ud(r.invoke,n).then((n=>t(dd(hd(e),n),...o)))}return t(dd(r,n),...o)}return t(n,...o)}function gd(e,t){return(n={},...o)=>function(e){return!(!S(e)||![ed,td,nd].find((t=>v(e[t]))))}(n)?pd(e,fd(e,t,u({},n),o)):pd(e,new Promise(((r,i)=>{fd(e,t,u({},n,{success:r,fail:i}),o)})))}function md(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=function(e){const t=e[0];if(S(t))return t;const n={};return e[0]=n,n}(e),r=t.formatArgs,i=Object.keys(r);for(let a=0;a<i.length;a++){const e=i[a],t=r[e];if(v(t)){const n=t(o[e],o);if(y(n))return n}else h(o,e)||(o[e]=t)}}function vd(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,Ju(e,u({errMsg:i},o))}function yd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(y(e))return e}const r=md(t,o);if(r)return r}function bd(e){if(!v(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function _d(e,t,n){return o=>{bd(o);const r=yd(0,[o],0,n);if(r)throw new Error(r);const i=!Zu(e);!function(e,t){Qu(Gu++,e,t,!0)}(e,o),i&&(!function(e,t){const n="api."+e;yT.on(n,(t=>{for(const n in Ku){const o=Ku[n];o.name===e&&o.callback(t)}}))}(e),t())}}function wd(e,t,n){return o=>{bd(o);const r=yd(0,[o],0,n);if(r)throw new Error(r);const i=e.replace("off","on");!function(e,t){for(const n in Ku){const o=Ku[n];o.callback===t&&o.name===e&&delete Ku[n]}}(i,o);Zu(i)||(!function(e,t){const n="api."+e;yT.off(n)}(i),t())}}function xd(e,t,n,o){return n=>{const r=od(e,n,o),i=yd(0,[n],0,o);return i?vd(r,e,i):t(n,{resolve:t=>function(e,t,n){return Ju(e,u(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>vd(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 Td(e,t,n){return _d(e,t,n)}function Sd(e,t,n){return wd(e,t,n)}function kd(e,t,n,o){return gd(e,xd(e,t,0,o))}function Cd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=yd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Ed(e,t,n,o){return gd(e,function(e,t,n,o){return xd(e,t,0,o)}(e,t,0,o))}function Ad(e){return`method 'uni.${e}' not supported`}function Md(e){return()=>{console.error(Ad(e))}}const Pd=Md;function Ld(e){return(t,{reject:n})=>n(Ad(e))}const Od=Cd(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=Fu[e.charCodeAt(t)],o=Fu[e.charCodeAt(t+1)],r=Fu[e.charCodeAt(t+2)],i=Fu[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))),Id=Cd(0,(e=>function(e){var t,n=new Uint8Array(e),o=n.length,r="";for(t=0;t<o;t+=3)r+=zu[n[t]>>2],r+=zu[(3&n[t])<<4|n[t+1]>>4],r+=zu[(15&n[t+1])<<2|n[t+2]>>6],r+=zu[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 Rd=!1,$d=0,Dd=0,Bd=960,Nd=375,jd=750;function qd(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=qf();return{platform:Mf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}$d=e,Dd=t,Rd="ios"===n}function zd(e,t){const n=Number(e);return isNaN(n)?t:n}const Fd=Cd(0,((e,t)=>{if(0===$d&&(qd(),function(){const e=__uniConfig.globalStyle||{};Bd=zd(e.rpxCalcMaxDeviceWidth,960),Nd=zd(e.rpxCalcBaseDeviceWidth,375),jd=zd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||$d;n=e===jd||n<=Bd?n:Nd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Dd&&Rd?.5:1),e<0?-o:o}));function Vd(e,t){Object.keys(t).forEach((n=>{v(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):f(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 Ud(e,t){e&&t&&Object.keys(t).forEach((n=>{const o=e[n],r=t[n];f(o)&&v(r)&&d(o,r)}))}const Hd=Cd(0,((e,t)=>{y(e)&&S(t)?Vd(ld[e]||(ld[e]={}),t):S(e)&&Vd(sd,e)})),Wd=Cd(0,((e,t)=>{y(e)?S(t)?Ud(ld[e],t):delete ld[e]:S(e)&&Ud(sd,e)}));const Yd=new class{constructor(){this.$emitter=new Ne}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)}},Xd=Cd(0,((e,t)=>(Yd.on(e,t),()=>Yd.off(e,t)))),Gd=Cd(0,((e,t)=>(Yd.once(e,t),()=>Yd.off(e,t)))),Kd=Cd(0,((e,t)=>{f(e)||(e=e?[e]:[]),e.forEach((e=>{Yd.off(e,t)}))})),Qd=Cd(0,((e,...t)=>{Yd.emit(e,...t)}));const Jd=[.5,.8,1,1.25,1.5,2];class Zd{constructor(e,t){this.id=e,this.pageId=t}play(){Ng(this.id,this.pageId,"play")}pause(){Ng(this.id,this.pageId,"pause")}stop(){Ng(this.id,this.pageId,"stop")}seek(e){Ng(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Ng(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Jd.indexOf(e)||(e=1),Ng(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Ng(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Ng(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Ng(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Ng(this.id,this.pageId,"hideStatusBar")}}const ep=Cd(0,((e,t)=>new Zd(e,Dc(t||qc())))),tp=(e,t,n,o)=>{!function(e,t,n,o,r){yT.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 np{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){tp(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){tp(this.id,this.pageId,"moveToLocation",e)}getScale(e){tp(this.id,this.pageId,"getScale",e)}getRegion(e){tp(this.id,this.pageId,"getRegion",e)}includePoints(e){tp(this.id,this.pageId,"includePoints",e)}translateMarker(e){tp(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){tp(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){tp(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){tp(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){tp(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){tp(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){tp(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){tp(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){tp(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){tp(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){tp(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){tp(this.id,this.pageId,"openMapApp",e)}on(e,t){tp(this.id,this.pageId,"on",{name:e,callback:t})}}const op=Cd(0,((e,t)=>new np(e,Dc(t||qc()))));function rp(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const ip=rp("width"),ap=rp("height"),sp={formatArgs:{x:rp("x"),y:rp("y"),width:ip,height:ap}},lp={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}},cp=sp,up=(Uint8ClampedArray,{PNG:"png",JPG:"jpg",JPEG:"jpg"}),dp={formatArgs:{x:rp("x",0),y:rp("y",0),width:ip,height:ap,destWidth:rp("destWidth"),destHeight:rp("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=up[e];n||(n=up.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function pp(e,t,n,o,r){yT.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var hp=["scale","rotate","translate","setTransform","transform"],fp=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],gp=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const mp={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 vp(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(h(mp,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(mp[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 yp{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,vp(t)])}}class bp{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class _p{constructor(e){this.width=e}}class wp{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=[],pp(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new yp("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new yp("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 bp(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 _p(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 xp=me((()=>{[...hp,...fp].forEach((function(e){wp.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)})),gp.forEach((function(e){wp.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",vp(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=vp(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)}))})),Tp=Cd(0,((e,t)=>{if(xp(),t)return new wp(e,Dc(t));const n=Dc(qc());if(n)return new wp(e,n);yT.emit("onError","createCanvasContext:fail")})),Sp=Ed("canvasGetImageData",(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:a})=>{const s=Dc(qc());s?pp(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,sp),kp=Ed("canvasPutImageData",(({canvasId:e,data:t,x:n,y:o,width:r,height:i},{resolve:a,reject:s})=>{var l=Dc(qc());if(!l)return void s();t=Array.prototype.slice.call(t),pp(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,cp),Cp=Ed("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=Dc(qc());if(!d)return void u();pp(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,dp),Ep=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],Ap=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"];let Mp=0,Pp={};const Lp={thresholds:[0],initialRatio:0,observeAll:!1},Op=["top","right","bottom","left"];let Ip=1;function Rp(e={}){return Op.map((t=>`${Number(e[t])||0}px`)).join(" ")}class $p{constructor(e,t){this._pageId=Dc(e),this._component=e,this._options=u({},Lp,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Rp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Rp(e),this}observe(e,t){v(t)&&(this._options.selector=e,this._reqId=Ip++,function({reqId:e,component:t,options:n,callback:o},r){const i=$g(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=f(e.rootBounds),this.boundingClientRect=f(e.boundingClientRect),this.intersectionRect=f(e.intersectionRect||h()),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):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function f(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):h(),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():h();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=h();var f=n.entry=new i({time:s(),target:r,boundingClientRect:a,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),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 h=v(s),f=h&&p(h),m=h&&this._computeTargetAndRootIntersection(h,f,i);f&&m?(s=h,c=g(f,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:mf(e),intersectionRect:ff(e.intersectionRect),boundingClientRect:ff(e.boundingClientRect),relativeRect:ff(e.rootBounds),time:Date.now(),dataset:gf(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.matches(t.selector)?e: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=$g(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Dp=Cd(0,((e,t)=>((e=se(e))&&!Dc(e)&&(t=e,e=null),new $p(e||qc(),t))));let Bp=1;class Np{constructor(e){this._pageId=(null==e?void 0:e.$page)&&e.$page.id,this._component=e}observe(e,t){v(t)&&(this._reqId=Bp++,function({reqId:e,component:t,options:n,callback:o},r){const i=zg[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(`(${Vg(o)}: ${Number(e[o])}px)`),"orientation"===o&&e[o]&&t.push(`(${Vg(o)}: ${e[o]})`);return t.join(" and ")}(n)),a=Fg[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=Fg[e],r=zg[e];r&&(r.removeListener(o),delete Fg[e],delete zg[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const jp=Cd(0,(e=>((e=se(e))&&!Dc(e)&&(e=null),new Np(e||qc())))),qp={canvas:wp,map:np,video:Zd,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")}insertMention(e){this._exec("insertMention",e)}insertLink(e){this._exec("insertLink",e)}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(Mp++);r.callbackId=e,Pp[e]=o}yT.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(be(Pp[e],t),delete Pp[e])}))}(this.id,this.pageId,e,t)}}};function zp(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=qp[n];e.context=new r(t,o),delete e.contextInfo}}class Fp{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 Vp{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):qg(i,n)?i:i.querySelector(n);return e?jg(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(jg(t,r))})),!l&&qg(i,n)&&e.unshift(jg(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{f(e)?e.forEach(zp):zp(e);const o=n[t];v(o)&&o.call(this,e)})),v(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=se(e),this}select(e){return this._nodesRef=new Fp(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Fp(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Fp(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 Up=Cd(0,(e=>((e=se(e))&&!Dc(e)&&(e=null),new Vp(e||qc())))),Hp={formatArgs:{}},Wp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Yp{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Wp,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 Xp=me((()=>{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=>{Yp.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}}))})),Gp=Cd(0,(e=>(Xp(),new Yp(e))),0,Hp),Kp=Td("onTabBarMidButtonTap",(()=>{})),Qp=Td("onWindowResize",(()=>{})),Jp=Sd("offWindowResize",(()=>{})),Zp=Cd(0,(()=>{const e=sy();return e&&e.$vm?e.$vm.$locale:Pl().getLocale()})),eh=Td("onLocaleChange",(()=>{})),th=Cd(0,(e=>{const t=sy();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage.UNI_LOCALE=e),yT.invokeOnCallback("onLocaleChange",{locale:e}),!0)})),nh=Ed("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)}(qc(),e))})),oh=Ed("getSelectedTextRange",((e,{resolve:t,reject:n})=>{yT.invokeViewMethod("getSelectedTextRange",{},jc(),(e=>{void 0===e.end&&void 0===e.start?n("no focused"):t(e)}))})),rh={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};function ih(e,t){const n=sy();if(n&&n.$vm)return Vo(e,t,n.$vm.$);rh[e].push(t)}function ah(e,t){const n=sy();if(n&&n.$vm)return function(e,t,n){const o=e.$[t];f(o)&&n.__weh&&d(o,n.__weh)}(n.$vm,e,t);d(rh[e],t)}const sh=Cd(0,(()=>cg())),lh=Cd(0,(()=>u({},sg)));let ch,uh,dh;function ph(e){try{return JSON.parse(e)}catch(t){}return e}const hh=[];function fh(e,t){hh.forEach((n=>{n(e,t)})),hh.length=0}const gh=Ed("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===dh&&(dh=!1,ch="",uh="uniPush is not enabled"),hh.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==ch&&fh(ch,uh)}))})),mh=[],vh={formatArgs:{showToast:!0},beforeInvoke(){Nl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Pl(),o=n("uni.setClipboardData.success");o&&uni.showToast({title:o,icon:"success",mask:!1})}},yh=(Boolean,{formatArgs:{filePath(e,t){t.filePath=Bg(e)}}}),bh={formatArgs:{filePath(e,t){t.filePath=Bg(e)}}},_h=["wgs84","gcj02"],wh={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===_h.indexOf(e)?t.type=_h[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},xh=(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)}.`}}),Th={formatArgs:{latitude(e,t){const n=xh("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=xh("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},Sh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Yu(e,Vu)},sourceType(e,t){t.sourceType=Yu(e,Uu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},kh={formatArgs:{sourceType(e,t){t.sourceType=Yu(e,Uu)},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=["*"])}}},Ch=(Boolean,["all","image","video"]),Eh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Yu(e,Uu)},type(e,t){t.type=Wu(e,Ch)},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=[""])}}},Ah={formatArgs:{src(e,t){t.src=Bg(e)}}},Mh={formatArgs:{urls(e,t){t.urls=e.map((e=>y(e)&&e?Bg(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=Bg(e))}}},Ph={formatArgs:{src(e,t){t.src=Bg(e)}}},Lh="json",Oh=["text","arraybuffer"],Ih=encodeURIComponent;ArrayBuffer,Boolean;const Rh={formatArgs:{method(e,t){t.method=Wu((e||"").toUpperCase(),Hu)},data(e,t){t.data=e||""},url(e,t){t.method===Hu[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(h(t,s)){let e=t[s];null==e?e="":S(e)&&(e=JSON.stringify(e)),a[Ih(s)]=Ih(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!==Hu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Lh).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Oh.indexOf(t.responseType)&&(t.responseType="text")}}},$h={formatArgs:{header(e,t){t.header=e||{}}}},Dh={formatArgs:{filePath(e,t){e&&(t.filePath=Bg(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Bh={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Wu((e||"").toUpperCase(),Hu)},protocols(e,t){y(e)&&(t.protocols=[e])}}},Nh=["wgs84","gcj02"],jh={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Nh.indexOf(e)?t.type=Nh[1]:t.type=e}}};const qh={url:{type:String,required:!0}},zh=(Wh(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Wh(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Gh("navigateTo")),Fh=Gh("redirectTo"),Vh=Gh("reLaunch"),Uh=Gh("switchTab"),Hh={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(_g().length-1,e)}}};function Wh(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 Yh;function Xh(){Yh=""}function Gh(e){return{formatArgs:{url:Kh(e)},beforeAll:Xh}}function Kh(e,t={}){return function(n,o){if(!n)return'Missing required args: "url"';const r=(n=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=_g();return n.length&&(t=Ec(n[n.length-1]).route),Gc(t,e)}(n)).split("?")[0],i=Kc(r,!0);if(!i)return"page `"+n+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!i.meta.isTabBar||"appLaunch"===o.openType||(n=r),i.meta.isEntry&&(n=n.replace(i.alias,"/")),o.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}(n),"unPreloadPage"!==e)if("preloadPage"!==e){if(!t.skipNavigatorLock&&Yh===n&&"appLaunch"!==o.openType)return`${Yh} locked`;!t.skipNavigatorLock&&__uniConfig.ready&&(Yh=n)}else if(i.meta.isTabBar){const e=_g(),t=i.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const Qh={formatArgs:{allType:!1}},Jh={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Zh={formatArgs:{duration:300}},ef={formatArgs:{itemColor:"#000"}},tf=(Boolean,{formatArgs:{title:"",mask:!1}}),nf=(Boolean,{beforeInvoke(){Dl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!h(t,"cancelText")){const{t:e}=Pl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!h(t,"confirmText")){const{t:e}=Pl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),of=["success","loading","none","error"],rf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Wu(e,of)},image(e,t){t.image=e?Bg(e):""},duration:1500,mask:!1}}),af={beforeInvoke(){const e=Nc();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},sf={beforeInvoke:af.beforeInvoke,formatArgs:u({pagePath(e,t){e&&(t.pagePath=fe(e))}},af.formatArgs)},lf=/^(linear|radial)-gradient\(.+?\);?$/,cf={beforeInvoke:af.beforeInvoke,formatArgs:{backgroundImage(e,t){e&&!lf.test(e)&&(t.backgroundImage=Bg(e))},borderStyle(e,t){e&&(t.borderStyle="white"===e?"white":"black")}}},uf=af,df=af,pf=af,hf={beforeInvoke:af.beforeInvoke,formatArgs:u({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},af.formatArgs)};function ff(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 gf(e){return xe(e)}function mf(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 vf(e){const t=qc();if(!t)return;const n=yg(),o=n.keys();for(const r of o){const t=n.get(r);t.$.__isTabBar?t.$.__isActive=void 0!==e&&pg(t).id===e:xg(r)}!t.$.__isTabBar||void 0!==e&&pg(t).id===e||(t.$.__isVisible=!1,Uc(t,"onHide"))}function yf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function bf(e){const t=yg().values();for(const n of t){const t=pg(n);if(yf(e,t))return n.$.__isActive=!0,t.id}}const _f=Ed("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(hg.handledBeforeEntryPageRoutes)return vf(),kf({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},bf(e)).then(o).catch(r);gg.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Uh);function wf(){const e=Bc();if(!e)return;const t=pg(e);xg(Cg(t.path,t.id))}const xf=Ed("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(hg.handledBeforeEntryPageRoutes)return wf(),kf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);mg.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Fh);function Tf(){const e=yg().keys();for(const t of e)xg(t)}const Sf=Ed("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(hg.handledBeforeEntryPageRoutes)return Tf(),kf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);vg.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Vh);function kf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){let a;return a=sy().$router,new Promise(((s,l)=>{let c=t;const{path:u,query:d}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Me(n||"")}}(c),p=function(e,t){return{__id__:t||++Tg,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:u,query:d,state:p,force:!0}).then((i=>{if(Ps(i))return l(i.message);if("switchTab"===e){const e=c===t?n:a.resolve({path:u,query:d}).meta.tabBarText;a.currentRoute.value.meta.tabBarText=e}if("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 Le(p.__id__,o),s(r?{__id__:p.__id__}:{eventChannel:e.eventChannel})}return r?s({__id__:p.__id__}):s()}))}))}function Cf(){if(hg.handledBeforeEntryPageRoutes)return;hg.handledBeforeEntryPageRoutes=!0;const e=[...fg];fg.length=0,e.forEach((({args:e,resolve:t,reject:n})=>kf(e).then(t).catch(n)));const t=[...gg];gg.length=0,t.forEach((({args:e,resolve:t,reject:n})=>{vf(),kf(e,bf(e.url)).then(t).catch(n)}));const n=[...mg];mg.length=0,n.forEach((({args:e,resolve:t,reject:n})=>{wf(),kf(e).then(t).catch(n)}));const o=[...vg];vg.length=0,o.forEach((({args:e,resolve:t,reject:n})=>{Tf(),kf(e).then(t).catch(n)}))}const Ef=navigator.userAgent,Af=/android/i.test(Ef),Mf=/iphone|ipad|ipod/i.test(Ef),Pf=Ef.match(/Windows NT ([\d|\d.\d]*)/i),Lf=/Macintosh|Mac/i.test(Ef),Of=/Linux|X11/i.test(Ef),If=Lf&&navigator.maxTouchPoints>0,Rf=/OpenHarmony/i.test(Ef),$f=Rf&&/PC/i.test(Ef),Df=Rf&&/Tablet/i.test(Ef);function Bf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Nf(e){return e&&90===Math.abs(window.orientation)}function jf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function qf(){const e=Bf();if(e){const t=jf(e,Nf(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}function zf(){if(null!=__uniConfig.darkmode&&!1!==__uniConfig.darkmode){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 Ff(){let e,t,n,o="0",r="phone",i="";const a=navigator.language;if(Mf){n="iPhone",e="iOS";const r=Ef.match(/OS\s([\w_]+)\slike/);r&&(o=r[1].replace(/_/g,"."));const i=o.split(".")[0];if(Number(i)>=18){const e=Ef.match(/Version\/([\d\.]+)/);e&&(o=e[1])}const a=Ef.match(/\(([a-zA-Z]+);/);a&&(t=a[1])}else if(Af){e="Android";const n=Ef.match(/Android[\s/]([\w\.]+)[;\s]/);n&&(o=n[1]);const r=Ef.match(/\((.+?)\)/),i=r?r[1].split(";"):Ef.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 n=i[e];if(n.indexOf("Build")>0){t=n.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(n)){o=!0;break}if(!o){t=n.trim();break}}}else if(If){if(n="iPad",t="iPad",e="iOS",r="pad",o=v(window.BigInt)?"14.0":"13.0",14===parseInt(o)){const e=Ef.match(/Version\/(\S*)\b/);e&&(o=e[1])}}else if(Pf||Lf||Of){t="PC",e="PC",r="pc",o="0";let n=Ef.match(/\((.+?)\)/)[1];if(Pf){switch(e="Windows",Pf[1]){case"5.1":o="XP";break;case"6.0":o="Vista";break;case"6.1":o="7";break;case"6.2":o="8";break;case"6.3":o="8.1";break;case"10.0":o="10"}const t=n&&n.match(/[Win|WOW]([\d]+)/);t&&(o+=` x${t[1]}`)}else if(Lf){e="macos",i="mac";const t=n&&n.match(/Mac OS X (.+)/)||"";o&&(o=t[1].replace(/_/g,"."),-1!==o.indexOf(";")&&(o=o.split(";")[0]))}else if(Of){e="Linux";const t=n&&n.match(/Linux (.*)/)||"";t&&(o=t[1],-1!==o.indexOf(";")&&(o=o.split(";")[0]))}}else if(Rf){n="HUAWEI",e="harmonyos",r=$f?"pc":Df?"pad":"phone";const i=Ef.match(/OpenHarmony\s([\d\.]+)/);i&&(o=i[1]),t=void 0}else e="Other",o="0",r="unknown";const s=`${e} ${o}`;i||(i=e.toLowerCase());let l="",c=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==c)l="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(Ef)&&(l=t[n],c=Ef.match(r)[2])}}let u="portrait";if(window.matchMedia)try{window.matchMedia("(orientation:landscape)").matches&&(u="landscape")}catch{}return"portrait"===u&&void 0!==window.screen.orientation&&(u=[90,270].includes(window.screen.orientation.angle)?"landscape":"portrait"),"portrait"===u&&null!=window.orientation&&(u=90===Math.abs(window.orientation)?"landscape":"portrait"),{deviceBrand:n,brand:n,deviceModel:t,deviceOrientation:u,model:t,system:s,platform:i,browserName:l.toLocaleLowerCase(),browserVersion:c,language:a,deviceType:r,ua:Ef,osname:e,osversion:o,theme:zf()}}function Vf(e){__uniConfig.darkmode&&yT.on("onThemeChange",e)}function Uf(e){yT.off("onThemeChange",e)}function Hf(e){let t={};return __uniConfig.darkmode&&(t=ze(e,__uniConfig.themeConfig,zf())),__uniConfig.darkmode?t:e}function Wf(e,t){const n=Zt(e),o=n?Gt(Hf(e)):Hf(e);return __uniConfig.darkmode&&n&&so(e,(e=>{const t=Hf(e);for(const n in t)o[n]=t[n]})),t&&Vf(t),o}let Yf,Xf;function Gf(){const e=Xf;if(!e||!Yf)return;const t=Hf(Yf);e.backgroundColor=t.backgroundColor,e.borderStyle=t.borderStyle,e.color=t.color,e.selectedColor=t.selectedColor,e.blurEffect=t.blurEffect,e.midButton=t.midButton,t.list&&t.list.length&&t.list.forEach(((t,n)=>{e.list[n].iconPath=t.iconPath,e.list[n].selectedIconPath=t.selectedIconPath}))}function Kf(){if(!Xf){const e=__uniConfig.tabBar;if(!e)return;Yf=Gt(function(e){return kl()&&e.list&&e.list.forEach((e=>{Ml(e,["text"])})),kl()&&e.midButton&&Ml(e.midButton,["text"]),e}(e)),Xf=Wf(Yf,Gf)}return Xf}function Qf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Jf=Qf("--a:0"),Zf=Qf("top:env(a)"),eg=Qf("top:constant(a)"),tg=Qf("backdrop-filter:blur(10px)"),ng={"css.var":Jf,"css.env":Zf,"css.constant":eg,"css.backdrop-filter":tg},og=Cd(0,(e=>h(ng,e)?ng[e]:!!h(uni,e))),rg=(()=>Zf?"env":eg?"constant":"")();function ig(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=Kf();e.shown&&(n=parseInt(e.height))}var o;Tc({"--window-top":(o=t,rg?`calc(${o}px + ${rg}(safe-area-inset-top))`:`${o}px`),"--window-bottom":ag(n)})}function ag(e){return rg?`calc(${e}px + ${rg}(safe-area-inset-bottom))`:`${e}px`}const sg=bu(),lg=bu();function cg(){return u({},lg)}function ug(e){return e.type.__scopeId}const dg=new Map;function pg(e){return e.$page}const hg={handledBeforeEntryPageRoutes:!1},fg=[],gg=[],mg=[],vg=[];function yg(){return dg}const bg=new Set;function _g(){return wg()}function wg(){const e=[],t=dg.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function xg(e,t=!0){const n=dg.get(e);if(!n)return;const o=pg(n).id;n.$.__isUnload=!0,Uc(n,"onUnload"),bg.forEach((e=>e(o))),dg.delete(e),t&&function(e){const t=Eg.get(e);t&&(Eg.delete(e),Ag.pruneCacheEntry(t))}(e)}let Tg=qu();function Sg(e){const t=Bu();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=ze(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:he(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function kg(e){let t;t=e.$route;const n=Sg(t);!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,n),dg.set(Cg(n.path,n.id),e),1===dg.size&&setTimeout((()=>{Cf()}),0)}function Cg(e,t){return e+"$$"+t}const Eg=new Map,Ag={get:e=>Eg.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Ag.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){var t;return"tabBar"===(null==(t=e.attrs||e.props)?void 0:t.type)}(e))return;Ag.delete(n),Ag.pruneCacheEntry(e),On((()=>{dg.forEach(((e,t)=>{e.$.isUnmounted&&dg.delete(t)}))}))}}))}(e),Eg.set(e,t)},delete(e){Eg.get(e)&&Eg.delete(e)},forEach(e){Eg.forEach(e)}};function Mg(e,t){Pg(e),function(e){const t=ug(e),{body:n}=document;Lg&&n.removeAttribute(Lg),t&&n.setAttribute(t,""),Lg=t}(e),ig(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),Rg(e,t)}function Pg(e){var t,n;const o=null==(n=null==(t=function(e){var t;let n=e;for(;n&&"Page"!==(null==(t=n.type)?void 0:t.name);)n=n.parent;return n}(e))?void 0:t.proxy)?void 0:n.$el,r=null==o?void 0:o.querySelector("uni-page-body");if(!r)return!1;e.type;const i=ug(e);return i&&r.setAttribute(i,""),!0}let Lg;const Og=!!(()=>{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 Ig;function Rg(e,t){if(document.removeEventListener("touchmove",Hc),Ig&&document.removeEventListener("scroll",Ig),t.disableScroll)return document.addEventListener("touchmove",Hc,Og);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=pg(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&mT.publishHandler("onPageScroll",{scrollTop:o},e),n&&mT.emit(e+".onPageScroll",{scrollTop:o})}}(a,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>mT.publishHandler("onReachBottom",{},a)),Ig=Xc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Ig)))}function $g(e){return e.$el}function Dg(e){const{base:t}=__uniConfig.router;return 0===he(e).indexOf(t)?he(e):t+e}function Bg(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 Dg(e.slice(1));e="https:"+e}if(oe.test(e)||re.test(e)||0===e.indexOf("blob:"))return e;const o=wg();return o.length?Dg(Gc(pg(o[o.length-1]).route,e).slice(1)):e}function Ng(e,t,n,o){yT.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function jg(e,t){const n={},{top:o,topWindowHeight:r}=wc();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=xe(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(f(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(f(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 qg(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 zg={},Fg={};function Vg(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}const Ug={};function Hg(e,t){const n=Ug[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 Yg(e){for(const n in Ug)if(h(Ug,n)){if(Ug[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Ug[t]=e,t}function Xg(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Ug[e]}const Gg=Tu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=pn(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=Gt({width:-1,height:-1});return so((()=>u({},o)),(e=>t("resize",e))),()=>{const t=e.value;if(!t)return;const r=t.getBoundingClientRect();o.width=r.width,o.height=r.height,n()}}(n,t,o);return function(e,t,n,o){$o(o),Wo((()=>{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),()=>di("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[di("div",{onScroll:r},[di("div",null,null)],40,["onScroll"]),di("div",{onScroll:r},[di("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Kg(){}const Qg={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 Jg(e,t,n){function o(e){const t=Ri((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Kg,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Kg,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}so((()=>t.value),(e=>e&&o(e)))}var Zg=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,em=/^<\/([-A-Za-z0-9_]+)[^>]*>/,tm=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,nm=lm("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),om=lm("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"),rm=lm("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"),im=lm("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),am=lm("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),sm=lm("script,style");function lm(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const cm={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},um={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},dm={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"]},pm=Tu({name:"Image",props:cm,setup(e,{emit:t}){const n=pn(null),o=function(e,t){const n=pn(""),o=Ri((()=>{let e="auto",o="";const r=dm[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=Gt({rootEl:e,src:Ri((()=>t.src?Bg(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Wo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Cu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=um[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){hm&&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 so((()=>t.mode),((e,t)=>{um[t]&&r(),um[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)};so((()=>e.src),(e=>l(e))),so((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),Wo((()=>l(e.src))),Go((()=>c()))}(o,e,n,i,r),()=>di("uni-image",{ref:n},[di("div",{style:o.modeStyle},null,4),um[e.mode]?di(Gg,{onResize:i},null,8,["onResize"]):di("span",null,null)],512)}});const hm="Google Inc."===navigator.vendor;const fm=Se(!0),gm=[];let mm=0,vm=!1;const ym=e=>gm.forEach((t=>t.userAction=e));function bm(e={userAction:!1}){if(!vm){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!mm&&ym(!0),mm++,setTimeout((()=>{!--mm&&ym(!1)}),0)}),fm)})),vm=!0}gm.push(e)}const _m=()=>!!mm;function wm(){const e=Gt({userAction:!1});return Wo((()=>{bm(e)})),Go((()=>{!function(e){const t=gm.indexOf(e);t>=0&&gm.splice(t,1)}(e)})),{state:e}}function xm(){const e=Gt({attrs:{}});return Wo((()=>{let t=Ti();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 Sm(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const km=["none","text","decimal","numeric","tel","search","email","url"],Cm=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=>!!~km.indexOf(e)},cursorColor:{type:String,default:""}},Qg),Em=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Am(e,t,n,o,r){let i=null,a=null;a=Pe((n=>{const o=r.value,a=Sm(n,e.type);o&&document.activeElement===o&&a===i||(t.value=a)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),so((()=>e.modelValue),a),so((()=>e.value),a);const s=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)=>{a.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Ho((()=>{a.cancel(),s.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{a.cancel(),i=t.value,s(e,t),n&&s.flush()}}}function Mm(e,t){wm();const n=Ri((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}so((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Wo((()=>{n.value&&On(o)}))}function Pm(e,t,n,o){Yl(jc(),"getSelectedTextRange",Tm);const{fieldRef:r,state:i,trigger:a}=function(e,t,n){const o=pn(null),r=Cu(t,n),i=Ri((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Ri((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Ri((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ri((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=Sm(e.modelValue,e.type)||Sm(e.value,e.type);const u=Gt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return so((()=>u.focus),(e=>n("update:focus",e))),so((()=>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,r);Mm(e,r),Jg(0,r);const{state:l}=xm();!function(e,t){const n=Cr(Pu,!1);if(!n)return;const o=Ti(),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),Go((()=>{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}so([()=>t.selectionStart,()=>t.selectionEnd],a),so((()=>t.cursor),s),so((()=>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 Lm=me((()=>{{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 Om(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Lm()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Im(e){return"insertFromPaste"===e.inputType}const Rm=Tu({name:"Input",props:u({},Cm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Em],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ri((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Ri((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),s=Ri((()=>{if(void 0!==e.inputmode)return e.inputmode;if(km.includes(e.type))return e.type;let t={};return t={idcard:"text"},t[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=pn(null!=t?t.toLocaleString():"");return so((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),so((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return pn("")}(e,i),c={fn:null};const u=pn(null),{fieldRef:d,state:p,scopedAttrsState:h,fixDisabledColor:f,trigger:g}=Pm(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=Om(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=Om(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Im(e))return n.value=l.value=t.value,!1}}));so((()=>p.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),so((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=p.value.slice(0,e);t!==p.value&&(p.value=t)}));const m=["number","digit"],v=Ri((()=>m.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),p.value=e.value}}),()=>{let t=e.disabled&&f?di("input",{key:"disabled-input",ref:d,value:p.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:p.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:s.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):di("input",{key:"input",ref:d,value:p.value,onInput:Aa((e=>{const t=e.target.value.toString();"number"===i.value&&p.maxlength>0&&t.length>p.maxlength?Im(e)&&(p.value=t.slice(0,p.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(p.value=t)}),["stop"]),disabled:!!e.disabled,type:i.value,maxlength:p.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:y,inputmode:s.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return di("uni-input",{ref:u},[di("div",{class:"uni-input-wrapper"},[ho(di("div",yi(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[na,!(p.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?di("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const $m=["class","style"],Dm=/^on[A-Z]+/,Bm=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Ti(),r=hn({}),i=hn({}),a=hn({}),s=n.concat($m);return o.attrs=Gt(o.attrs),io((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Dm.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 Nm(e){const t=[];return f(e)&&e.forEach((e=>{ii(e)?e.type===Yr?t.push(...Nm(e.children)):t.push(e):f(e)&&t.push(...Nm(e))})),t}const jm=Tu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=pn(null),o=pn(!1);let{setContexts:r,events:i}=function(e,t){const n=pn(0),o=pn(0),r=Gt({x:null,y:null}),i=pn(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=ku((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=qm(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=ku((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(qm(n)/i.value)}r.x=n.x,r.y=n.y}})),p=ku((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 h(){f(),s.forEach((function(e,t){e.setParent()}))}function f(){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 kr("movableAreaWidth",n),kr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:h}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=Bm(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Wo((()=>{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(rn(o))}r(e)}return kr("_isMounted",o),kr("movableAreaRootRef",n),kr("addMovableViewContext",(e=>{d.push(e),p()})),kr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=Nm(e),di("uni-movable-area",yi({ref:n},s.value,l.value,c),[di(Gg,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function qm(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const zm=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 Fm,Vm;function Um(e,t,n){Go((()=>{document.removeEventListener("mousemove",Fm),document.removeEventListener("mouseup",Vm)}));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;zm(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)})),zm(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)})),zm(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=Fm=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),zm(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=Vm=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),zm(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 Hm(e,t,n){return e>t-n&&e<t+n}function Wm(e,t){return Hm(e,0,t)}function Ym(){}function Xm(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Gm(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Km(e,t,n){this._springX=new Gm(e,t,n),this._springY=new Gm(e,t,n),this._springScale=new Gm(e,t,n),this._startTime=0}Ym.prototype.x=function(e){return Math.sqrt(e)},Xm.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()},Xm.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Xm.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}},Xm.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}},Xm.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}},Xm.prototype.dt=function(){return-this._x_v/this._x_a},Xm.prototype.done=function(){const e=Hm(this.s().x,this._endPositionX)||Hm(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Xm.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Xm.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Gm.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)}}},Gm.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Gm.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Gm.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Wm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Wm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Wm(t,.1)&&(t=0),Wm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Wm(o-e,.1)&&Wm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Gm.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Gm.prototype.done=function(e){return e||(e=(new Date).getTime()),Hm(this.x(),this._endPosition,.1)&&Wm(this.dx(),.1)},Gm.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())},Gm.prototype.springConstant=function(){return this._k},Gm.prototype.damping=function(){return this._c},Gm.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}]},Km.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},Km.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)}},Km.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Km.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 Qm(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Jm=Tu({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=pn(null),r=Cu(o,n),{setParent:i}=function(e,t,n){const o=Cr("_isMounted",pn(!1)),r=Cr("addMovableViewContext",(()=>{})),i=Cr("removeMovableViewContext",(()=>{}));let a,s,l=pn(1),c=pn(1),u=pn(!1),d=pn(0),p=pn(0),h=null,f=null,g=!1,m=null,v=null;const y=new Ym,b=new Ym,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Ri((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Xm(1,w.value);so((()=>e.disabled),(()=>{H()}));const{_updateOldScale:T,_endScale:S,_setScale:k,scaleValueSync:C,_updateBoundary:E,_updateOffset:A,_updateWH:M,_scaleOffset:P,minX:L,minY:O,maxX:I,maxY:R,FAandSFACancel:$,_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=Ri((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=Ri((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=pn(Number(e.scaleValue)||1);so(p,(e=>{B(e)})),so(u,(()=>{D()})),so(d,(()=>{D()})),so((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:h,_updateOffset:f,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Cr("movableAreaWidth",pn(0)),r=Cr("movableAreaHeight",pn(0)),i=Cr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=pn(0),c=pn(0),u=pn(0),d=pn(0),p=pn(0),h=pn(0);function f(){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),h.value=Math.max(n,i)}function g(){a.x=tv(e.value,i.value),a.y=nv(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:f,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:h}}(t,o,$),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:A,xSync:M,ySync:P,_STD:L}=function(e,t,n,o,r,i,a,s,l,c,u,d,p,h){const f=Ri((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Ri((()=>"all"===t.direction||"horizontal"===t.direction)),m=Ri((()=>"all"===t.direction||"vertical"===t.direction)),v=pn(rv(t.x)),y=pn(rv(t.y));so((()=>t.x),(e=>{v.value=rv(e)})),so((()=>t.y),(e=>{y.value=rv(e)})),so(v,(e=>{k(e)})),so(y,(e=>{C(e)}));const b=new Km(1,9*Math.pow(f.value,2)/40,f.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=ov(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||h("change",{},{x:Qm(r,n.x),y:Qm(i,n.y),source:s}),t.scale||(a=o.value),a=+(a=p(a)).toFixed(3),d&&a!==o.value&&h("scale",{},{x:r,y:i,scale:a});let f="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=f,e.value.style.webkitTransform=f,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 k(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 C(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:f,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,a,s,l,c,$,n);function O(t,n){if(e.scale){t=$(t),g(t),h();const e=x(a.value,s.value),o=e.x,r=e.y;n?T(o,r,t,"",!0,!0):ev((function(){S(o,r,t,"",!0,!0)}))}}function I(){i.value=!0}function R(e){r.value=e}function $(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function D(){if(!e.scale)return!1;O(o.value,!0),R(o.value)}function B(t){return!!e.scale&&(O(t=$(t),!0),R(t),t)}function N(){i.value=!1,R(o.value)}function j(e){e&&(e=r.value*e,I(),O(e))}return{_updateOldScale:R,_endScale:N,_setScale:j,scaleValueSync:p,_updateBoundary:h,_updateOffset:f,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:A,xSync:M,ySync:P,_STD:L}}(e,n,t,l,c,u,d,p,h,f);function H(){u.value||e.disabled||($(),_.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<L.value?e.outOfBounds?(r="touch-out-of-bounds",n=L.value-y.x(L.value-n)):n=L.value:n>I.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=I.value+y.x(n-I.value)):n=I.value),o<O.value?e.outOfBounds?(r="touch-out-of-bounds",o=O.value-b.x(O.value-o)):o=O.value:o>R.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=R.value+b.x(o-R.value)):o=R.value),ev((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<L.value?(a=L.value,s=o+(L.value-n)*i/r):a>I.value&&(a=I.value,s=o+(I.value-n)*i/r),s<O.value?(s=O.value,a=n+(O.value-o)*r/i):s>R.value&&(s=R.value,a=n+(R.value-o)*r/i),x.setEnd(a,s),f=ov(x,(function(){let e=x.s(),t=e.x,n=e.y;B(t,n,l.value,"friction")}),(function(){f.cancel()}))}e.outOfBounds||e.inertia||$()}function X(){if(!o.value)return;$();let t=e.scale?C.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 Wo((()=>{Um(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:k};r(e),Ko((()=>{i(e)}))})),Ko((()=>{$()})),{setParent:X}}(e,r,o);return()=>di("uni-movable-view",{ref:o},[di(Gg,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Zm=!1;function ev(e){Zm||(Zm=!0,requestAnimationFrame((function(){e(),Zm=!1})))}function tv(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=tv(e.offsetParent,t):0}function nv(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=nv(e.offsetParent,t):0}function ov(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 rv(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}const iv=Tu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return f(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=pn(null),r=pn(null),i=Cu(o,n),a=function(e){const t=Gt([...e.value]),n=Gt({value:t,height:34});return so((()=>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=pn(null);Wo((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=pn([]),c=pn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Gr));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return kr("getPickerViewColumn",(function(e){return Ri({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})}}})})),kr("pickerViewProps",e),kr("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=Nm(e);l.value=t,On((()=>{c.value=t}))}return di("uni-picker-view",{ref:o},[di(Gg,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),di("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class av{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 sv(e,t,n){return e>t-n&&e<t+n}function lv(e,t){return sv(e,0,t)}class cv{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||!lv(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(lv(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),lv(t,.4)&&(t=0),lv(o,.4)&&(o=0),o+=this._endPosition),this._solution&&lv(o-e,.4)&&lv(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()),sv(this.x(),this._endPosition,.4)&&lv(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 uv{constructor(e,t,n){this._extent=e,this._friction=t||new av(.01),this._spring=n||new cv(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function dv(e,t){return Math.round(Math.abs(e)/t)}class pv{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 uv(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=dv(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(dv(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.round(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(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.round(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function hv(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new pv(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 fv=Tu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=pn(null),r=pn(null),i=Cr("getPickerViewColumn"),a=Ti(),s=i?i(a):pn(0),l=Cr("pickerViewProps"),c=Cr("pickerViewState"),u=pn(34),d=pn(null);Wo((()=>{const e=d.value;u.value=e.$el.getBoundingClientRect().height}));const p=Ri((()=>(c.height-u.value)/2)),{state:h}=xm();let f;const g=Gt({current:s.value,length:0});let m;function v(){f&&!m&&(m=!0,On((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),f.update(e*u.value,void 0,u.value)})))}so((()=>s.value),(e=>{e!==g.current&&(g.current=e,v())})),so((()=>g.current),(e=>s.value=e)),so([()=>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),f.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!f.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),f.scrollTo(r*u.value)}}}return Wo((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=hv(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new av(1e-4),spring:new cv(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});f=n,Um(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=Nm(e).length;const n=`${p.value}px 0`;return di("uni-picker-view-column",{ref:o},[di("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[di("div",yi(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),di("div",yi(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[di(Gg,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),di("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)}}}),gv={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:""},mv={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};function vv(e,t){if(!S(t))return;const n=gv[e]||[],o={};return Object.keys(t).forEach((r=>{("class"===r||"style"===r||n.includes(r))&&(o[r]=function(e,t,n){return"img"===e&&"src"===t&&y(n)?Bg(n):n}(e,r,t[r]))})),o}const yv=(e,t,n)=>!n||Array.isArray(n)&&!n.length?[]:n.map((n=>{if(S(n)){if((!h(n,"type")||"text"===n.type)&&y(n.text)&&""!==n.text)return hi((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return h(mv,t)&&mv[t]?mv[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(Number("0"+t.slice(1))):e})));if(!h(n,"type")||"node"===n.type){if(!y(n.name)||!n.name)return;const o=n.name.toLowerCase();if(!h(gv,o))return;const r=u({[e]:""},function(e,t){if(e.name&&["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),vv(o,n.attrs));return $i(n.name,r,yv(e,t,n.children))}}}));function bv(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()&&sm[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(em))&&(e=e.substring(r[0].length),r[0].replace(em,c),o=!1):0==e.indexOf("<")&&(r=e.match(Zg))&&(e=e.substring(r[0].length),r[0].replace(Zg,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(),om[n])for(;i.last()&&rm[i.last()];)c("",i.last());if(im[n]&&i.last()==n&&c("",n),(r=nm[n]||!!r)||i.push(n),t.start){var a=[];o.replace(tm,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:am[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 _v=Tu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}},selectable:{type:[Boolean,String],default:!1},userSelect:{type:[Boolean,String],default:!1}},emits:["itemclick"],setup(e,{emit:t}){const n=Ti(),o=n&&n.vnode.scopeId||"",r=pn(null),i=hn([]),a=Cu(r,t);function s(e,t={}){a("itemclick",e,t)}return so((()=>e.nodes),(function(){let t=e.nodes;y(t)&&(t=bv(e.nodes)),i.value=yv(o,s,t)}),{immediate:!0,deep:!0}),()=>$i("uni-rich-text",{ref:r,selectable:!(!e.userSelect&&!e.selectable)||null},$i("div",{},i.value))}}),wv=Tu({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=pn(null),o=Ri((()=>{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=Ri((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:a,refresherThreshold:s}=e;return di("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?di("div",{class:"uni-scroll-view-refresh"},[di("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?di("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"},[di("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),di("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?di("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[di("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?di("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),xv=Se(!0),Tv=Tu({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=pn(null),i=pn(null),a=pn(null),s=pn(null),l=Cu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ri((()=>Number(e.scrollTop)||0)),n=Ri((()=>Number(e.scrollLeft)||0));return{state:Gt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:h,_scrollLeftChanged:f,_scrollTopChanged:g}=function(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const h=Ri((()=>e.scrollX)),f=Ri((()=>e.scrollY)),g=Ri((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Ri((()=>{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}),f.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)),h.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){f.value&&(e.scrollWithAnimation?v(t,"y"):a.value.scrollTop=t)}function _(t){h.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(h.value){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):a.value.scrollLeft=r}if(f.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=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.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:k.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:k.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:k.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},k={x:0,y:e.refresherThreshold};return Wo((()=>{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(h.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(f.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){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},k={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",p,xv),a.value.addEventListener("touchmove",l,Se(!1)),a.value.addEventListener("scroll",i,Se(!1)),a.value.addEventListener("touchend",g,xv),Go((()=>{a.value.removeEventListener("touchstart",p),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",g)}))})),$o((()=>{f.value&&(a.value.scrollTop=t.lastScrollTop),h.value&&(a.value.scrollLeft=t.lastScrollLeft)})),so(n,(e=>{b(e)})),so(o,(e=>{_(e)})),so((()=>e.scrollIntoView),(e=>{w(e)})),so((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:h,realScrollY:f,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,s,t),m=Ri((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ri((()=>{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 di("uni-scroll-view",{ref:r},[di("div",{ref:a,class:"uni-scroll-view"},[di("div",{ref:i,style:m.value,class:v.value},[t?di(wv,{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,di("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Sv(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,h=null,f=!1,g=0,m="";const v=Ri((()=>n.value.length>t.displayMultipleItems)),y=Ri((()=>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),h=Math.min(u,d,p),f=[n,l,c][[u,d,p].indexOf(h)];t.updatePosition(f,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(){h=null}function x(){if(!h)return void(f=!1);const e=h,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){b(o),h=null,f=!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);h={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},f||(f=!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 k(e){e?S():a()}return so([()=>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)})),so([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),h&&(b(h.toPos),h=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))})),so((()=>t.interval),(()=>{c&&(a(),S())})),so((()=>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)})),so((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),so((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Wo((()=>{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?T(t.current,"",0):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}Um(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}}}),!0)})),Ko((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const kv=Tu({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=pn(null),r=Cu(o,n),i=pn(null),a=pn(null),s=function(e){return Gt({interval:Ri((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Ri((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Ri((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Ri((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Cc(e.previousMargin,!0),bottom:Cc(e.nextMargin,!0)}:{top:0,bottom:0,left:Cc(e.previousMargin,!0),right:Cc(e.nextMargin,!0)}),t})),c=Ri((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=pn([]);function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(rn(o))}p.value=e}kr("addSwiperContext",(function(e){d.push(e),h()}));kr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}));const{onSwiperDotClick:f,circularEnabled:g,swiperEnabled:m}=Sv(e,s,p,a,n,r);let v=()=>null;return v=Cv(o,e,s,f,p,g,m),()=>{const n=t.default&&t.default();return u=Nm(n),di("uni-swiper",{ref:o},[di("div",{ref:i,class:"uni-swiper-wrapper"},[di("div",{class:"uni-swiper-slides",style:l.value},[di("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&di("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>di("div",{onClick:()=>f(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)}}}),Cv=(e,t,n,o,r,i,a)=>{let s=!1,l=!1,c=!1,d=pn(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}io((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()})),io((()=>{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 h={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function f(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=()=>Rc(Lc,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 Wo(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?di(Yr,null,[di("div",yi({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},h),[g()],16,["onClick"]),di("div",yi({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>f(e,"next",c)},h),[g()],16,["onClick"])]):null}},Ev=Tu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=pn(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 Wo((()=>{const e=Cr("addSwiperContext");e&&e(o)})),Ko((()=>{const e=Cr("removeSwiperContext");e&&e(o)})),()=>di("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Av={ensp:" ",emsp:" ",nbsp:" "};function Mv(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Av[t]&&" "===i&&(i=Av[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/&nbsp;/g,Av.nbsp).replace(/&ensp;/g,Av.ensp).replace(/&emsp;/g,Av.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split("\n")}const Pv=Tu({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=pn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Gr){let n=[];n=Mv(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(hi(e)),t!==r&&o.push(di("br"))}))}else o.push(t)})),di("uni-text",{ref:n,selectable:!!e.selectable||null},[di("span",null,o)],8,["selectable"])}}}),Lv=u({},Cm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Iv.concat("return").includes(e)}});let Ov=!1;const Iv=["done","go","next","search","send"];const Rv=Tu({name:"Textarea",props:Lv,emits:["confirm","change","linechange",...Em],setup(e,{emit:t,expose:n}){const o=pn(null),r=pn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=Pm(e,o,t),u=Ri((()=>a.value.split("\n"))),d=Ri((()=>Iv.includes(e.confirmType))),p=pn(0),h=pn(null);function f({height:e}){p.value=e}function g(e){}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function v(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return so((()=>p.value),(t=>{const n=o.value,i=h.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)";Ov=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?di("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":Ov},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):di("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":Ov},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:v,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return di("uni-textarea",{ref:o,"auto-height":e.autoHeight},[di("div",{ref:r,class:"uni-textarea-wrapper"},[ho(di("div",yi(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[na,!a.value.length]]),di("div",{ref:h,class:"uni-textarea-line"},[" "],512),di("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map((e=>di("div",null,[e.trim()?e:"."]))),di(Gg,{initial:!0,onResize:f},null,8,["initial","onResize"])],2),"search"===e.confirmType?di("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),$v=Tu({name:"View",props:u({},Eu),setup(e,{slots:t}){const n=pn(null),{hovering:o,binding:r}=Au(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?di("uni-view",yi({class:o.value?i:"",ref:n},r),[nr(t,"default")],16):di("uni-view",{ref:n},[nr(t,"default")],512)}}});function Dv(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Bv(e,t,n){e&&Yl(n||jc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Nv(e,t){e&&function(e,t){t=Wl(e,t),delete Hl[t]}(t||jc(),e)}function jv(e,t,n,o){const r=Ti().proxy;o=null==o?$c():o,Wo((()=>{Bv(t||Dv(r),e,o),!n&&t||so((()=>r.id),((t,n)=>{Bv(Dv(r,t),e,o),Nv(n&&Dv(r,n))}))})),Go((()=>{Nv(t||Dv(r),o)}))}let qv=0;function zv(e){const t=$c(),n=Ti().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+qv++;return Wo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function Fv(e,t,n,o){v(t)&&Vo(e,t.bind(n),o)}function Vv(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))&&(Ie.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];f(r)?r.forEach((e=>Fv(o,e,n,t))):Fv(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e;e=t.attrs.__pageQuery;t.type.__scriptLang;0,Uc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Uc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function Uv(e,t,n){Vv(e,t,n)}function Hv(e,t,n){return e[t]=n}function Wv(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Yv(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?Uc(i.proxy,"onError",n):xn(n,0,o&&o.$.vnode,!1)}}function Xv(e,t){return e?[...new Set([].concat(e,t))]:t}function Gv(e){const t=e.config;var n;t.errorHandler=De(e,Yv),n=t.optionMergeStrategies,Ie.forEach((e=>{n[e]=Xv}));const o=t.globalProperties;o.$set=Hv,o.$applyOptions=Uv,o.$callMethod=Wv,function(e){Re=e,$e.forEach((t=>t(e)))}(e)}function Kv(e){const t=dl({history:Zv(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Jv});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Qv[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Qv=Object.create(null);const Jv=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Qv[o]);if(t)return t}return{left:0,top:0};var o};function Zv(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ss(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=wg(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=pg(t[r]);xg(Cg(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const ey={install(e){Gv(e),su(e),yu(e),e.config.warnHandler||(e.config.warnHandler=ty),Kv(e)}};function ty(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 ny={class:"uni-async-loading"},oy=[ui("i",{class:"uni-loading"},null,-1)],ry=Co({name:"AsyncLoading",__reserved:!0,compatConfig:{MODE:3},__name:"asyncLoading",setup:e=>(e,t)=>(Zr(),oi("div",ny,oy))}),iy=Co({name:"AsyncError",__reserved:!0,compatConfig:{MODE:3},__name:"asyncError",props:["error"],setup(e){Ol();const{t:t}=Pl();function n(){window.location.reload()}return(e,o)=>(Zr(),oi("div",{class:"uni-async-error",onClick:n},X(mn(t)("uni.async.error")),1))}});let ay;function sy(){return ay}function ly(e){ay=e,Object.defineProperty(ay.$.ctx,"$children",{get:()=>wg().map((e=>e.$vm))});const t=ay.$.appContext.app;t.component(ry.name)||t.component(ry.name,ry),t.component(iy.name)||t.component(iy.name,iy),function(e){e.$vm=e,e.$mpType="app";const t=pn(Pl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(ay),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}})}(ay),mu(),Qc(),function(e){const t=ug(e.$);t&&document.body.setAttribute(t,"")}(ay)}function cy(e,{type:t,clone:n,init:o,setup:r,before:i,options:a}){n&&(e=u({},e)),i&&i(e);const s=e.setup;return e.setup=(e,t)=>{const n=Ti();if(o(n.proxy),r(n),s)return s(e,t)},e}function uy(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?cy(e.default,t):cy(e,t)}function dy(e,t){return uy(e,{type:"page",clone:!0,init:kg,setup(e){e.$pageInstance=e;const t=ju(),n=Ee(t.query);e.attrs.__pageQuery=n,pg(e.proxy).options=n,e.proxy.options=n;const o=Bu();var r;ig(o),e.onReachBottom=Gt([]),e.onPageScroll=Gt([]),so([e.onReachBottom,e.onPageScroll],(()=>{const t=Bc();e.proxy===t&&Rg(e,o)}),{once:!0}),Ho((()=>{Mg(e,o)})),Wo((()=>{!function(e){Pg(e)}(e);const{onReady:n}=e;n&&$(n),gy(t)})),Bo((()=>{if(!e.__isVisible){Mg(e,o),e.__isVisible=!0;{const{onShow:t}=e;t&&$(t)}On((()=>{gy(t)}))}}),"ba",r),function(e,t){Bo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&$(t)}}}));const i=Vc(e.proxy);return function(e,t){mT.subscribe(Wl(e,"invokeViewApi"),Xl)}(i),Go((()=>{!function(e){mT.unsubscribe(Wl(e,"invokeViewApi")),Object.keys(Hl).forEach((t=>{0===t.indexOf(e+".")&&delete Hl[t]}))}(i)})),n}})}function py(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=uni.getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";yT.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function hy(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&yT.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function fy(){const{emit:e}=yT;"visible"===document.visibilityState?e("onAppEnterForeground",cg()):e("onAppEnterBackground")}function gy(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Uc("onTabItemTap",{index:n,text:t,pagePath:o})}function my(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 vy(e,t,n,o){const r=Gt({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let a=null;let s;return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,r.gestureType="none",r.volumeOld=0,o.fullscreen&&e.stopPropagation()},onTouchmove:function(l){function c(){o.fullscreen&&l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const u=r.gestureType;if("stop"===u)return;const d=l.targetTouches[0],p=d.pageX,h=d.pageY,f=i,g=n.value;if("progress"===u?(!function(e){const n=t.currentDuration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(p-f.x),r.seeking=!0):"volume"===u&&function(e){const t=n.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout((()=>{r.toastThin=!1,s=void 0}),1e3)),t.volume=i,r.volumeNew=i)}(h-f.y),"none"===u)if(Math.abs(p-f.x)>Math.abs(h-f.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=g.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(r.gestureType="stop");"none"!==r.gestureType&&null!=a||(a=setTimeout((()=>{r.toastThin=!0}),500)),r.gestureType="volume",r.volumeOld=g.volume,o.fullscreen||c()}else c()},onTouchend:function(e){const t=n.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(o.fullscreen&&e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(t.currentTime=r.currentTimeNew),r.gestureType="none"}}}const yy=Tu({name:"Video",props:{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}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=pn(null),i=pn(null),a=Cu(r,t),{state:s}=wm(),{$attrs:l}=Bm({excludeListeners:!0});zl();const{videoRef:c,state:u,play:d,pause:p,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:k,onTimeUpdate:C}=function(e,t,n){const o=pn(null),r=Ri((()=>Bg(e.src))),i=Ri((()=>"true"===e.muted||!0===e.muted)),a=Gt({start:!1,src:r,playing:!1,currentTime:0,duration:0,currentDuration: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 so((()=>r.value),(()=>{a.playing=!1,a.currentTime=0})),so((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),so((()=>i.value),(e=>{o.value.muted=e})),so([()=>a.duration,()=>e.duration],(()=>{let t=Number(e.duration);isNaN(t)&&(t=0),a.currentDuration=t>0?t:a.duration})),{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:L}=function(e,t){const n=pn(null),o=Gt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=f(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:O,onFullscreenChange:I,emitFullscreenChange:R,toggleFullscreen:$,requestFullScreen:D,exitFullScreen:B}=function(e,t,n,o,r){const i=Gt({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 Go(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}=vy(e,u,c,O),{state:F,progressRef:V,ballRef:U,clickProgress:H,toggleControls:W,autoHideEnd:Y,autoHideStart:X}=function(e,t,n,o){const r=pn(null),i=pn(null),a=Ri((()=>e.showCenterPlayBtn&&!t.start)),s=pn(!0),l=Ri((()=>!a.value&&e.controls&&s.value)),c=Gt({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 Go((()=>{u&&clearTimeout(u)})),so((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():p()})),Wo((()=>{const e=Se(!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 h(e);u=!1;const p=r.value.offsetWidth;let f=l+(i-a)/p*100;f<0?f=0:f>100&&(f=100),t.progress=f,null==o||o(t.currentDuration*f/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function h(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",p,e),u||(o.preventDefault(),o.stopPropagation(),n(t.currentDuration*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",h),d.addEventListener("touchcancel",h)})),{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.currentDuration*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};jv(((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)}),zv(),!0)}(d,p,h,g,L,m,D,B);const G=function(e,t,n,o,r){const i=Ri((()=>"progress"===t.gestureType||n.touching));return so(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),so([()=>e.currentTime,()=>e.currentDuration],(()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)}),{immediate:!0}),so((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,N,F);return()=>di("uni-video",{ref:r,id:e.id,onClick:W},[di("div",{ref:i,class:"uni-video-container",onTouchstart:j,onTouchend:q,onTouchmove:z,onFullscreenchange:Aa(I,["stop"]),onWebkitfullscreenchange:Aa((e=>I(e,!0)),["stop"])},[di("video",yi({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":!0,"uni-video-video-fullscreen":O.fullscreen},"webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:k,onTimeupdate:e=>{C(e),M(e)},onWebkitbeginfullscreen:()=>R(!0),onX5videoenterfullscreen:()=>R(!0),onWebkitendfullscreen:()=>R(!1),onX5videoexitfullscreen:()=>R(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),ho(di("div",{class:"uni-video-bar uni-video-bar-full",onClick:Aa((()=>{}),["stop"])},[di("div",{class:"uni-video-controls"},[ho(di("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:Aa(v,["stop"])},null,10,["onClick"]),[[na,e.showPlayBtn]]),ho(di("div",{class:"uni-video-current-time"},[my(u.currentTime)],512),[[na,e.showProgress]]),ho(di("div",{ref:V,class:"uni-video-progress-container",onClick:Aa(H,["stop"])},[di("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[di("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),di("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),di("div",{ref:U,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[di("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[na,e.showProgress]]),ho(di("div",{class:"uni-video-duration"},[my(u.currentDuration)],512),[[na,e.showProgress]])]),ho(di("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:Aa(P,["stop"])},null,10,["onClick"]),[[na,e.danmuBtn]]),ho(di("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:Aa((()=>$(!O.fullscreen)),["stop"])},null,10,["onClick"]),[[na,e.showFullscreenBtn]])],8,["onClick"]),[[na,F.controlsShow]]),ho(di("div",{ref:A,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[na,u.start&&E.enable]]),F.centerPlayBtnShow&&di("div",{class:"uni-video-cover",onClick:Aa((()=>{}),["stop"])},[di("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:Aa(d,["stop"])},null,8,["onClick"])],8,["onClick"]),di("div",{class:"uni-video-loading"},["volume"===N.gestureType?di("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?di("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!N.toastThin&&di("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),di("div",{class:"uni-video-toast-draw",style:{width:100*N.volumeNew+"%"}},null)],2):null]),di("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[di("div",{class:"uni-video-toast-title"},[di("span",{class:"uni-video-toast-title-current-time"},[my(N.currentTimeNew)])," / ",my(u.currentDuration)])],2),di("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),by=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":uni.navigateTo(t);break;case"navigateBack":uni.navigateBack(t);break;case"switchTab":uni.switchTab(t);break;case"reLaunch":uni.reLaunch(t);break;case"redirectTo":uni.redirectTo(t)}},_y=me((()=>yT.on("onWebInvokeAppService",by))),wy=Tu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){_y();const n=pn(null),o=pn(null),{$attrs:r,$excludeAttrs:i,$listeners:a}=Bm({excludeListeners:!0}),s=Cu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},io((()=>{for(const e in r.value)if(h(r.value,e)){const n=r.value[e];t[e]=n}})),io((()=>{t.src=Bg(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();ge(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else ge(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)})(),Wo((()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))})),$o((()=>{e.fullscreen&&(o.value.style.display="block")})),Do((()=>{e.fullscreen&&(o.value.style.display="none")})),Go((()=>{e.fullscreen&&document.body.removeChild(o.value)})),()=>di(Yr,null,[di("uni-web-view",yi({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,i.value,{ref:n}),[di(Gg,{onResize:l},null,8,["onResize"])],16)])}});let xy,Ty=0;function Sy(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 ky(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(Dy())this.callback=s,this.visible&&this.createAMapText();else if(By())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,Dy()?this.visible&&this.createAMapText():By()?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(!Dy()&&!By()){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 Cy={};function Ey(e,t){const n=Iy();if(!n.key)return void console.error("Map key not configured.");const o=Cy[n.type]=Cy[n.type]||[];if(xy)t(xy);else if(window[n.type]&&window[n.type].maps)xy=Dy()||By()?window[n.type]:window[n.type].maps,xy.Callout=xy.Callout||ky(xy),t(xy);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],xy=Dy()||By()?window[n.type]:window[n.type].maps,xy.Callout=ky(xy),o.forEach((e=>e(xy))),o.length=0},Dy()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=Ay(n.type);n.type===Oy.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===Oy.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 My="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",Py="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=",Ly="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 Oy=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(Oy||{});function Iy(){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 Ry=!1,$y=!1;const Dy=()=>$y?Ry:($y=!0,Ry="AMap"===Iy().type),By=()=>"BMapGL"===Iy().type;function Ny(e,t,n){const o=Iy();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise((e=>{Sy(`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=>{Ey([],(()=>{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 jy=Su({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),Ko((()=>{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){Dy()?e.removeAMapText():e.setMap(null)}if(n(((n,a,s)=>{function l(e){const l=e.title;let c;c=Dy()?new a.LngLat(e.longitude,e.latitude):By()?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 h,f,g,m,v="number"==typeof p.x?p.x:.5,y="number"==typeof p.y?p.y:1;e.iconPath&&(e.width||e.height)?(f=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(f=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),h="MarkerImage"in a?new a.MarkerImage(u.src,null,null,new a.Point(v*f,y*g),new a.Size(f,g)):"Icon"in a?new a.Icon({image:u.src,size:new a.Size(f,g),imageSize:new a.Size(f,g),imageOffset:new a.Pixel(v*f,y*g)}):{url:u.src,anchor:new a.Point(v,y),size:new a.Size(f,g)},By()?(r=new a.Marker(new a.Point(c.lng,c.lat)),n.addOverlay(r)):(r.setPosition(c),r.setIcon(h)),"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(Dy()){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){Dy()&&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(Dy()){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()},Iy().type===Oy.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=Bg(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){By()||(r=new a.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=a.event||a.Event;By()||o.addListener(r,"click",(()=>{const n=r.callout;if(n&&!n.alwaysVisible)if(Dy())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),so(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),h=n.event||n.Event,f=h.addListener(r,"moving",(e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)})),g=h.addListener(r,"moveend",(()=>{g.remove(),f.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),h.trigger(r,"moveend",{}))}))}};e(i),Ko((()=>o(i)))}return Ko((function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))})),()=>null}});function qy(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 zy={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:""}},Fy=Su({name:"MapPolyline",props:zy,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=Dy()?[e.longitude,e.latitude]:By()?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}=qy(e.color),{r:d,g:p,b:h,a:f}=qy(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,h,f)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${p}, ${h})`,v.strokeOpacity=f),m&&(n=new i.Polyline(v)),By()?(t=new i.Polyline(g.path,g),r.addOverlay(t)):t=new i.Polyline(g)}a(e),so(e,(function(e){o(),a(e)}))})),Ko(o),()=>null}}),Vy=Su({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=Dy()||By()?[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(By())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:a}=qy(e.fillColor),{r:s,g:l,b:c,a:u}=qy(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(By()){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),Dy()&&o.add(t)}i(e),so(e,(function(e){n(),i(e)}))})),Ko(n),()=>null}}),Uy={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}},Hy=Su({name:"MapControl",props:Uy,setup(e){const t=Ri((()=>Bg(e.iconPath))),n=Ri((()=>{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()=>di("div",{class:"uni-map-control"},[di("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Wy=me((()=>{Ep.forEach((e=>{Yy.prototype[e]=function(t){v(t)&&this._events[e].push(t)}})),Ap.forEach((e=>{Yy.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class Yy{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=Bg(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={},Ep.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)})),Wy()}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 Xy=Cd(0,(()=>new Yy)),Gy=Ed("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),Ky=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Qy;function Jy(){if(Qy=Qy||Ky.__DC_STAT_UUID,!Qy){Qy=Date.now()+""+Math.floor(1e7*Math.random());try{Ky.__DC_STAT_UUID=Qy}catch(e){}}return Qy}const Zy=Cd(0,(()=>{const e=window.devicePixelRatio,t=Bf(),n=Nf(t),o=jf(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=qf();let a=window.innerHeight;const s=mc.top,l={left:mc.left,right:i-mc.right,top:mc.top,bottom:a-mc.bottom,width:i-mc.left-mc.right,height:a-mc.top-mc.bottom},{top:c,bottom:u}=wc();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:mc.top,right:mc.right,bottom:mc.bottom,left:mc.left},screenTop:r-a}}));let eb,tb=!0;function nb(){tb&&(eb=Ff())}const ob=Cd(0,(()=>{nb();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s,osname:l,osversion:c}=eb;return u({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Jy(),deviceOrientation:a,deviceType:s,model:o,osName:l?l.toLowerCase():void 0,osVersion:c,platform:r,system:i})})),rb=Cd(0,(()=>{nb();const{theme:e,language:t,browserName:n,browserVersion:o}=eb;return u({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Zp?Zp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})})),ib=Cd(0,(()=>{tb=!0,nb(),tb=!1;const e=Zy(),t=ob(),n=rb();tb=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=eb,l=u(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,l})),ab=Ed("getSystemInfo",((e,{resolve:t})=>t(ib()))),sb="none";function lb(){pb().then((({networkType:e})=>{yT.invokeOnCallback("onNetworkStatusChange",{isConnected:e!==sb,networkType:e})}))}function cb(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const ub=Td("onNetworkStatusChange",(()=>{const e=cb();e?e.addEventListener("change",lb):(window.addEventListener("offline",lb),window.addEventListener("online",lb))})),db=Sd("offNetworkStatusChange",(()=>{const e=cb();e?e.removeEventListener("change",lb):(window.removeEventListener("offline",lb),window.removeEventListener("online",lb))})),pb=Ed("getNetworkType",((e,{resolve:t})=>{const n=cb();let o="unknown";if(n){const e=n.effectiveType;o=n.type,"cellular"===o&&e?o=e.replace("slow-",""):o&&o!==sb||!e?[sb,"wifi"].includes(o)||(o="unknown"):o=e}else!1===navigator.onLine&&(o=sb);return t({networkType:o})}));let hb=null;const fb=Td("onAccelerometer",(()=>{mb()})),gb=Sd("offAccelerometer",(()=>{vb()})),mb=Ed("startAccelerometer",((e,{resolve:t,reject:n})=>{if(window.DeviceMotionEvent){if(!hb){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(){hb=function(e){const t=e.acceleration||e.accelerationIncludingGravity;yT.invokeOnCallback("onAccelerometer",{x:t&&t.x||0,y:t&&t.y||0,z:t&&t.z||0})},window.addEventListener("devicemotion",hb,!1)}})),vb=Ed("stopAccelerometer",((e,{resolve:t})=>{hb&&(window.removeEventListener("devicemotion",hb,!1),hb=null),t()}));let yb=null;const bb=Td("onCompass",(()=>{wb()})),_b=Sd("offCompass",(()=>{xb()})),wb=Ed("startCompass",((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!yb){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(){yb=function(e){const t=360-(null!==e.alpha?e.alpha:360);yT.invokeOnCallback("onCompass",{direction:t})},window.addEventListener("deviceorientation",yb,!1)}})),xb=Ed("stopCompass",((e,{resolve:t})=>{yb&&(window.removeEventListener("deviceorientation",yb,!1),yb=null),t()})),Tb=!!window.navigator.vibrate,Sb=Ed("vibrateShort",((e,{resolve:t,reject:n})=>{Tb&&window.navigator.vibrate(15)?t():n("vibrateShort:fail")})),kb=Ed("vibrateLong",((e,{resolve:t,reject:n})=>{Tb&&window.navigator.vibrate(400)?t():n("vibrateLong:fail")})),Cb=Ed("getClipboardData",(async(e,{resolve:t,reject:n})=>{jl();const{t:o}=Pl();try{t({data:await 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")}`)}))}})),Eb=Ed("setClipboardData",(async({data:e},{resolve:t,reject:n})=>{try{await 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,vh);const Ab=e=>{yT.invokeOnCallback("onThemeChange",e)},Mb=Td("onThemeChange",(()=>{yT.on("onThemeChange",Ab)})),Pb=Sd("offThemeChange",(()=>{yT.off("onThemeChange",Ab)}));const Lb=Cd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),Ob=Ed("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{Lb(e,t),n()}catch(r){o(r.message)}}));function Ib(e,t){const n=localStorage&&localStorage.getItem(e);if(!y(n))throw new Error("data not found");let o=n;try{const e=function(e,t){const n=["object","string","number","boolean","undefined"];try{const t=y(e)?JSON.parse(e):e,o=t.type;if(n.indexOf(o)>=0){const e=Object.keys(t);if(2===e.length&&"data"in t){if(typeof t.data===o)return t.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(t.data))return new Date(t.data)}else if(1===e.length)return""}}catch(o){}}(JSON.parse(n));void 0!==e&&(o=e)}catch(r){}return o}const Rb=Cd(0,((e,t)=>{try{return Ib(e)}catch(n){return""}})),$b=Ed("getStorage",(({key:e,isUTS:t},{resolve:n,reject:o})=>{try{n({data:Ib(e)})}catch(r){o(r.message)}})),Db=Cd(0,(e=>{localStorage&&localStorage.removeItem(e)})),Bb=Ed("removeStorage",(({key:e},{resolve:t})=>{Db(e),t()})),Nb=Cd(0,(()=>{localStorage&&localStorage.clear()})),jb=Ed("clearStorage",((e,{resolve:t})=>{Nb(),t()})),qb=Cd(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}})),zb=Ed("getStorageInfo",((e,{resolve:t})=>{t(qb())})),Fb=Ed("getFileInfo",(({filePath:e},{resolve:t,reject:n})=>{Hg(e).then((e=>{t({size:e.size})})).catch((e=>{n(String(e))}))}),0,yh),Vb=Ed("openDocument",(({filePath:e},{resolve:t})=>(window.open(e),t())),0,bh),Ub=Ed("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const Hb=Ed("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,Ah),Wb=Ed("getVideoInfo",(({src:e},{resolve:t,reject:n})=>{Hg(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,Ph),Yb={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 Xb({count:e,sourceType:t,type:n,extension:o}){bm();const r=document.createElement("input");return r.type="file",ge(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}/${Yb[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 Gb=null;const Kb=Ed("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{Bl();const{t:a}=Pl();Gb&&(document.body.removeChild(Gb),Gb=null),Gb=Xb({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Gb),Gb.addEventListener("cancel",(()=>{i("chooseFile:fail cancel")})),Gb.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||Yg(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),Gb.click(),_m()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,Eh);let Qb=null;const Jb=Ed("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Bl();const{t:i}=Pl();Qb&&(document.body.removeChild(Qb),Qb=null),Qb=Xb({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Qb),Qb.addEventListener("cancel",(()=>{r("chooseImage:fail cancel")})),Qb.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||Yg(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Qb.click(),_m()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,Sh),Zb={esc:["Esc","Escape"],enter:["Enter"]},e_=Object.keys(Zb);function t_(){const e=pn(""),t=pn(!1),n=n=>{if(t.value)return;const o=e_.find((e=>-1!==Zb[e].indexOf(n.key)));o&&(e.value=o),On((()=>e.value=""))};return Wo((()=>{document.addEventListener("keyup",n)})),Go((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const n_=di("div",{class:"uni-mask"},null,-1);function o_(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),La(Co({setup:()=>()=>(Zr(),ri(e,t,null,16))}))}function r_(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function i_(e,{onEsc:t,onEnter:n}){const o=pn(e.visible),{key:r,disable:i}=t_();return so((()=>e.visible),(e=>o.value=e)),so((()=>o.value),(e=>i.value=!e)),io((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let a_=0,s_="";function l_(e){let t=a_;a_+=e?1:-1,a_=Math.max(0,a_),a_>0?0===t&&(s_=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=s_,s_="")}function c_(){Wo((()=>l_(!0))),Ko((()=>l_(!1)))}const u_=Su({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Gt({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 di(jm,{style:n,onTouchstart:ku(c),onTouchmove:ku(d),onTouchend:ku(u)},{default:()=>[di(Jm,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[di("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 d_(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const p_=Su({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){c_();const{key:n}=t_(),o=pn(null),r=pn(d_(e));let i;function a(){i||On((()=>{t("close")}))}function s(e){r.value=e.detail.current}so((()=>e.current),(()=>r.value=d_(e))),so((()=>n.value),(e=>{"esc"===e&&a()})),Wo((()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",(e=>{i=!1,t=e.clientX,n=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(i=!0)}))}));const l={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return di("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:a},[di(kv,{navigation:"auto",current:r.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map((e=>di(Ev,null,{default:()=>[di(u_,{src:e},null,8,["src"])]}))),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!ii(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),di("div",{style:l},[Rc(Oc,"#ffffff",26)],4)],8,["onClick"]);var n}}});let h_,f_=null;const g_=()=>{f_=null,On((()=>{null==h_||h_.unmount(),h_=null}))},m_=Ed("previewImage",((e,{resolve:t})=>{f_?u(f_,e):(f_=Gt(e),On((()=>{h_=o_(p_,f_,g_),h_.mount(r_("u-a-p"))}))),t()}),0,Mh),v_=Ed("closePreviewImage",((e,{resolve:t,reject:n})=>{h_?(g_(),t()):n()}));let y_=null;const b_=Ed("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Bl();const{t:r}=Pl();y_&&(document.body.removeChild(y_),y_=null),y_=Xb({sourceType:e,extension:t,type:"video"}),document.body.appendChild(y_),y_.addEventListener("cancel",(()=>{o("chooseVideo:fail cancel")})),y_.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||Yg(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Yg(t);i.onloadedmetadata=function(){Xg(e),n(u(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,Xg(e),n(r)}),300),i.src=e}else n(r)})),y_.click(),_m()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,kh),__=kd("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:a,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request,isUTS:c},{resolve:u,reject:d})=>{let p=null;const f=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(!n)return"string";if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(y(t)||t instanceof ArrayBuffer)p=t;else if("json"===f)try{p=JSON.stringify(t)}catch(m){p=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)h(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));p=e.join("&")}else p=t.toString();let g;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;g=new x_(t);const c={method:o,headers:n,body:p,signal:a,credentials:s?"include":"same-origin"},h=setTimeout((function(){g.abort(),d("timeout",{errCode:5})}),l);c.signal.addEventListener("abort",(function(){clearTimeout(h),d("abort",{errCode:600003})})),window.fetch(e,c).then((e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach(((e,t)=>{a[t]=e}));const s=w_(a);if(g._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void u({data:"",statusCode:t,header:a,cookies:s});const l=o.getReader(),c=[],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}(c);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=S_(n,i,r)),void u({data:n,statusCode:t,header:a,cookies:s})}const o=n;c.push(o),g._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{d(e,{errCode:5})}))}else{const t=new XMLHttpRequest;g=new x_(t),t.open(o,e);for(const e in n)h(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout((function(){t.onload=t.onabort=t.onerror=null,g.abort(),d("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=S_(n,i,r)),u({data:n,statusCode:e,header:T_(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),d("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),d(void 0,{errCode:5})},t.withCredentials=s,t.send(p)}return g}),0,Rh),w_=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 x_{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new Ne,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 T_(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 S_(e,t,n,o){let r=e;if("text"===t&&"json"===n)try{r=JSON.parse(r)}catch(i){}return r}class k_{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 C_=kd("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new k_(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:Yg(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,$h);class E_{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 A_=kd("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 E_;return f(r)&&r.length||(n||c("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Wg(e)):Hg(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,t=o.getAllResponseHeaders(),r=t?t.trim().split(/[\r\n]+/).reduce(((e,t)=>{const n=t.split(": "),o=n.shift(),r=n.join(": ");return e[o]=r,e}),{}):{};l({statusCode:e,data:o.responseText||o.response,header:r})},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,Dh),M_=[],P_={open:"",close:"",error:"",message:""};class L_{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${O(e)} callback function\n`,n)}})),this===M_[0]&&P_[e]&&yT.invokeOnCallback(P_[e],i),"error"===e||"close"===e){const e=M_.indexOf(this);e>=0&&M_.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 be(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),be(e,"sendSocketMessage:ok")}catch(o){be(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),be(e,"closeSocket:ok")}catch(n){be(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 O_=kd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new L_(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(M_.push(t),n())}))),0,Bh);function I_(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 R_=Ed("sendSocketMessage",((e,{resolve:t,reject:n})=>{const o=M_[0];o&&o.readyState===o.OPEN?I_(o,"send",e,t,n):n("WebSocket is not connected")})),$_=Ed("closeSocket",((e,{resolve:t,reject:n})=>{const o=M_[0];o?I_(o,"close",e,t,n):n("WebSocket is not connected")}));function D_(e){const t=`onSocket${O(e)}`;return Td(t,(()=>{P_[e]=t}))}const B_=D_("open"),N_=D_("error"),j_=D_("message"),q_=D_("close"),z_=Ed("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=Iy();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===Oy.QQ?Sy(`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===Oy.GOOGLE?__({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===Oy.AMAP?Ey([],(()=>{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})=>{Ny(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,wh);const F_=Su({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=Gt({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:Ly,width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:Py,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 so([()=>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=Iy();let o="";if(t.type===Oy.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===Oy.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===Oy.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 c_(),z_({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>di("div",{class:"uni-system-open-location"},[di(rT,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[di("div",{class:"map-move",onClick:()=>a(n.location)},[Rc(My,"#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),di("div",{class:"info"},[di("div",{class:"name",onClick:()=>a(n.marker)},[e.name],8,["onClick"]),di("div",{class:"address",onClick:()=>a(n.marker)},[e.address],8,["onClick"]),di("div",{class:"nav",onClick:r},[Rc("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"])]),di("div",{class:"nav-btn-back",onClick:i},[Rc(Lc,"#ffffff",26)],8,["onClick"])])}});let V_=null;const U_=Ed("openLocation",((e,{resolve:t})=>{V_?u(V_,e):(V_=Gt(e),On((()=>{const e=o_(F_,V_,(()=>{V_=null,On((()=>{e.unmount()}))}));e.mount(r_("u-a-o"))}))),t()}),0,Th);const H_=Su({name:"LoctaionPicker",props:{latitude:{type:Number},longitude:{type:Number}},emits:["close"],setup(e,{emit:t}){c_(),Fl();const{t:n}=Pl(),o=function(e){const t=Gt({latitude:0,longitude:0,keyword:"",searching:!1});function n(){e.latitude&&e.longitude&&(t.latitude=e.latitude,t.longitude=e.longitude)}return so([()=>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=Gt([]),o=pn(-1),r=Ri((()=>n[o.value])),i=Gt({loading:!0,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:o,selected:r}),a=pn(""),s=Ri((()=>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=Iy();if(o.type===Oy.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===Oy.QQ?Sy(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===Oy.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=Pe((()=>{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 h(){t("close")}function f(e){const t=e.detail.centerLocation;t&&m(t)}function g(){z_({type:"gcj02",success:m,fail:()=>{}})}function m({latitude:e,longitude:t}){o.latitude=e,o.longitude=t,o.searching||(s(),l())}return so((()=>o.searching),(e=>{s(),e||l()})),o.latitude&&o.longitude||g(),()=>{const e=r.map(((e,t)=>{return di("div",{key:t,class:{"list-item":!0,selected:i.selectedIndex===t},onClick:()=>{i.selectedIndex=t,o.latitude=e.latitude,o.longitude=e.longitude}},[Rc(Ic,"#007aff",24),di("div",{class:"list-item-title"},[e.name]),di("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(di("div",{class:"list-loading"},[di("i",{class:"uni-loading"},null)])),di("div",{class:"uni-system-choose-location"},[di(rT,{latitude:o.latitude,longitude:o.longitude,class:"map","show-location":!0,libraries:["places"],onUpdated:l,onRegionchange:f},{default:()=>[di("div",{class:"map-location",style:`background-image: url("${Ly}")`},null),di("div",{class:"map-move",onClick:g},[Rc(My,"#000000",24)],8,["onClick"])],_:1},8,["latitude","longitude","show-location","onUpdated","onRegionchange"]),di("div",{class:"nav"},[di("div",{class:"nav-btn back",onClick:h},[Rc(Oc,"#ffffff",26)],8,["onClick"]),di("div",{class:{"nav-btn":!0,confirm:!0,disable:!i.selected},onClick:p},[Rc(Ic,"#ffffff",26)],10,["onClick"])]),di("div",{class:"menu"},[di("div",{class:"search"},[di(Rm,{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&&di("div",{class:"search-btn",onClick:()=>{o.searching=!1,o.keyword=""}},[n("uni.chooseLocation.cancel")],8,["onClick"])]),di(Tv,{"scroll-y":!0,class:"list",onScrolltolower:a},(t=e,"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ii(t)?e:{default:()=>[e],_:2}),8,["scroll-y","onScrolltolower"])])]);var t}}});let W_=null;const Y_=Ed("chooseLocation",((e,{resolve:t,reject:n})=>{W_?n("cancel"):(W_=Gt(e),On((()=>{const e=o_(H_,W_,(o=>{W_=null,On((()=>{e.unmount()})),o?t(o):n("cancel")}));e.mount(r_("u-a-c"))})))}));let X_=!1,G_=0;const K_=Ed("startLocationUpdate",((e,{resolve:t,reject:n})=>{navigator.geolocation?(G_=G_||navigator.geolocation.watchPosition((n=>{X_=!0,Ny(null==e?void 0:e.type,n.coords).then((e=>{yT.invokeOnCallback("onLocationChange",e),t()})).catch((e=>{yT.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})}))}),(e=>{X_||(n(e.message),X_=!0),yT.invokeOnCallback("onLocationChangeError",{errMsg:`onLocationChange:fail ${e.message}`})})),setTimeout(t,100)):n()}),0,jh),Q_=Ed("stopLocationUpdate",((e,{resolve:t})=>{G_&&(navigator.geolocation.clearWatch(G_),X_=!1,G_=0),t()})),J_=Td("onLocationChange",(()=>{})),Z_=Sd("offLocationChange",(()=>{})),ew=Td("onLocationChangeError",(()=>{})),tw=Sd("offLocationChangeError",(()=>{})),nw=Ed("navigateBack",((e,{resolve:t,reject:n})=>{let o,r=!0;return!0===Uc("onBackPress",{from:e.from||"navigateBack"})&&(r=!1),r?(o=sy().$router,o.go(-e.delta),t()):n("onBackPress")}),0,Hh),ow=Ed("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(hg.handledBeforeEntryPageRoutes)return kf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);fg.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,zh),rw=Ed("preloadPage",(({url:e},{resolve:t,reject:n})=>{const o=Kc(e.split("?")[0]);o?o.loader&&o.loader().then((()=>{t({url:e,errMsg:"preloadPage:ok"})})).catch((t=>{n(`${e} ${String(t)}`)})):n(`${e}`)})),iw={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},aw=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=pn(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=i_(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=pn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=iw[e].cancelColor})(e,t)};return io((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===zf()&&n({theme:"dark"}),Vf(n))):Uf(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,di(Fi,{name:"uni-fade"},{default:()=>[ho(di("uni-modal",{onTouchmove:vc},[n_,di("div",{class:"uni-modal"},[t?di("div",{class:"uni-modal__hd"},[di("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?di("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):di("div",{class:"uni-modal__bd",onTouchmovePassive:yc,textContent:o},null,40,["onTouchmovePassive","textContent"]),di("div",{class:"uni-modal__ft"},[l&&di("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),di("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[na,a.value]])]})}}});let sw;const lw=me((()=>{yT.on("onHidePopup",(()=>sw.visible=!1))}));let cw;function uw(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&sw.editable&&(o.content=t),cw&&cw(o)}const dw=Ed("showModal",((e,{resolve:t})=>{lw(),cw=t,sw?(u(sw,e),sw.visible=!0):(sw=Gt(e),On((()=>(o_(aw,sw,uw).mount(r_("u-a-m")),On((()=>sw.visible=!0))))))}),0,nf),pw={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==of.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},position:{type:String},mask:{type:Boolean,default:!1},visible:{type:Boolean}},hw=Co({name:"Toast",props:pw,setup(e){Rl(),$l();const{Icon:t}=function(e){return{Icon:Ri((()=>{switch(e.icon){case"success":return di(Rc(Mc,"#fff",36),{class:"uni-toast__icon"});case"error":return di(Rc(Pc,"#fff",36),{class:"uni-toast__icon"});case"loading":return di("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=i_(e,{});return()=>{const{mask:o,duration:r,title:i,image:a,position:s}=e,l=s?`uni-toast--${s}`:"",c=!!s||!a&&!t.value;return di(Fi,{name:"uni-fade"},{default:()=>[ho(di("uni-toast",{"data-duration":r},[o&&!s?di("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:vc},null,40,["onTouchmove"]):"",c?di("div",{class:["uni-sample-toast",l]},[di("p",{class:"uni-simple-toast__text"},[i])],2):di("div",{class:"uni-toast"},[a?di("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,i?di("p",{class:"uni-toast__content"},[i]):""])],8,["data-duration"]),[[na,n.value]])]})}}});const fw={type:"",token:0},gw={type:"",token:0},mw=He();function vw(e){clearTimeout(e.timeoutId),"onShowToast"===e.type&&(e.timeoutId=setTimeout((()=>Sw("onHideToast",e)),e.state.duration))}function yw(e,t,n,o){var r;clearTimeout(e.timeoutId),clearTimeout(e.showTimerId),e.type=n,e.pageId=o,e.token++,e.state?u(e.state,t):(e.state=Gt(u({},t,{visible:!1})),On((()=>{!function(e){mw.run((()=>{so((()=>e.state.visible),(t=>{t?vw(e):clearTimeout(e.timeoutId)}))}))}(e),e===fw&&yT.on("onHidePopup",(()=>Sw("onHidePopup",fw))),o_(hw,e.state,(()=>{})).mount(r_(e===fw?"u-a-t":"u-a-at"))})));const i=e.token;e.showTimerId=setTimeout((()=>{i===e.token&&(e.state.visible=!0)}),10),(null==(r=e.state)?void 0:r.visible)&&vw(e)}const bw=Ed("showToast",((e,{resolve:t,reject:n})=>{void 0===e.position||["top","center","bottom"].includes(e.position)||(e.position="center");const o=void 0===e.position?fw:gw;yw(o,e,"onShowToast",o===fw?jc():void 0),t()}),0,rf),_w={icon:"loading",duration:1e8,image:""},ww=Ed("showLoading",((e,{resolve:t,reject:n})=>{u(e,_w),yw(fw,e,"onShowLoading"),t()}),0,tf),xw=Ed("hideToast",((e,{resolve:t,reject:n})=>{Sw("onHideToast",fw),(null==e?void 0:e.allType)&&Sw("onHideToast",gw),t()}),0,Qh),Tw=Ed("hideLoading",((e,{resolve:t,reject:n})=>{Sw("onHideLoading",fw),t()}));function Sw(e,t){const{t:n}=Pl();if(!t.type)return;let o="";if("onHideToast"===e&&"onShowToast"!==t.type?o=n("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==t.type&&(o=n("uni.showLoading.unpaired")),o)return console.warn(o);t.type="",t.pageId=void 0,clearTimeout(t.timeoutId),clearTimeout(t.showTimerId);const r=++t.token;setTimeout((()=>{r===t.token&&(t.state.visible=!1)}),10)}var kw;kw=e=>{fw.pageId===e&&"onShowToast"===fw.type&&Sw("onHideToast",fw)},bg.add(kw);function Cw(e,t="#fcfcfd"){const n=pn(0),o=pn(0),r=Ri((()=>n.value>=500&&o.value>=500)),i=Ri((()=>{const i={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},a=i.content,s=i.triangle,l=e.popover;function c(e){try{const t=Number(e);return Number.isFinite(t)?t:0}catch{return 0}}if(r.value&&l){const e=Math.max(0,c(l.left)),r=c(l.width),i=r>0?r:300,d=Math.max(0,c(l.top)),p=Math.max(0,c(l.height)),h=e+i/2,f=Math.max(6,Math.min(n.value-i-6,h-i/2));u(s,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"}),a.transform="none !important",a.left=`${f}px`,r>0&&(a.width=`${i}px`);const g=Math.max(12,Math.min(i-12,h-f));s.left=`${g}px`;const m=o.value/2;d+p-m>m-d?(a.top="auto",a.bottom=`${Math.max(6,o.value-d+6)}px`,s.bottom="-6px",s["border-width"]="6px 6px 0 6px",s["border-color"]=`${t} transparent transparent transparent`):(a.top=`${Math.max(6,d+p+6)}px`,s.top="-6px",s["border-width"]="0 6px 6px 6px",s["border-color"]=`transparent transparent ${t} transparent`)}return i}));return Wo((()=>{const e=()=>{try{const{windowWidth:e,windowHeight:t,windowTop:r}=uni.getSystemInfoSync();n.value=e,o.value=t+(r||0)}catch{}};window.addEventListener("resize",e),e(),Ko((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:r,popupStyle:i}}const Ew={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const Aw=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}){Il();const n=pn(260),o=pn(0),r=pn(0),i=pn(0),a=pn(0),s=pn(null),l=pn(null),{t:c}=Pl(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:r}=t_();return so((()=>e.visible),(e=>r.value=!e)),io((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}(e,t),{popupStyle:d}=Cw(e);let p;function h(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()}Wo((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=hv(s.value,{enableY:!0,friction:new av(1e-4),spring:new cv(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});p=e,Um(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)})),so((()=>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 f=function(e){const t=Gt({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach((n=>{t[n]=Ew[e][n]}))}(e,t)};return io((()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:zf()??"light"}),Vf(n))):Uf(n)})),t}(e);return()=>di("uni-actionsheet",{onTouchmove:vc},[di(Fi,{name:"uni-fade"},{default:()=>[ho(di("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[na,e.visible]])]}),di("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[di("div",{ref:l,class:"uni-actionsheet__menu",onWheel:h},[e.title?di(Yr,null,[di("div",{class:"uni-actionsheet__cell",style:{height:`${r.value}px`}},null),di("div",{class:"uni-actionsheet__title"},[e.title])]):"",di("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[di("div",{ref:s},[e.itemList.map(((e,t)=>di("div",{key:t,style:{color:f.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"])))],512)])],40,["onWheel"]),di("div",{class:"uni-actionsheet__action"},[di("div",{style:{color:f.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),di("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let Mw,Pw,Lw;const Ow=me((()=>{yT.on("onHidePopup",(()=>Lw.visible=!1))}));function Iw(e){-1===e?Pw&&Pw("cancel"):Mw&&Mw({tapIndex:e})}const Rw=Ed("showActionSheet",((e,{resolve:t,reject:n})=>{Ow(),Mw=t,Pw=n,Lw?(u(Lw,{popover:null},e),Lw.visible=!0):(Lw=Gt(e),On((()=>(o_(Aw,Lw,Iw).mount(r_("u-s-a-s")),On((()=>Lw.visible=!0))))))}),0,ef),$w=Ed("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('${Bg(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Bg(t.substring(4,t.length-1))}')`:Bg(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function Dw(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),yT.emit("onNavigationBarChange",{titleText:t})}io(t),$o(t)}function Bw(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 Nw=Ed("setNavigationBarColor",((e,{resolve:t,reject:n})=>{Bw(Nc(),"setNavigationBarColor",e,t,n)}),0,Jh),jw=Ed("showNavigationBarLoading",((e,{resolve:t,reject:n})=>{Bw(Nc(),"showNavigationBarLoading",e||{},t,n)})),qw=Ed("hideNavigationBarLoading",((e,{resolve:t,reject:n})=>{Bw(Nc(),"hideNavigationBarLoading",e||{},t,n)})),zw=Ed("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{Bw(Nc(),"setNavigationBarTitle",e,t,n)})),Fw=Ed("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,Zh),Vw=Ed("startPullDownRefresh",((e,{resolve:t})=>{yT.invokeViewMethod("startPullDownRefresh",{},jc()),t()})),Uw=Ed("stopPullDownRefresh",((e,{resolve:t})=>{yT.invokeViewMethod("stopPullDownRefresh",{},jc()),t()})),Hw=["text","iconPath","iconfont","selectedIconPath","visible"],Ww=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],Yw=["badge","redDot"];function Xw(e,t,n){t.forEach((function(t){h(n,t)&&(e[t]=n[t])}))}function Gw(e,t,n,o){var r;let i=!1;const a=wg();if(a.length&&pg(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=Kf();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;Xw(e,Hw,t);const{pagePath:o}=t;if(o){const e=he(o);e!==n&&function(e,t,n){const o=Kc(he(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=Kc(he(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=fe(n))}}(s,n,e)}break;case"setTabBarStyle":Xw(l,Ww,t);break;case"showTabBarRedDot":Xw(l.list[s],Yw,{badge:"",redDot:!0});break;case"setTabBarBadge":Xw(l.list[s],Yw,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Xw(l.list[s],Yw,{badge:"",redDot:!1})}n()}const Kw=Ed("setTabBarItem",((e,{resolve:t,reject:n})=>{Gw("setTabBarItem",e,t,n)}),0,sf),Qw=Ed("setTabBarStyle",((e,{resolve:t,reject:n})=>{Gw("setTabBarStyle",e,t,n)}),0,cf),Jw=Ed("hideTabBar",((e,{resolve:t,reject:n})=>{Gw("hideTabBar",e||{},t,n)})),Zw=Ed("showTabBar",((e,{resolve:t,reject:n})=>{Gw("showTabBar",e||{},t,n)})),ex=Ed("hideTabBarRedDot",((e,{resolve:t,reject:n})=>{Gw("hideTabBarRedDot",e,t,n)}),0,uf),tx=Ed("showTabBarRedDot",((e,{resolve:t,reject:n})=>{Gw("showTabBarRedDot",e,t,n)}),0,df),nx=Ed("removeTabBarBadge",((e,{resolve:t,reject:n})=>{Gw("removeTabBarBadge",e,t,n)}),0,pf),ox=Ed("setTabBarBadge",((e,{resolve:t,reject:n})=>{Gw("setTabBarBadge",e,t,n)}),0,hf);let rx;function ix(){return rx}const ax=Ed("showTopWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowTopWindow=!0,On(t)):n()})),sx=Ed("hideTopWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowTopWindow=!1,On(t)):n()})),lx=Ed("showLeftWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowLeftWindow=!0,On(t)):n()})),cx=Ed("hideLeftWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowLeftWindow=!1,On(t)):n()})),ux=Ed("showRightWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowRightWindow=!0,On(t)):n()})),dx=Ed("hideRightWindow",((e,{resolve:t,reject:n})=>{const o=ix();o?(o.apiShowRightWindow=!1,On(t)):n()})),px=Cd(0,(()=>{const e=ix();return u({},e&&e.topWindowStyle)})),hx=Cd(0,(e=>{const t=ix();t&&(t.topWindowStyle=e)})),fx=Cd(0,(()=>{const e=ix();return u({},e&&e.leftWindowStyle)})),gx=Cd(0,(e=>{const t=ix();t&&(t.leftWindowStyle=e)})),mx=Cd(0,(()=>{const e=ix();return u({},e&&e.rightWindowStyle)})),vx=Cd(0,(e=>{const t=ix();t&&(t.rightWindowStyle=e)})),yx=Cd(0,(()=>Object.getPrototypeOf(window)!==Window.prototype?(console.error("getFacialRecognitionMetaInfo:fail window对象原型被篡改,可能存在劫持"),""):window.window!==window||window.self!==window?(console.error("getFacialRecognitionMetaInfo:fail window对象属性引用异常,可能被劫持"),""):"[object Window]"!==Object.prototype.toString.call(window)&&"[object DOMWindow]"!==Object.prototype.toString.call(window)?(console.error("getFacialRecognitionMetaInfo:fail window对象类型标识异常,可能被劫持"),""):v(window.getMetaInfo)?window.getMetaInfo():(console.error("getFacialRecognitionMetaInfo:fail window对象缺少getMetaInfo方法,请参考文档引用:https://doc.dcloud.net.cn/uniCloud/frv/dev.html#window-get-meta-info"),"")));let bx=!1,_x=null,xx=null,Tx=!1;function Sx(e){return null==e?void 0:`${e}`}function kx(e){const t=e.target;t&&t.removeEventListener("release",kx),_x===t&&(_x=null)}function Cx(){const e=function(){const e=navigator;return null!=e.wakeLock?e.wakeLock:null}();return null==e?Promise.reject("method 'uni.setKeepScreenOn' not supported"):_x&&!_x.released?Promise.resolve(_x):xx||(xx=e.request("screen").then((e=>(_x=e,e.addEventListener("release",kx),e))).finally((()=>{xx=null})),xx)}function Ex(){"visible"===document.visibilityState&&bx&&Cx().catch((()=>{}))}function Ax(){Tx&&(document.removeEventListener("visibilitychange",Ex),Tx=!1)}const Mx=Ed("setKeepScreenOn",(({keepScreenOn:e},{resolve:t,reject:n})=>{bx=!!e,bx?(Tx||(document.addEventListener("visibilitychange",Ex),Tx=!0),Cx().then((()=>{t()})).catch((e=>{bx=!1,Ax(),n(Sx(e))}))):(Ax(),async function(){xx&&await xx.catch((()=>null));const e=_x;_x=null,null!=e&&(e.removeEventListener("release",kx),e.released||await e.release())}().then(t).catch((e=>{n(Sx(e))})))})),Px=Ed("saveImageToPhotosAlbum",Ld("saveImageToPhotosAlbum")),Lx=Cd(0,Md("getRecorderManager")),Ox=Ed("saveVideoToPhotosAlbum",Ld("saveVideoToPhotosAlbum")),Ix=Cd(0,Md("createCameraContext")),Rx=Cd(0,Md("createLivePlayerContext")),$x=Ed("saveFile",Ld("saveFile")),Dx=Ed("getSavedFileList",Ld("getSavedFileList")),Bx=Ed("getSavedFileInfo",Ld("getSavedFileInfo")),Nx=Ed("removeSavedFile",Ld("removeSavedFile")),jx=Td("onMemoryWarning",Pd("onMemoryWarning")),qx=Td("onGyroscopeChange",Pd("onGyroscopeChange")),zx=Ed("startGyroscope",Ld("startGyroscope")),Fx=Ed("stopGyroscope",Ld("stopGyroscope")),Vx=Ed("scanCode",Ld("scanCode")),Ux=Ed("setScreenBrightness",Ld("setScreenBrightness")),Hx=Ed("getScreenBrightness",Ld("getScreenBrightness")),Wx=Td("onUserCaptureScreen",Pd("onUserCaptureScreen")),Yx=Ed("addPhoneContact",Ld("addPhoneContact")),Xx=Ed("login",Ld("login")),Gx=Ed("getProvider",Ld("getProvider")),Kx=Object.defineProperty({__proto__:null,$emit:Qd,$off:Kd,$on:Xd,$once:Gd,__f__:function(e,t,...n){t&&n.push(t),console[e].apply(console,n)},addInterceptor:Hd,addPhoneContact:Yx,arrayBufferToBase64:Id,base64ToArrayBuffer:Od,canIUse:og,canvasGetImageData:Sp,canvasPutImageData:kp,canvasToTempFilePath:Cp,chooseFile:Kb,chooseImage:Jb,chooseLocation:Y_,chooseVideo:b_,clearStorage:jb,clearStorageSync:Nb,closePreviewImage:v_,closeSocket:$_,connectSocket:O_,createAnimation:Gp,createCameraContext:Ix,createCanvasContext:Tp,createInnerAudioContext:Xy,createIntersectionObserver:Dp,createLivePlayerContext:Rx,createMapContext:op,createMediaQueryObserver:jp,createSelectorQuery:Up,createVideoContext:ep,cssBackdropFilter:tg,cssConstant:eg,cssEnv:Zf,cssVar:Jf,downloadFile:C_,getAppBaseInfo:rb,getClipboardData:Cb,getDeviceInfo:ob,getEnterOptionsSync:sh,getFacialRecognitionMetaInfo:yx,getFileInfo:Fb,getImageInfo:Hb,getLaunchOptionsSync:lh,getLeftWindowStyle:fx,getLocale:Zp,getLocation:z_,getNetworkType:pb,getProvider:Gx,getPushClientId:gh,getRecorderManager:Lx,getRightWindowStyle:mx,getSavedFileInfo:Bx,getSavedFileList:Dx,getScreenBrightness:Hx,getSelectedTextRange:oh,getStorage:$b,getStorageInfo:zb,getStorageInfoSync:qb,getStorageSync:Rb,getSystemInfo:ab,getSystemInfoSync:ib,getTabBarPageId:bf,getTopWindowStyle:px,getVideoInfo:Wb,getWindowInfo:Zy,hideActionSheet:()=>{Lw&&(Lw.visible=!1)},hideKeyboard:Ub,hideLeftWindow:cx,hideLoading:Tw,hideModal:()=>{sw&&(sw.visible=!1)},hideNavigationBarLoading:qw,hideRightWindow:dx,hideTabBar:Jw,hideTabBarRedDot:ex,hideToast:xw,hideTopWindow:sx,interceptors:{},invokePushCallback:function(e){if("enabled"===e.type)dh=!0;else if("clientId"===e.type)ch=e.cid,uh=e.errMsg,fh(ch,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:ph(e.message)};for(let e=0;e<mh.length;e++){if((0,mh[e])(t),t.stopped)break}}else"click"===e.type&&mh.forEach((t=>{t({type:"click",data:ph(e.message)})}))},loadFontFace:$w,login:Xx,makePhoneCall:Gy,navigateBack:nw,navigateTo:ow,offAccelerometerChange:gb,offAppHide:function(e){ah("onHide",e)},offAppShow:function(e){ah("onShow",e)},offCompassChange:_b,offError:function(e){ah("onError",e)},offLocationChange:Z_,offLocationChangeError:tw,offNetworkStatusChange:db,offPageNotFound:function(e){ah("onPageNotFound",e)},offPushMessage:e=>{if(e){const t=mh.indexOf(e);t>-1&&mh.splice(t,1)}else mh.length=0},offThemeChange:Pb,offUnhandledRejection:function(e){ah("onUnhandledRejection",e)},offWindowResize:Jp,onAccelerometerChange:fb,onAppHide:function(e){ih("onHide",e)},onAppShow:function(e){ih("onShow",e)},onCompassChange:bb,onCreateVueApp:function(e){if(Re)return e(Re);$e.push(e)},onError:function(e){ih("onError",e)},onGyroscopeChange:qx,onLocaleChange:eh,onLocationChange:J_,onLocationChangeError:ew,onMemoryWarning:jx,onNetworkStatusChange:ub,onPageNotFound:function(e){ih("onPageNotFound",e)},onPushMessage:e=>{-1===mh.indexOf(e)&&mh.push(e)},onSocketClose:q_,onSocketError:N_,onSocketMessage:j_,onSocketOpen:B_,onTabBarMidButtonTap:Kp,onThemeChange:Mb,onUnhandledRejection:function(e){ih("onUnhandledRejection",e)},onUserCaptureScreen:Wx,onWindowResize:Qp,openDocument:Vb,openLocation:U_,pageScrollTo:Fw,preloadPage:rw,previewImage:m_,reLaunch:Sf,redirectTo:xf,removeAllPages:Tf,removeInterceptor:Wd,removeLastPage:wf,removeNonTabBarPages:vf,removeSavedFile:Nx,removeStorage:Bb,removeStorageSync:Db,removeTabBarBadge:nx,request:__,rpx2px:Fd,saveFile:$x,saveImageToPhotosAlbum:Px,saveVideoToPhotosAlbum:Ox,scanCode:Vx,sendSocketMessage:R_,setClipboardData:Eb,setKeepScreenOn:Mx,setLeftWindowStyle:gx,setLocale:th,setNavigationBarColor:Nw,setNavigationBarTitle:zw,setPageMeta:nh,setRightWindowStyle:vx,setScreenBrightness:Ux,setStorage:Ob,setStorageSync:Lb,setTabBarBadge:ox,setTabBarItem:Kw,setTabBarStyle:Qw,setTopWindowStyle:hx,showActionSheet:Rw,showLeftWindow:lx,showLoading:ww,showModal:dw,showNavigationBarLoading:jw,showRightWindow:ux,showTabBar:Zw,showTabBarRedDot:tx,showToast:bw,showTopWindow:ax,startAccelerometer:mb,startCompass:wb,startGyroscope:zx,startLocationUpdate:K_,startPullDownRefresh:Vw,stopAccelerometer:vb,stopCompass:xb,stopGyroscope:Fx,stopLocationUpdate:Q_,stopPullDownRefresh:Uw,switchTab:_f,uploadFile:A_,upx2px:Fd,vibrateLong:kb,vibrateShort:Sb},Symbol.toStringTag,{value:"Module"}),Qx=Su({name:"MapLocation",setup(){const e=Gt({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){z_({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),_b(t)};const r=Cr("onMapReady");let i;bb(t),r(n),Ko(o);const a=Cr("addMapChidlContext"),s=Cr("removeMapChidlContext"),l={id:"MAP_LOCATION",state:e};a(l),Ko((()=>s(l)))}return()=>e.latitude?di(jy,yi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:Py},e),null,16,["iconPath"]):null}}),Jx=Su({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 Dy()?[n,t]:By()?new o.Point(n,t):new o.LatLng(t,n)})),{r:d,g:p,b:h,a:f}=qy(l),{r:g,g:m,b:v,a:y}=qy(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,h,f),b.strokeColor=new o.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${p}, ${h})`,b.fillOpacity=f,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):By()?(t=new o.Polygon(b.path,b),n.addOverlay(t)):t=new o.Polygon(b)}i(),so(e,i)})),Ko((()=>{t.setMap(null)})),()=>null}});function Zx(e){const t=[];return f(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function eT(e,t,n){return By()?function(e,t,n){return new e.Point(n,t)}(e,t,n):Dy()?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 tT(e){return"getLat"in e?e.getLat():By()?e.lat:e.lat()}function nT(e){return"getLng"in e?e.getLng():By()?e.lng:e.lng()}function oT(e,t,n){const o=Cu(t,n),r=pn(null);let i,a;const s=Gt({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Zx(e.includePoints)}),l=[];let c,d;function p(e){c?e(a,i,o):l.push(e)}const h=[];function f(e){d?e():l.push(e)}const g={};function m(){d=!0,h.forEach((e=>e())),h.length=0}function v(){const e=a.getCenter();return{scale:a.getZoom(),centerLocation:{latitude:tT(e),longitude:nT(e)}}}function y(){if(Dy()){const e=[];s.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new i.Bounds(...e);a.setBounds(t)}else if(By());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 b(){const t=r.value,l=eT(i,s.latitude,s.longitude),c=i.event||i.Event,d=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(By()&&(d.centerAndZoom(l,Number(e.scale)),d.enableScrollWheelZoom(),d._printLog&&d._printLog("uniapp")),so((()=>e.scale),(e=>{d.setZoom(Number(e)||16)})),f((()=>{s.includePoints.length&&(y(),function(){const e=eT(i,s.latitude,s.longitude);a.setCenter(e)}())})),By())d.addEventListener("click",(()=>{o("tap",{},{}),o("click",{},{})})),d.addEventListener("dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),d.addEventListener("dragend",(()=>{o("regionchange",{},u({type:"end",causedBy:"drag"},v()))}));else{const e=c.addListener(d,"bounds_changed",(()=>{e.remove(),m()}));c.addListener(d,"complete",(()=>{m()})),c.addListener(d,"click",(()=>{o("tap",{},{}),o("click",{},{})})),c.addListener(d,"dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),c.addListener(d,"dragend",(()=>{o("regionchange",{},u({type:"end",causedBy:"drag"},v()))}));const t=()=>{n("update:scale",d.getZoom()),o("regionchange",{},u({type:"end",causedBy:"scale"},v()))};c.addListener(d,"zoom_changed",t),c.addListener(d,"zoomend",t),c.addListener(d,"center_changed",(()=>{const e=d.getCenter(),t=tT(e),o=nT(e);n("update:latitude",t),n("update:longitude",o)}))}return d}so([()=>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=eT(i,s.latitude,s.longitude);a.setCenter(e)}})),so((()=>e.includePoints),(e=>{s.includePoints=Zx(e),d&&y()}),{deep:!0});try{jv(((e,t={})=>{switch(e){case"getCenterLocation":p((()=>{const n=a.getCenter();be(t,{latitude:tT(n),longitude:nT(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=eT(i,n,o);a.setCenter(e)}p((()=>{be(t,`${e}:ok`)}))}else be(t,`${e}:fail`)}break;case"translateMarker":p((()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){be(t,`${e}:fail ${o.message}`)}be(t,`${e}:ok`)}else be(t,`${e}:fail not found`)}));break;case"includePoints":s.includePoints=Zx(t.includePoints),(d||Dy())&&y(),f((()=>{be(t,`${e}:ok`)}));break;case"getRegion":f((()=>{const n=a.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();be(t,{southwest:{latitude:tT(o),longitude:nT(o)},northeast:{latitude:tT(r),longitude:nT(r)},errMsg:`${e}:ok`})}));break;case"getScale":p((()=>{be(t,{scale:a.getZoom(),errMsg:`${e}:ok`})}))}}),zv(),!0)}catch(_){}return Wo((()=>{Ey(e.libraries,(e=>{i=e,a=b(),c=!0,l.forEach((e=>e(a,i,o))),l.length=0,o("updated",{},{})}))})),kr("onMapReady",p),kr("addMapChidlContext",(function(e){g[e.id]=e})),kr("removeMapChidlContext",(function(e){delete g[e.id]})),{state:s,mapRef:r,trigger:o}}const rT=Tu({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=pn(null),{mapRef:r,trigger:i}=oT(e,o,t);return()=>di("uni-map",{ref:o,id:e.id},[di("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>di(jy,yi({key:e.id},e),null,16))),e.polyline.map((e=>di(Fy,e,null,16))),e.circles.map((e=>di(Vy,e,null,16))),e.controls.map((e=>di(Hy,yi(e,{trigger:i}),null,16,["trigger"]))),e.showLocation&&di(Qx,null,null),e.polygons.map((e=>di(Jx,e,null,16))),di("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function iT(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ii(e)}function aT(e){if(e.mode===cT.TIME)return"00:00";if(e.mode===cT.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case uT.YEAR:return t.toString();case uT.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function sT(e){if(e.mode===cT.TIME)return"23:59";if(e.mode===cT.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case uT.YEAR:return t.toString();case uT.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function lT(e,t,n,o){const r=e.mode===cT.DATE?"-":":",i=e.mode===cT.DATE?t.dateArray:t.timeArray;let a;if(e.mode===cT.TIME)a=2;else switch(e.fields){case uT.YEAR:a=1;break;case uT.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?lT(e,t,o):l.map((()=>0))),l}const cT={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},uT={YEAR:"year",MONTH:"month",DAY:"day"},dT={PICKER:"picker",SELECT:"select"},pT=Tu({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:cT.SELECTOR,validator:e=>Object.values(cT).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>aT(e)},end:{type:String,default:e=>sT(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){ql();const{t:o}=Pl(),r=pn(null),i=pn(null),a=pn(null),s=pn(null),l=pn(!1),{state:c,rangeArray:u}=function(e){const t=Gt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Ri((()=>{let n=e.range;switch(e.mode){case cT.SELECTOR:return[n];case cT.MULTISELECTOR:return n;case cT.TIME:return t.timeArray;case cT.DATE:{const n=t.dateArray;switch(e.fields){case uT.YEAR:return[n[0]];case uT.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),d=Cu(r,t),{system:p,selectorTypeComputed:h,_show:g,_l10nColumn:m,_l10nItem:v,_input:y,_fixInputPosition:b,_pickerViewChange:_,_cancel:w,_change:x,_resetFormData:T,_getFormData:S,_createTime:k,_createDate:C,_setValueSync:E}=function(e,t,n,o,r,i,a){const s=function(){const e=pn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=pn("");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=Ri((()=>{const t=e.selectorType;return Object.values(dT).includes(t)?t:s.value?dT.PICKER:dT.SELECT})),u=Ri((()=>e.mode===cT.DATE&&!Object.values(uT).includes(e.fields)&&t.isDesktop?l.value:"")),d=Ri((()=>lT(e,t,e.start,aT(e)))),p=Ri((()=>lT(e,t,e.end,sT(e))));function h(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 cT.SELECTOR:t.valueSync=0;break;case cT.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case cT.DATE:case cT.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 cT.MULTISELECTOR:{f(n)||(n=t.valueArray),f(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let 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 cT.TIME:case cT.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 cT.MULTISELECTOR:n=[...o];break;case cT.TIME:n=lT(e,t,o,ye({mode:cT.TIME}));break;case cT.DATE:n=lT(e,t,o,ye({mode:cT.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case cT.SELECTOR:return n[0];case cT.MULTISELECTOR:return n.map((e=>e));case cT.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case cT.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){A(),t.valueChangeSource="click";const e=k();t.valueSync=f(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width: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===cT.SELECTOR&&c.value===dT.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function P(e){const n=e.target;t.valueSync=n.value,On((()=>{C()}))}function L(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 O(e){t.valueArray=I(e.detail.value,!0)}function I(t,n){const{getLocale:o}=Pl();if(e.mode===cT.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case uT.YEAR:return t;case uT.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 R(t,n){const{getLocale:o}=Pl();if(e.mode===cT.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==uT.YEAR&&n===(e.fields===uT.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 so((()=>t.visible),(e=>{e?(clearTimeout(hT),t.contentVisible=e,M()):hT=setTimeout((()=>{t.contentVisible=e}),300)})),so([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),so((()=>t.valueSync),S,{deep:!0}),so((()=>t.valueArray),(o=>{if(e.mode===cT.TIME||e.mode===cT.DATE){const n=e.mode===cT.TIME?_:w,o=t.valueArray,r=d.value,i=p.value;if(e.mode===cT.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===cT.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:C,_l10nColumn:I,_l10nItem:R,_input:P,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:L,_pickerViewChange:O}}(e,c,d,r,i,a,s);!function(e,t,n){const{key:o,disable:r}=t_();io((()=>{r.value=!e.visible})),so(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,w,x),function(e,t){const n=Cr(Pu,!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),Go((()=>{n.removeField(o)}))}}(T,S),k(),C(),E();const A=Cw(c,"var(--uni-picker-arrow-color, #fcfcfd)");return io((()=>{c.isDesktop=A.isDesktop.value,c.popupStyle=A.popupStyle.value})),Go((()=>{i.value&&i.value.remove()})),Wo((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:f,valueArray:T,popupStyle:S,valueSync:k}=c,{rangeKey:C,mode:E,start:A,end:M}=e,P=Mu(e,"disabled");return di("uni-picker",yi({ref:r},P,{onClick:ku(g)}),[l.value?di("div",{ref:i,class:["uni-picker-container",`uni-${E}-${h.value}`],onWheel:vc,onTouchmove:vc},[di(Fi,{name:"uni-fade"},{default:()=>[ho(di("div",{class:"uni-mask uni-picker-mask",onClick:ku(w),onMousemove:b},null,40,["onClick","onMousemove"]),[[na,d]])]}),p.value?null:di("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:S.content},[di("div",{class:"uni-picker-header",onClick:yc},[di("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:ku(w)},[o("uni.picker.cancel")],8,["onClick"]),di("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?di(iv,{value:m(T),class:"uni-picker-content",onChange:_},iT(t=tr(m(u.value),((e,t)=>{let n;return di(fv,{key:t},iT(n=tr(e,((e,n)=>di("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":v(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,di("div",{ref:a,class:"uni-picker-select",onWheel:yc,onTouchmove:yc},[tr(u.value[0],((e,t)=>di("div",{key:t,class:["uni-picker-item",{selected:T[0]===t}],onClick:()=>{T[0]=t,x()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),di("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,di("div",null,[n.default&&n.default()]),p.value?di("div",{class:"uni-picker-system",onMousemove:ku(b)},[di("input",{class:["uni-picker-system_input",p.value],ref:s,value:k,type:E,tabindex:"-1",min:A,max:M,onChange:e=>{y(e),yc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let hT;const fT=class e{constructor(){Sl(this,"_adConfig",null),Sl(this,"_isLoading",!1),Sl(this,"_callbacks",[]),Sl(this,"_configLast",0)}static get instance(){return e._instance||(e._instance=new e,e._instance._init()),e._instance}get adConfig(){return this._adConfig}get isExpired(){return null==this._adConfig||(!this._configLast||Math.abs(Date.now()-this._configLast)>e.CACHE_TIME)}_init(){var t=this._getConfig();null!==t&&t.last&&Math.abs(Date.now()-t.last)<=e.CACHE_TIME&&(this._adConfig=t.data,this._configLast=t.last)}get(t,n,o){if(e.IC++,null!=this._adConfig)return this._doCallback(t,n,o),void(this.isExpired&&this._loadAdConfig(t));this._callbacks.push({adpid:t,success:n,fail:o}),this._loadAdConfig(t)}_doCallback(t,n,o){e.IS++;var{a:r,b:i}=this._adConfig;const a=r[t];a?n(i,Array.isArray(a)?a:[a]):o(e.ERROR_INVALID_ADPID)}_loadAdConfig(t){if(!0===this._isLoading)return;this._isLoading=!0;const n="undefined"!=typeof __uniConfig?__uniConfig.appId??"":"";uni.request({url:e.URL,method:"GET",timeout:8e3,data:{d:location.hostname,a:t,appid:n},dataType:"json",success:e=>{const t=e.data;if(0===t.ret){const e=t.data;this._adConfig=e,this._configLast=Date.now(),this._setConfig(e),this._callbacks.forEach((({adpid:e,success:t,fail:n})=>{this._doCallback(e,t,n)}))}else this._callbacks.forEach((e=>{e.fail({errCode:t.ret,errMsg:t.msg})}));this._callbacks=[]},fail:e=>{this._callbacks.forEach((t=>{t.fail(e)})),this._callbacks=[]},complete:e=>{this._isLoading=!1}})}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),data:t}))}};Sl(fT,"IC",0),Sl(fT,"IS",0),Sl(fT,"URL","https://hac1.dcloud.net.cn/ah5v2"),Sl(fT,"KEY","uni_app_ad_config"),Sl(fT,"CACHE_TIME",6e5),Sl(fT,"ERROR_INVALID_ADPID",{"-5002":"invalid adpid"});const gT=class e{static get instance(){return e._instance||(e._instance=new e),e._instance}constructor(){var e=this._getConfig();e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}get(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}_process(t){uni.request({url:e.URL,method:"GET",data:t,dataType:"json",success:()=>{}})}_newGUID(){let e="";const t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx";for(let n=0;n<t.length;n++)e+="x"===t[n]?(16*Math.random()|0).toString(16):t[n];return e.toUpperCase()}_getConfig(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(e.KEY);return t?JSON.parse(t):null}_setConfig(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(e.KEY,JSON.stringify({last:Date.now(),guid:t}))}};Sl(gT,"URL","https://has1.dcloud.net.cn/ahl"),Sl(gT,"KEY","uni_app_ad_guid");const mT=u(Gl,{publishHandler(e,t,n){yT.subscribeHandler(e,t,n)}}),vT=Kx,yT=u(uu,{publishHandler(e,t,n){mT.subscribeHandler(e,t,n)}}),bT=["onClick"],_T=["src"],wT=Co({name:"TabBar",__reserved:!0,compatConfig:{MODE:3},__name:"tabBar",setup(e){const t=pn([]),n=Kf();var o,r;r=t,pn(u({type:"midButton"},(o=n).midButton)),io((function(){let e=[];e=o.list.filter((e=>!1!==e.visible)),r.value=e})),function(e){so((()=>e.shown),(t=>{Tc({"--window-bottom":ag(t?parseInt(e.height):0)})}))}(n);const i=function(e,t,n){return io((()=>{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=he(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?uni.switchTab({from:"tabBar",url:i,tabBarText:r}):Uc("onTabItemTap",{index:n,text:r,pagePath:o})}}(pl(),n,t),{style:a,borderStyle:s,placeholderStyle:l}=function(e){const t=Ri((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||tg&&n&&"none"!==n&&(t=c[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Ri((()=>{const{borderStyle:t,borderColor:n}=e;return n&&y(n)?{backgroundColor:n}:{backgroundColor:d[t]||d.black}})),o=Ri((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);Wo((()=>{n.iconfontSrc&&$w({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}));const c={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},d={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function p(e){return n.selectedIndex===e}function h(e){return p(e)?n.selectedColor:n.color}function f(e,t){return p(t)&&e.selectedIconPath||e.iconPath||""}function g(e,t){if(e.iconfont)return p(t)&&e.iconfont.selectedText||e.iconfont.text}function m(e,t){if(e.iconfont)return p(t)&&e.iconfont.selectedColor||e.iconfont.color}function v(e){return"uni-tabbar__icon"+(e.text?" uni-tabbar__icon__diff":"")}function b(){return{width:n.iconWidth,height:n.iconWidth}}function _(e,t){var o;return{fontSize:(null==(o=e.iconfont)?void 0:o.fontSize)||n.iconWidth,color:m(e,t)||"rgb(0, 0, 0, 0.8)"}}function w(e,t){return{color:h(t),fontSize:n.fontSize,lineHeight:e.iconPath?"normal":1.8,marginTop:e.iconPath?n.spacing:"inherit"}}return(e,o)=>(Zr(),oi("uni-tabbar",{class:de("uni-tabbar-"+mn(n).position)},[ui("div",{class:"uni-tabbar",style:ue(mn(a))},[ui("div",{class:"uni-tabbar-border",style:ue(mn(s))},null,4),(Zr(!0),oi(Yr,null,tr(t.value,((e,t)=>(Zr(),oi("div",{key:t,class:"uni-tabbar__item",style:ue(void 0),onClick:n=>mn(i)(e,t)},[fi("",!0),ui("div",{class:"uni-tabbar__bd",style:ue({height:mn(n).height})},[g(e,t)?(Zr(),oi("div",{key:0,class:de(v(e)),style:ue(b())},["midButton"!==e.type?(Zr(),oi("div",{key:0,class:"uni-tabbar__iconfont",style:ue(_(e,t))},X(g(e,t)),5)):fi("",!0)],6)):f(e,t)?(Zr(),oi("div",{key:1,class:de(v(e)),style:ue(b())},["midButton"!==e.type?(Zr(),oi("img",{key:0,src:mn(Bg)(f(e,t))},null,8,_T)):fi("",!0)],6)):fi("",!0),e.text?(Zr(),oi("div",{key:2,class:"uni-tabbar__label",style:ue(w(e,t))},X(e.text),5)):fi("",!0),e.redDot?(Zr(),oi("div",{key:3,class:de(["uni-tabbar__reddot",e.badge?"uni-tabbar__badge":""])},X(e.badge),3)):fi("",!0)],4)],12,bT)))),128))],4),ui("div",{class:"uni-placeholder",style:ue(mn(l))},null,4)],2))}}),xT=Su({name:"Layout",setup(e,{emit:t}){const n=pn(null);xc({"--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=pl();return{routeKey:Ri((()=>Cg("/"+e.meta.route,qu()))),isTabBar:Ri((()=>e.meta.isTabBar)),routeCache:Ag}}(),{layoutState:r,windowState:i}=function(){ju();{const e=Gt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return so((()=>e.marginWidth),(e=>xc({"--window-margin":e+"px"}))),so((()=>e.leftWindowWidth+e.marginWidth),(e=>{xc({"--window-left":e+"px"})})),so((()=>e.rightWindowWidth+e.marginWidth),(e=>{xc({"--window-right":e+"px"})})),{layoutState:e,windowState:Ri((()=>({})))}}}();!function(e,t){const n=ju();function o(){const o=document.body.clientWidth,r=wg();let i={};if(r.length>0){i=pg(r[r.length-1]).meta}else{const e=Kc(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((h(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")})))}so([()=>n.path],o),Wo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const a=function(e){const t=ju(),n=Kf(),o=Ri((()=>t.meta.isTabBar&&n.shown));return xc({"--tab-bar-height":n.height}),o}(),s=function(e){const t=pn(!1);return Ri((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return rx=r,()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return di(ul,null,{default:Yn((({Component:o})=>[(Zr(),ri(Io,{matchBy:"key",cache:n},[(Zr(),ri(eo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return ho(di(wT,null,null,512),[[na,e.value]])}(a);return di("uni-app",{ref:n,class:s.value},[e,t],2)}}});const TT=["uni-page-head-type"],ST={class:"uni-page-head-hd"},kT={width:"26",height:"26",viewBox:"0 0 32 32"},CT=["d","fill"],ET=["badge-text","onClick"],AT=["width","height"],MT=["d","fill"],PT=["innerHTML"],LT={width:"14",height:"14",viewBox:"0 0 32 32"},OT=["d"],IT=["innerHTML"],RT={key:0,class:"uni-page-head-bd"},$T={key:0,class:"uni-loading"},DT=["src"],BT={class:"uni-page-head-search-icon"},NT={width:"20",height:"20",viewBox:"0 0 32 32"},jT=["d","fill"],qT={class:"uni-page-head-ft"},zT=["badge-text","onClick"],FT=["width","height"],VT=["d","fill"],UT=["innerHTML"],HT={width:"14",height:"14",viewBox:"0 0 32 32"},WT=["d"],YT=["innerHTML"],XT=Co({name:"PageHead",__reserved:!0,compatConfig:{MODE:3},__name:"pageHead",setup(e){const t=!1,n=Lc,o=pn(null),r=Bu(),i=Wf(r.navigationBar,(()=>{const e=Hf(r.navigationBar);i.backgroundColor=e.backgroundColor,i.titleColor=e.titleColor})),{clazz:a,style:s}=function(e){const t=Ri((()=>{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=Ri((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(i),l=t;function c(e){return null==e?27:e}function u(e){return null==e?"#000":e}function d(){1===_g().length?uni.reLaunch({url:"/"}):uni.navigateBack({from:"backbutton",success(){}})}return(e,p)=>(Zr(),oi("uni-page-head",{"uni-page-head-type":mn(i).type||"default"},[ui("div",{ref_key:"headRef",ref:o,class:de(mn(a)),style:ue(mn(s))},[ui("div",ST,[mn(true)&&!mn(r).isQuit?(Zr(),oi("div",{key:0,class:"uni-page-head-btn",onClick:d},[(Zr(),oi("svg",kT,[ui("path",{d:mn(Lc),fill:"transparent"===mn(i).type?"#fff":mn(i).titleColor},null,8,CT)]))])):fi("",!0),mn(t)&&mn(l)?(Zr(!0),oi(Yr,{key:1},tr(mn(l).left,((e,t)=>(Zr(),oi("div",{key:t,class:de(e.btnClass),style:ue(e.btnStyle),"badge-text":e.badgeText,onClick:e.onClick},[e.btnIconPath?(Zr(),oi("svg",{key:0,width:c(e.iconStyle.fontSize),height:c(e.iconStyle.fontSize),viewBox:"0 0 32 32"},[ui("path",{d:e.btnIconPath,fill:u(e.iconStyle.color)},null,8,MT)],8,AT)):e.btnSelect?(Zr(),oi("span",{key:1,style:ue(e.iconStyle)},[ui("i",{class:"uni-btn-icon",innerHTML:e.btnText},null,8,PT),(Zr(),oi("svg",LT,[ui("path",{d:n,fill:"#000"},null,8,OT)]))],4)):(Zr(),oi("i",{key:2,class:"uni-btn-icon",style:ue(e.iconStyle),innerHTML:e.btnText},null,12,IT))],14,ET)))),128)):fi("",!0)]),mn(false)&&mn(i).searchInput?(Zr(),oi("div",{key:1,class:"uni-page-head-search",style:ue({borderRadius:mn(i).searchInput.borderRadius,backgroundColor:mn(i).searchInput.backgroundColor})},[ui("div",{style:ue({color:mn(i).searchInput.placeholderColor}),class:de(["uni-page-head-search-placeholder",`uni-page-head-search-placeholder-${mn(false)||mn(false)?"left":mn(i).searchInput.align}`])},[ui("div",BT,[(Zr(),oi("svg",NT,[ui("path",{d:mn("M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z"),fill:mn(i).searchInput.placeholderColor},null,8,jT)]))]),mn(false)||mn(false)?fi("",!0):(Zr(),oi(Yr,{key:0},[hi(X(mn(i).searchInput.placeholder),1)],64))],6),mn(i).searchInput.disabled?(Zr(),ri(mn(Rm),{key:0,disabled:!0,style:ue({color:mn(i).searchInput.color}),"placeholder-style":"color: "+mn(i).searchInput.placeholderColor,class:"uni-page-head-search-input","confirm-type":"search",onClick:p[0]||(p[0]=e=>mn(false)&&mn(false)(e))},null,8,["style","placeholder-style"])):(Zr(),ri(mn(Rm),{key:1,focus:mn(i).searchInput.autoFocus,style:ue({color:mn(i).searchInput.color}),"placeholder-style":"color: "+mn(i).searchInput.placeholderColor,class:"uni-page-head-search-input","confirm-type":"search",onFocus:p[1]||(p[1]=e=>mn(false)&&mn(false)(e)),onBlur:p[2]||(p[2]=e=>mn(false)&&mn(false)(e)),onInput:p[3]||(p[3]=e=>mn(false)&&mn(false)(e)),onConfirm:p[4]||(p[4]=e=>mn(false)&&mn(false)(e))},null,8,["focus","style","placeholder-style"]))],4)):(Zr(),oi("div",RT,[ui("div",{class:"uni-page-head__title",style:ue({fontSize:mn(i).titleSize,opacity:"transparent"===mn(i).type?0:1})},[mn(i).loading?(Zr(),oi("i",$T)):mn(i).titleImage?(Zr(),oi("img",{key:1,src:mn(i).titleImage,class:"uni-page-head__title_image"},null,8,DT)):(Zr(),oi(Yr,{key:2},[hi(X(mn(i).titleText),1)],64))],4)])),ui("div",qT,[mn(t)&&mn(l)?(Zr(!0),oi(Yr,{key:0},tr(mn(l).right,((e,t)=>(Zr(),oi("div",{key:t,class:de(e.btnClass),style:ue(e.btnStyle),"badge-text":e.badgeText,onClick:e.onClick},[e.btnIconPath?(Zr(),oi("svg",{key:0,width:c(e.iconStyle.fontSize),height:c(e.iconStyle.fontSize),viewBox:"0 0 32 32"},[ui("path",{d:e.btnIconPath,fill:u(e.iconStyle.color)},null,8,VT)],8,FT)):e.btnSelect?(Zr(),oi("span",{key:1,style:ue(e.iconStyle)},[ui("i",{class:"uni-btn-icon",innerHTML:e.btnText},null,8,UT),(Zr(),oi("svg",HT,[ui("path",{d:n,fill:"#000"},null,8,WT)]))],4)):(Zr(),oi("i",{key:2,class:"uni-btn-icon",style:ue(e.iconStyle),innerHTML:e.btnText},null,12,YT))],14,zT)))),128)):fi("",!0)])],6),"transparent"!==mn(i).type&&"float"!==mn(i).type?(Zr(),oi("div",{key:0,class:de({"uni-placeholder":!0,"uni-placeholder-titlePenetrate":mn(i).titlePenetrate})},null,2)):fi("",!0)],8,TT))}}),GT={class:"uni-page-refresh-inner"},KT=["fill"],QT=[ui("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),ui("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],JT={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},ZT=["stroke"],eS=Co({name:"PageRefresh",__name:"component",setup(e){const{pullToRefresh:t}=Bu(),n=t.offset,o=t.color;return(e,t)=>(Zr(),oi("uni-page-refresh",null,[ui("div",{style:ue({"margin-top":mn(n)+"px"}),class:"uni-page-refresh"},[ui("div",GT,[(Zr(),oi("svg",{fill:mn(o),class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},QT,8,KT)),(Zr(),oi("svg",JT,[ui("circle",{stroke:mn(o),class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,ZT)]))])],4)]))}});function tS(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 nS="aborting",oS="refreshing",rS="restoring";function iS(e){const t=Bu(),{id:n,pullToRefresh:o}=t,{range:r,height:i}=o;let a,s,l,c,u,d,p,h;jv((()=>{t.enablePullDownRefresh&&(h||(h=oS,v(),setTimeout((()=>{x()}),50)))}),"startPullDownRefresh",!1,n),jv((()=>{t.enablePullDownRefresh&&h===oS&&(y(),h=rS,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(),h=f=g=null})))}),"stopPullDownRefresh",!1,n),Wo((()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style}));let f=null,g=null;function m(e){h&&a&&a.classList[e]("uni-page-refresh--"+h)}function v(){m("add")}function y(){m("remove")}const b=ku((e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([nS,oS,rS].indexOf(h)>=0)})),_=ku((e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!tS(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!h)return;e.cancelable&&e.preventDefault(),null===f&&(g=n,h="pulling",v()),n-=g,n<0&&(n=0),f=n;(n>=r&&"reached"!==h||n<r&&"pulling"!==h)&&(y(),h="reached"===h?"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=ku((e=>{t.enablePullDownRefresh&&tS(e,u,d)&&null!==h&&("pulling"===h?(y(),h=nS,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(),h=f=g=null}))):"reached"===h&&(y(),h=oS,v(),x()))}));function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",Uc(n,"onPullDownRefresh"))}return{onTouchstartPassive:b,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const aS=Co({name:"PageBody",__reserved:!0,compatConfig:{MODE:3},__name:"pageBody",setup(e){const t=!1,n=Bu(),o=pn(null),r=pn(null),i=n&&n.enablePullDownRefresh?iS(o):null,a=pn(null);function s(){}return so((()=>null==n?void 0:n.enablePullDownRefresh),(()=>{a.value=(null==n?void 0:n.enablePullDownRefresh)?i:null}),{immediate:!0}),(e,i)=>(Zr(),oi(Yr,null,[mn(true)&&mn(n)&&(mn(t)||mn(n).enablePullDownRefresh)?(Zr(),ri(eS,{key:0,ref_key:"refreshRef",ref:o},null,512)):fi("",!0),ui("uni-page-wrapper",yi({ref_key:"wrapperRef",ref:r},a.value),[ui("uni-page-body",null,[nr(e.$slots,"default")]),mn(t)?(Zr(),ri(mn(Gg),{key:0,onResize:s})):fi("",!0)],16)],64))}}),sS=Su({name:"Page",setup(e,t){let n=Nu(qu());const o=n.navigationBar,r={};return Dw(n),()=>di("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[di(XT),lS(t),null]:[lS(t),null])}});function lS(e){return Zr(),ri(aS,{key:0},{default:Yn((()=>[nr(e.slots,"page")])),_:3})}const cS={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.getApp=sy,window.getCurrentPages=_g,window.wx=vT,window.uni=vT,window.UniViewJSBridge=mT,window.UniServiceJSBridge=yT,window.rpx2px=Fd,window.__setupPage=e=>dy(e);const uS=Object.assign({}),dS=Object.assign;window.__uniConfig=dS({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:"5.34"},{appId:"__UNI__1A253B1",appName:"田东果霞妹",appVersion:"2.1.2",appVersionCode:212,async:cS,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(uS).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return dS(e[n]||(e[n]={}),uS[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const pS={delay:cS.delay,timeout:cS.timeout,suspensible:cS.suspensible};cS.loading&&(pS.loadingComponent={name:"SystemAsyncLoading",render:()=>di(Jn(cS.loading))}),cS.error&&(pS.errorComponent={name:"SystemAsyncError",props:["error"],render(){return di(Jn(cS.error),{error:this.error})}});const hS=()=>n((()=>import("./pages-index-index.C8w_4RQd.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=>dy(e.default||e))),fS=Ao(dS({loader:hS},pS)),gS=()=>n((()=>import("./pages-category-index.C6i6AZB8.js")),__vite__mapDeps([18,19,2,20,21,22,23,5,24,6,7,8,9,10,16,25]),import.meta.url).then((e=>dy(e.default||e))),mS=Ao(dS({loader:gS},pS)),vS=()=>n((()=>import("./pages-cart-index.Buf-MoAr.js")),__vite__mapDeps([26,3,2,4,5,21,22,9,16,27]),import.meta.url).then((e=>dy(e.default||e))),yS=Ao(dS({loader:vS},pS)),bS=()=>n((()=>import("./pages-user-index.DEIiSKUr.js")),__vite__mapDeps([28,29,2,30,11,31,32,16,33]),import.meta.url).then((e=>dy(e.default||e))),_S=Ao(dS({loader:bS},pS)),wS=()=>n((()=>import("./pages-custom-index.CSvrto3w.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=>dy(e.default||e))),xS=Ao(dS({loader:wS},pS)),TS=()=>n((()=>import("./pages-search-index.DU2VQwgi.js")),__vite__mapDeps([36,2,16,37]),import.meta.url).then((e=>dy(e.default||e))),SS=Ao(dS({loader:TS},pS)),kS=()=>n((()=>import("./pages-login-index.DuCPUm7O.js")),__vite__mapDeps([38,39,2,40,29,30,16,41]),import.meta.url).then((e=>dy(e.default||e))),CS=Ao(dS({loader:kS},pS)),ES=()=>n((()=>import("./pages-user-bind-index.AOFso4DY.js")),__vite__mapDeps([42,31,39,2,16,43]),import.meta.url).then((e=>dy(e.default||e))),AS=Ao(dS({loader:ES},pS)),MS=()=>n((()=>import("./pages-user-personal-index.BcsdjQLe.js")),__vite__mapDeps([44,45,3,2,4,5,46,47,29,30,31,40,16,48]),import.meta.url).then((e=>dy(e.default||e))),PS=Ao(dS({loader:MS},pS)),LS=()=>n((()=>import("./pages-article-index.J_TMIatb.js")),__vite__mapDeps([49,50,2,5,51,23,24,52,16,53]),import.meta.url).then((e=>dy(e.default||e))),OS=Ao(dS({loader:LS},pS)),IS=()=>n((()=>import("./pages-article-detail.C9L0wqOL.js")),__vite__mapDeps([54,12,2,13,5,52,16,55]),import.meta.url).then((e=>dy(e.default||e))),RS=Ao(dS({loader:IS},pS)),$S=()=>n((()=>import("./pages-help-index.C4zU0j-W.js")),__vite__mapDeps([56,23,2,5,24,16,57]),import.meta.url).then((e=>dy(e.default||e))),DS=Ao(dS({loader:$S},pS)),BS=()=>n((()=>import("./pages-coupon-index.C3atwH1t.js")),__vite__mapDeps([58,14,59,21,2,22,16,60]),import.meta.url).then((e=>dy(e.default||e))),NS=Ao(dS({loader:BS},pS)),jS=()=>n((()=>import("./pages-goods-list.DmTiFbi9.js")),__vite__mapDeps([61,23,2,5,24,10,19,20,16,62]),import.meta.url).then((e=>dy(e.default||e))),qS=Ao(dS({loader:jS},pS)),zS=()=>n((()=>import("./pages-goods-detail.fOATWzsX.js")),__vite__mapDeps([63,12,2,13,5,10,9,7,8,11,64,3,4,65,29,30,66,67,16,68]),import.meta.url).then((e=>dy(e.default||e))),FS=Ao(dS({loader:zS},pS)),VS=()=>n((()=>import("./pages-comment-index.CZiJ9PZu.js")),__vite__mapDeps([69,50,2,5,51,64,3,4,65,23,24,29,30,16,70]),import.meta.url).then((e=>dy(e.default||e))),US=Ao(dS({loader:VS},pS)),HS=()=>n((()=>import("./pages-my-coupon-index.DbF1Lleh.js")),__vite__mapDeps([71,50,2,5,51,23,24,14,59,16,72]),import.meta.url).then((e=>dy(e.default||e))),WS=Ao(dS({loader:HS},pS)),YS=()=>n((()=>import("./pages-address-index.BS11FbUx.js")),__vite__mapDeps([73,3,2,4,5,46,74,21,22,16,75]),import.meta.url).then((e=>dy(e.default||e))),XS=Ao(dS({loader:YS},pS)),GS=()=>n((()=>import("./pages-address-create.D7XpbCJl.js")),__vite__mapDeps([76,45,3,2,4,5,46,47,77,78,79,66,67,80,39,74,16,81]),import.meta.url).then((e=>dy(e.default||e))),KS=Ao(dS({loader:GS},pS)),QS=()=>n((()=>import("./pages-address-update.CODa-Okr.js")),__vite__mapDeps([82,45,3,2,4,5,46,47,77,78,79,66,67,80,39,74,16,83]),import.meta.url).then((e=>dy(e.default||e))),JS=Ao(dS({loader:QS},pS)),ZS=()=>n((()=>import("./pages-points-log.Cw_1yjkW.js")),__vite__mapDeps([84,23,2,5,24,16,85]),import.meta.url).then((e=>dy(e.default||e))),ek=Ao(dS({loader:ZS},pS)),tk=()=>n((()=>import("./pages-wallet-index.DNfue43W.js")),__vite__mapDeps([86,31,2,16,87]),import.meta.url).then((e=>dy(e.default||e))),nk=Ao(dS({loader:tk},pS)),ok=()=>n((()=>import("./pages-wallet-balance-log.B3E28gBC.js")),__vite__mapDeps([88,23,2,5,24,16,89]),import.meta.url).then((e=>dy(e.default||e))),rk=Ao(dS({loader:ok},pS)),ik=()=>n((()=>import("./pages-wallet-recharge-index.YttlY6js.js")),__vite__mapDeps([90,91,78,2,79,5,66,3,4,67,92,93,94,16,95]),import.meta.url).then((e=>dy(e.default||e))),ak=Ao(dS({loader:ik},pS)),sk=()=>n((()=>import("./pages-wallet-recharge-order.CiAAgrzb.js")),__vite__mapDeps([96,23,2,5,24,16,97]),import.meta.url).then((e=>dy(e.default||e))),lk=Ao(dS({loader:sk},pS)),ck=()=>n((()=>import("./pages-checkout-index.RU1Bx1fF.js")),__vite__mapDeps([98,78,2,79,5,91,66,3,4,67,92,59,99,16,100]),import.meta.url).then((e=>dy(e.default||e))),uk=Ao(dS({loader:ck},pS)),dk=()=>n((()=>import("./pages-checkout-cashier-index.V1YUT43t.js")),__vite__mapDeps([101,91,78,2,79,5,66,3,4,67,92,94,93,99,16,102]),import.meta.url).then((e=>dy(e.default||e))),pk=Ao(dS({loader:dk},pS)),hk=()=>n((()=>import("./pages-order-center.C7UExR1P.js")),__vite__mapDeps([103,31,2,16,104]),import.meta.url).then((e=>dy(e.default||e))),fk=Ao(dS({loader:hk},pS)),gk=()=>n((()=>import("./pages-order-index.aLZQZFFU.js")),__vite__mapDeps([105,50,2,5,51,23,24,99,93,32,16,106]),import.meta.url).then((e=>dy(e.default||e))),mk=Ao(dS({loader:gk},pS)),vk=()=>n((()=>import("./pages-order-detail.B-nu7IMT.js")),__vite__mapDeps([107,99,93,32,2,16,108]),import.meta.url).then((e=>dy(e.default||e))),yk=Ao(dS({loader:vk},pS)),bk=()=>n((()=>import("./pages-order-express-index.BlSDvs4s.js")),__vite__mapDeps([109,50,2,5,51,32,16,110]),import.meta.url).then((e=>dy(e.default||e))),_k=Ao(dS({loader:bk},pS)),wk=()=>n((()=>import("./pages-order-comment-index.D3aWo-sy.js")),__vite__mapDeps([111,40,2,16,112]),import.meta.url).then((e=>dy(e.default||e))),xk=Ao(dS({loader:wk},pS)),Tk=()=>n((()=>import("./pages-refund-index.Bi4Zdxkl.js")),__vite__mapDeps([113,50,2,5,51,23,24,114,16,115]),import.meta.url).then((e=>dy(e.default||e))),Sk=Ao(dS({loader:Tk},pS)),kk=()=>n((()=>import("./pages-refund-detail.BzPZpiEb.js")),__vite__mapDeps([116,117,114,2,16,118]),import.meta.url).then((e=>dy(e.default||e))),Ck=Ao(dS({loader:kk},pS)),Ek=()=>n((()=>import("./pages-refund-apply.BCNE22YL.js")),__vite__mapDeps([119,117,40,114,2,16,120]),import.meta.url).then((e=>dy(e.default||e))),Ak=Ao(dS({loader:Ek},pS)),Mk=()=>n((()=>import("./pages-web-view-index.cr5BbI1M.js")),__vite__mapDeps([121,2,16]),import.meta.url).then((e=>dy(e.default||e))),Pk=Ao(dS({loader:Mk},pS));function Lk(e,t){return Zr(),ri(sS,null,{page:Yn((()=>[di(e,dS({},t,{ref:"page"}),null,512)])),_:1})}function Ok(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(fS,t)}},loader:hS,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/category/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(mS,t)}},loader:gS,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"全部分类",type:"default"},isNVue:!1}},{path:"/pages/cart/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(yS,t)}},loader:vS,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/user/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(_S,t)}},loader:bS,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=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(xS,t)}},loader:wS,meta:{enablePullDownRefresh:!0,navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(SS,t)}},loader:TS,meta:{navigationBar:{titleText:"商品搜索",type:"default"},isNVue:!1}},{path:"/pages/login/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(CS,t)}},loader:kS,meta:{navigationBar:{titleText:"会员登录",type:"default"},isNVue:!1}},{path:"/pages/user/bind/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(AS,t)}},loader:ES,meta:{navigationBar:{titleText:"绑定手机",type:"default"},isNVue:!1}},{path:"/pages/user/personal/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(PS,t)}},loader:MS,meta:{navigationBar:{titleText:"个人信息",type:"default"},isNVue:!1}},{path:"/pages/article/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(OS,t)}},loader:LS,meta:{navigationBar:{titleText:"资讯列表",type:"default"},isNVue:!1}},{path:"/pages/article/detail",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(RS,t)}},loader:IS,meta:{navigationBar:{titleText:"资讯详情",type:"default"},isNVue:!1}},{path:"/pages/help/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(DS,t)}},loader:$S,meta:{navigationBar:{titleText:"帮助中心",type:"default"},isNVue:!1}},{path:"/pages/coupon/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(NS,t)}},loader:BS,meta:{navigationBar:{titleText:"领券中心",type:"default"},isNVue:!1}},{path:"/pages/goods/list",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(qS,t)}},loader:jS,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/detail",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(FS,t)}},loader:zS,meta:{navigationBar:{titleText:"商品详情页",type:"default"},isNVue:!1}},{path:"/pages/comment/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(US,t)}},loader:VS,meta:{navigationBar:{titleText:"商品评价页",type:"default"},isNVue:!1}},{path:"/pages/my-coupon/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(WS,t)}},loader:HS,meta:{navigationBar:{titleText:"我的优惠券",type:"default"},isNVue:!1}},{path:"/pages/address/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(XS,t)}},loader:YS,meta:{navigationBar:{titleText:"收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/create",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(KS,t)}},loader:GS,meta:{navigationBar:{titleText:"新增收货地址",type:"default"},isNVue:!1}},{path:"/pages/address/update",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(JS,t)}},loader:QS,meta:{navigationBar:{titleText:"编辑收货地址",type:"default"},isNVue:!1}},{path:"/pages/points/log",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(ek,t)}},loader:ZS,meta:{navigationBar:{titleText:"账单明细",type:"default"},isNVue:!1}},{path:"/pages/wallet/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(nk,t)}},loader:tk,meta:{navigationBar:{titleText:"我的钱包",type:"default"},isNVue:!1}},{path:"/pages/wallet/balance/log",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(rk,t)}},loader:ok,meta:{navigationBar:{titleText:"账单详情",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(ak,t)}},loader:ik,meta:{navigationBar:{titleText:"充值中心",type:"default"},isNVue:!1}},{path:"/pages/wallet/recharge/order",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(lk,t)}},loader:sk,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/checkout/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(uk,t)}},loader:ck,meta:{navigationBar:{titleText:"订单结算台",type:"default"},isNVue:!1}},{path:"/pages/checkout/cashier/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(pk,t)}},loader:dk,meta:{navigationBar:{titleText:"支付订单",type:"default"},isNVue:!1}},{path:"/pages/order/center",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(fk,t)}},loader:hk,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"订单中心",type:"default"},isNVue:!1}},{path:"/pages/order/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(mk,t)}},loader:gk,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(yk,t)}},loader:vk,meta:{navigationBar:{backgroundColor:"#e8c269",titleText:"订单详情",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/order/express/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(_k,t)}},loader:bk,meta:{navigationBar:{titleText:"物流跟踪",type:"default"},isNVue:!1}},{path:"/pages/order/comment/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(xk,t)}},loader:wk,meta:{navigationBar:{titleText:"订单评价",type:"default"},isNVue:!1}},{path:"/pages/refund/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(Sk,t)}},loader:Tk,meta:{navigationBar:{titleText:"退换/售后",type:"default"},isNVue:!1}},{path:"/pages/refund/detail",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(Ck,t)}},loader:kk,meta:{navigationBar:{titleText:"售后详情",type:"default"},isNVue:!1}},{path:"/pages/refund/apply",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(Ak,t)}},loader:Ek,meta:{navigationBar:{titleText:"申请售后",type:"default"},isNVue:!1}},{path:"/pages/web-view/index",component:{setup(){const e=sy(),t=e&&e.$route&&e.$route.query||{};return()=>Lk(Pk,t)}},loader:Mk,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Ik="function"==typeof Proxy;class Rk{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 $k(e,t){const n=Ok(),o=Ok().__VUE_DEVTOOLS_GLOBAL_HOOK__,r=Ik&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const i=r?new Rk(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)}
  26. /*!
  27. * vuex v4.1.0
  28. * (c) 2022 Evan You
  29. * @license MIT
  30. */function Dk(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Bk(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 Nk(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;qk(e,n,[],e._modules.root,!0),jk(e,n,t)}function jk(e,t,n){var o=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={},s={},l=He(!0);l.run((function(){Dk(i,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),s[n]=Ri((function(){return a[n]()})),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})}))})),e._state=Gt({data:t}),e._scope=l,e.strict&&function(e){so((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null})),r&&r.stop()}function qk(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=Fk(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=Vk(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=Vk(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 zk(e,t)}},state:{get:function(){return Fk(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){qk(e,t,n.concat(i),o,r)}))}function zk(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 Fk(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Vk(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 Uk=0;function Hk(e,t){$k({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:Wk}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:Wk}),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=[];Kk(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[Gk(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId;zk(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]=Qk((function(){return e[n]}))}else t[n]=Qk((function(){return e[n]}))})),t}(t);r.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?Xk(e):e,editable:!1,value:Qk((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=Uk++,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 Wk=8702998,Yk={label:"namespaced",textColor:16777215,backgroundColor:6710886};function Xk(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function Gk(e,t){return{id:t||"root",label:Xk(t),tags:e.namespaced?[Yk]:[],children:Object.keys(e._children).map((function(n){return Gk(e._children[n],t+n+"/")}))}}function Kk(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?[Yk]:[]}),Object.keys(t._children).forEach((function(r){Kk(e,t._children[r],n,o+r+"/")}))}function Qk(e){try{return e()}catch(t){return t}}var Jk=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)||{}},Zk={namespaced:{configurable:!0}};Zk.namespaced.get=function(){return!!this._rawModule.namespaced},Jk.prototype.addChild=function(e,t){this._children[e]=t},Jk.prototype.removeChild=function(e){delete this._children[e]},Jk.prototype.getChild=function(e){return this._children[e]},Jk.prototype.hasChild=function(e){return e in this._children},Jk.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)},Jk.prototype.forEachChild=function(e){Dk(this._children,e)},Jk.prototype.forEachGetter=function(e){this._rawModule.getters&&Dk(this._rawModule.getters,e)},Jk.prototype.forEachAction=function(e){this._rawModule.actions&&Dk(this._rawModule.actions,e)},Jk.prototype.forEachMutation=function(e){this._rawModule.mutations&&Dk(this._rawModule.mutations,e)},Object.defineProperties(Jk.prototype,Zk);var eC=function(e){this.register([],e,!1)};function tC(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;tC(e.concat(o),t.getChild(o),n.modules[o])}}eC.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},eC.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},eC.prototype.update=function(e){tC([],this.root,e)},eC.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new Jk(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&Dk(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},eC.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)},eC.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var nC=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 eC(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;qk(this,l,[],this._modules.root),jk(this,l),n.forEach((function(e){return e(t)}))},oC={state:{configurable:!0}};nC.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&Hk(e,this)},oC.state.get=function(){return this._state.data},oC.state.set=function(e){},nC.prototype.commit=function(e,t,n){var o=this,r=Vk(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)})))},nC.prototype.dispatch=function(e,t){var n=this,o=Vk(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)}))}))}},nC.prototype.subscribe=function(e,t){return Bk(e,this._subscribers,t)},nC.prototype.subscribeAction=function(e,t){return Bk("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},nC.prototype.watch=function(e,t,n){var o=this;return so((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},nC.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},nC.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),qk(this,this.state,e,this._modules.get(e),n.preserveState),jk(this,this.state)},nC.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete Fk(t.state,e.slice(0,-1))[e[e.length-1]]})),Nk(this)},nC.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},nC.prototype.hotUpdate=function(e){this._modules.update(e),Nk(this,!0)},nC.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(nC.prototype,oC);const rC={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()}},iC=e=>e.replace(/\-/g,"/"),aC=(e={})=>{const t=[];for(const n in e){const o=e[n];o&&(dC(o)?o.forEach((e=>{t.push(n+"="+e)})):t.push(n+"="+o))}return t.join("&")},sC=(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},lC=(e,t)=>{for(var n in t)if(t[n]==e)return!0;return!1},cC=e=>0===Object.keys(e).length,uC=e=>"[object Object]"===Object.prototype.toString.call(e),dC=e=>"[object Array]"===Object.prototype.toString.call(e),pC=e=>dC(e)?0===e.length:uC(e)?cC(e):!e,hC=(e,t)=>uC(e)&&void 0!==e[t],fC=e=>{let t=dC(e)?[]:{};if("object"==typeof e){for(let n in e)t[n]="object"==typeof e[n]?fC(e[n]):e[n];return t}};function gC(e,t=100){let n;return function(){const o=this,r=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}}const mC=(e,t)=>e.filter((e=>t.indexOf(e)>-1)),vC=e=>null===e||"object"!=typeof e?e:Object.keys(e).reduce(((t,n)=>(null!==e[n]&&void 0!==e[n]&&(t[n]=vC(e[n])),t)),{}),yC=(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 bC={qiniuRegion:"",qiniuImageURLPrefix:"",qiniuUploadToken:"",qiniuUploadTokenURL:"",qiniuUploadTokenFunction:null,qiniuShouldUseQiniuFileName:!1};function _C(e,t,n,o,r,i){if(null!=e)if(o&&function(e){e.region?bC.qiniuRegion=e.region:console.error("qiniu uploader need your bucket region"),e.uptoken?bC.qiniuUploadToken=e.uptoken:e.uptokenURL?bC.qiniuUploadTokenURL=e.uptokenURL:e.uptokenFunc&&(bC.qiniuUploadTokenFunction=e.uptokenFunc),e.domain&&(bC.qiniuImageURLPrefix=e.domain),bC.qiniuShouldUseQiniuFileName=e.shouldUseQiniuFileName}(o),bC.qiniuUploadToken)wC(e,t,n,o,r,i);else if(bC.qiniuUploadTokenURL)!function(e){wx.request({url:bC.qiniuUploadTokenURL,success:function(t){var n=t.data.uptoken;n&&n.length>0?(bC.qiniuUploadToken=n,e&&e()):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)}})}((function(){wC(e,t,n,o,r,i)}));else{if(!bC.qiniuUploadTokenFunction)return void console.error("qiniu uploader need one of [uptoken, uptokenURL, uptokenFunc]");if(bC.qiniuUploadToken=bC.qiniuUploadTokenFunction(),null==bC.qiniuUploadToken&&bC.qiniuUploadToken.length>0)return void console.error("qiniu UploadTokenFunction result is null, please check the return value");wC(e,t,n,o,r,i)}else console.error("qiniu uploader need filePath to upload")}function wC(e,t,n,o,r,i){if(null==bC.qiniuUploadToken&&bC.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}(bC.qiniuRegion),s=e.split("//")[1];o&&o.key&&(s=o.key);var l={token:bC.qiniuUploadToken};bC.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=bC.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 xC=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})}})}))},TC=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})}})}))},SC=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]}_C(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 kC=Object.assign({},{name:"萤火商城2.0",apiUrl:"./index.php?s=/api/",enabledSettingCache:!0},e),CC={all:()=>kC,get:(e,t)=>kC.hasOwnProperty(e)?kC[e]:(console.error(`检测到不存在的配置项: ${e}`),t)},EC=CC.get("apiUrl"),AC=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=yC(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 xC(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 TC(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 SC(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 xC(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 TC(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=yC(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:EC,fileUrl:EC,defaultUploadUrl:"upload/image",header:{"Content-Type":"application/json;charset=utf-8"},timeout:15e3,config:{isPrompt:!0,load:!0,isFactory:!0}});let MC=0;AC.requestStart=e=>{if(e.load&&(MC<=0&&uni.showLoading({title:"加载中",mask:!0}),MC+=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=NC.getters.platform,e.header["Access-Token"]=NC.getters.token,e.header.domain=window.location.hostname,hC(e,"data")&&!cC(e.data)&&(e.data=vC(e.data)),e},AC.requestEnd=e=>{e.load&&(MC-=1,MC<=0&&uni.hideLoading())};let PC=!1;AC.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?(NC.dispatch("Logout"),PC||(PC=!0,uni.showModal({title:"温馨提示",content:"此时此刻需要您登录喔~",confirmText:"去登录",cancelText:"再逛会",success:e=>{e.confirm&&uni.navigateTo({url:"/pages/login/index"}),e.cancel&&_g().length>1&&uni.navigateBack(),PC=!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},AC.requestError=e=>{if(0===e.statusCode)throw e;setTimeout((()=>LC(e)),10)};const LC=e=>{let t=`网络请求出错:${e.errMsg}`;"request:fail"===e.errMsg&&(t="网络请求错误:请检查api地址能否访问正常"),uni.showToast({title:t,icon:"none",duration:3500})},OC="passport/login",IC="passport/loginMpWx",RC="passport/loginMpWxMobile",$C="passport/isPersonalMpweixin";function DC(e,t){return AC.post($C,e,t)}const BC=(e,{token:t,userId:n})=>{const o=2592e3;rC.set("userId",n,o),rC.set("AccessToken",t,o),e("SET_TOKEN",t),e("SET_USER_ID",n)};const NC=new nC({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 AC.post(OC,e)})({form:t}).then((t=>{const o=t.data;BC(e,o),n(t)})).catch(o)})),LoginMpWx:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return AC.post(IC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;BC(e,o),n(t)})).catch(o)})),LoginMpWxMobile:({commit:e},t)=>new Promise(((n,o)=>{(function(e,t){return AC.post(RC,e,t)})({form:t},{isPrompt:!0}).then((t=>{const o=t.data;BC(e,o),n(t)})).catch(o)})),Logout({commit:e},t){const n=this;return new Promise(((t,o)=>{n.getters.userId>0&&(rC.remove("userId"),rC.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)=>{pC(t)||(e.appTheme=t)}},actions:{SetAppTheme:({commit:e},t)=>new Promise(((n,o)=>{rC.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:fC(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}}),jC="store/data",qC=()=>AC.get(jC),zC="setting/data";class FC{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 VC=new FC([{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"}]),UC=(()=>{const e=window.navigator.userAgent.toLowerCase();return"micromessenger"===String(e.match(/MicroMessenger/i))})()?"WXOFFICIAL":"H5",HC=e=>{rC.set("Setting",e,600)},WC=()=>new Promise(((e,t)=>{AC.get(zC).then((t=>{e(t.data.setting)}))})),YC=e=>(null==e&&(e=CC.get("enabledSettingCache")),new Promise(((t,n)=>{const o=rC.get("Setting");e&&o?t(o):WC().then((e=>{HC(e),t(e)}))}))),XC=(e,t)=>new Promise(((n,o)=>{YC(t).then((t=>n(t[e])))})),GC={setStorage:HC,data:YC,item:XC,setAppTheme:()=>new Promise(((e,t)=>{XC(VC.APP_THEME.value).then((t=>{NC.dispatch("SetAppTheme",t),e()}))})),isShowCustomerBtn:async()=>{const e=await XC(VC.CUSTOMER.value,!0);return!!e.enabled&&("mpwxkf"===e.provider&&"MP-WEIXIN"===UC)}},KC=e=>{(e=>{rC.set("Store",e,600)})(e),GC.setStorage(e.setting),GC.setAppTheme()},QC=(e=!0)=>new Promise(((t,n)=>{const o=rC.get("Store");e&&o?t(o):new Promise(((e,t)=>{qC().then((t=>{KC(t.data),e(t.data)}))})).then((e=>{t(e)}))})),JC={data:QC,storeInfo:()=>new Promise(((e,t)=>{QC().then((t=>e(t.storeInfo)))})),h5Url:()=>new Promise(((e,t)=>{QC().then((t=>{const n=t.clientData.h5.setting.baseUrl;e(n)}))}))},ZC={data:[],current_page:1,last_page:1,per_page:15,total:0},eE=(e,t)=>{uni.showToast({title:e,icon:"success",mask:!0,duration:1500,success(){t&&t()}})},tE=(e,t)=>{uni.showModal({title:"友情提示",content:e,showCancel:!1,success(e){t&&t()}})},nE=(e,t=1500,n=!0)=>{uni.showToast({title:e,icon:"none",mask:n,duration:t})},oE=()=>["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"],rE=(e,t,n)=>{let o=e;if(!pC(t)){o+="#/"+t;const e=iE(n);pC(e)||(o+="?"+e)}return o},iE=e=>aC(aE(e)),aE=e=>({...e}),sE=(e,t={},n="navigateTo")=>{if(!e||0==e.length)return!1;if(lC(e,["pages/index/index","pages/category/index","pages/cart/index","pages/user/index"]))return NC.dispatch("SetQueryParam",t),uni.switchTab({url:`/${e}`}),!0;const o=pC(t)?"":"?"+aC(t);return"navigateTo"===n&&uni.navigateTo({url:`/${e}${o}`}),"redirectTo"===n&&uni.redirectTo({url:`/${e}${o}`}),!0},lE=()=>{const e=_g(),t=e[e.length-1].$page.fullPath.split("?");return{path:t[0].slice(1),query:sC(t[1])}},cE=e=>{uni.setStorageSync("cartTotalNum",Number(e))},uE=()=>{const e=(e=>{const t=uni.getStorageSync("cartTotalNum")||0;return dE()?t:0})();e>0?uni.setTabBarBadge({index:2,text:`${e}`}):uni.removeTabBarBadge({index:2})},dE=()=>!!NC.getters.userId,pE=()=>fC(ZC),hE=(e,t,n)=>(1==n&&(t.data=[]),t.data.concat(e.data)),fE=e=>hC(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):{},gE=e=>!0,mE=e=>e.filter((e=>!0)).length>0,vE=e=>e.filter((e=>!e.moduleKey||(e.moduleKey,!0))),yE=e=>!!e&&("PAGE"===e.type&&sE(e.param.path,e.param.query),"CUSTOM"===e.type&&sE(e.param.path,sC(e.param.queryStr)),"URL"===e.type&&window.open(e.param.url),!0),bE=e=>{let t="";for(const n in e){t+=`--${n.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[n]};`}return t},_E={globalData:{},onLaunch({path:e,query:t,scene:n}){this.onStartupQuery(uC(t)?t:{}),this.getStoreInfo()},methods:{onStartupQuery(e){},getStoreInfo(){JC.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 wE(){NC.commit("SET_PLATFORM",UC),NC.commit("SET_TOKEN",rC.get("AccessToken")),NC.commit("SET_USER_ID",rC.get("userId")),NC.commit("SET_APP_THEME",rC.get("appTheme"))}uy(_E,{init:ly,setup(e){const t=ju(),n=(n=t)=>{var o;o=e,Object.keys(rh).forEach((e=>{rh[e].forEach((t=>{Vo(e,t,o)}))}));const{onLaunch:r,onShow:i,onPageNotFound:a}=e,s=function({path:e,query:t}){return u(sg,{path:e,query:t}),u(lg,sg),u({},sg)}({path:n.path.slice(1)||__uniRoutes[0].meta.route,query:Ee(n.query)});if(r&&$(r,s),i&&$(i,s),!n.matched.length){const e={notFound:!0,openType:"appLaunch",path:n.path,query:Ee(n.query),scene:1001};Cf(),a&&$(a,e)}};return Cr(Qs).isReady().then(n),Wo((()=>{window.addEventListener("resize",Pe(py,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",hy),document.addEventListener("visibilitychange",fy),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{yT.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=()=>(Zr(),ri(xT));e.setup=(e,o)=>{const r=t&&t(e,o);return v(r)?n:r},e.render=n}});const xE={data:()=>({platform:UC}),computed:{appTheme:()=>NC.getters.appTheme,appThemeStyle:()=>bE(NC.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=>bE({...NC.getters.appTheme,...e})}},TE={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 SE(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]?SE(e[o]):e[o]);return n}function kE(e={},t={}){if("object"!=typeof(e=SE(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]=kE(e[n],t[n]):e[n]=t[n]);return e}function CE(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function EE(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 AE(e){return"[object Object]"===Object.prototype.toString.call(e)}function ME(e){return"function"==typeof e}const PE={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&&(CE(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:CE,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:EE,isEmpty:EE,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:AE,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:ME,promise:function(e){return AE(e)&&ME(e.then)&&ME(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 LE=new class{setConfig(e){this.config=kE(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=PE.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 OE=(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 IE(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 RE(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 $E(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 DE={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=RE(e,!1),r=o[0],i=o[1],a=o[2],s=RE(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=$E("rgb("+Math.round(l*p+r)+","+Math.round(c*p+i)+","+Math.round(u*p+a)+")");d.push(e)}return d},hexToRgb:RE,rgbToHex:$E,colorToRgba:function(e,t=.3){let n=(e=$E(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 BE=null;let NE=[],jE=[];function qE(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 zE={v:"1.10.1",version:"1.10.1",type:["primary","success","info","error","warning"]};const FE={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:OE,timeFormat:IE,date:IE,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)+"年前":IE(n,t)}return r},colorGradient:DE.colorGradient,colorToRgba:DE.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:LE.get,post:LE.post,put:LE.put,delete:LE.delete,hexToRgb:DE.hexToRgb,rgbToHex:DE.rgbToHex,test:PE,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:SE,deepMerge:kE,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),PE.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:LE,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:zE,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!==BE&&clearTimeout(BE),n){var o=!BE;BE=setTimeout((function(){BE=null}),t),o&&"function"==typeof e&&e()}else BE=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){NE[o]||(NE[o]=null),n?jE[o]||(jE[o]=!0,"function"==typeof e&&e(),NE[o]=setTimeout((()=>{jE[o]=!1}),t)):jE[o]||(jE[o]=!0,NE[o]=setTimeout((()=>{jE[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(PE.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=qE(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");n[qE(o[0])]=qE(o[1])}return n}let n="";for(const o in e){n+=`${o.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[o]};`}return qE(n)}};uni.$u=FE;const VE={install:e=>{e.mixin(TE),e.config.globalProperties.$u=FE}};(function(){const e=La({..._E,store:NC,created:wE});return e.config.globalProperties.$toast=nE,e.config.globalProperties.$success=eE,e.config.globalProperties.$error=tE,e.config.globalProperties.$navTo=sE,e.config.globalProperties.$getShareUrlParams=iE,e.config.globalProperties.$checkModule=gE,e.config.globalProperties.$checkModules=mE,e.use(VE),e.mixin(xE),{app:e}})().app.use(ey).mount("#app");export{AC as $,nr as A,lC as B,cE as C,dE as D,FC as E,Yr as F,mC as G,gC as H,Rm as I,vE as J,yE as K,Ev as L,kv as M,yy as N,ui as O,fC as P,_g as Q,$u as R,JC as S,DC as T,oE as U,lE as V,rE as W,fE as X,_v as Y,fv as Z,iv as _,di as a,rC as a0,dC as a1,uC as a2,cC as a3,Rv as a4,Lu as a5,iC as a6,UC as a7,pT as a8,wy as a9,oi as b,ri as c,tr as d,fi as e,hi as f,pm as g,Aa as h,$v as i,Tv as j,de as k,Pv as l,pE as m,ue as n,Zr as o,hE as p,eo as q,Jn as r,uE as s,X as t,ho as u,na as v,Yn as w,NC as x,GC as y,VC as z};