function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.CKvjITi-.js","assets/el-navbar.DVIyjZEN.js","assets/el-layout._U-vZTft.js","assets/el-layout-BrLqCcd1.css","assets/el-navbar-C_lj3lxm.css","assets/mall-goods.Db-WJ5hg.js","assets/mall-archives.Cslt4H0d.js","assets/mall-archives-DvVgnHVJ.css","assets/mall-goods-D2o8tD-A.css","assets/el-refresh.CkIPFmzm.js","assets/el-empty.CMLN1lgh.js","assets/el-empty-DNGNnKti.css","assets/el-loading-icon.Bh3RKCou.js","assets/el-loading-icon-Banlnc45.css","assets/el-refresh-C37A9HeJ.css","assets/el-loading.BSG4bmSC.js","assets/el-loading-dxz4Gw2p.css","assets/tabbar.CESuM5GW.js","assets/tabbar-ByI1PwIe.css","assets/index-qqY0sDn_.css","assets/pages-index-category.CMoRg0Q5.js","assets/category-Bu-Dx906.css","assets/pages-index-cart.pcR6MGr8.js","assets/uni-number-box.Dp7jG24a.js","assets/uni-number-box-CalM-CVG.css","assets/cart-Cg_J5arA.css","assets/pages-index-ucenter.rpqrFeqU.js","assets/el-avatar.B3xidLeS.js","assets/el-avatar-DSF7ymAX.css","assets/ucenter-CkhfsGtY.css","assets/pages-topic-index.Cm4yxEBv.js","assets/index-oGQjuoCX.css","assets/pages-refund-index.B_W2LQXb.js","assets/el-tabs.DRFTppt3.js","assets/el-tabs-BqymtDjV.css","assets/index-CxnXv2nU.css","assets/pages-refund-detail.BXnrwHCM.js","assets/detail-BI4wmYpm.css","assets/pages-order-index.BEMDCSxl.js","assets/index-DK6_k93q.css","assets/pages-order-detail.BvGmeHpN.js","assets/detail-DTvI4pBH.css","assets/pages-order-evaluate.FdsyaNaT.js","assets/evaluate-CNkL3-MC.css","assets/pages-order-comment.Cqo7x9uD.js","assets/uni-file-picker.D3KZgXWj.js","assets/uni-file-picker-ChNmKZ4T.css","assets/comment-CUJhIlAu.css","assets/pages-order-express.E6PDTewc.js","assets/express-Zw-l44Gz.css","assets/pages-cart-confirm.ZVkSh8Fh.js","assets/el-popup.CUfoW56r.js","assets/el-popup-C1mjNA2u.css","assets/confirm-D65EwZi9.css","assets/pages-cart-cashier.XfHqwFZa.js","assets/cashier-Bzacws5m.css","assets/pages-goods-index.CNJ1mrLY.js","assets/index-Bfiy-eYN.css","assets/pages-goods-view.BAK9m0db.js","assets/mp-html.CxbQHlhy.js","assets/mp-html-CCx1eCN1.css","assets/view-BKjFCh8W.css","assets/pages-coupon-index.vMLTR1Fj.js","assets/index-DOmPtXbx.css","assets/pages-ucenter-withdraw-index.BfWmRu2E.js","assets/index-BafxPp06.css","assets/pages-ucenter-withdraw-log.DFkAt3dc.js","assets/log-Cc2qxR3q.css","assets/pages-ucenter-invoice-index.BW8XM7Rt.js","assets/index-D9PCy2KO.css","assets/pages-ucenter-invoice-editor.G1qbWwX0.js","assets/editor-AScsGMuG.css","assets/pages-ucenter-share-index.DhWzeNxS.js","assets/index-Dkc4iMZB.css","assets/pages-ucenter-help-index.B1WM2aof.js","assets/index-CYGNGaU3.css","assets/pages-ucenter-help-detail.1-ix5lSn.js","assets/detail-zuqJl1HF.css","assets/pages-ucenter-wallet-recharge.CvFm43wz.js","assets/recharge-Bum8RAFO.css","assets/pages-ucenter-wallet-index.tf1nTpER.js","assets/index-Bh4BPo7b.css","assets/pages-ucenter-wallet-log.Ds6Vsyr-.js","assets/log-cHM58G0p.css","assets/pages-ucenter-visit-index.CuLwWzf8.js","assets/index-BQogWLkv.css","assets/pages-ucenter-collect-index.CZhyCQ5a.js","assets/index-BMDRQ_at.css","assets/pages-ucenter-coupon-index.DiQ2t-IS.js","assets/index-CLJj7Wsk.css","assets/pages-ucenter-address-index.joIafGHg.js","assets/el-checkbox.DqvOzTsU.js","assets/el-checkbox-DcZeB-QF.css","assets/index-CWiDvT7K.css","assets/pages-ucenter-address-editor.B9Oy7__s.js","assets/editor-CPk9LH46.css","assets/pages-ucenter-user-user.D7j6E2Y-.js","assets/user-CsX8IN-C.css","assets/pages-ucenter-user-setting.DJCF5yzL.js","assets/setting-DlgO04eA.css","assets/pages-ucenter-user-password.CEiTppc9.js","assets/password-DMsiNQ2d.css","assets/pages-comments-index.CbRrgS_j.js","assets/index-C7jEcASh.css","assets/pages-public-empty.DLuJmi3v.js","assets/pages-public-picture.BLezExnZ.js","assets/picture-Cy4GKTlm.css","assets/pages-archives-view.Hpr1k_2w.js","assets/view-B0SyQIqY.css","assets/pages-search-index.CDKe5MM7.js","assets/index-C6ZD2RZy.css","assets/pages-search-list.v26V7fff.js","assets/pages-user-agreement.x9I5P6xV.js","assets/agreement-BrXTUzRU.css","assets/pages-user-login.q-saKWsa.js","assets/el-code.niKIdtJO.js","assets/login-DdmkJr68.css","assets/pages-user-oauth.BuKfMSk4.js","assets/oauth-B9huk7of.css","assets/pages-user-register.DMMsIS3V.js","assets/register-C97b2m-1.css","assets/pages-user-forget.D4UIe0Z-.js","assets/forget-DytxoXAz.css","assets/pages-user-bind.DDlJjCf5.js","assets/bind-0cnxwo2P.css","assets/pages-user-change.Bebba0NC.js","assets/change-D_cfnCRH.css"]
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if((n=function(e){return"/mobile/"+e}(n))in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],s=()=>{},a=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),h=Array.isArray,g=e=>"[object Map]"===S(e),m=e=>"[object Set]"===S(e),v=e=>"[object Date]"===S(e),y=e=>"function"==typeof e,b=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,x=e=>(w(e)||y(e))&&y(e.then)&&y(e.catch),T=Object.prototype.toString,S=e=>T.call(e),k=e=>"[object Object]"===S(e),C=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O=/-(\w)/g,A=$((e=>e.replace(O,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,P=$((e=>e.replace(M,"-$1").toLowerCase())),L=$((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=$((e=>e?`on${L(e)}`:"")),B=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},D=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const F=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=b(o)?W(o):V(o);if(r)for(const e in r)t[e]=r[e]}return t}if(b(e)||w(e))return e}const q=/;(?![^(]*\))/g,H=/:([^]+)/,z=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(z,"").split(q).forEach((e=>{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function U(e){let t="";if(b(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=U(e[n]);o&&(t+=o+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Y=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function X(e){return!!e||""===e}function G(e,t){if(e===t)return!0;let n=v(e),o=v(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=_(e),o=_(t),n||o)return e===t;if(n=h(e),o=h(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=G(e[o],t[o]);return n}(e,t);if(n=w(e),o=w(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!G(e[n],t[n]))return!1}}return String(e)===String(t)}function K(e,t){return e.findIndex((e=>G(e,t)))}const Z=e=>b(e)?e:null==e?"":h(e)||w(e)&&(e.toString===T||!y(e.toString))?JSON.stringify(e,J,2):String(e),J=(e,t)=>t&&t.__v_isRef?J(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Q(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Q(e)))}:_(t)?Q(t):!w(t)||h(t)||k(t)?t:String(t),Q=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},ee=["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"].map((e=>"uni-"+e)),te=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),ne=["list-item"].map((e=>"uni-"+e));function oe(e){if(-1!==ne.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==ee.indexOf(t)||-1!==te.indexOf(t)}const re=["%","%"],ie=/^([a-z-]+:)?\/\//i,se=/^data:.*,.*/;function ae(e){return e&&(e.appContext?e.proxy:e)}function le(e){if(!e)return;let t=e.type.name;for(;t&&oe(P(t));)t=(e=e.parent).type.name;return e.proxy}function ce(e){return 1===e.nodeType}function ue(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(b(e))return W(e);if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=b(o)?W(o):ue(o);if(r)for(const e in r)t[e]=r[e]}return t}return V(e)}function de(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(h(e))for(let n=0;n<e.length;n++){const o=de(e[n]);o&&(t+=o+" ")}else t=U(e);return t.trim()}function pe(e){return 0===e.indexOf("/")}function fe(e){return pe(e)?e:"/"+e}function he(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){return A(e.substring(5))}const _e=me((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[be(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[be(e)],n.call(this,e)}}));function we(e){return u({},e.dataset,e.__uniDataset)}const xe=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Te(e){return{passive:e}}function Se(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:we(e),offsetTop:n,offsetLeft:o}}function ke(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ce(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ke(e[n])}catch(o){t[n]=e[n]}})),t}const Ee=/\+/g;function $e(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ee," ");let r=e.indexOf("="),i=ke(r<0?e:e.slice(0,r)),s=r<0?null:ke(e.slice(r+1));if(i in t){let e=t[i];h(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Oe(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 Ae{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 Me=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Pe=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Le=[];const Ie=me(((e,t)=>{if(y(e._component.onError))return t(e)})),Be=function(){};Be.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},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.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Re=Be;const De={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ne(e,t={},n="light"){const o=t[n],r={};return o?(Object.keys(e).forEach((i=>{let s=e[i];r[i]=(()=>{if(k(s))return Ne(s,t,n);if(h(s))return s.map((e=>k(e)?Ne(e,t,n):e));if(b(s)&&s.startsWith("@")){const t=s.replace("@","");let n=o[t]||s;switch(i){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in De?De[e]:e}return n}var e;return s})()})),r):e}
/**
* @dcloudio/uni-h5-vue v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let je,Fe;class Ve{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!e&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=je;try{return je=this,e()}finally{je=t}}}on(){je=this}off(){je=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 qe(e){return new Ve(e)}function He(){return je}class ze{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=je){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),Je()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xe,t=Fe;try{return Xe=!0,Fe=this,this._runnings++,We(this),this.fn()}finally{Ue(this),this._runnings--,Fe=t,Xe=e}}stop(){var e;this.active&&(We(this),Ue(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function We(e){e._trackId++,e._depsLength=0}function Ue(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ye(e.deps[t],e);e.deps.length=e._depsLength}}function Ye(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Xe=!0,Ge=0;const Ke=[];function Ze(){Ke.push(Xe),Xe=!1}function Je(){const e=Ke.pop();Xe=void 0===e||e}function Qe(){Ge++}function et(){for(Ge--;!Ge&&nt.length;)nt.shift()()}function tt(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ye(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const nt=[];function ot(e,t,n){Qe();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&&nt.push(o.scheduler)))}et()}const rt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},it=new WeakMap,st=Symbol(""),at=Symbol("");function lt(e,t,n){if(Xe&&Fe){let t=it.get(e);t||it.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=rt((()=>t.delete(n)))),tt(Fe,o)}}function ct(e,t,n,o,r,i){const s=it.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&h(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":h(e)?C(n)&&a.push(s.get("length")):(a.push(s.get(st)),g(e)&&a.push(s.get(at)));break;case"delete":h(e)||(a.push(s.get(st)),g(e)&&a.push(s.get(at)));break;case"set":g(e)&&a.push(s.get(st))}Qe();for(const l of a)l&&ot(l,4);et()}const ut=n("__proto__,__v_isRef,__isVue"),dt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),pt=ft();function ft(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=tn(this);for(let t=0,r=this.length;t<r;t++)lt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(tn)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ze(),Qe();const n=tn(this)[t].apply(this,e);return et(),Je(),n}})),e}function ht(e){const t=tn(this);return lt(t,0,e),t.hasOwnProperty(e)}class gt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Wt:zt:r?Ht:qt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=h(e);if(!o){if(i&&f(pt,t))return Reflect.get(pt,t,n);if("hasOwnProperty"===t)return ht}const s=Reflect.get(e,t,n);return(_(t)?dt.has(t):ut(t))?s:(o||lt(e,0,t),r?s:cn(s)?i&&C(t)?s:s.value:w(s)?o?Gt(s):Yt(s):s)}}class mt extends gt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Jt(r);if(Qt(n)||Jt(n)||(r=tn(r),n=tn(n)),!h(e)&&cn(r)&&!cn(n))return!t&&(r.value=n,!0)}const i=h(e)&&C(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,o);return e===tn(o)&&(i?B(n,r)&&ct(e,"set",t,n):ct(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ct(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return _(t)&&dt.has(t)||lt(e,0,t),n}ownKeys(e){return lt(e,0,h(e)?"length":st),Reflect.ownKeys(e)}}class vt extends gt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const yt=new mt,bt=new vt,_t=new mt(!0),wt=e=>e,xt=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,o=!1){const r=tn(e=e.__v_raw),i=tn(t);n||(B(t,i)&&lt(r,0,t),lt(r,0,i));const{has:s}=xt(r),a=o?wt:n?rn:on;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function St(e,t=!1){const n=this.__v_raw,o=tn(n),r=tn(e);return t||(B(e,r)&&lt(o,0,e),lt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function kt(e,t=!1){return e=e.__v_raw,!t&&lt(tn(e),0,st),Reflect.get(e,"size",e)}function Ct(e){e=tn(e);const t=tn(this);return xt(t).has.call(t,e)||(t.add(e),ct(t,"add",e,e)),this}function Et(e,t){t=tn(t);const n=tn(this),{has:o,get:r}=xt(n);let i=o.call(n,e);i||(e=tn(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?B(t,s)&&ct(n,"set",e,t):ct(n,"add",e,t),this}function $t(e){const t=tn(this),{has:n,get:o}=xt(t);let r=n.call(t,e);r||(e=tn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ct(t,"delete",e,void 0),i}function Ot(){const e=tn(this),t=0!==e.size,n=e.clear();return t&&ct(e,"clear",void 0,void 0),n}function At(e,t){return function(n,o){const r=this,i=r.__v_raw,s=tn(i),a=t?wt:e?rn:on;return!e&&lt(s,0,st),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Mt(e,t,n){return function(...o){const r=this.__v_raw,i=tn(r),s=g(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?wt:t?rn:on;return!t&&lt(i,0,l?at:st),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Lt(){const e={get(e){return Tt(this,e)},get size(){return kt(this)},has:St,add:Ct,set:Et,delete:$t,clear:Ot,forEach:At(!1,!1)},t={get(e){return Tt(this,e,!1,!0)},get size(){return kt(this)},has:St,add:Ct,set:Et,delete:$t,clear:Ot,forEach:At(!1,!0)},n={get(e){return Tt(this,e,!0)},get size(){return kt(this,!0)},has(e){return St.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:At(!0,!1)},o={get(e){return Tt(this,e,!0,!0)},get size(){return kt(this,!0)},has(e){return St.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:At(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Mt(r,!1,!1),n[r]=Mt(r,!0,!1),t[r]=Mt(r,!1,!0),o[r]=Mt(r,!0,!0)})),[e,n,t,o]}const[It,Bt,Rt,Dt]=Lt();function Nt(e,t){const n=t?e?Dt:Rt:e?Bt:It;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const jt={get:Nt(!1,!1)},Ft={get:Nt(!1,!0)},Vt={get:Nt(!0,!1)},qt=new WeakMap,Ht=new WeakMap,zt=new WeakMap,Wt=new WeakMap;function Ut(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=>S(e).slice(8,-1))(e))}function Yt(e){return Jt(e)?e:Kt(e,!1,yt,jt,qt)}function Xt(e){return Kt(e,!1,_t,Ft,Ht)}function Gt(e){return Kt(e,!0,bt,Vt,zt)}function Kt(e,t,n,o,r){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Ut(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Zt(e){return Jt(e)?Zt(e.__v_raw):!(!e||!e.__v_isReactive)}function Jt(e){return!(!e||!e.__v_isReadonly)}function Qt(e){return!(!e||!e.__v_isShallow)}function en(e){return Zt(e)||Jt(e)}function tn(e){const t=e&&e.__v_raw;return t?tn(t):e}function nn(e){return Object.isExtensible(e)&&D(e,"__v_skip",!0),e}const on=e=>w(e)?Yt(e):e,rn=e=>w(e)?Gt(e):e;class sn{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ze((()=>e(this._value)),(()=>ln(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=tn(this);return e._cacheable&&!e.effect.dirty||!B(e._value,e._value=e.effect.run())||ln(e,4),an(e),e.effect._dirtyLevel>=2&&ln(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function an(e){var t;Xe&&Fe&&(e=tn(e),tt(Fe,null!=(t=e.dep)?t:e.dep=rt((()=>e.dep=void 0),e instanceof sn?e:void 0)))}function ln(e,t=4,n){const o=(e=tn(e)).dep;o&&ot(o,t)}function cn(e){return!(!e||!0!==e.__v_isRef)}function un(e){return pn(e,!1)}function dn(e){return pn(e,!0)}function pn(e,t){return cn(e)?e:new fn(e,t)}class fn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:tn(e),this._value=t?e:on(e)}get value(){return an(this),this._value}set value(e){const t=this.__v_isShallow||Qt(e)||Jt(e);e=t?e:tn(e),B(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:on(e),ln(this,4))}}function hn(e){return cn(e)?e.value:e}const gn={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function mn(e){return Zt(e)?e:new Proxy(e,gn)}class vn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=tn(this._object),t=this._key,null==(n=it.get(e))?void 0:n.get(t);var e,t,n}}class yn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function bn(e,t,n){return cn(e)?e:y(e)?new yn(e):w(e)&&arguments.length>1?_n(e,t,n):un(e)}function _n(e,t,n){const o=e[t];return cn(o)?o:new vn(e,t,n)}function wn(e,t,n,o){try{return o?e(...o):e()}catch(r){Tn(r,t,n)}}function xn(e,t,n,o){if(y(e)){const r=wn(e,t,n,o);return r&&x(r)&&r.catch((e=>{Tn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(xn(e[i],t,n,o));return r}function Tn(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void wn(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let Sn=!1,kn=!1;const Cn=[];let En=0;const $n=[];let On=null,An=0;const Mn=Promise.resolve();let Pn=null;function Ln(e){const t=Pn||Mn;return e?t.then(this?e.bind(this):e):t}function In(e){Cn.length&&Cn.includes(e,Sn&&e.allowRecurse?En+1:En)||(null==e.id?Cn.push(e):Cn.splice(function(e){let t=En+1,n=Cn.length;for(;t<n;){const o=t+n>>>1,r=Cn[o],i=Nn(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Bn())}function Bn(){Sn||kn||(kn=!0,Pn=Mn.then(Fn))}function Rn(e,t,n=(Sn?En+1:0)){for(;n<Cn.length;n++){const t=Cn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Cn.splice(n,1),n--,t()}}}function Dn(e){if($n.length){const e=[...new Set($n)].sort(((e,t)=>Nn(e)-Nn(t)));if($n.length=0,On)return void On.push(...e);for(On=e,An=0;An<On.length;An++)On[An]();On=null,An=0}}const Nn=e=>null==e.id?1/0:e.id,jn=(e,t)=>{const n=Nn(e)-Nn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fn(e){kn=!1,Sn=!0,Cn.sort(jn);try{for(En=0;En<Cn.length;En++){const e=Cn[En];e&&!1!==e.active&&wn(e,null,14)}}finally{En=0,Cn.length=0,Dn(),Sn=!1,Pn=null,(Cn.length||$n.length)&&Fn()}}function Vn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=r[e]||o;s&&(i=n.map((e=>b(e)?e.trim():e))),t&&(i=n.map(N))}let l,c=r[l=I(t)]||r[l=I(A(t))];!c&&s&&(c=r[l=I(P(t))]),c&&xn(c,e,6,qn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,xn(u,e,6,qn(e,u,i))}}function qn(e,t,n){if(1!==n.length)return n;if(y(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Hn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!y(e)){const o=e=>{const n=Hn(e,t,!0);n&&(a=!0,u(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(h(i)?i.forEach((e=>s[e]=null)):u(s,i),w(e)&&o.set(e,s),s):(w(e)&&o.set(e,null),null)}function zn(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,P(t))||f(e,t))}let Wn=null,Un=null;function Yn(e){const t=Wn;return Wn=e,Un=e&&e.type.__scopeId||null,t}function Xn(e,t=Wn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&ni(-1);const r=Yn(t);let i;try{i=e(...n)}finally{Yn(r),o._d&&ni(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Gn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Yn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=mi(d.call(t,e,p,i,h,f,g)),y=l}else{const e=t;0,v=mi(e.length>1?e(i,{attrs:l,slots:a,emit:u}):e(i,null)),y=t.props?l:Kn(l)}}catch(w){Jr.length=0,Tn(w,e,1),v=pi(Kr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(c)&&(y=Zn(y,s)),_=fi(_,y))}return n.dirs&&(_=fi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Yn(b),v}const Kn=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},Zn=(e,t)=>{const n={};for(const o in e)c(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Jn(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]&&!zn(n,i))return!0}return!1}function Qn(e,t){return no("components",e,!0,t)||e}const eo=Symbol.for("v-ndc");function to(e){return b(e)?no("components",e,!1)||e:e||eo}function no(e,t,n=!0,o=!1){const r=Wn||Ti;if(r){const n=r.type;if("components"===e){const e=Ii(n,!1);if(e&&(e===t||e===A(t)||e===L(A(t))))return n}const i=oo(r[e]||n[e],t)||oo(r.appContext[e],t);return!i&&o?n:i}}function oo(e,t){return e&&(e[t]||e[A(t)]||e[L(A(t))])}const ro=e=>e.__isSuspense;const io=Symbol.for("v-scx");function so(e,t){return co(e,null,t)}const ao={};function lo(e,t,n){return co(e,t,n)}function co(e,t,{immediate:n,deep:r,flush:i,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),C()}}const u=Ti,p=e=>!0===r?e:fo(e,!1===r?1:void 0);let f,g,m=!1,v=!1;if(cn(e)?(f=()=>e.value,m=Qt(e)):Zt(e)?(f=()=>p(e),m=!0):h(e)?(v=!0,m=e.some((e=>Zt(e)||Qt(e))),f=()=>e.map((e=>cn(e)?e.value:Zt(e)?p(e):y(e)?wn(e,u,2):void 0))):f=y(e)?t?()=>wn(e,u,2):()=>(g&&g(),xn(e,u,3,[_])):s,t&&r){const e=f;f=()=>fo(e())}let b,_=e=>{g=S.onStop=()=>{wn(e,u,4),g=S.onStop=void 0}};if(Ai){if(_=s,t?n&&xn(t,u,3,[f(),v?[]:void 0,_]):f(),"sync"!==i)return s;{const e=Er(io);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=v?new Array(e.length).fill(ao):ao;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||m||(v?e.some(((e,t)=>B(e,w[t]))):B(e,w)))&&(g&&g(),xn(t,u,3,[e,w===ao?void 0:v&&w[0]===ao?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===i?T=x:"post"===i?T=()=>qr(x,u&&u.suspense):(x.pre=!0,u&&(x.id=u.uid),T=()=>In(x));const S=new ze(f,s,T),k=He(),C=()=>{S.stop(),k&&d(k.effects,S)};return t?n?x():w=S.run():"post"===i?qr(S.run.bind(S),u&&u.suspense):S.run(),b&&b.push(C),C}function uo(e,t,n){const o=this.proxy,r=b(e)?e.includes(".")?po(o,e):()=>o[e]:e.bind(o,o);let i;y(t)?i=t:(i=t.handler,n=t);const s=Ei(this),a=co(r,i.bind(o),n);return s(),a}function po(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 fo(e,t,n=0,o){if(!w(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),cn(e))fo(e.value,t,n,o);else if(h(e))for(let r=0;r<e.length;r++)fo(e[r],t,n,o);else if(m(e)||g(e))e.forEach((e=>{fo(e,t,n,o)}));else if(k(e))for(const r in e)fo(e[r],t,n,o);return e}function ho(e,t){if(null===Wn)return e;const n=Li(Wn)||Wn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,s,a,l=o]=t[i];e&&(y(e)&&(e={mounted:e,updated:e}),e.deep&&fo(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function go(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(Ze(),xn(l,n,8,[e.el,a,e,t]),Je())}}const mo=Symbol("_leaveCb"),vo=Symbol("_enterCb");const yo=[Function,Array],bo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yo,onEnter:yo,onAfterEnter:yo,onEnterCancelled:yo,onBeforeLeave:yo,onLeave:yo,onAfterLeave:yo,onLeaveCancelled:yo,onBeforeAppear:yo,onAppear:yo,onAfterAppear:yo,onAppearCancelled:yo},_o={name:"BaseTransition",props:bo,setup(e,{slots:t}){const n=Si(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yo((()=>{e.isMounted=!0})),Ko((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&Co(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Kr){i=e;break}const s=tn(e),{mode:a}=s;if(o.isLeaving)return To(i);const l=So(i);if(!l)return To(i);const c=xo(l,s,o,n);ko(l,c);const u=n.subTree,d=u&&So(u);if(d&&d.type!==Kr&&!ai(l,d)){const e=xo(d,s,o,n);if(ko(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},To(i);"in-out"===a&&l.type!==Kr&&(e.delayLeave=(e,t,n)=>{wo(o,d)[String(d.key)]=d,e[mo]=()=>{t(),e[mo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function wo(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 xo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=wo(n,e),x=(e,t)=>{e&&xn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[mo]&&t[mo](!0);const i=w[_];i&&ai(e,i)&&i.el[mo]&&i.el[mo](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[vo]=t=>{s||(s=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[vo]=void 0)};t?T(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[vo]&&t[vo](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[mo]=n=>{i||(i=!0,o(),x(n?g:f,[t]),t[mo]=void 0,w[r]===e&&delete w[r])};w[r]=e,p?T(p,[t,s]):s()},clone:e=>xo(e,t,n,o)};return S}function To(e){if(Mo(e))return(e=fi(e)).children=null,e}function So(e){return Mo(e)?e.children?e.children[0]:void 0:e}function ko(e,t){6&e.shapeFlag&&e.component?ko(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 Co(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Xr?(128&s.patchFlag&&r++,o=o.concat(Co(s.children,t,a))):(t||s.type!==Kr)&&o.push(null!=a?fi(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}
/*! #__NO_SIDE_EFFECTS__ */function Eo(e,t){return y(e)?(()=>u({name:e.name},t,{setup:e}))():e}const $o=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;function Oo(e){y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Eo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Ti;if(l)return()=>Ao(l,e);const t=t=>{c=null,Tn(t,e,13,!o)};if(s&&e.suspense||Ai)return d().then((t=>()=>Ao(t,e))).catch((e=>(t(e),()=>o?pi(o,{error:e}):null)));const a=un(!1),u=un(),p=un(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&Mo(e.parent.vnode)&&(e.parent.effect.dirty=!0,In(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?Ao(l,e):u.value&&o?pi(o,{error:u.value}):n&&!p.value?pi(n):void 0}})}function Ao(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=pi(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Mo=e=>e.type.__isKeepAlive;class Po{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const Lo={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=Si(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new Po(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!ai(t,i)||"key"===e.matchBy&&t.key!==i.key?(Fo(o=t),u(o,n,a,!0)):i&&Fo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach(((n,o)=>{const i=qo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,R(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),qr((()=>{i.isDeactivated=!1,i.a&&R(i.a);const t=e.props&&e.props.onVnodeMounted;t&&_i(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Ho(t.bda),c(e,p,null,1,a),qr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&_i(n,t.parent,e),t.isDeactivated=!0}),a)},lo((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Bo(e,t))),t&&f((e=>!Bo(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Vo(n.subTree))};return Yo(g),Go(g),Ko((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Vo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&R(l.component.bda),Fo(l);const e=l.component.da;e&&qr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!si(o)||!(4&o.shapeFlag)&&!ro(o.type))return i=null,o;let s=Vo(o);const a=s.type,l=qo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Bo(c,l))||u&&l&&Bo(u,l))return i=s,o;const d=null==s.key?a:s.key,p=r.get(d);return s.el&&(s=fi(s),ro(o.type)&&(o.ssContent=s)),h=d,p&&(s.el=p.el,s.component=p.component,s.transition&&ko(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,ro(o.type)?o:s}}},Io=Lo;function Bo(e,t){return h(e)?e.some((e=>Bo(e,t))):b(e)?e.split(",").includes(t):"[object RegExp]"===S(e)&&e.test(t)}function Ro(e,t){No(e,"a",t)}function Do(e,t){No(e,"da",t)}function No(e,t,n=Ti){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,zo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Mo(e.parent.vnode)&&jo(o,t,n,e),e=e.parent}}function jo(e,t,n,o){const r=zo(t,e,o,!0);Zo((()=>{d(o[t],r)}),n)}function Fo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Vo(e){return ro(e.type)?e.ssContent:e}function qo(e,t){if("name"===t){const t=e.type;return Ii($o(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Ho(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function zo(e,t,n=Ti,o=!1){if(n){if(r=e,Me.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;xn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ze();const r=Ei(n),i=xn(t,n,e,o);return r(),Je(),i});return o?i.unshift(s):i.push(s),s}var r}const Wo=e=>(t,n=Ti)=>(!Ai||"sp"===e)&&zo(e,((...e)=>t(...e)),n),Uo=Wo("bm"),Yo=Wo("m"),Xo=Wo("bu"),Go=Wo("u"),Ko=Wo("bum"),Zo=Wo("um"),Jo=Wo("sp"),Qo=Wo("rtg"),er=Wo("rtc");function tr(e,t=Ti){zo("ec",e,t)}function nr(e,t,n,o){let r;const i=n&&n[o];if(h(e)||b(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(w(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,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function or(e,t,n={},o,r){if(Wn.isCE||Wn.parent&&$o(Wn.parent)&&Wn.parent.isCE)return"default"!==t&&(n.name=t),pi("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),ei();const s=i&&rr(i(n)),a=ii(Xr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function rr(e){return e.some((e=>!si(e)||e.type!==Kr&&!(e.type===Xr&&!rr(e.children))))?e:null}const ir=e=>{if(!e)return null;if(Oi(e)){return Li(e)||e.proxy}return ir(e.parent)},sr=u(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ir(e.parent),$root:e=>ir(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,In(e.update)})(e)),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>uo.bind(e)}),ar=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),lr={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(ar(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];ur&&(a[t]=0)}}const d=sr[t];let p,h;return d?("$attrs"===t&&lt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return ar(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||ar(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(sr,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cr(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ur=!0;function dr(e){const t=hr(e),n=e.proxy,o=e.ctx;ur=!1,t.beforeCreate&&pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:g,updated:m,activated:v,deactivated:b,beforeDestroy:_,beforeUnmount:x,destroyed:T,unmounted:S,render:k,renderTracked:C,renderTriggered:E,errorCaptured:$,serverPrefetch:O,expose:A,inheritAttrs:M,components:P,directives:L,filters:I}=t;if(u&&function(e,t,n=s){h(e)&&(e=yr(e));for(const o in e){const n=e[o];let r;r=w(n)?"default"in n?Er(n.from||o,n.default,!0):Er(n.from||o):Er(n),cn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const s in a){const e=a[s];y(e)&&(o[s]=e.bind(n))}if(r){const t=r.call(n,n);w(t)&&(e.data=Yt(t))}if(ur=!0,i)for(const h in i){const e=i[h],t=y(e)?e.bind(n,n):y(e.get)?e.get.bind(n,n):s,r=!y(e)&&y(e.set)?e.set.bind(n):s,a=Bi({get:t,set:r});Object.defineProperty(o,h,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const s in l)fr(l[s],o,n,s);if(c){const e=y(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Cr(t,e[t])}))}function B(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&pr(d,e,"c"),B(Uo,p),B(Yo,f),B(Xo,g),B(Go,m),B(Ro,v),B(Do,b),B(tr,$),B(er,C),B(Qo,E),B(Ko,x),B(Zo,S),B(Jo,O),h(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===s&&(e.render=k),null!=M&&(e.inheritAttrs=M),P&&(e.components=P),L&&(e.directives=L);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function pr(e,t,n){xn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function fr(e,t,n,o){const r=o.includes(".")?po(n,o):()=>n[o];if(b(e)){const n=t[e];y(n)&&lo(r,n)}else if(y(e))lo(r,e.bind(n));else if(w(e))if(h(e))e.forEach((e=>fr(e,t,n,o)));else{const o=y(e.handler)?e.handler.bind(n):t[e.handler];y(o)&&lo(r,o,e)}}function hr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>gr(l,e,s,!0))),gr(l,t,s)):l=t,w(t)&&i.set(t,l),l}function gr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&gr(e,i,n,!0),r&&r.forEach((t=>gr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=mr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const mr={data:vr,props:wr,emits:wr,methods:_r,computed:_r,beforeCreate:br,created:br,beforeMount:br,mounted:br,beforeUpdate:br,updated:br,beforeDestroy:br,beforeUnmount:br,destroyed:br,unmounted:br,activated:br,deactivated:br,errorCaptured:br,serverPrefetch:br,components:_r,directives:_r,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]=br(e[o],t[o]);return n},provide:vr,inject:function(e,t){return _r(yr(e),yr(t))}};function vr(e,t){return t?e?function(){return u(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function yr(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function br(e,t){return e?[...new Set([].concat(e,t))]:t}function _r(e,t){return e?u(Object.create(null),e,t):t}function wr(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:u(Object.create(null),cr(e),cr(null!=t?t:{})):t}function xr(){return{app:null,config:{isNativeTag:a,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 Tr=0;function Sr(e,t){return function(n,o=null){y(n)||(n=u({},n)),null==o||w(o)||(o=null);const r=xr(),i=new WeakSet;let s=!1;const a=r.app={_uid:Tr++,_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&&y(e.install)?(i.add(e),e.install(a,...t)):y(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=pi(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Li(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=kr;kr=a;try{return e()}finally{kr=t}}};return a}}let kr=null;function Cr(e,t){if(Ti){let n=Ti.provides;const o=Ti.parent&&Ti.parent.provides;o===n&&(n=Ti.provides=Object.create(o)),n[e]=t,"app"===Ti.type.mpType&&Ti.appContext.app.provide(e,t)}else;}function Er(e,t,n=!1){const o=Ti||Wn;if(o||kr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:kr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&y(t)?t.call(o&&o.proxy):t}}function $r(){return!!(Ti||Wn||kr)}function Or(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(E(o))continue;const c=t[o];let u;i&&f(i,u=A(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:zn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=tn(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=Ar(i,t,a,r[a],e,!f(r,a))}}return l}function Ar(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=f(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&y(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=Ei(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==P(n)||(o=!0))}return o}function Mr(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const a=e.props,l={},c=[];let d=!1;if(!y(e)){const o=e=>{d=!0;const[n,o]=Mr(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(!a&&!d)return w(e)&&i.set(e,r),r;if(h(a))for(let r=0;r<a.length;r++){const e=A(a[r]);Pr(e)&&(l[e]=o)}else if(a)for(const o in a){const e=A(o);if(Pr(e)){const t=a[o],n=l[e]=h(t)||y(t)?{type:t}:u({},t);if(n){const t=Br(Boolean,n.type),o=Br(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||f(n,"default"))&&c.push(e)}}}const p=[l,c];return w(e)&&i.set(e,p),p}function Pr(e){return"$"!==e[0]&&!E(e)}function Lr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Ir(e,t){return Lr(e)===Lr(t)}function Br(e,t){return h(t)?t.findIndex((t=>Ir(t,e))):y(t)&&Ir(t,e)?0:-1}const Rr=e=>"_"===e[0]||"$stable"===e,Dr=e=>h(e)?e.map(mi):[mi(e)],Nr=(e,t,n)=>{if(t._n)return t;const o=Xn(((...e)=>Dr(t(...e))),n);return o._c=!1,o},jr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Rr(r))continue;const n=e[r];if(y(n))t[r]=Nr(0,n,o);else if(null!=n){const e=Dr(n);t[r]=()=>e}}},Fr=(e,t)=>{const n=Dr(t);e.slots.default=()=>n};function Vr(e,t,n,r,i=!1){if(h(e))return void e.forEach(((e,o)=>Vr(e,t&&(h(t)?t[o]:t),n,r,i)));if($o(r)&&!i)return;const s=4&r.shapeFlag?Li(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,u=t&&t.r,p=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=u&&u!==c&&(b(u)?(p[u]=null,f(g,u)&&(g[u]=null)):cn(u)&&(u.value=null)),y(c))wn(c,l,12,[a,p]);else{const t=b(c),o=cn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:p[c]:c.value;i?h(n)&&d(n,s):h(n)?n.includes(s)||n.push(s):t?(p[c]=[s],f(g,c)&&(g[c]=p[c])):(c.value=[s],e.k&&(p[e.k]=c.value))}else t?(p[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,qr(r,n)):r()}}}const qr=function(e,t){var n;t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):(h(n=e)?$n.push(...n):On&&On.includes(n,n.allowRecurse?An+1:An)||$n.push(n),Bn())};function Hr(e){return function(e,t){F().__VUE__=!0;const{insert:n,remove:i,patchProp:a,forcePatchProp:l,createElement:c,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=s,insertStaticContent:b}=e,_=(e,t,n,o=null,r=null,i=null,s,a=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 Gr:w(e,t,n,o);break;case Kr:T(e,t,n,o);break;case Zr:null==e&&S(t,n,o,s);break;case Xr:j(e,t,n,o,r,i,s,a,l);break;default:1&d?$(e,t,n,o,r,i,s,a,l):6&d?V(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Vr(u,e&&e.ref,i,t||e,!t)},w=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},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)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),i(e),e=n;i(t)},$=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?O(t,n,o,r,i,s,a,l):I(e,t,r,i,s,a,l)},O=(e,t,o,r,i,s,l,u)=>{let d,p;const{props:f,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=c(e.type,s,f&&f.is,f),8&h?g(d,e.children):16&h&&L(e.children,d,null,r,i,zr(e,s),l,u),v&&go(e,null,r,"created"),M(d,e,e.scopeId,l,r),f){for(const t in f)"value"===t||E(t)||a(d,t,null,f[t],s,e.children,r,i,ee);"value"in f&&a(d,"value",null,f.value,s),(p=f.onVnodeBeforeMount)&&_i(p,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&go(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((p=f&&f.onVnodeMounted)||y||v)&&qr((()=>{p&&_i(p,r,e),y&&m.enter(d),v&&go(e,null,r,"mounted")}),i)},M=(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;M(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},L=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?vi(e[c]):mi(e[c]);_(null,l,t,n,o,r,i,s,a)}},I=(e,t,n,r,i,s,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&Wr(n,!1),(v=m.onVnodeBeforeUpdate)&&_i(v,n,t,e),f&&go(t,e,n,"beforeUpdate"),n&&Wr(n,!0),p?B(e.dynamicChildren,p,u,n,r,zr(t,i),s):c||U(e,t,u,null,n,r,zr(t,i),s,!1),d>0){if(16&d)N(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const s=o[t],c=h[s],d=m[s];(d!==c||"value"===s||l&&l(u,s))&&a(u,s,c,d,i,e.children,n,r,ee)}}1&d&&e.children!==t.children&&g(u,t.children)}else c||null!=p||N(u,t,h,m,n,r,i);((v=m.onVnodeUpdated)||f)&&qr((()=>{v&&_i(v,n,t,e),f&&go(t,e,n,"updated")}),r)},B=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Xr||!ai(l,c)||70&l.shapeFlag)?m(l.el):n;_(l,c,u,null,o,r,i,s,!0)}},N=(e,t,n,r,i,s,c)=>{if(n!==r){if(n!==o)for(const o in n)E(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(E(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},j=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),p=t.anchor=e?e.anchor:d("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(p,o,r),L(t.children||[],o,p,i,s,a,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Ur(e,t,!0)):U(e,t,o,p,i,s,a,l,c)},V=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):q(t,n,o,r,i,s,l):H(e,t,l)},q=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||wi,s={uid:xi++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ve(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mr(r,i),emitsOptions:Hn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Vn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(Mo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&Ci(t);const{props:n,children:o}=e.vnode,r=Oi(e);(function(e,t,n,o=!1){const r={},i={};D(i,li,1),e.propsDefaults=Object.create(null),Or(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Xt(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=tn(t),D(t,"_",n)):jr(t,e.slots={})}else e.slots={},t&&Fr(e,t);D(e.slots,li,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nn(new Proxy(e.ctx,lr));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(lt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Ei(e);Ze();const i=wn(o,e,0,[e.props,n]);if(Je(),r(),x(i)){if(i.then($i,$i),t)return i.then((n=>{Mi(e,n,t)})).catch((t=>{Tn(t,e,0)}));e.asyncDep=i}else Mi(e,i,t)}else Pi(e,t)}(e,t):void 0;t&&Ci(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,z),!e.el){const e=l.subTree=pi(Kr);T(null,e,t,n)}}else z(l,e,t,n,i,s,a)},H=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Jn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Jn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!zn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void W(o,t,n);o.next=t,function(e){const t=Cn.indexOf(e);t>En&&Cn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},z=(e,t,n,o,r,i,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:s,vnode:c}=e;{const n=Yr(e);if(n)return t&&(t.el=c.el,W(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Wr(e,!1),t?(t.el=c.el,W(e,t,a)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&_i(u,s,t,c),Wr(e,!0);const p=Gn(e),f=e.subTree;e.subTree=p,_(f,p,m(f.el),te(f),e,r,i),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&qr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&qr((()=>_i(u,s,t,c)),r)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,p=$o(t);if(Wr(e,!1),c&&R(c),!p&&(s=l&&l.onVnodeBeforeMount)&&_i(s,d,t),Wr(e,!0),a&&se){const n=()=>{e.subTree=Gn(e),se(a,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=Gn(e);_(null,s,n,o,e,r,i),t.el=s.el}if(u&&qr(u,r),!p&&(s=l&&l.onVnodeMounted)){const e=t;qr((()=>_i(s,d,e)),r)}(256&t.shapeFlag||d&&$o(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Ho(e.ba),e.a&&qr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new ze(l,s,(()=>In(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Wr(e,!0),u()},W=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=tn(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;Or(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=P(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=Ar(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(zn(e.emitsOptions,s))continue;const u=t[s];if(l)if(f(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=A(s);r[t]=Ar(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&ct(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(u(i,t),n||1!==e||delete i._):(s=!t.$stable,jr(t,i)),a=t}else t&&(Fr(e,t),a={default:1});if(s)for(const o in i)Rr(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ze(),Rn(e),Je()},U=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void X(c,d,n,o,r,i,s,a,l);if(256&p)return void Y(c,d,n,o,r,i,s,a,l)}8&f?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&f?X(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&f&&L(d,n,o,r,i,s,a,l))},Y=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?vi(t[f]):mi(t[f]);_(e[f],o,n,null,i,s,a,l,c)}u>d?ee(e,i,s,!0,!1,p):L(t,n,o,i,s,a,l,c,p)},X=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?vi(t[u]):mi(t[u]);if(!ai(o,r))break;_(o,r,n,null,i,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?vi(t[f]):mi(t[f]);if(!ai(o,r))break;_(o,r,n,null,i,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)_(null,t[u]=c?vi(t[u]):mi(t[u]),n,r,i,s,a,l,c),u++}}else if(u>f)for(;u<=p;)K(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=f;u++){const e=t[u]=c?vi(t[u]):mi(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=f-g+1;let w=!1,x=0;const T=new Array(b);for(u=0;u<b;u++)T[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){K(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=f;v++)if(0===T[v-g]&&ai(o,t[v])){r=v;break}void 0===r?K(o,i,s,!0):(T[r-g]=u+1,r>=x?x=r:w=!0,_(o,t[r],n,null,i,s,a,l,c),y++)}const S=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;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,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(T):r;for(v=S.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],p=e+1<d?t[e+1].el:o;0===T[u]?_(null,r,n,p,i,s,a,l,c):w&&(v<0||u!==S[v]?G(r,n,p,2):v--)}}},G=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Xr){n(s,t,o);for(let e=0;e<c.length;e++)G(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Zr)return void k(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),qr((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},K=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&Vr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!$o(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&_i(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&go(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Xr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Xr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Z(e)}(h&&(g=s&&s.onVnodeUnmounted)||f)&&qr((()=>{g&&_i(g,t,e),f&&go(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Xr)return void J(n,o);if(t===Zr)return void C(e);const s=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,i=()=>t(n,s);o?o(e.el,s,i):i()}else s()},J=(e,t)=>{let n;for(;e!==t;)n=v(e),i(e),e=n;i(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&R(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&qr(a,t),qr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)K(e[s],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,Rn(),Dn(),ne=!1),t._vnode=e},re={p:_,um:K,m:G,r:Z,mt:q,mc:L,pc:U,pbc:B,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:Sr(oe,ie)}}(e)}function zr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ur(e,t,n=!1){const o=e.children,r=t.children;if(h(o)&&h(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=vi(r[i]),t.el=e.el),n||Ur(e,t)),t.type===Gr&&(t.el=e.el)}}function Yr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yr(t)}const Xr=Symbol.for("v-fgt"),Gr=Symbol.for("v-txt"),Kr=Symbol.for("v-cmt"),Zr=Symbol.for("v-stc"),Jr=[];let Qr=null;function ei(e=!1){Jr.push(Qr=e?null:[])}let ti=1;function ni(e){ti+=e}function oi(e){return e.dynamicChildren=ti>0?Qr||r:null,Jr.pop(),Qr=Jr[Jr.length-1]||null,ti>0&&Qr&&Qr.push(e),e}function ri(e,t,n,o,r,i){return oi(di(e,t,n,o,r,i,!0))}function ii(e,t,n,o,r){return oi(pi(e,t,n,o,r,!0))}function si(e){return!!e&&!0===e.__v_isVNode}function ai(e,t){return e.type===t.type&&e.key===t.key}const li="__vInternal",ci=({key:e})=>null!=e?e:null,ui=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||cn(e)||y(e)?{i:Wn,r:e,k:t,f:!!n}:e:null);function di(e,t=null,n=null,o=0,r=null,i=(e===Xr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ci(t),ref:t&&ui(t),scopeId:Un,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Wn};return a?(yi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),ti>0&&!s&&Qr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Qr.push(l),l}const pi=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==eo||(e=Kr);if(si(e)){const o=fi(e,t,!0);return n&&yi(o,n),ti>0&&!i&&Qr&&(6&o.shapeFlag?Qr[Qr.indexOf(e)]=o:Qr.push(o)),o.patchFlag|=-2,o}s=e,y(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?en(e)||li in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=de(e)),w(n)&&(en(n)&&!h(n)&&(n=u({},n)),t.style=ue(n))}const a=b(e)?1:ro(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:y(e)?2:0;return di(e,t,n,o,r,a,i,!0)};function fi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?bi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ci(a),ref:t&&t.ref?n&&r?h(r)?r.concat(ui(t)):[r,ui(t)]:ui(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xr?-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&&fi(e.ssContent),ssFallback:e.ssFallback&&fi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function hi(e=" ",t=0){return pi(Gr,null,e,t)}function gi(e="",t=!1){return t?(ei(),ii(Kr,null,e)):pi(Kr,null,e)}function mi(e){return null==e||"boolean"==typeof e?pi(Kr):h(e)?pi(Xr,null,e.slice()):"object"==typeof e?vi(e):pi(Gr,null,String(e))}function vi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:fi(e)}function yi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),yi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||li in t?3===o&&Wn&&(1===Wn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Wn}}else y(t)?(t={default:t,_ctx:Wn},n=32):(t=String(t),64&o?(n=16,t=[hi(t)]):n=8);e.children=t,e.shapeFlag|=n}function bi(...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||h(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function _i(e,t,n,o=null){xn(e,t,7,[n,o])}const wi=xr();let xi=0;let Ti=null;const Si=()=>Ti||Wn;let ki,Ci;{const e=F(),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)}};ki=t("__VUE_INSTANCE_SETTERS__",(e=>Ti=e)),Ci=t("__VUE_SSR_SETTERS__",(e=>Ai=e))}const Ei=e=>{const t=Ti;return ki(e),e.scope.on(),()=>{e.scope.off(),ki(t)}},$i=()=>{Ti&&Ti.scope.off(),ki(null)};function Oi(e){return 4&e.vnode.shapeFlag}let Ai=!1;function Mi(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=mn(t)),Pi(e,n)}function Pi(e,t,n){const o=e.type;e.render||(e.render=o.render||s);{const t=Ei(e);Ze();try{dr(e)}finally{Je(),t()}}}function Li(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mn(nn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in sr?sr[n](e):void 0,has:(e,t)=>t in e||t in sr}))}function Ii(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}const Bi=(e,t)=>{const n=function(e,t,n=!1){let o,r;const i=y(e);return i?(o=e,r=s):(o=e.get,r=e.set),new sn(o,r,i||!r,n)}(e,0,Ai);return n};function Ri(e,t,n){const o=arguments.length;return 2===o?w(t)&&!h(t)?si(t)?pi(e,null,[t]):pi(e,t):pi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&si(n)&&(n=[n]),pi(e,t,n))}const Di="3.4.21",Ni="undefined"!=typeof document?document:null,ji=Ni&&Ni.createElement("template"),Fi={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?Ni.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ni.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ni.createElement(e,{is:n}):Ni.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ni.createTextNode(e),createComment:e=>Ni.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ni.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{ji.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=ji.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Vi="transition",qi=Symbol("_vtc"),Hi=(e,{slots:t})=>Ri(_o,function(e){const t={};for(const u in e)u in zi||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:d=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(w(e))return[Yi(e.enter),Yi(e.leave)];{const t=Yi(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:k=b,onAppearCancelled:C=_}=t,E=(e,t,n)=>{Gi(e,t?d:a),Gi(e,t?c:s),n&&n()},$=(e,t)=>{e._isLeaving=!1,Gi(e,p),Gi(e,h),Gi(e,f),t&&t()},O=e=>(t,n)=>{const r=e?k:b,s=()=>E(t,e,n);Wi(r,[t,s]),Ki((()=>{Gi(t,e?l:i),Xi(t,e?d:a),Ui(r)||Ji(t,o,m,s)}))};return u(t,{onBeforeEnter(e){Wi(y,[e]),Xi(e,i),Xi(e,s)},onBeforeAppear(e){Wi(S,[e]),Xi(e,l),Xi(e,c)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>$(e,t);Xi(e,p),document.body.offsetHeight,Xi(e,f),Ki((()=>{e._isLeaving&&(Gi(e,p),Xi(e,h),Ui(x)||Ji(e,o,v,n))})),Wi(x,[e,n])},onEnterCancelled(e){E(e,!1),Wi(_,[e])},onAppearCancelled(e){E(e,!0),Wi(C,[e])},onLeaveCancelled(e){$(e),Wi(T,[e])}})}(e),t);Hi.displayName="Transition";const zi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Hi.props=u({},bo,zi);const Wi=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ui=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function Yi(e){const t=(e=>{const t=b(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Xi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[qi]||(e[qi]=new Set)).add(t)}function Gi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[qi];n&&(n.delete(t),n.size||(e[qi]=void 0))}function Ki(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Zi=0;function Ji(e,t,n,o){const r=e._endId=++Zi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Qi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Qi(a,l);let u=null,d=0,p=0;t===Vi?s>0&&(u=Vi,d=s,p=i.length):"animation"===t?c>0&&(u="animation",d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?Vi:"animation":null,p=u?u===Vi?i.length:l.length:0);const f=u===Vi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function Qi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>es(t)+es(e[n]))))}function es(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const ts=Symbol("_vod"),ns=Symbol("_vsh"),os={beforeMount(e,{value:t},{transition:n}){e[ts]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):rs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),rs(e,!0),o.enter(e)):o.leave(e,(()=>{rs(e,!1)})):rs(e,t))},beforeUnmount(e,{value:t}){rs(e,t)}};function rs(e,t){e.style.display=t?e[ts]:"none",e[ns]=!t}const is=Symbol("");function ss(e){const t=Si();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>ls(e,n)))},o=()=>{const o=e(t.proxy);as(t.subTree,o),n(o)};co(o,null,{flush:"post"}),Yo((()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),Zo((()=>e.disconnect()))}))}function as(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{as(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)ls(e.el,t);else if(e.type===Xr)e.children.forEach((e=>as(e,t)));else if(e.type===Zr){let{el:n,anchor:o}=e;for(;n&&(ls(n,t),n!==o);)n=n.nextSibling}}function ls(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t){const r=ws(t[e]);n.setProperty(`--${e}`,r),o+=`--${e}: ${r};`}n[is]=o}}const cs=/(^|;)\s*display\s*:/;const us=/\s*!important$/;function ds(e,t,n){if(h(n))n.forEach((n=>ds(e,t,n)));else if(null==n&&(n=""),n=ws(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=fs[t];if(n)return n;let o=A(t);if("filter"!==o&&o in e)return fs[t]=o;o=L(o);for(let r=0;r<ps.length;r++){const n=ps[r]+o;if(n in e)return fs[t]=n}return t}(e,t);us.test(n)?e.setProperty(P(o),n.replace(us,""),"important"):e[o]=n}}const ps=["Webkit","Moz","ms"],fs={};const{unit:hs,unitRatio:gs,unitPrecision:ms}={unit:"rem",unitRatio:10/320,unitPrecision:5},vs=(ys=hs,bs=gs,_s=ms,e=>e.replace(xe,((e,t)=>{if(!t)return e;if(1===bs)return`${t}${ys}`;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)*bs,_s);return 0===n?"0":`${n}${ys}`})));var ys,bs,_s;const ws=e=>b(e)?vs(e):e,xs="http://www.w3.org/1999/xlink";function Ts(e,t,n,o){e.addEventListener(t,n,o)}const Ss=Symbol("_vei");function ks(e,t,n,o,r=null){const i=e[Ss]||(e[Ss]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Cs.test(e)){let n;for(t={};n=e.match(Cs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):P(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&h(i)){const n=Os(e,i);for(let o=0;o<n.length;o++){const i=n[o];xn(i,t,5,i.__wwe?[e]:r(e))}}else xn(Os(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=(()=>Es||($s.then((()=>Es=0)),Es=Date.now()))(),n}(o,r);Ts(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Cs=/(?:Once|Passive|Capture)$/;let Es=0;const $s=Promise.resolve();function Os(e,t){if(h(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const As=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ms=e=>{const t=e.props["onUpdate:modelValue"]||!1;return h(t)?e=>R(t,e):t};function Ps(e){e.target.composing=!0}function Ls(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Is=Symbol("_assign"),Bs={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[Is]=Ms(r);const i=o||r.props&&"number"===r.props.type;Ts(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=N(o)),e[Is](o)})),n&&Ts(e,"change",(()=>{e.value=e.value.trim()})),t||(Ts(e,"compositionstart",Ps),Ts(e,"compositionend",Ls),Ts(e,"change",Ls))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[Is]=Ms(i),e.composing)return;const s=null==t?"":t;if((r||"number"===e.type?N(e.value):e.value)!==s){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===s)return}e.value=s}}},Rs={deep:!0,created(e,t,n){e[Is]=Ms(n),Ts(e,"change",(()=>{const t=e._modelValue,n=Vs(e),o=e.checked,r=e[Is];if(h(t)){const e=K(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(m(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(qs(e,o))}))},mounted:Ds,beforeUpdate(e,t,n){e[Is]=Ms(n),Ds(e,t,n)}};function Ds(e,{value:t,oldValue:n},o){e._modelValue=t,h(t)?e.checked=K(t,o.props.value)>-1:m(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=G(t,qs(e,!0)))}const Ns={created(e,{value:t},n){e.checked=G(t,n.props.value),e[Is]=Ms(n),Ts(e,"change",(()=>{e[Is](Vs(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e[Is]=Ms(o),t!==n&&(e.checked=G(t,o.props.value))}},js={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=m(t);Ts(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?N(Vs(e)):Vs(e)));e[Is](e.multiple?r?new Set(t):t:t[0]),e._assigning=!0,Ln((()=>{e._assigning=!1}))})),e[Is]=Ms(o)},mounted(e,{value:t,modifiers:{number:n}}){Fs(e,t,n)},beforeUpdate(e,t,n){e[Is]=Ms(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Fs(e,t,n)}};function Fs(e,t,n){const o=e.multiple,r=h(t);if(!o||r||m(t)){for(let i=0,s=e.options.length;i<s;i++){const s=e.options[i],a=Vs(s);if(o)if(r){const e=typeof a;s.selected="string"===e||"number"===e?t.includes(n?N(a):a):K(t,a)>-1}else s.selected=t.has(a);else if(G(Vs(s),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}o||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Vs(e){return"_value"in e?e._value:e.value}function qs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Hs={created(e,t,n){zs(e,t,n,null,"created")},mounted(e,t,n){zs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){zs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){zs(e,t,n,o,"updated")}};function zs(e,t,n,o,r){const i=function(e,t){switch(e){case"SELECT":return js;case"TEXTAREA":return Bs;default:switch(t){case"checkbox":return Rs;case"radio":return Ns;default:return Bs}}}(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const Ws=["ctrl","shift","alt","meta"],Us={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)=>Ws.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ys=(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=Us[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Xs=u({patchProp:(e,t,n,o,r,i,s,a,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,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;Ln((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[qi];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=b(n);let i=!1;if(n&&!r){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ds(o,t,"")}else for(const e in t)null==n[e]&&ds(o,e,"");for(const e in n)"display"===e&&(i=!0),ds(o,e,n[e])}else if(r){if(t!==n){const e=o[is];e&&(n+=";"+e),o.cssText=n,i=cs.test(n)}}else t&&e.removeAttribute("style");ts in e&&(e[ts]=i?o.display:"",e[ns]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)ds(o,a,s[a])}(e,n,o):l(t)?c(t)||ks(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&As(t)&&y(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(As(t)&&b(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=X(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,a,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(xs,t.slice(6,t.length)):e.setAttributeNS(xs,t,n);else{const o=Y(t);null==n||o&&!X(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))},Fi);let Gs;const Ks=(...e)=>{const t=(Gs||(Gs=Hr(Xs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(b(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;y(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 Zs=["{","}"];const Js=/^(?:\d)+/,Qs=/^(?:\w)+/;const ea=Object.prototype.hasOwnProperty,ta=(e,t)=>ea.call(e,t),na=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Zs){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=Js.test(t)?"list":a&&Qs.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function oa(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 ra{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||na,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=oa(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=>{ta(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=oa(t,this.messages))&&(o=this.messages[t]):n=t,ta(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 ia(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&Bp?Bp():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ra({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Dm().$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 sa(e,t){return e.indexOf(t[0])>-1}
/*!
  * vue-router v4.3.0
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */const aa="undefined"!=typeof document;const la=Object.assign;function ca(e,t){const n={};for(const o in t){const r=t[o];n[o]=da(r)?r.map(e):e(r)}return n}const ua=()=>{},da=Array.isArray,pa=/#/g,fa=/&/g,ha=/\//g,ga=/=/g,ma=/\?/g,va=/\+/g,ya=/%5B/g,ba=/%5D/g,_a=/%5E/g,wa=/%60/g,xa=/%7B/g,Ta=/%7C/g,Sa=/%7D/g,ka=/%20/g;function Ca(e){return encodeURI(""+e).replace(Ta,"|").replace(ya,"[").replace(ba,"]")}function Ea(e){return Ca(e).replace(va,"%2B").replace(ka,"+").replace(pa,"%23").replace(fa,"%26").replace(wa,"`").replace(xa,"{").replace(Sa,"}").replace(_a,"^")}function $a(e){return null==e?"":function(e){return Ca(e).replace(pa,"%23").replace(ma,"%3F")}(e).replace(ha,"%2F")}function Oa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Aa=/\/$/;function Ma(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i<o.length;i++)if(s=o[i],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Oa(s)}}function Pa(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function La(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ia(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ba(e[n],t[n]))return!1;return!0}function Ba(e,t){return da(e)?Ra(e,t):da(t)?Ra(t,e):e===t}function Ra(e,t){return da(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Da,Na,ja,Fa;function Va(e){if(!e)if(aa){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Aa,"")}(Na=Da||(Da={})).pop="pop",Na.push="push",(Fa=ja||(ja={})).back="back",Fa.forward="forward",Fa.unknown="";const qa=/^[^#]+#/;function Ha(e,t){return e.replace(qa,"#")+t}const za=()=>({left:window.scrollX,top:window.scrollY});function Wa(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 Ua(e,t){return(history.state?history.state.position-t:-1)+e}const Ya=new Map;function Xa(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),Pa(n,"")}return Pa(n,e)+o+r}function Ga(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?za():null}}function Ka(e){const{history:t,location:n}=window,o={value:Xa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=la({},r.value,t.state,{forward:e,scroll:za()});i(s.current,s,!0),i(e,la({},Ga(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,la({},t.state,Ga(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Za(e){const t=Ka(e=Va(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=Xa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Da.pop,direction:u?u>0?ja.forward:ja.back:ja.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(la({},e.state,{scroll:za()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=la({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ha.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 Ja(e){return"string"==typeof e||"symbol"==typeof e}const Qa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},el=Symbol("");var tl,nl;function ol(e,t){return la(new Error,{type:e,[el]:!0},t)}function rl(e,t){return e instanceof Error&&el in e&&(null==t||!!(e.type&t))}(nl=tl||(tl={}))[nl.aborted=4]="aborted",nl[nl.cancelled=8]="cancelled",nl[nl.duplicated=16]="duplicated";const il={sensitive:!1,strict:!1,start:!0,end:!0},sl=/[.+*?^${}()[\]/\\]/g;function al(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 ll(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=al(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(cl(o))return 1;if(cl(r))return-1}return r.length-o.length}function cl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ul={type:0,value:""},dl=/[a-zA-Z0-9_]/;function pl(e,t,n){const o=function(e,t){const n=la({},il,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 s=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(sl,"\\$&"),s+=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){s+=10;try{new RegExp(`(${d})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+a.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(s+=-50)}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:o,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(da(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=da(l)?l.join("/"):l;if(!c){if(!a)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[[ul]];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 s(){i&&r.push(i),i=[]}let a,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===a?n=2:dl.test(a)?p():(d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}(e.path),n),r=la(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function fl(e,t){const n=[],o=new Map;function r(e,n,o){const a=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:gl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=yl(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(la({},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=pl(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),a&&e.name&&!ml(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&s(d)}return p?()=>{i(p)}:ua}function i(e){if(Ja(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t<n.length&&ll(e,n[t])>=0&&(e.record.path!==n[t].record.path||!bl(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!ml(e)&&o.set(e.record.name,e)}return t=yl({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ol(1,{location:e});s=r.record.name,a=la(hl(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&hl(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ol(1,{location:e,currentLocation:t});s=r.record.name,a=la({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:vl(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function hl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function gl(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 ml(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vl(e){return e.reduce(((e,t)=>la(e,t.meta)),{})}function yl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function bl(e,t){return t.children.some((t=>t===e||bl(e,t)))}function _l(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=Oa(r<0?e:e.slice(0,r)),s=r<0?null:Oa(e.slice(r+1));if(i in t){let e=t[i];da(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function wl(e){let t="";for(let n in e){const o=e[n];if(n=Ea(n).replace(ga,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(da(o)?o.map((e=>e&&Ea(e))):[o&&Ea(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function xl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=da(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Tl=Symbol(""),Sl=Symbol(""),kl=Symbol(""),Cl=Symbol(""),El=Symbol("");function $l(){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 Ol(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ol(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ol(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Al(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(Ol(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Ol(c,n,o,a,e,r)()}))))}}var s;return i}function Ml(e){const t=Er(kl),n=Er(Cl),o=Bi((()=>t.resolve(hn(e.to)))),r=Bi((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(La.bind(null,r));if(s>-1)return s;const a=Ll(e[t-2]);return t>1&&Ll(r)===a&&i[i.length-1].path!==a?i.findIndex(La.bind(null,e[t-2])):s})),i=Bi((()=>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(!da(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Bi((()=>r.value>-1&&r.value===n.matched.length-1&&Ia(n.params,o.value.params)));return{route:o,href:Bi((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[hn(e.replace)?"replace":"push"](hn(e.to)).catch(ua):Promise.resolve()}}}const Pl=Eo({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:Ml,setup(e,{slots:t}){const n=Yt(Ml(e)),{options:o}=Er(kl),r=Bi((()=>({[Il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Il(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ri("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Il=(e,t,n)=>null!=e?e:null!=t?t:n,Bl=Eo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Er(El),r=Bi((()=>e.route||o.value)),i=Er(Sl,0),s=Bi((()=>{let e=hn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Bi((()=>r.value.matched[s.value]));Cr(Sl,Bi((()=>s.value+1))),Cr(Tl,a),Cr(El,r);const l=un();return lo((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&La(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Rl(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=Ri(c,la({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Rl(n.default,{Component:p,route:o})||p}}});function Rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Dl=Bl;function Nl(e){const t=fl(e.routes,e),n=e.parseQuery||_l,o=e.stringifyQuery||wl,r=e.history,i=$l(),s=$l(),a=$l(),l=dn(Qa);let c=Qa;aa&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ca.bind(null,(e=>""+e)),d=ca.bind(null,$a),p=ca.bind(null,Oa);function f(e,i){if(i=la({},i||l.value),"string"==typeof e){const o=Ma(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return la(o,s,{params:p(s.params),hash:Oa(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=la({},e,{path:Ma(n,e.path,i.path).path});else{const t=la({},e.params);for(const e in t)null==t[e]&&delete t[e];s=la({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(p(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,la({},e,{hash:(h=c,Ca(h).replace(xa,"{").replace(Sa,"}").replace(_a,"^")),path:a.path}));var h;const g=r.createHref(f);return la({fullPath:f,hash:c,query:o===wl?xl(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Ma(n,e,l.value.path):la({},e)}function g(e,t){if(c!==e)return ol(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),la({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(la(h(u),{state:"object"==typeof u?la({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let p;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&La(t.matched[o],n.matched[r])&&Ia(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=ol(16,{to:d,from:r}),M(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>rl(e)?rl(e,2)?e:A(e):O(e,d,r))).then((e=>{if(e){if(rl(e,2))return y(la({replace:a},h(e.to),{state:"object"==typeof e.to?la({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,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=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>La(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>La(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Al(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ol(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),R(n).then((()=>{n=[];for(const o of i.list())n.push(Ol(o,e,t));return n.push(l),R(n)})).then((()=>{n=Al(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ol(o,e,t))}));return n.push(l),R(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(da(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ol(r,e,t));else n.push(Ol(o.beforeEnter,e,t));return n.push(l),R(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Al(a,"beforeRouteEnter",e,t,_),n.push(l),R(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ol(o,e,t));return n.push(l),R(n)})).catch((e=>rl(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function T(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===Qa,c=aa?history.state:{};n&&(o||a?r.replace(e.fullPath,la({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,M(e,t,n,a),A()}let S;function k(){S||(S=r.listen(((e,t,n)=>{if(!B.listening)return;const o=f(e),i=v(o);if(i)return void y(la(i,{replace:!0}),o).catch(ua);c=o;const s=l.value;var a,u;aa&&(a=Ua(s.fullPath,n.delta),u=za(),Ya.set(a,u)),w(o,s).catch((e=>rl(e,12)?e:rl(e,2)?(y(e.to,o).then((e=>{rl(e,20)&&!n.delta&&n.type===Da.pop&&r.go(-1,!1)})).catch(ua),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||T(o,s,!1))&&(n.delta&&!rl(e,8)?r.go(-n.delta,!1):n.type===Da.pop&&rl(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(ua)})))}let C,E=$l(),$=$l();function O(e,t,n){A(e);const o=$.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function A(e){return C||(C=!e,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function M(t,n,o,r){const{scrollBehavior:i}=e;if(!aa||!i)return Promise.resolve();const s=!o&&function(e){const t=Ya.get(e);return Ya.delete(e),t}(Ua(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Ln().then((()=>i(t,n,s))).then((e=>e&&Wa(e))).catch((e=>O(e,t,n)))}const P=e=>r.go(e);let L;const I=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Ja(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(la(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:$.add,isReady:function(){return C&&l.value!==Qa?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Pl),e.component("RouterView",Dl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),aa&&!L&&l.value===Qa&&(L=!0,m(r.location).catch((e=>{})));const t={};for(const o in Qa)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(kl,this),e.provide(Cl,Xt(t)),e.provide(El,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Qa,S&&S(),S=null,l.value=Qa,L=!1,C=!1),n()}}};function R(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return B}function jl(){return Er(Cl)}const Fl=me((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Vl;function ql(e){return sa(e,re)?Wl().f(e,function(){const e=Bp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),re):e}function Hl(e,t){if(1===t.length){if(e){const n=e=>b(e)&&sa(e,re),o=t[0];let r=[];if(h(e)&&(r=e.filter((e=>n(e[o])))).length)return r;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return Hl(e&&e[n],t)}function zl(e,t){const n=Hl(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach((e=>zl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>ql(e),set(t){e=t}})}return!0}function Wl(){if(!Vl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Vl=ia(e),Fl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Vl.add(e,__uniConfig.locales[e]))),Vl.setLocale(e)}}return Vl}function Ul(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Yl=me((()=>{const e="uni.async.",t=["error"];Wl().add("en",Ul(e,t,["The connection timed out, click the screen to try again."]),!1),Wl().add("es",Ul(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Wl().add("fr",Ul(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Wl().add("zh-Hans",Ul(e,t,["连接服务器超时，点击屏幕重试"]),!1),Wl().add("zh-Hant",Ul(e,t,["連接服務器超時，點擊屏幕重試"]),!1)})),Xl=me((()=>{const e="uni.showToast.",t=["unpaired"];Wl().add("en",Ul(e,t,["Please note showToast must be paired with hideToast"]),!1),Wl().add("es",Ul(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Wl().add("fr",Ul(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Wl().add("zh-Hans",Ul(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Wl().add("zh-Hant",Ul(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Gl=me((()=>{const e="uni.showLoading.",t=["unpaired"];Wl().add("en",Ul(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Wl().add("es",Ul(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Wl().add("fr",Ul(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Wl().add("zh-Hans",Ul(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Wl().add("zh-Hant",Ul(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Kl=me((()=>{const e="uni.showModal.",t=["cancel","confirm"];Wl().add("en",Ul(e,t,["Cancel","OK"]),!1),Wl().add("es",Ul(e,t,["Cancelar","OK"]),!1),Wl().add("fr",Ul(e,t,["Annuler","OK"]),!1),Wl().add("zh-Hans",Ul(e,t,["取消","确定"]),!1),Wl().add("zh-Hant",Ul(e,t,["取消","確定"]),!1)})),Zl=me((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Wl().add("en",Ul(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Wl().add("es",Ul(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Wl().add("fr",Ul(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),Wl().add("zh-Hans",Ul(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Wl().add("zh-Hant",Ul(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Jl=me((()=>{const e="uni.setClipboardData.",t=["success","fail"];Wl().add("en",Ul(e,t,["Content copied","Copy failed, please copy manually"]),!1),Wl().add("es",Ul(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Wl().add("fr",Ul(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Wl().add("zh-Hans",Ul(e,t,["内容已复制","复制失败，请手动复制"]),!1),Wl().add("zh-Hant",Ul(e,t,["內容已復制","復制失敗，請手動復製"]),!1)})),Ql=me((()=>{const e="uni.picker.",t=["done","cancel"];Wl().add("en",Ul(e,t,["Done","Cancel"]),!1),Wl().add("es",Ul(e,t,["OK","Cancelar"]),!1),Wl().add("fr",Ul(e,t,["OK","Annuler"]),!1),Wl().add("zh-Hans",Ul(e,t,["完成","取消"]),!1),Wl().add("zh-Hant",Ul(e,t,["完成","取消"]),!1)})),ec=me((()=>{const e="uni.video.",t=["danmu","volume"];Wl().add("en",Ul(e,t,["Danmu","Volume"]),!1),Wl().add("es",Ul(e,t,["Danmu","Volumen"]),!1),Wl().add("fr",Ul(e,t,["Danmu","Le Volume"]),!1),Wl().add("zh-Hans",Ul(e,t,["弹幕","音量"]),!1),Wl().add("zh-Hant",Ul(e,t,["彈幕","音量"]),!1)}));function tc(e){const t=new Re;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 nc=1;const oc=Object.create(null);function rc(e,t){return e+"."+t}function ic(e,t,n){t=rc(e,t),oc[t]||(oc[t]=n)}function sc({id:e,name:t,args:n},o){t=rc(o,t);const r=t=>{e&&lb.publishHandler("invokeViewApi."+e,t)},i=oc[t];i?i(n,r):r({})}const ac=u(tc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=lb,i=n?nc++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),lc=Te(!0);let cc;function uc(){cc&&(clearTimeout(cc),cc=null)}let dc=0,pc=0;function fc(e){if(uc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];dc=t,pc=n,cc=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 hc(e){if(!cc)return;if(1!==e.touches.length)return uc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-dc)>10||Math.abs(n-pc)>10?uc():void 0}function gc(e,t){const n=Number(e);return isNaN(n)?t:n}function mc(){const e=__uniConfig.globalStyle||{},t=gc(e.rpxCalcMaxDeviceWidth,960),n=gc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function vc(){mc(),_e(),window.addEventListener("touchstart",fc,lc),window.addEventListener("touchmove",hc,lc),window.addEventListener("touchend",uc,lc),window.addEventListener("touchcancel",uc,lc)}function yc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bc,_c,wc=["top","left","right","bottom"],xc={};function Tc(){return _c="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 Sc(){if(_c="string"==typeof _c?_c:Tc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),wc.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),bc=!0}else wc.forEach((function(e){xc[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:_c+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Cc.length||setTimeout((function(){var e={};Cc.forEach((function(t){e[t]=xc[t]})),Cc.length=0,Ec.forEach((function(t){t(e)}))}),0);Cc.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(xc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function kc(e){return bc||Sc(),xc[e]}var Cc=[];var Ec=[];const $c=yc({get support(){return 0!=("string"==typeof _c?_c:Tc()).length},get top(){return kc("top")},get left(){return kc("left")},get right(){return kc("right")},get bottom(){return kc("bottom")},onChange:function(e){Tc()&&(bc||Sc(),"function"==typeof e&&Ec.push(e))},offChange:function(e){var t=Ec.indexOf(e);t>=0&&Ec.splice(t,1)}}),Oc=Ys((()=>{}),["prevent"]),Ac=Ys((e=>{}),["stop"]);function Mc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Pc(){const e=Mc(document.documentElement.style,"--window-top");return e?e+$c.top:0}function Lc(){const e=document.documentElement.style,t=Pc(),n=Mc(e,"--window-bottom"),o=Mc(e,"--window-left"),r=Mc(e,"--window-right"),i=Mc(e,"--top-window-height");return{top:t,bottom:n?n+$c.bottom:0,left:o?o+$c.left:0,right:r?r+$c.right:0,topWindowHeight:i||0}}function Ic(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Bc(e){return Ic(e)}function Rc(e){return Symbol(e)}function Dc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Nc(e,t=!1){if(t)return function(e){if(!Dc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Wd(parseFloat(t))+"px"))}(e);if(b(e)){const t=parseInt(e)||0;return Dc(e)?Wd(t):t}return e}const jc="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",Fc="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";function Vc(e,t="#000",n=27){return pi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[pi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function qc(){{const{$pageInstance:e}=Si();return e&&e.proxy.$page.id}}function Hc(e){const t=ae(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function zc(){const e=fm(),t=e.length;if(t)return e[t-1]}function Wc(){const e=zc();if(e)return e.$page.meta}function Uc(){const e=Wc();return e?e.id:-1}function Yc(){const e=zc();if(e)return e.$vm}const Xc=["navigationBar","pullToRefresh"];function Gc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);Xc.forEach((t=>{o[t]=u({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Kc(e,t,n){if(b(e))n=t,t=e,e=Yc();else if("number"==typeof e){const t=fm().find((t=>t.$page.id===e));e=t?t.$vm:Yc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function Zc(e){e.preventDefault()}let Jc,Qc=0;function eu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-Qc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Qc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(Jc=setTimeout(s,300))),o=!1};return function(){clearTimeout(Jc),o||requestAnimationFrame(s),o=!0}}function tu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return tu(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),fe(i.concat(n).join("/"))}function nu(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class ou{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=au(this.$el.querySelector(e));return t?ru(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=au(n[o]);e&&t.push(ru(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||b(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:P(n);(b(o)||"number"==typeof o)&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(b(e)&&(e=W(e)),k(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];y(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&lb.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 ru(e,t=!0){if(t&&e&&(e=le(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new ou(e)),e.$el.__wxsComponentDescriptor}function iu(e,t){return ru(e,t)}function su(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>iu(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,iu(r,!1)]}}function au(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function lu(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=Se(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),a=Se(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return 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 cu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function uu(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const du=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return su(e,t,n,!1)||[e];const i=lu(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Pc();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[cu(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Pc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[cu(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=Pc();i.touches=uu(e.touches,t),i.changedTouches=uu(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 su(i,t,n)||[i]},createNativeEvent:lu},Symbol.toStringTag,{value:"Module"});function pu(e){!function(e){const t=e.globalProperties;u(t,du),t.$gcd=iu}(e._context.config)}let fu=1;function hu(e){return(e||Uc())+".invokeViewApi"}const gu=u(tc("view"),{invokeOnCallback:(e,t)=>cb.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=cb,s=o?fu++:0;o&&r("invokeViewApi."+s,o,!0),i(hu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=cb,a=fu++,l="invokeViewApi."+a;return r(l,n),s(hu(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function mu(e){Kc(zc(),"onResize",e),cb.invokeOnCallback("onWindowResize",e)}function vu(e){const t=zc();Kc(Dm(),"onShow",e),Kc(t,"onShow")}function yu(){Kc(Dm(),"onHide"),Kc(zc(),"onHide")}const bu=["onPageScroll","onReachBottom"];function _u(){bu.forEach((e=>cb.subscribe(e,function(e){return(t,n)=>{Kc(parseInt(n),e,t)}}(e))))}function wu(){!function(){const{on:e}=cb;e("onResize",mu),e("onAppEnterForeground",vu),e("onAppEnterBackground",yu)}(),_u()}function xu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ae(this.$page.id)),e.eventChannel}}function Tu(e){e._context.config.globalProperties.getOpenerEventChannel=xu}function Su(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ku(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Wd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Cu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(ku)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?ku(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout((()=>{i()}),0)}const Eu={props:["animation"],watch:{animation:{deep:!0,handler(){Cu(this)}}},mounted(){Cu(this)}},$u=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Eu),Ou(e)},Ou=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Eo(e));function Au(e){return e.__wwe=!0,e}function Mu(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=Se(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Pu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Lu(e){const t=un(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Au((function(e){e.touches.length>1||s(e)})),onMousedown:Au((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Au((function(){a()})),onMouseup:Au((function(){r&&l()})),onTouchcancel:Au((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Iu(e,t){return b(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Bu=Rc("uf"),Ru=$u({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=un(null);return function(e){const t=[];Cr(Bu,{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)}})}(Mu(o,n)),()=>pi("uni-form",{ref:o},[pi("span",null,[t.default&&t.default()])],512)}});const Du=Rc("ul");function Nu(e,t){ju(e.id,t),lo((()=>e.id),((e,n)=>{Fu(n,t,!0),ju(e,t,!0)})),Zo((()=>{Fu(e.id,t)}))}function ju(e,t,n){const o=qc();n&&!e||k(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&lb.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?lb.on(r,t[r]):e&&lb.on(`uni-${r}-${o}-${e}`,t[r])}))}function Fu(e,t,n){const o=qc();n&&!e||k(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&lb.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?lb.off(r,t[r]):e&&lb.off(`uni-${r}-${o}-${e}`,t[r])}))}const Vu=$u({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=un(null),o=Er(Bu,!1),{hovering:r,binding:i}=Lu(e);Wl();const s=Au(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=Er(Du,!1);return a&&(a.addHandler(s),Ko((()=>{a.removeHandler(s)}))),Nu(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Iu(e,"disabled"),l=Iu(e,"loading"),c=Iu(e,"plain"),u=o&&"none"!==o;return pi("uni-button",bi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function qu(e){return e.$el}function Hu(e){const{base:t}=__uniConfig.router;return 0===fe(e).indexOf(t)?fe(e):t+e}function zu(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Hu(e.slice(1));e="https:"+e}if(ie.test(e)||se.test(e)||0===e.indexOf("blob:"))return e;const o=fm();return o.length?Hu(tu(o[o.length-1].$page.route,e).slice(1)):e}const Wu=navigator.userAgent,Uu=/android/i.test(Wu),Yu=/iphone|ipad|ipod/i.test(Wu),Xu=Wu.match(/Windows NT ([\d|\d.\d]*)/i),Gu=/Macintosh|Mac/i.test(Wu),Ku=/Linux|X11/i.test(Wu),Zu=Gu&&navigator.maxTouchPoints>0;function Ju(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Qu(e){return e&&90===Math.abs(window.orientation)}function ed(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function td(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function nd(e,t,n,o){cb.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function od(e,t){const n={},{top:o,topWindowHeight:r}=Lc();if(t.node){const t=e.tagName.split("-")[1];t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=we(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(h(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(h(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function rd(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)}function id(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};if(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),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){return e?e.$el:t.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):rd(i,n)?i:i.querySelector(n);return e?od(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(od(t,r))})),!l&&rd(i,n)&&e.unshift(od(i,r)),e}}(e,t,n,r,i))})),n(o)}const sd=["original","compressed"],ad=["album","camera"],ld=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function cd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function ud(e,t){return!h(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function dd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let pd=1;const fd={};function hd(e,t,n){if("number"==typeof e){const o=fd[e];if(o)return o.keepAlive||delete fd[e],o.callback(t,n)}return t}const gd="success",md="fail",vd="complete";function yd(e,t={},{beforeAll:n,beforeSuccess:o}={}){k(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];y(o)&&(t[n]=dd(o),delete e[n])}return t}(t),a=y(r),l=y(i),c=y(s),u=pd++;return function(e,t,n,o=!1){fd[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),y(n)&&n(u),u.errMsg===e+":ok"?(y(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const bd="success",_d="fail",wd="complete",xd={},Td={};function Sd(e,t){return function(n){return e(n,t)||n}}function kd(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(Sd(i,n));else{const e=i(t,n);if(x(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Cd(e,t={}){return[bd,_d,wd].forEach((n=>{const o=e[n];if(!h(o))return;const r=t[n];t[n]=function(e){kd(o,e,t).then((e=>y(r)&&r(e)||e))}})),t}function Ed(e,t){const n=[];h(xd.returnValue)&&n.push(...xd.returnValue);const o=Td[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function $d(e){const t=Object.create(null);Object.keys(xd).forEach((e=>{"returnValue"!==e&&(t[e]=xd[e].slice())}));const n=Td[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Od(e,t,n,o){const r=$d(e);if(r&&Object.keys(r).length){if(h(r.invoke)){return kd(r.invoke,n).then((n=>t(Cd($d(e),n),...o)))}return t(Cd(r,n),...o)}return t(n,...o)}function Ad(e,t){return(n={},...o)=>function(e){return!(!k(e)||![gd,md,vd].find((t=>y(e[t]))))}(n)?Ed(e,Od(e,t,n,o)):Ed(e,new Promise(((r,i)=>{Od(e,t,u(n,{success:r,fail:i}),o)})))}function Md(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,hd(e,u({errMsg:r},o))}function Pd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(b(e))return e}const r=function(e,t){const n=e[0];if(!t||!k(t.formatArgs)&&k(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if(y(s)){const o=s(e[0][t],n);if(b(o))return o}else f(n,t)||(n[t]=s)}}(t,o);if(r)return r}function Ld(e,t,n,o){return n=>{const r=yd(e,n,o),i=Pd(0,[n],0,o);return i?Md(r,e,i):t(n,{resolve:t=>function(e,t,n){return hd(e,u(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Md(r,e,function(e){return!e||b(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Id(e,t,n,o){return Ad(e,Ld(e,t,0,o))}function Bd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Pd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Rd(e,t,n,o){return Ad(e,function(e,t,n,o){return Ld(e,t,0,o)}(e,t,0,o))}let Dd=!1,Nd=0,jd=0,Fd=960,Vd=375,qd=750;function Hd(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Ju(),t=td(ed(e,Qu(e)));return{platform:Yu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Nd=n,jd=t,Dd="ios"===e}function zd(e,t){const n=Number(e);return isNaN(n)?t:n}const Wd=Bd(0,((e,t)=>{if(0===Nd&&(Hd(),function(){const e=__uniConfig.globalStyle||{};Fd=zd(e.rpxCalcMaxDeviceWidth,960),Vd=zd(e.rpxCalcBaseDeviceWidth,375),qd=zd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Nd;n=e===qd||n<=Fd?n:Vd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==jd&&Dd?.5:1),e<0?-o:o}));function Ud(e,t){Object.keys(t).forEach((n=>{y(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):h(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const Yd=Bd(0,((e,t)=>{b(e)&&k(t)?Ud(Td[e]||(Td[e]={}),t):k(e)&&Ud(xd,e)})),Xd=[.5,.8,1,1.25,1.5,2];class Gd{constructor(e,t){this.id=e,this.pageId=t}play(){nd(this.id,this.pageId,"play")}pause(){nd(this.id,this.pageId,"pause")}stop(){nd(this.id,this.pageId,"stop")}seek(e){nd(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){nd(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Xd.indexOf(e)||(e=1),nd(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){nd(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){nd(this.id,this.pageId,"exitFullScreen")}showStatusBar(){nd(this.id,this.pageId,"showStatusBar")}hideStatusBar(){nd(this.id,this.pageId,"hideStatusBar")}}const Kd=Bd(0,((e,t)=>new Gd(e,Hc(t||Yc())))),Zd=(e,t,n,o)=>{!function(e,t,n,o,r){cb.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)}))};function Jd(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Qd=Jd("width"),ep=Jd("height"),tp={PNG:"png",JPG:"jpg",JPEG:"jpg"},np={formatArgs:{x:Jd("x",0),y:Jd("y",0),width:Qd,height:ep,destWidth:Jd("destWidth"),destHeight:Jd("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=tp[e];n||(n=tp.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function op(e,t,n,o,r){cb.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var rp=["scale","rotate","translate","setTransform","transform"],ip=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],sp=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const ap={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 lp(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(f(ap,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(ap[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 cp{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,lp(t)])}}class up{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class dp{constructor(e){this.width=e}}class pp{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"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],op(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new cp("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new cp("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 up(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){let t=0;return t=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new dp(t)}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+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===o.length&&a(),o=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const fp=me((()=>{[...rp,...ip].forEach((function(e){pp.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),sp.forEach((function(e){pp.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",lp(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=lp(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)}))})),hp=Bd(0,((e,t)=>{if(fp(),t)return new pp(e,Hc(t));const n=Hc(Yc());if(n)return new pp(e,n);cb.emit("onError","createCanvasContext:fail")})),gp=Rd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:s,fileType:a,quality:l},{resolve:c,reject:u})=>{var d=Hc(Yc());if(!d)return void u();op(s,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:a,quality:l,dirname:`${Tf}/canvas`},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,np),mp={thresholds:[0],initialRatio:0,observeAll:!1},vp=["top","right","bottom","left"];let yp=1;function bp(e={}){return vp.map((t=>`${Number(e[t])||0}px`)).join(" ")}class _p{constructor(e,t){this._pageId=Hc(e),this._component=e,this._options=u({},mp,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=bp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=bp(e),this}observe(e,t){y(t)&&(this._options.selector=e,this._reqId=yp++,function({reqId:e,component:t,options:n,callback:o},r){const i=qu(t);(i.__io||(i.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}var t=function(t){for(var n=window.document,o=e(n);o;)o=e(n=o.ownerDocument);return n}(),n=[],o=null,r=null;function i(e){this.time=e.time,this.target=e.target,this.rootBounds=h(e.rootBounds),this.boundingClientRect=h(e.boundingClientRect),this.intersectionRect=h(e.intersectionRect||f()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function s(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 a(){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||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o||!1):"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),s=i-r,a=o-n;return s>=0&&a>=0&&{top:n,bottom:o,left:r,right:i,width:s,height:a}||null}function p(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function g(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function m(e,t){for(var n=t;n;){if(n==e)return!0;n=v(n)}return!1}function v(n){var o=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function y(e){return e&&9===e.nodeType}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return o||(o=function(e,t){r=e&&t?g(e,t):f(),n.forEach((function(e){e._checkForIntersections()}))}),o},s._resetCrossOriginUpdater=function(){o=null,r=null},s.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()}},s.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()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},s.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]}))},s.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},s.prototype._monitorIntersections=function(n){var o=n.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(n)){var r=this._checkForIntersections,i=null,s=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&&(s=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),s&&s.disconnect()}));var a=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=a){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},s.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 s=e(n);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.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]()},s.prototype._checkForIntersections=function(){if(this.root||!o||r){var e=this._rootIsInDom(),t=e?this._getRootRect():f();this._observationTargets.forEach((function(n){var r=n.element,s=p(r),l=this._rootContainsTarget(r),c=n.entry,u=e&&l&&this._computeTargetAndRootIntersection(r,s,t),d=null;this._rootContainsTarget(r)?o&&!this.root||(d=t):d=f();var h=n.entry=new i({time:a(),target:r,boundingClientRect:s,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,n,i){if("none"!=window.getComputedStyle(e).display){for(var s=n,a=v(e),l=!1;!l&&a;){var c=null,u=1==a.nodeType?window.getComputedStyle(a):{};if("none"==u.display)return null;if(a==this.root||9==a.nodeType)if(l=!0,a==this.root||a==t)o&&!this.root?!r||0==r.width&&0==r.height?(a=null,c=null,s=null):c=r:c=i;else{var f=v(a),h=f&&p(f),m=f&&this._computeTargetAndRootIntersection(f,h,i);h&&m?(a=f,c=g(h,m)):(a=null,s=null)}else{var y=a.ownerDocument;a!=y.body&&a!=y.documentElement&&"visible"!=u.overflow&&(c=p(a))}if(c&&(s=d(c,s)),!s)break;a=a&&v(a)}return s}},s.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)},s.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},s.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}},s.prototype._rootIsInDom=function(){return!this.root||m(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return m(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},s.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=i}();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:xf(e),intersectionRect:wf(e.intersectionRect),boundingClientRect:wf(e.boundingClientRect),relativeRect:wf(e.rootBounds),time:Date.now(),dataset:we(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)r.observe(n[e])}else{r.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?r.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return r}(i,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=qu(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const wp=Bd(0,((e,t)=>((e=ae(e))&&!Hc(e)&&(t=e,e=null),new _p(e||Yc(),t))));let xp=0,Tp={};function Sp(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(xp++);r.callbackId=e,Tp[e]=o}cb.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},b(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?y(e.success)&&e.success(t):y(e.fail)&&e.fail(t),y(e.complete)&&e.complete(t)}(Tp[e],t),delete Tp[e])}))}const kp={canvas:pp,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Zd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Zd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Zd(this.id,this.pageId,"getScale",e)}getRegion(e){Zd(this.id,this.pageId,"getRegion",e)}includePoints(e){Zd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Zd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Zd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Zd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Zd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Zd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Zd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Zd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Zd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Zd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Zd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Zd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Zd(this.id,this.pageId,"openMapApp",e)}on(e,t){Zd(this.id,this.pageId,"on",{name:e,callback:t})}},video:Gd,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){Sp(this.id,this.pageId,e,t)}}};function Cp(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=kp[n];e.context=new r(t,o),delete e.contextInfo}}class Ep{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 $p{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return id(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{h(e)?e.forEach(Cp):Cp(e);const o=n[t];y(o)&&o.call(this,e)})),y(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=ae(e),this}select(e){return this._nodesRef=new Ep(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Ep(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Ep(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 Op=Bd(0,(e=>((e=ae(e))&&!Hc(e)&&(e=null),new $p(e||Yc())))),Ap={formatArgs:{}},Mp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Pp{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Mp,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 Lp=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=>{Pp.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}}))})),Ip=Bd(0,(e=>(Lp(),new Pp(e))),0,Ap),Bp=Bd(0,(()=>{const e=Dm();return e&&e.$vm?e.$vm.$locale:Wl().getLocale()})),Rp={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Dp=Bd(0,(()=>u({},Of)));let Np,jp,Fp;const Vp=[];const qp=Rd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===Fp&&(Fp=!1,Np="",jp="uniPush is not enabled"),Vp.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Np&&(e=Np,o=jp,Vp.forEach((t=>{t(e,o)})),Vp.length=0)}))})),Hp=e=>{},zp=e=>{},Wp={formatArgs:{showToast:!0},beforeInvoke(){Jl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Wl(),o=n("uni.setClipboardData.success");o&&Cy({title:o,icon:"success",mask:!1})}},Up=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=ud(e,sd)},sourceType(e,t){t.sourceType=ud(e,ad)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),Yp={formatArgs:{sourceType(e,t){t.sourceType=ud(e,ad)},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=["*"])}}},Xp=(Boolean,["all","image","video"]),Gp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=ud(e,ad)},type(e,t){t.type=cd(e,Xp)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},Kp={formatArgs:{src(e,t){t.src=zu(e)}}},Zp={formatArgs:{urls(e,t){t.urls=e.map((e=>b(e)&&e?zu(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:b(e)&&e&&(t.current=zu(e))}}},Jp="json",Qp=["text","arraybuffer"],ef=encodeURIComponent;ArrayBuffer,Boolean;const tf={formatArgs:{method(e,t){t.method=cd((e||"").toUpperCase(),ld)},data(e,t){t.data=e||""},url(e,t){t.method===ld[0]&&k(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":k(e)&&(e=JSON.stringify(e)),s[ef(a)]=ef(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ld[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Jp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Qp.indexOf(t.responseType)&&(t.responseType="text")}}},nf={formatArgs:{header(e,t){t.header=e||{}}}},of={formatArgs:{filePath(e,t){e&&(t.filePath=zu(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const rf={url:{type:String,required:!0}},sf=(df(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),df(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),hf("navigateTo")),af=hf("redirectTo"),lf=hf("reLaunch"),cf=hf("switchTab"),uf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(fm().length-1,e)}}};function df(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 pf;function ff(){pf=""}function hf(e){return{formatArgs:{url:gf(e)},beforeAll:ff}}function gf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=fm();return n.length&&(t=n[n.length-1].$page.route),tu(t,e)}(t)).split("?")[0],r=nu(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!b(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(pf===t&&"appLaunch"!==n.openType)return`${pf} locked`;__uniConfig.ready&&(pf=t)}else if(r.meta.isTabBar){const e=fm(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const mf={formatArgs:{duration:300}},vf=(Boolean,{formatArgs:{title:"",mask:!1}}),yf=(Boolean,{beforeInvoke(){Kl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=Wl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=Wl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),bf=["success","loading","none","error"],_f=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=cd(e,bf)},image(e,t){t.image=e?zu(e):""},duration:1500,mask:!1}});function wf(e){const{bottom:t,height:n,left:o,right:r,top:i,width:s}=e||{};return{bottom:t,height:n,left:o,right:r,top:i,width:s}}function xf(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}const Tf="",Sf={};function kf(e,t){const n=Sf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return Cf(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function Cf(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 Ef(e){for(const n in Sf)if(f(Sf,n)){if(Sf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Sf[t]=e,t}function $f(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Sf[e]}const Of=Su(),Af=Su();const Mf=$u({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=un(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=Yt({width:-1,height:-1});return lo((()=>u({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){Ro(o),Yo((()=>{t.initial&&Ln(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>pi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[pi("div",{onScroll:r},[pi("div",null,null)],40,["onScroll"]),pi("div",{onScroll:r},[pi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Pf=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Lf(e,t=!0){const n=t?Pf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let If=!1;function Bf(){if(If)return;If=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=Pf,o*=Pf,r*=Pf,i*=Pf,s*=Pf,a*=Pf,l=u?l*Pf:l,c=u?c*Pf:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(t.drawImage),1!==Pf&&(!function(e,t){for(const n in e)f(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*Pf}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=Pf;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=Pf,e.apply(this,arguments),this.lineWidth/=Pf}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=Pf,t[2]*=Pf,t[3]&&"number"==typeof t[3]&&(t[3]*=Pf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Pf+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Pf,t[2]*=Pf,t[3]&&"number"==typeof t[3]&&(t[3]*=Pf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Pf+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(Pf,Pf),e.apply(this,arguments),this.scale(1/Pf,1/Pf)}}(t.drawImage))}const Rf=me((()=>Bf()));function Df(e){return e?zu(e):e}function Nf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function jf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Ff;function Vf(e=0,t=0){return Ff||(Ff=document.createElement("canvas")),Ff.width=e,Ff.height=t,Ff}const qf=$u({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Rf();const o=un(null),r=un(null),i=un(null),s=un(!1),a=function(e){return(t,n)=>{e(t,lu(n))}}(t),{$attrs:l,$excludeAttrs:c,$listeners:d}=Ah({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=Bi((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=u({},(()=>{let e={};for(const t in r)if(f(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];i[t]&&o.push(Au((e=>{const o=e.currentTarget.getBoundingClientRect();jf(o,e.touches),jf(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(Oc),i[t]=o})),i}));return{_listeners:o}}(e,d,a),{_handleSubscribe:h,_resize:g}=function(e,t,n){let o=[],r={};const i=Bi((()=>e.hidpi?Pf:1));function s(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);Lf(o,e.hidpi),t.putImageData(n,0,0)}else Lf(o,e.hidpi)}function a({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let a=t.value,u=a.getContext("2d");i||(u.fillStyle="#000000",u.strokeStyle="#000000",u.shadowColor="#000000",u.shadowBlur=0,u.shadowOffsetX=0,u.shadowOffsetY=0,u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,a.width,a.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const i=n.data,a=i[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let r;if("fillStyle"===n||"strokeStyle"===n){if("normal"===a)r=Nf(i[1]);else if("linear"===a){const e=u.createLinearGradient(...i[1]);i[2].forEach((function(t){const n=t[0],o=Nf(t[1]);e.addColorStop(n,o)})),r=e}else if("radial"===a){let e=i[1];const t=e[0],n=e[1],o=e[2],s=u.createRadialGradient(t,n,0,t,n,o);i[2].forEach((function(e){const t=e[0],n=Nf(e[1]);s.addColorStop(t,n)})),r=s}else if("pattern"===a){if(!c(i[1],e.slice(t+1),s,(function(e){e&&(u[n]=u.createPattern(e,i[2]))})))break;continue}u[n]=r}else if("globalAlpha"===n)u[n]=Number(a)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];i.forEach((function(t,n){u[e[n]]="shadowColor"===e[n]?Nf(t):t}))}else if("fontSize"===n){const e=u.__font__||u.font;u.__font__=u.font=e.replace(/\d+\.?\d*px/,a+"px")}else"lineDash"===n?(u.setLineDash(a),u.lineDashOffset=i[1]||0):"textBaseline"===n?("normal"===a&&(i[0]="alphabetic"),u[n]=a):"font"===n?u.__font__=u.font=a:u[n]=a}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),u.beginPath(),i.forEach((function(e){u[e.method].apply(u,e.data)})),u[o]();else if("fillText"===o)u.fillText.apply(u,i);else if("drawImage"===o){if("break"===function(){let n=[...i],o=n[0],a=n.slice(1);if(r=r||{},!c(o,e.slice(t+1),s,(function(e){e&&u.drawImage.apply(u,[e].concat([...a.slice(4,8)],[...a.slice(0,4)]))})))return"break"}())break}else"clip"===o?(i.forEach((function(e){u[e.method].apply(u,e.data)})),u.clip()):u[o].apply(u,i)}n.value||s({errMsg:"drawCanvas:ok"})}function l(e){e.forEach((function(e){let t=e.method,n=e.data,o="";function i(){const e=r[o]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):kf(e).then(Ef)}(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=Df(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=Df(o),n[1]=o),o&&!r[o]&&i()}))}function c(e,t,i,s){let l=r[e];return l.ready?(s(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,s(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)a({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},p){const f=t.value;let h;const g=f.offsetWidth-e;o=o?Math.min(o,g):g;const m=f.offsetHeight-n;r=r?Math.min(r,m):m,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):s=Math.round(o/r*a):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=Vf(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(f,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)h=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);h=Array.prototype.slice.call(e.data)}b={data:h,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!p)return b;p(b)}function p({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{0,i||(i=Math.round(e.length/4/r));const s=Vf(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})}function f({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var p;u.data&&u.data.length?(p=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,p)):c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")})}const h={actionsChanged:a,getImageData:d,putImageData:p,toTempFilePath:f};function g(e,t,n){let o=h[e];0!==e.indexOf("_")&&y(o)&&o(t,n)}return u(h,{_resize:s,_handleSubscribe:g})}(e,r,s);return Fg(h,qg(e.canvasId),!0),Yo((()=>{g()})),()=>{const{canvasId:t,disableScroll:s}=e;return pi("uni-canvas",bi({ref:o,"canvas-id":t,"disable-scroll":s},l.value,c.value,p.value),[pi("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),pi("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),pi(Mf,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});const Hf=Rc("ucg"),zf=$u({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,{emit:t,slots:n}){const o=un(null);return function(e,t){const n=[],o=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);Cr(Hf,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:o()})}});const r=Er(Bu,!1);r&&r.addField({submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}})}(e,Mu(o,t)),()=>pi("uni-checkbox-group",{ref:o},[n.default&&n.default()],512)}});const Wf=$u({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""}},setup(e,{slots:t}){const n=un(null),o=un(e.checked),r=Bi((()=>"true"===o.value||!0===o.value)),i=un(e.value);const s=Bi((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(r.value)));lo([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,i.value=t}));const{uniCheckGroup:a,uniLabel:l}=function(e,t,n){const o=Bi((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),r={reset:n},i=Er(Hf,!1);i&&i.addField(o);const s=Er(Bu,!1);s&&s.addField(r);const a=Er(Du,!1);return Ko((()=>{i&&i.removeField(o),s&&s.removeField(r)})),{uniCheckGroup:i,uniForm:s,uniLabel:a}}(o,i,(()=>{o.value=!1})),c=t=>{e.disabled||(o.value=!o.value,a&&a.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Ko((()=>{l.removeHandler(c)}))),Nu(e,{"label-click":c}),()=>{const r=Iu(e,"disabled");let i;return i=o.value,pi("uni-checkbox",bi(r,{id:e.id,onClick:c,ref:n}),[pi("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[pi("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:s.value},[i?Vc(jc,e.disabled?"#ADADAD":e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Uf(){}const Yf={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 Xf(e,t,n){function o(e){const t=Bi((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Uf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Uf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}lo((()=>t.value),(e=>e&&o(e)))}var Gf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Kf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Zf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Jf=rh("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Qf=rh("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"),eh=rh("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"),th=rh("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),nh=rh("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),oh=rh("script,style");function rh(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const ih={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},sh={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},ah={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"]},lh=$u({name:"Image",props:ih,setup(e,{emit:t}){const n=un(null),o=function(e,t){const n=un(""),o=Bi((()=>{let e="auto",o="";const r=ah[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=Yt({rootEl:e,src:Bi((()=>t.src?zu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Yo((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=Mu(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=sh[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){ch&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return lo((()=>t.mode),((e,t)=>{sh[t]&&r(),sh[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};lo((()=>e.src),(e=>l(e))),lo((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Yo((()=>l(e.src))),Ko((()=>c()))}(o,e,n,i,r),()=>pi("uni-image",{ref:n},[pi("div",{style:o.modeStyle},null,4),sh[e.mode]?pi(Mf,{onResize:i},null,8,["onResize"]):pi("span",null,null)],512)}});const ch="Google Inc."===navigator.vendor;const uh=Te(!0),dh=[];let ph,fh=0;const hh=e=>dh.forEach((t=>t.userAction=e));function gh(e={userAction:!1}){if(!ph){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!fh&&hh(!0),fh++,setTimeout((()=>{!--fh&&hh(!1)}),0)}),uh)})),ph=!0}dh.push(e)}const mh=()=>!!fh;function vh(){const e=Yt({userAction:!1});return Yo((()=>{gh(e)})),Ko((()=>{!function(e){const t=dh.indexOf(e);t>=0&&dh.splice(t,1)}(e)})),{state:e}}function yh(){const e=Yt({attrs:{}});return Yo((()=>{let t=Si();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function bh(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 _h(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const o=null===e?"":String(e);return null==n?o:o.slice(0,n)}const wh=["none","text","decimal","numeric","tel","search","email","url"],xh=u({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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=>!!~wh.indexOf(e)},cursorColor:{type:String,default:""}},Yf),Th=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Sh(e,t,n,o){const r=Oe((n=>{t.value=_h(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});lo((()=>e.modelValue),r),lo((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r<t?n=setTimeout(o,t-(s-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Uo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function kh(e,t){vh();const n=Bi((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}lo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Yo((()=>{n.value&&Ln(o)}))}function Ch(e,t,n,o){ic(Uc(),"getSelectedTextRange",bh);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=un(null),r=Mu(t,n),i=Bi((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Bi((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Bi((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Bi((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=_h(e.modelValue,e.type)||_h(e.value,e.type),u=Yt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return lo((()=>u.focus),(e=>n("update:focus",e))),lo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Sh(e,i,n,s);kh(e,r),Xf(0,r);const{state:l}=yh();!function(e,t){const n=Er(Bu,!1);if(!n)return;const o=Si(),r={submit(){const n=o.proxy;return[n[e],b(t)?n[t]:t.value]},reset(){b(t)?o.proxy[t]="":t.value=""}};n.addField(r),Ko((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}lo([()=>t.selectionStart,()=>t.selectionEnd],s),lo((()=>t.cursor),a),lo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),y(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Eh=$u({name:"Input",props:u({},xh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Th],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Bi((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Bi((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(P(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a,l=un("");const c=un(null),{fieldRef:u,state:d,scopedAttrsState:p,fixDisabledColor:f,trigger:h}=Ch(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",a=()=>{l.value=n.value=""},n.addEventListener("blur",a),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=l.value.indexOf(".");return l.value=n.value=t.value=l.value.slice(0,e),!0}}else if("."===e.data)return l.value+=".",a=()=>{l.value=n.value=l.value.slice(0,-1)},n.addEventListener("blur",a),!1;return l.value=t.value=n.value="-"===l.value?"":l.value,!1}l.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));lo((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));const g=["number","digit"],m=Bi((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&f?pi("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ho(pi("input",{key:"input",ref:u,"onUpdate:modelValue":e=>d.value=e,disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[Hs,d.value]]);return pi("uni-input",{ref:c},[pi("div",{class:"uni-input-wrapper"},[ho(pi("div",bi(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[os,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?pi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const $h=["class","style"],Oh=/^on[A-Z]+/,Ah=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Si(),r=dn({}),i=dn({}),s=dn({}),a=n.concat($h);return o.attrs=Yt(o.attrs),so((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Oh.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Mh(e){const t=[];return h(e)&&e.forEach((e=>{si(e)?e.type===Xr?t.push(...Mh(e.children)):t.push(e):h(e)&&t.push(...Mh(e))})),t}const Ph=$u({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=un(null),o=un(!1);let{setContexts:r,events:i}=function(e,t){const n=un(0),o=un(0),r=Yt({x:null,y:null}),i=un(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach((function(e){e._setScale(t)})):s&&s._setScale(t))}function c(e,n=a){let o=t.value;function 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=Au((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=Lh(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=Au((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(Lh(n)/i.value)}r.x=n.x,r.y=n.y}})),p=Au((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function f(){h(),a.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),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 Cr("movableAreaWidth",n),Cr("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Ah(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Yo((()=>{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(nn(o))}r(e)}return Cr("_isMounted",o),Cr("movableAreaRootRef",n),Cr("addMovableViewContext",(e=>{d.push(e),p()})),Cr("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=Mh(e),pi("uni-movable-area",bi({ref:n},a.value,l.value,c),[pi(Mf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Lh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Ih=function(e,t,n,o){e.addEventListener(t,(e=>{y(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Bh,Rh;function Dh(e,t,n){Ko((()=>{document.removeEventListener("mousemove",Bh),document.removeEventListener("mouseup",Rh)}));let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Ih(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)})),Ih(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)})),Ih(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Bh=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Ih(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=Rh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),Ih(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function Nh(e,t,n){return e>t-n&&e<t+n}function jh(e,t){return Nh(e,0,t)}function Fh(){}function Vh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function qh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Hh(e,t,n){this._springX=new qh(e,t,n),this._springY=new qh(e,t,n),this._springScale=new qh(e,t,n),this._startTime=0}Fh.prototype.x=function(e){return Math.sqrt(e)},Vh.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()},Vh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Vh.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}},Vh.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}},Vh.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}},Vh.prototype.dt=function(){return-this._x_v/this._x_a},Vh.prototype.done=function(){const e=Nh(this.s().x,this._endPositionX)||Nh(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Vh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Vh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},qh.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},qh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!jh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(jh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),jh(t,.1)&&(t=0),jh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&jh(o-e,.1)&&jh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},qh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qh.prototype.done=function(e){return e||(e=(new Date).getTime()),Nh(this.x(),this._endPosition,.1)&&jh(this.dx(),.1)},qh.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())},qh.prototype.springConstant=function(){return this._k},qh.prototype.damping=function(){return this._c},qh.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}]},Hh.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},Hh.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)}},Hh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Hh.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 zh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Wh=$u({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:.5},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=un(null),r=Mu(o,n),{setParent:i}=function(e,t,n){const o=Er("_isMounted",un(!1)),r=Er("addMovableViewContext",(()=>{})),i=Er("removeMovableViewContext",(()=>{}));let s,a,l=un(1),c=un(1),u=un(!1),d=un(0),p=un(0),f=null,h=null,g=!1,m=null,v=null;const y=new Fh,b=new Fh,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Bi((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Vh(1,w.value);lo((()=>e.disabled),(()=>{W()}));const{_updateOldScale:T,_endScale:S,_setScale:k,scaleValueSync:C,_updateBoundary:E,_updateOffset:$,_updateWH:O,_scaleOffset:A,minX:M,minY:P,maxX:L,maxY:I,FAandSFACancel:B,_getLimitXY:R,_setTransform:D,_revise:N,dampingNumber:j,xMove:F,yMove:V,xSync:q,ySync:H,_STD:z}=function(e,t,n,o,r,i,s,a,l,c){const u=Bi((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Bi((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=un(Number(e.scaleValue)||1);lo(p,(e=>{D(e)})),lo(u,(()=>{R()})),lo(d,(()=>{R()})),lo((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=Er("movableAreaWidth",un(0)),r=Er("movableAreaHeight",un(0)),i=Er("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=un(0),c=un(0),u=un(0),d=un(0),p=un(0),f=un(0);function h(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-s.y+a.y,i=r.value-c.value-s.y-a.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function g(){s.x=Xh(e.value,i.value),s.y=Gh(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,s=l.value*o;a.x=(s-l.value)/2,a.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:p,maxY:f}}(t,o,B),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:$,xSync:O,ySync:A,_STD:M}=function(e,t,n,o,r,i,s,a,l,c,u,d,p,f){const h=Bi((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Bi((()=>"all"===t.direction||"horizontal"===t.direction)),m=Bi((()=>"all"===t.direction||"vertical"===t.direction)),v=un(Zh(t.x)),y=un(Zh(t.y));lo((()=>t.x),(e=>{v.value=Zh(e)})),lo((()=>t.y),(e=>{y.value=Zh(e)})),lo(v,(e=>{k(e)})),lo(y,(e=>{C(e)}));const b=new Hh(1,9*Math.pow(h.value,2)/40,h.value);function _(e,t){let n=!1;return e>r.value?(e=r.value,n=!0):e<s.value&&(e=s.value,n=!0),t>i.value?(t=i.value,n=!0):t<a.value&&(t=a.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,s,a){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=Kh(b,(function(){let e=b.x();T(e.x,e.y,e.scale,i,s,a)}),(function(){u.cancel()}))):T(e,n,r,i,s,a)}function T(r,i,s,a="",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)),s=Number(s.toFixed(1)),l.value===r&&c.value===i||u||f("change",{},{x:zh(r,n.x),y:zh(i,n.y),source:a}),t.scale||(s=o.value),s=+(s=p(s)).toFixed(3),d&&s!==o.value&&f("scale",{},{x:r,y:i,scale:s});let h="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+s+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=r,c.value=i,o.value=s)}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:h,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,s,a,l,c,B,n);function P(t,n){if(e.scale){t=B(t),g(t),f();const e=x(s.value,a.value),o=e.x,r=e.y;n?T(o,r,t,"",!0,!0):Yh((function(){S(o,r,t,"",!0,!0)}))}}function L(){i.value=!0}function I(e){r.value=e}function B(e){return e=Math.max(.5,u.value,e),e=Math.min(10,d.value,e)}function R(){if(!e.scale)return!1;P(o.value,!0),I(o.value)}function D(t){return!!e.scale&&(P(t=B(t),!0),I(t),t)}function N(){i.value=!1,I(o.value)}function j(e){e&&(e=r.value*e,L(),P(e))}return{_updateOldScale:I,_endScale:N,_setScale:j,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:$,xSync:O,ySync:A,_STD:M}}(e,n,t,l,c,u,d,p,f,h);function W(){u.value||e.disabled||(B(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],F.value&&(s=d.value),V.value&&(a=p.value),n.value.style.willChange="transform",m=null,v=null,g=!0)}function U(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"),F.value&&(n=t.detail.dx+s,_.historyX.shift(),_.historyX.push(n),V.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),V.value&&(o=t.detail.dy+a,_.historyY.shift(),_.historyY.push(o),F.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<M.value?e.outOfBounds?(r="touch-out-of-bounds",n=M.value-y.x(M.value-n)):n=M.value:n>L.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),o<P.value?e.outOfBounds?(r="touch-out-of-bounds",o=P.value-b.x(P.value-o)):o=P.value:o>I.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=I.value+b.x(o-I.value)):o=I.value),Yh((function(){D(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 s=r+n,a=i+o;s<M.value?(s=M.value,a=o+(M.value-n)*i/r):s>L.value&&(s=L.value,a=o+(L.value-n)*i/r),a<P.value?(a=P.value,s=n+(P.value-o)*r/i):a>I.value&&(a=I.value,s=n+(I.value-o)*r/i),x.setEnd(s,a),h=Kh(x,(function(){let e=x.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||B()}function X(){if(!o.value)return;B();let t=e.scale?C.value:1;$(),O(t),E();let n=R(q.value+A.x,H.value+A.y),r=n.x,i=n.y;D(r,i,t,"",!0),T(t)}return Yo((()=>{Dh(n.value,(e=>{switch(e.detail.state){case"start":W();break;case"move":U(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),z.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),Zo((()=>{i(e)}))})),Zo((()=>{B()})),{setParent:X}}(e,r,o);return()=>pi("uni-movable-view",{ref:o},[pi(Mf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Uh=!1;function Yh(e){Uh||(Uh=!0,requestAnimationFrame((function(){e(),Uh=!1})))}function Xh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Xh(e.offsetParent,t):0}function Gh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Gh(e.offsetParent,t):0}function Kh(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 Zh(e){return/\d+[ur]px$/i.test(e)?Wd(parseFloat(e)):Number(e)||0}const Jh=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qh=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],eg=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],tg={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Jh.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Qh.concat(eg).includes(e)},animationDuration:{type:[String,Number],default:300}};u({},tg,{renderLink:{type:Boolean,default:!0}});const ng=$u({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=Mu(o,n),s=function(e){const t=Yt([...e.value]),n=Yt({value:t,height:34});return lo((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),a=un(null);Yo((()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)}));let l=un([]),c=un([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Kr));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Cr("getPickerViewColumn",(function(e){return Bi({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),Cr("pickerViewProps",e),Cr("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=Mh(e);l.value=t,Ln((()=>{c.value=t}))}return pi("uni-picker-view",{ref:o},[pi(Mf,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),pi("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class og{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 rg(e,t,n){return e>t-n&&e<t+n}function ig(e,t){return rg(e,0,t)}class sg{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,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!ig(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(ig(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),ig(t,.4)&&(t=0),ig(o,.4)&&(o=0),o+=this._endPosition),this._solution&&ig(o-e,.4)&&ig(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()),rg(this.x(),this._endPosition,.4)&&ig(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 ag{constructor(e,t,n){this._extent=e,this._friction=t||new og(.01),this._spring=n||new sg(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class lg{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 ag(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(y(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(),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}let cg=0;const ug=$u({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=un(null),r=un(null),i=Er("getPickerViewColumn"),s=Si(),a=i?i(s):un(0),l=Er("pickerViewProps"),c=Er("pickerViewState"),u=un(34),d=un(null);Yo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=Bi((()=>(c.height-u.value)/2)),{state:f}=yh(),h=function(e){const t="uni-picker-view-content-"+cg++;return lo((()=>e.value),(function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)})),t}(u);let g;const m=Yt({current:a.value,length:0});let v;function y(){g&&!v&&(v=!0,Ln((()=>{v=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),g.update(e*u.value,void 0,u.value)})))}lo((()=>a.value),(e=>{e!==m.current&&(m.current=e,y())})),lo((()=>m.current),(e=>a.value=e)),lo([()=>u.value,()=>m.length,()=>c.height],y);let b=0;function _(e){const t=b+e.deltaY;if(Math.abs(t)>10){b=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),g.scrollTo(e*u.value)}else b=t;e.preventDefault()}function w({clientY:e}){const t=o.value;if(!g.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(m.current+t,m.length-1);m.current=r=Math.max(r,0),g.scrollTo(r*u.value)}}}const x=()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new lg(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],s=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=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new og(1e-4),spring:new sg(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,Dh(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),y()};return Yo(x),()=>{const e=t.default&&t.default();m.length=Mh(e).length;const n=`${p.value}px 0`;return pi("uni-picker-view-column",{ref:o},[pi("div",{onWheel:_,onClick:w,class:"uni-picker-view-group"},[pi("div",bi(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),pi("div",bi(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[pi(Mf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),pi("div",{ref:r,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}}),dg="#007aff",pg="backwards",fg=$u({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:dg},activeColor:{type:String,default:dg},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:pg},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=un(null),n=function(e){const t=un(0),n=Bi((()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`)),o=Bi((()=>{const n=e.color!==dg&&e.activeColor===dg?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),r=Bi((()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}));return Yt({outerBarStyle:n,innerBarStyle:o,realPercent:r,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return hg(n,e),lo((()=>n.realPercent),((t,o)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=o||0,hg(n,e)})),()=>{const{showInfo:o}=e,{outerBarStyle:r,innerBarStyle:i,currentPercent:s}=n;return pi("uni-progress",{class:"uni-progress",ref:t},[pi("div",{style:r,class:"uni-progress-bar"},[pi("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),o?pi("p",{class:"uni-progress-info"},[s+"%"]):""],512)}}});function hg(e,t){t.active?(e.currentPercent=t.activeMode===pg?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const gg=Rc("ucg"),mg=$u({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:"#ffffff"}},setup(e,{slots:t}){const n=un(null),o=un(e.checked),r=un(e.value);const i=Bi((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return o.value?(n.backgroundColor=e.activeBackgroundColor||e.color,n.borderColor=e.activeBorderColor||n.backgroundColor):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(o.value)));lo([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,r.value=t}));const{uniCheckGroup:s,uniLabel:a,field:l}=function(e,t,n){const o=Bi({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),r={reset:n},i=Er(gg,!1);i&&i.addField(o);const s=Er(Bu,!1);s&&s.addField(r);const a=Er(Du,!1);return Ko((()=>{i&&i.removeField(o),s&&s.removeField(r)})),{uniCheckGroup:i,uniForm:s,uniLabel:a,field:o}}(o,r,(()=>{o.value=!1})),c=t=>{e.disabled||o.value||(o.value=!0,s&&s.radioChange(t,l),t.stopPropagation())};return a&&(a.addHandler(c),Ko((()=>{a.removeHandler(c)}))),Nu(e,{"label-click":c}),()=>{const r=Iu(e,"disabled");let s;return s=o.value,pi("uni-radio",bi(r,{id:e.id,onClick:c,ref:n}),[pi("div",{class:"uni-radio-wrapper",style:{"--HOVER-BD-COLOR":o.value?i.value.borderColor:e.activeBorderColor}},[pi("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value},[s?Vc(jc,e.disabled?"#ADADAD":e.iconColor,18):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});const vg={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:""},yg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"￥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const bg=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map((n=>{var o;if(k(n)){if(!f(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!f(vg,i))return;return function(e,t){if(k(t))for(const n in t)if(f(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=zu(o))}}(i,n.attrs),r=u(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),Ri(n.name,r,bg(e,t,n.children))}return"text"===n.type&&b(n.text)&&""!==n.text?hi((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return f(yg,t)&&yg[t]?yg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function _g(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=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&oh[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(Kf))&&(e=e.substring(r[0].length),r[0].replace(Kf,c),o=!1):0==e.indexOf("<")&&(r=e.match(Gf))&&(e=e.substring(r[0].length),r[0].replace(Gf,l),o=!1),o){var a=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(a)}if(e==s)throw"Parse Error: "+e;s=e}function l(e,n,o,r){if(n=n.toLowerCase(),Qf[n])for(;i.last()&&eh[i.last()];)c("",i.last());if(th[n]&&i.last()==n&&c("",n),(r=Jf[n]||!!r)||i.push(n),t.start){var s=[];o.replace(Zf,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:nh[t]?t:"";s.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,s,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 wg=$u({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=Si(),o=n&&n.vnode.scopeId||"",r=un(null),i=un([]),s=Mu(r,t);function a(e,t={}){s("itemclick",e,t)}return lo((()=>e.nodes),(function(){let t=e.nodes;b(t)&&(t=_g(e.nodes)),i.value=bg(o,a,t)}),{immediate:!0}),()=>Ri("uni-rich-text",{ref:r},Ri("div",{},i.value))}}),xg=$u({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=un(null),o=Bi((()=>{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=Bi((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return pi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?pi("div",{class:"uni-scroll-view-refresh"},[pi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?pi("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"},[pi("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),pi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?pi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[pi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?pi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Tg=Te(!0),Sg=$u({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=un(null),i=un(null),s=un(null),a=un(null),l=Mu(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Bi((()=>Number(e.scrollTop)||0)),n=Bi((()=>Number(e.scrollLeft)||0));return{state:Yt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:f}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,p=()=>{};const f=Bi((()=>e.scrollX)),h=Bi((()=>e.scrollY)),g=Bi((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Bi((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",p),i.removeEventListener("webkitTransitionEnd",p),p=()=>x(e,t),i.addEventListener("transitionend",p),i.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),f.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){f.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(f.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=f.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",p),a.value.removeEventListener("webkitTransitionEnd",p)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,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 Yo((()=>{Ln((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(f.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<S.x)return void(a=!1);a=!0}else a=!1;else if(h.value)if(0===l.scrollTop&&i>S.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<S.y)return void(a=!1);a=!0}else a=!1;if(a&&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}};s.value.addEventListener("touchstart",p,Tg),s.value.addEventListener("touchmove",l,Te(!1)),s.value.addEventListener("scroll",i,Te(!1)),s.value.addEventListener("touchend",g,Tg),Ko((()=>{s.value.removeEventListener("touchstart",p),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Ro((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),f.value&&(s.value.scrollLeft=t.lastScrollLeft)})),lo(n,(e=>{b(e)})),lo(o,(e=>{_(e)})),lo((()=>e.scrollIntoView),(e=>{w(e)})),lo((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:f,realScrollY:h}}(e,c,u,d,l,r,i,a,t),h=Bi((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",f.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),g=Bi((()=>{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 pi("uni-scroll-view",{ref:r},[pi("div",{ref:s,class:"uni-scroll-view"},[pi("div",{ref:i,style:h.value,class:g.value},[t?pi(xg,{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,pi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function kg(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const v=Bi((()=>n.value.length>t.displayMultipleItems)),y=Bi((()=>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,s=o+t.displayMultipleItems,a=0;a<i;a++){const t=r[a],n=Math.floor(o/i)*i+a,l=n+i,c=n-i,u=Math.max(o-(n+1),n-s,0),d=Math.max(o-(l+1),l-s,0),p=Math.max(o-(c+1),c-s,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(r);const s="translate("+(e.vertical?"0":100*-r*p+"%")+", "+(e.vertical?100*-r*p+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=s,l.style.transform=s),d=r,!a){if(r%1==0)return;a=r}r-=Math.floor(a);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),f=null,h=!1,a=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,s=n.value.length;let a=d;if(y.value)if(r<0){for(;a<e;)a+=s;for(;a-s>e;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+s<e;)a+=s;a+s-e<e-a&&(a+=s)}else{for(;a+s<e;)a+=s;for(;a-s>e;)a-=s;a+s-e<e-a&&(a+=s)}else"click"===o&&(e=e+t.displayMultipleItems-1<s?e:0);f={toPos:e,acc:2*(a-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(x))}function S(){s();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():s()}return lo([()=>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)})),lo([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),f&&(b(f.toPos),f=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);p=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&S())):(u=!0,b(-t.displayMultipleItems-1))})),lo((()=>t.interval),(()=>{c&&(s(),S())})),lo((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;T(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),lo((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),lo((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Yo((()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?b(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}Dh(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),g=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!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 s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;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=a-s||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}}}))})),Zo((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Cg=$u({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=un(null),r=Mu(o,n),i=un(null),s=un(null),a=function(e){return Yt({interval:Bi((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Bi((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Bi((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Bi((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Nc(e.previousMargin,!0),bottom:Nc(e.nextMargin,!0)}:{top:0,bottom:0,left:Nc(e.previousMargin,!0),right:Nc(e.nextMargin,!0)}),t})),c=Bi((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=un([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(nn(o))}p.value=e}Cr("addSwiperContext",(function(e){d.push(e),f()}));Cr("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=kg(e,a,p,s,n,r);let v=()=>null;return v=Eg(o,e,a,h,p,g,m),()=>{const n=t.default&&t.default();return u=Mh(n),pi("uni-swiper",{ref:o},[pi("div",{ref:i,class:"uni-swiper-wrapper"},[pi("div",{class:"uni-swiper-slides",style:l.value},[pi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&pi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>pi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<a.current+a.displayMultipleItems&&n>=a.current||n<a.current+a.displayMultipleItems-o.length},style:{background:n===a.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),v()],512)],512)}}}),Eg=(e,t,n,o,r,i,s)=>{let a=!1,l=!1,c=!1,d=un(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}so((()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,b()})),so((()=>{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,s.value||(l=!0,c=!0,a&&(d.value=!0))}));const f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const g=()=>Vc("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",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(r-a<u/3||l-r<u/3):!(o-i<c/3||s-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),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Yo(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?pi(Xr,null,[pi("div",bi({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>h(e,"prev",l)},f),[g()],16,["onClick"]),pi("div",bi({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"next",c)},f),[g()],16,["onClick"])]):null}},$g=$u({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=un(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return Yo((()=>{const e=Er("addSwiperContext");e&&e(o)})),Zo((()=>{const e=Er("removeSwiperContext");e&&e(o)})),()=>pi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Og={ensp:" ",emsp:" ",nbsp:" "};function Ag(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Og[t]&&" "===i&&(i=Og[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/&nbsp;/g,Og.nbsp).replace(/&ensp;/g,Og.ensp).replace(/&emsp;/g,Og.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split("\n")}const Mg=$u({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=un(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Kr){const n=Ag(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(hi(e)),t!==r&&o.push(pi("br"))}))}else o.push(t)})),pi("uni-text",{ref:n,selectable:!!e.selectable||null},[pi("span",null,o)],8,["selectable"])}}}),Pg=u({},xh,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Ig.concat("return").includes(e)}});let Lg=!1;const Ig=["done","go","next","search","send"];const Bg=$u({name:"Textarea",props:Pg,emits:["confirm","linechange",...Th],setup(e,{emit:t,expose:n}){const o=un(null),r=un(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=Ch(e,o,t),u=Bi((()=>s.value.split("\n"))),d=Bi((()=>Ig.includes(e.confirmType))),p=un(0),f=un(null);function h({height:e}){p.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return lo((()=>p.value),(t=>{const n=o.value,i=f.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Lg=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?pi("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Lg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):pi("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Lg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return pi("uni-textarea",{ref:o},[pi("div",{ref:r,class:"uni-textarea-wrapper"},[ho(pi("div",bi(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[os,!s.value.length]]),pi("div",{ref:f,class:"uni-textarea-line"},[" "],512),pi("div",{class:"uni-textarea-compute"},[u.value.map((e=>pi("div",null,[e.trim()?e:"."]))),pi(Mf,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?pi("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Rg=$u({name:"View",props:u({},Pu),setup(e,{slots:t}){const n=un(null),{hovering:o,binding:r}=Lu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?pi("uni-view",bi({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):pi("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Dg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Ng(e,t,n){e&&ic(n||Uc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function jg(e,t){e&&function(e,t){t=rc(e,t),delete oc[t]}(t||Uc(),e)}function Fg(e,t,n,o){const r=Si().proxy;Yo((()=>{Ng(t||Dg(r),e,o),!n&&t||lo((()=>r.id),((t,n)=>{Ng(Dg(r,t),e,o),jg(n&&Dg(r,n))}))})),Ko((()=>{jg(t||Dg(r),o)}))}let Vg=0;function qg(e){const t=qc(),n=Si().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Vg++;return Yo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function Hg(e,t,n,o){y(t)&&zo(e,t.bind(n),o)}function zg(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!y(t))&&(Pe.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];h(r)?r.forEach((e=>Hg(o,e,n,t))):Hg(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,Kc(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&Kc(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function Wg(e,t,n){zg(e,t,n)}function Ug(e,t,n){return e[t]=n}function Yg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Xg(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;Kc(r.proxy,"onError",t)}}function Gg(e,t){return e?[...new Set([].concat(e,t))]:t}function Kg(e){const t=e._context.config;var n;t.errorHandler=Ie(e,Xg),n=t.optionMergeStrategies,Pe.forEach((e=>{n[e]=Gg}));const o=t.globalProperties;o.$set=Ug,o.$applyOptions=Wg,o.$callMethod=Yg,function(e){Le.forEach((t=>t(e)))}(e)}const Zg=Rc("upm");function Jg(){return Er(Zg)}function Qg(e){const t=function(e){return Yt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==fm().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Gc(jl().meta,e)))))}(e);return Cr(Zg,t),t}function em(){return jl()}function tm(){return history.state&&history.state.__id__||1}let nm;function om(){var e;return nm||(nm=__uniConfig.tabBar&&Yt((e=__uniConfig.tabBar,Fl()&&e.list&&e.list.forEach((e=>{zl(e,["text"])})),e))),nm}const rm=window.CSS&&window.CSS.supports;function im(e){return rm&&(rm(e)||rm.apply(window.CSS,e.split(":")))}const sm=im("top:env(a)"),am=im("top:constant(a)"),lm=im("backdrop-filter:blur(10px)"),cm=(()=>sm?"env":am?"constant":"")();function um(e){return cm?`calc(${e}px + ${cm}(safe-area-inset-bottom))`:`${e}px`}const dm=new Map;function pm(){return dm}function fm(){const e=[],t=dm.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function hm(e,t=!0){const n=dm.get(e);n.$.__isUnload=!0,Kc(n,"onUnload"),dm.delete(e),t&&function(e){const t=bm.get(e);t&&(bm.delete(e),_m.pruneCacheEntry(t))}(e)}let gm=tm();function mm(e){const t=Jg();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ne(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:fe(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function vm(e){const t=mm(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),dm.set(ym(t.path,t.id),e)}function ym(e,t){return e+"$$"+t}const bm=new Map,_m={get:e=>bm.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;_m.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;_m.delete(n),_m.pruneCacheEntry(e),Ln((()=>{dm.forEach(((e,t)=>{e.$.isUnmounted&&dm.delete(t)}))}))}}))}(e),bm.set(e,t)},delete(e){bm.get(e)&&bm.delete(e)},forEach(e){bm.forEach(e)}};function wm(e,t){!function(e){const t=Tm(e),{body:n}=document;Sm&&n.removeAttribute(Sm),t&&n.setAttribute(t,""),Sm=t}(e),function(e){let t=0;if(e.isTabBar){const e=om();e.shown&&(t=parseInt(e.height))}var n;Bc({"--window-top":(n=0,cm?`calc(${n}px + ${cm}(safe-area-inset-top))`:`${n}px`),"--window-bottom":um(t)})}(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),function(e,t){document.removeEventListener("touchmove",Zc),km&&document.removeEventListener("scroll",km);if(t.disableScroll)return document.addEventListener("touchmove",Zc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&lb.publishHandler("onPageScroll",{scrollTop:o},e),n&&lb.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>lb.publishHandler("onReachBottom",{},s));km=eu(i),requestAnimationFrame((()=>document.addEventListener("scroll",km)))}(e,t)}function xm(e){const t=Tm(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Tm(e){return e.type.__scopeId}let Sm,km;function Cm(e){const t=Nl({history:$m(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Em});e.router=t,e.use(t)}const Em=(e,t,n)=>{if(n)return n};function $m(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=Za(e);return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=fm(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;hm(ym(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Om={install(e){Kg(e),pu(e),Tu(e),e.config.warnHandler||(e.config.warnHandler=Am),Cm(e)}};function Am(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 Mm={class:"uni-async-loading"},Pm=pi("i",{class:"uni-loading"},null,-1),Lm=Ou({name:"AsyncLoading",render:()=>(ei(),ii("div",Mm,[Pm]))});function Im(){window.location.reload()}const Bm=Ou({name:"AsyncError",setup(){Yl();const{t:e}=Wl();return()=>pi("div",{class:"uni-async-error",onClick:Im},[e("uni.async.error")],8,["onClick"])}});let Rm;function Dm(){return Rm}function Nm(e){Rm=e,Object.defineProperty(Rm.$.ctx,"$children",{get:()=>fm().map((e=>e.$vm))});const t=Rm.$.appContext.app;t.component(Lm.name)||t.component(Lm.name,Lm),t.component(Bm.name)||t.component(Bm.name,Bm),function(e){e.$vm=e,e.$mpType="app";const t=un(Wl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Rm),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}})}(Rm),wu(),vc()}function jm(e,{clone:t,init:n,setup:o,before:r}){t&&(e=u({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Si();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function Fm(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?jm(e.default,t):jm(e,t)}function Vm(e){return Fm(e,{clone:!0,init:vm,setup(e){e.$pageInstance=e;const t=em(),n=Ce(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=Jg();var r,i,s;return Uo((()=>{wm(e,o)})),Yo((()=>{xm(e);const{onReady:n}=e;n&&R(n),Wm(t)})),No((()=>{if(!e.__isVisible){wm(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),Ln((()=>{Wm(t)}))}}),"ba",r),function(e,t){No(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&R(t)}})),i=o.id,lb.subscribe(rc(i,"invokeViewApi"),s?s(sc):sc),Ko((()=>{!function(e){lb.unsubscribe(rc(e,"invokeViewApi")),Object.keys(oc).forEach((t=>{0===t.indexOf(e+".")&&delete oc[t]}))}(o.id)})),n}})}function qm(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=cv(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";cb.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Hm(e){k(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&cb.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function zm(){const{emit:e}=cb;"visible"===document.visibilityState?e("onAppEnterForeground",u({},Af)):e("onAppEnterBackground")}function Wm(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Kc("onTabItemTap",{index:n,text:t,pagePath:o})}function Um(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 Ym(e,t,n){const o=Yt({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),r={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(i){function s(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&s();const a=o.gestureType;if("stop"===a)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=r,p=t.value;if("progress"===a?function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(c-d.x):"volume"===a&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,o.volumeNew=i)}(u-d.y),"none"===a)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||s()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||s()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const Xm=$u({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},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=un(null),i=un(null),s=Mu(r,t),{state:a}=vh(),{$attrs:l}=Ah({excludeListeners:!0}),{t:c}=Wl();ec();const{videoRef:u,state:d,play:p,pause:f,stop:g,seek:m,playbackRate:v,toggle:y,onDurationChange:b,onLoadedMetadata:_,onProgress:w,onWaiting:x,onVideoError:T,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:E}=function(e,t,n){const o=un(null),r=Bi((()=>zu(e.src))),i=Bi((()=>"true"===e.muted||!0===e.muted)),s=Yt({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i});function a(e){const t=e.target,n=t.buffered;n.length&&(s.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 lo((()=>r.value),(()=>{s.playing=!1,s.currentTime=0})),lo((()=>s.buffered),(e=>{n("progress",{},{buffered:e})})),lo((()=>i.value),(e=>{o.value.muted=e})),{videoRef:o,state:s,play:function(){const e=o.value;s.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;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.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}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=s.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:$,danmuRef:O,updateDanmu:A,toggleDanmu:M,sendDanmu:P}=function(e,t){const n=un(null),o=Yt({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(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,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n<a.time)for(let t=a.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,d),{state:L,onFullscreenChange:I,emitFullscreenChange:B,toggleFullscreen:R,requestFullScreen:D,exitFullScreen:N}=function(e,t,n,o,r){const i=Yt({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(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||s&&!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&&a(e)}function c(){l(!1)}return Ko(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,u,a,r),{state:j,onTouchstart:F,onTouchend:V,onTouchmove:q}=Ym(e,u,L),{state:H,progressRef:z,ballRef:W,clickProgress:U,toggleControls:Y}=function(e,t,n){const o=un(null),r=un(null),i=Bi((()=>e.showCenterPlayBtn&&!t.start)),s=un(!0),a=Bi((()=>!i.value&&e.controls&&s.value)),l=Yt({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:a,controlsVisible:s});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return Ko((()=>{c&&clearTimeout(c)})),lo((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),lo([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),Yo((()=>{const e=Te(!1);let i,s,a,c=!0;const u=r.value;function d(e){const n=e.targetTouches[0],r=n.pageX,l=n.pageY;if(c&&Math.abs(r-i)<Math.abs(l-s))return void p(e);c=!1;const u=o.value.offsetWidth;let d=a+(r-i)/u*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function p(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,s=o.pageY,a=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",p),u.addEventListener("touchcancel",p)})),{state:l,progressRef:o,ballRef:r,clickProgress:function(e){const r=o.value;let i=e.target,s=e.offsetX;for(;i&&i!==r;)s+=i.offsetLeft,i=i.parentNode;const a=r.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,m);return function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};Fg(((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)}),qg(),!0)}(p,f,g,m,P,v,D,N),()=>pi("uni-video",{ref:r,id:e.id,onClick:Y},[pi("div",{ref:i,class:"uni-video-container",onTouchstart:F,onTouchend:V,onTouchmove:q,onFullscreenchange:Ys(I,["stop"]),onWebkitfullscreenchange:Ys((e=>I(e,!0)),["stop"])},[pi("video",bi({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:b,onLoadedmetadata:_,onProgress:w,onWaiting:x,onError:T,onPlay:S,onPause:k,onEnded:C,onTimeupdate:e=>{E(e),A(e)},onWebkitbeginfullscreen:()=>B(!0),onX5videoenterfullscreen:()=>B(!0),onWebkitendfullscreen:()=>B(!1),onX5videoexitfullscreen:()=>B(!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(pi("div",{class:"uni-video-bar uni-video-bar-full",onClick:Ys((()=>{}),["stop"])},[pi("div",{class:"uni-video-controls"},[ho(pi("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:Ys(y,["stop"])},null,10,["onClick"]),[[os,e.showPlayBtn]]),ho(pi("div",{class:"uni-video-current-time"},[Um(d.currentTime)],512),[[os,e.showProgress]]),ho(pi("div",{ref:z,class:"uni-video-progress-container",onClick:Ys(U,["stop"])},[pi("div",{class:"uni-video-progress"},[pi("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),pi("div",{ref:W,style:{left:d.progress+"%"},class:"uni-video-ball"},[pi("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[os,e.showProgress]]),ho(pi("div",{class:"uni-video-duration"},[Um(Number(e.duration)||d.duration)],512),[[os,e.showProgress]])]),ho(pi("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":$.enable},onClick:Ys(M,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[os,e.danmuBtn]]),ho(pi("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":L.fullscreen},onClick:Ys((()=>R(!L.fullscreen)),["stop"])},null,10,["onClick"]),[[os,e.showFullscreenBtn]])],8,["onClick"]),[[os,H.controlsShow]]),ho(pi("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[os,d.start&&$.enable]]),H.centerPlayBtnShow&&pi("div",{class:"uni-video-cover",onClick:Ys((()=>{}),["stop"])},[pi("div",{class:"uni-video-cover-play-button",onClick:Ys(p,["stop"])},null,8,["onClick"]),pi("p",{class:"uni-video-cover-duration"},[Um(Number(e.duration)||d.duration)])],8,["onClick"]),pi("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===j.gestureType}},[pi("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),pi("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[pi("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),pi("div",{class:"uni-video-toast-value"},[pi("div",{style:{width:100*j.volumeNew+"%"},class:"uni-video-toast-value-content"},[pi("div",{class:"uni-video-toast-volume-grids"},[nr(10,(()=>pi("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),pi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===j.gestureType}},[pi("div",{class:"uni-video-toast-title"},[Um(j.currentTimeNew)," / ",Um(d.duration)])],2),pi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Gm=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Km=me((()=>cb.on("onWebInvokeAppService",Gm))),Zm=$u({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Km();const t=un(null),n=un(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=Ah({excludeListeners:!0});let s;return(()=>{const r=document.createElement("iframe");so((()=>{for(const e in o.value)if(f(o.value,e)){const t=o.value[e];r[e]=t}})),so((()=>{r.src=zu(e.src)})),n.value=r,s=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"})}}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),Yo((()=>{var o;s(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),Ro((()=>{e.fullscreen&&(n.value.style.display="block")})),Do((()=>{e.fullscreen&&(n.value.style.display="none")})),Ko((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>pi(Xr,null,[pi("uni-web-view",bi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[pi(Mf,{onResize:s},null,8,["onResize"])],16)])}});const Jm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Qm;function ev(){if(Qm=Qm||Jm.__DC_STAT_UUID,!Qm){Qm=Date.now()+""+Math.floor(1e7*Math.random());try{Jm.__DC_STAT_UUID=Qm}catch(e){}}return Qm}function tv(){if(!0!==__uniConfig.darkmode)return b(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function nv(){let e,t="0",n="",o="phone";const r=navigator.language;if(Yu){e="iOS";const o=Wu.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Wu.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Uu){e="Android";const o=Wu.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Wu.match(/\((.+?)\)/),i=r?r[1].split(";"):Wu.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(Zu)n="iPad",e="iOS",o="pad",t=y(window.BigInt)?"14.0":"13.0";else if(Xu||Gu||Ku){n="PC",e="PC",o="pc",t="0";let r=Wu.match(/\((.+?)\)/)[1];if(Xu){switch(e="Windows",Xu[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(Gu){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(Ku){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,s=e.toLocaleLowerCase();let a="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(Wu)&&(a=t[n],l=Wu.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:s,browserName:a.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:Wu,osname:e,osversion:t,theme:tv()}}const ov=Bd(0,(()=>{const e=window.devicePixelRatio,t=Ju(),n=Qu(t),o=ed(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=td(o);let s=window.innerHeight;const a=$c.top,l={left:$c.left,right:i-$c.right,top:$c.top,bottom:s-$c.bottom,width:i-$c.left-$c.right,height:s-$c.top-$c.bottom},{top:c,bottom:u}=Lc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:$c.top,right:$c.right,bottom:$c.bottom,left:$c.left},screenTop:r-s}}));let rv,iv=!0;function sv(){iv&&(rv=nv())}const av=Bd(0,(()=>{sv();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=rv;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:ev(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),lv=Bd(0,(()=>{sv();const{theme:e,language:t,browserName:n,browserVersion:o}=rv;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Bp?Bp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),cv=Bd(0,(()=>{iv=!0,sv(),iv=!1;const e=ov(),t=av(),n=lv();iv=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=rv,l=u(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return k(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),uv=Rd("getSystemInfo",((e,{resolve:t})=>t(cv())));const dv=Rd("setClipboardData",((e,t)=>{return n=void 0,o=[e,t],r=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.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)}},new Promise(((e,t)=>{var i=e=>{try{a(r.next(e))}catch(n){t(n)}},s=e=>{try{a(r.throw(e))}catch(n){t(n)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r}),0,Wp);const pv=Bd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),fv=Rd("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{pv(e,t),n()}catch(r){o(r.message)}}));function hv(e){const t=localStorage&&localStorage.getItem(e);if(!b(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=b(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const gv=Bd(0,(e=>{try{return hv(e)}catch(t){return""}})),mv=Rd("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:hv(e)})}catch(o){n(o.message)}})),vv=Bd(0,(e=>{localStorage&&localStorage.removeItem(e)})),yv=Rd("removeStorage",(({key:e},{resolve:t})=>{vv(e),t()})),bv=Bd(0,(()=>{localStorage&&localStorage.clear()})),_v=Rd("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const wv=Rd("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,Kp),xv={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 Tv({count:e,sourceType:t,type:n,extension:o}){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}/${xv[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}gh();let Sv=null;const kv=Rd("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{Zl();const{t:s}=Wl();Sv&&(document.body.removeChild(Sv),Sv=null),Sv=Tv({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Sv),Sv.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||Ef(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),Sv.click(),mh()||console.warn(s("uni.chooseFile.notUserActivation"))}),0,Gp);let Cv=null;const Ev=Rd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{Zl();const{t:i}=Wl();Cv&&(document.body.removeChild(Cv),Cv=null),Cv=Tv({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Cv),Cv.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||Ef(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Cv.click(),mh()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,Up),$v={esc:["Esc","Escape"],enter:["Enter"]},Ov=Object.keys($v);function Av(){const e=un(""),t=un(!1),n=n=>{if(t.value)return;const o=Ov.find((e=>-1!==$v[e].indexOf(n.key)));o&&(e.value=o),Ln((()=>e.value=""))};return Yo((()=>{document.addEventListener("keyup",n)})),Ko((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const Mv=pi("div",{class:"uni-mask"},null,-1);function Pv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ks(Eo({setup:()=>()=>(ei(),ii(e,t,null,16))}))}function Lv(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Iv(e,{onEsc:t,onEnter:n}){const o=un(e.visible),{key:r,disable:i}=Av();return lo((()=>e.visible),(e=>o.value=e)),lo((()=>o.value),(e=>i.value=!e)),so((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let Bv=0,Rv="";function Dv(e){let t=Bv;Bv+=e?1:-1,Bv=Math.max(0,Bv),Bv>0?0===t&&(Rv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Rv,Rv="")}const Nv=Ou({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Yt({direction:"none"});let n=1,o=0,r=0,i=0,s=0;function a({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,s=t.height,d(e)}function u(e){const a=n*o>i,l=n*r>s;t.direction=a&&l?"all":a?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return pi(Ph,{style:n,onTouchstart:Au(c),onTouchmove:Au(d),onTouchend:Au(u)},{default:()=>[pi(Wh,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[pi("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 jv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Fv=Ou({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Yo((()=>Dv(!0))),Zo((()=>Dv(!1)));const n=un(null),o=un(jv(e));let r;function i(){r||Ln((()=>{t("close")}))}function s(e){o.value=e.detail.current}lo((()=>e.current),(()=>o.value=jv(e))),Yo((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))}));const a={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return pi("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[pi(Cg,{navigation:"auto",current:o.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(r=t=e.urls.map((e=>pi($g,null,{default:()=>[pi(Nv,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!si(r)?t:{default:()=>[t],_:1}),8,["current","onChange"]),pi("div",{style:a},[Vc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var r}}});let Vv,qv=null;const Hv=()=>{qv=null,Ln((()=>{null==Vv||Vv.unmount(),Vv=null}))},zv=Rd("previewImage",((e,{resolve:t})=>{qv?u(qv,e):(qv=Yt(e),Ln((()=>{Vv=Pv(Fv,qv,Hv),Vv.mount(Lv("u-a-p"))}))),t()}),0,Zp);let Wv=null;const Uv=Rd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Zl();const{t:r}=Wl();Wv&&(document.body.removeChild(Wv),Wv=null),Wv=Tv({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Wv),Wv.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||Ef(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=Ef(t);i.onloadedmetadata=function(){$f(e),n(u(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,$f(e),n(r)}),300),i.src=e}else n(r)})),Wv.click(),mh()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,Yp),Yv=Id("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(b(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Xv(p);p.open(o,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Gv(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,tf);class Xv{constructor(e){this._xhr=e}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.")}}function Gv(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}class Kv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){y(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 Zv=Id("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,s=new XMLHttpRequest,a=new Kv(s);return s.open("GET",e,!0),Object.keys(t).forEach((e=>{s.setRequestHeader(e,t[e])})),s.responseType="blob",s.onload=function(){clearTimeout(i);const t=s.status,n=this.response;let r;const a=s.getResponseHeader("content-disposition");if(a){const e=a.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:Ef(n)})},s.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},s.onerror=function(){clearTimeout(i),r("",{errCode:602001})},s.onprogress=function(e){a._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},s.send(),i=setTimeout((function(){s.onprogress=s.onload=s.onabort=s.onerror=null,a.abort(),r("timeout",{errCode:5})}),n),a}),0,nf);class Jv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){y(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 Qv=Id("uploadFile",(({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Jv;return h(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Cf(e)):kf(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach((e=>{d.append(e,s[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),a),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,of),ey=Rd("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Kc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Dm().$router.go(-e.delta),t()):n("onBackPress")}),0,uf);function ty({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Dm().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:$e(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++gm,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(rl(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ae(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}const ny=Rd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>ty({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)),0,sf);const oy=Rd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=zc();if(!e)return;const t=e.$page;hm(ym(t.path,t.id))}(),ty({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,af);const ry=Rd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=pm().keys();for(const t of e)hm(t)}(),ty({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,lf);function iy(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const sy=Rd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>(function(){const e=Yc();if(!e)return;const t=pm(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:hm(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Kc(e,"onHide"))}(),ty({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},function(e){const t=pm().values();for(const n of t){const t=n.$page;if(iy(e,t))return n.$.__isActive=!0,t.id}}(e)).then(o).catch(r))),0,cf);function ay(e){__uniConfig.darkmode&&cb.on("onThemeChange",e)}function ly(e){cb.off("onThemeChange",e)}function cy(e){let t={};return __uniConfig.darkmode&&(t=Ne(e,__uniConfig.themeConfig,tv())),__uniConfig.darkmode?t:e}const uy={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},dy=Eo({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=un(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Iv(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=un(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=uy[e].cancelColor})(e,t)};return so((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===tv()&&n({theme:"dark"}),ay(n))):ly(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,pi(Hi,{name:"uni-fade"},{default:()=>[ho(pi("uni-modal",{onTouchmove:Oc},[Mv,pi("div",{class:"uni-modal"},[t?pi("div",{class:"uni-modal__hd"},[pi("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?pi("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):pi("div",{class:"uni-modal__bd",onTouchmovePassive:Ac,textContent:o},null,40,["onTouchmovePassive","textContent"]),pi("div",{class:"uni-modal__ft"},[l&&pi("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),pi("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[os,s.value]])]})}}});let py;const fy=me((()=>{cb.on("onHidePopup",(()=>py.visible=!1))}));let hy;function gy(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&py.editable&&(o.content=t),hy&&hy(o)}const my=Rd("showModal",((e,{resolve:t})=>{fy(),hy=t,py?(u(py,e),py.visible=!0):(py=Yt(e),Ln((()=>(Pv(dy,py,gy).mount(Lv("u-a-m")),Ln((()=>py.visible=!0))))))}),0,yf),vy={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==bf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},yy={light:"#fff",dark:"rgba(255,255,255,0.9)"},by=e=>yy[e],_y=Eo({name:"Toast",props:vy,setup(e){Xl(),Gl();const{Icon:t}=function(e){const t=un(by(tv())),n=({theme:e})=>t.value=by(e);so((()=>{e.visible?ay(n):ly(n)}));return{Icon:Bi((()=>{switch(e.icon){case"success":return pi(Vc(jc,t.value,38),{class:"uni-toast__icon"});case"error":return pi(Vc(Fc,t.value,38),{class:"uni-toast__icon"});case"loading":return pi("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Iv(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return pi(Hi,{name:"uni-fade"},{default:()=>[ho(pi("uni-toast",{"data-duration":r},[o?pi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Oc},null,40,["onTouchmove"]):"",s||t.value?pi("div",{class:"uni-toast"},[s?pi("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,pi("p",{class:"uni-toast__content"},[i])]):pi("div",{class:"uni-sample-toast"},[pi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[os,n.value]])]})}}});let wy,xy,Ty="";const Sy=qe();function ky(e){wy?u(wy,e):(wy=Yt(u(e,{visible:!1})),Ln((()=>{Sy.run((()=>{lo([()=>wy.visible,()=>wy.duration],(([e,t])=>{if(e){if(xy&&clearTimeout(xy),"onShowLoading"===Ty)return;xy=setTimeout((()=>{My("onHideToast")}),t)}else xy&&clearTimeout(xy)}))})),cb.on("onHidePopup",(()=>My("onHidePopup"))),Pv(_y,wy,(()=>{})).mount(Lv("u-a-t"))}))),setTimeout((()=>{wy.visible=!0}),10)}const Cy=Rd("showToast",((e,{resolve:t,reject:n})=>{ky(e),Ty="onShowToast",t()}),0,_f),Ey={icon:"loading",duration:1e8,image:""},$y=Rd("showLoading",((e,{resolve:t,reject:n})=>{u(e,Ey),ky(e),Ty="onShowLoading",t()}),0,vf),Oy=Rd("hideToast",((e,{resolve:t,reject:n})=>{My("onHideToast"),t()})),Ay=Rd("hideLoading",((e,{resolve:t,reject:n})=>{My("onHideLoading"),t()}));function My(e){const{t:t}=Wl();if(!Ty)return;let n="";if("onHideToast"===e&&"onShowToast"!==Ty?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Ty&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Ty="",setTimeout((()=>{wy.visible=!1}),10)}const Py=Rd("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:s,featureSettings:a}=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}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}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('${zu(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${zu(t.substring(4,t.length-1))}')`:zu(t),n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function Ly(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,cb.emit("onNavigationBarChange",{titleText:t})}so(t),Ro(t)}const Iy=Rd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case"setNavigationBarTitle":const{title:a}=n;i.titleText=a}o()}(Wc(),"setNavigationBarTitle",e,t,n)})),By=Rd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(b(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 s=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),s(t-10)}))};s(t)}(t||e||0,n),o()}),0,mf),Ry=["text","iconPath","iconfont","selectedIconPath","visible"],Dy=["color","selectedColor","backgroundColor","borderStyle","midButton"],Ny=["badge","redDot"];function jy(e,t,n){t.forEach((function(t){f(n,t)&&(e[t]=n[t])}))}function Fy(e,t,n){const o=om();switch(e){case"showTabBar":o.shown=!0;break;case"hideTabBar":o.shown=!1;break;case"setTabBarItem":const{index:e}=t,n=o.list[e],r=n.pagePath;jy(n,Ry,t);const{pagePath:i}=t;if(i){const t=fe(i);t!==r&&function(e,t,n){const o=nu(fe(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=nu(fe(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=he(n))}}(e,r,t)}break;case"setTabBarStyle":jy(o,Dy,t);break;case"showTabBarRedDot":jy(o.list[t.index],Ny,{badge:"",redDot:!0});break;case"setTabBarBadge":jy(o.list[t.index],Ny,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":jy(o.list[t.index],Ny,{badge:"",redDot:!1})}n()}const Vy=Rd("hideTabBar",((e,{resolve:t})=>{Fy("hideTabBar",e||{},t)})),qy=Ou({name:"TabBar",setup(){const e=un([]),t=om(),n=function(e,t){const n=Zt(e),o=n?Yt(cy(e)):cy(e);return __uniConfig.darkmode&&n&&lo(e,(e=>{const t=cy(e);for(const n in t)o[n]=t[n]})),t&&ay(t),o}(t,(()=>{const e=cy(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}un(u({type:"midButton"},e.midButton)),so(n)}(n,e),function(e){lo((()=>e.shown),(t=>{Bc({"--window-bottom":um(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return so((()=>{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=fe(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?sy({from:"tabBar",url:i,tabBarText:r}):Kc("onTabItemTap",{index:n,text:r,pagePath:o})}}(jl(),n,e),{style:r,borderStyle:i,placeholderStyle:s}=function(e){const t=Bi((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||lm&&n&&"none"!==n&&(t=Hy[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Bi((()=>{const{borderStyle:t}=e;return{backgroundColor:zy[t]||t}})),o=Bi((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Yo((()=>{n.iconfontSrc&&Py({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,s)=>{const a=o===s;return function(e,t,n,o,r,i,s,a){return pi("div",{key:s,class:"uni-tabbar__item",onClick:a(r,s)},[Wy(e,t||"",n,o,r,i)],8,["onClick"])}(a?r:i,a&&n.selectedIconPath||n.iconPath||"",n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,s,t)}))}(n,o,e);return pi("uni-tabbar",{class:"uni-tabbar-"+n.position},[pi("div",{class:"uni-tabbar",style:r.value},[pi("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),pi("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Hy={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},zy={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Wy(e,t,n,o,r,i){const{height:s}=i;return pi("div",{class:"uni-tabbar__bd",style:{height:s}},[n?Yy(n,o||"rgb(0, 0, 0, 0.8)",r,i):t&&Uy(t,r,i),r.text&&Xy(e,r,i),r.redDot&&Gy(r.badge)],4)}function Uy(e,t,n){const{type:o,text:r}=t,{iconWidth:i}=n;return pi("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==o&&pi("img",{src:zu(e)},null,8,["src"])],6)}function Yy(e,t,n,o){var r;const{type:i,text:s}=n,{iconWidth:a}=o,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||a,color:t};return pi("div",{class:l,style:c},["midButton"!==i&&pi("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Xy(e,t,n){const{iconPath:o,text:r}=t,{fontSize:i,spacing:s}=n;return pi("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:o?"normal":1.8,marginTop:o?s:"inherit"}},[r],4)}function Gy(e){return pi("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Ky=Ou({name:"Layout",setup(e,{emit:t}){const n=un(null);Ic({"--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=jl();return{routeKey:Bi((()=>ym("/"+e.meta.route,tm()))),isTabBar:Bi((()=>e.meta.isTabBar)),routeCache:_m}}(),{layoutState:r,windowState:i}=function(){em();{const e=Yt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return lo((()=>e.marginWidth),(e=>Ic({"--window-margin":e+"px"}))),lo((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ic({"--window-left":e+"px"})})),lo((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ic({"--window-right":e+"px"})})),{layoutState:e,windowState:Bi((()=>({})))}}}();!function(e,t){const n=em();function o(){const o=document.body.clientWidth,r=fm();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=nu(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Ln((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Ln((()=>{const e=t.value;e&&e.removeAttribute("style")})))}lo([()=>n.path],o),Yo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=em(),n=om(),o=Bi((()=>t.meta.isTabBar&&n.shown));return Ic({"--tab-bar-height":n.height}),o}(),a=function(e){const t=un(!1);return Bi((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(s);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return pi(Dl,null,{default:Xn((({Component:o})=>[(ei(),ii(Io,{matchBy:"key",cache:n},[(ei(),ii(to(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return ho(pi(qy,null,null,512),[[os,e.value]])}(s);return pi("uni-app",{ref:n,class:a.value},[e,t],2)}}});const Zy=Rd("login",(Jy="login",(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(Jy))));var Jy;function Qy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!si(e)}function eb(e){if(e.mode===ob.TIME)return"00:00";if(e.mode===ob.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case rb.YEAR:return t.toString();case rb.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function tb(e){if(e.mode===ob.TIME)return"23:59";if(e.mode===ob.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case rb.YEAR:return t.toString();case rb.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function nb(e,t,n,o){const r=e.mode===ob.DATE?"-":":",i=e.mode===ob.DATE?t.dateArray:t.timeArray;let s;if(e.mode===ob.TIME)s=2;else switch(e.fields){case rb.YEAR:s=1;break;case rb.MONTH:s=2;break;default:s=3}const a=String(n).split(r);let l=[];for(let c=0;c<s;c++){const e=a[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?nb(e,t,o):l.map((()=>0))),l}const ob={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},rb={YEAR:"year",MONTH:"month",DAY:"day"},ib={PICKER:"picker",SELECT:"select"},sb=$u({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:ob.SELECTOR,validator:e=>Object.values(ob).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>eb(e)},end:{type:String,default:e=>tb(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}=Wl(),r=un(null),i=un(null),s=un(null),a=un(null),l=un(!1),{state:c,rangeArray:d}=function(e){const t=Yt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Bi((()=>{let n=e.range;switch(e.mode){case ob.SELECTOR:return[n];case ob.MULTISELECTOR:return n;case ob.TIME:return t.timeArray;case ob.DATE:{const n=t.dateArray;switch(e.fields){case rb.YEAR:return[n[0]];case rb.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),p=Mu(r,t),{system:f,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:k,_createTime:C,_createDate:E,_setValueSync:$}=function(e,t,n,o,r,i,s){const a=function(){const e=un(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=un("");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=Bi((()=>{const t=e.selectorType;return Object.values(ib).includes(t)?t:a.value?ib.PICKER:ib.SELECT})),u=Bi((()=>e.mode===ob.DATE&&!Object.values(rb).includes(e.fields)&&t.isDesktop?l.value:"")),d=Bi((()=>nb(e,t,e.start,eb(e)))),p=Bi((()=>nb(e,t,e.end,tb(e))));function f(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case ob.SELECTOR:t.valueSync=0;break;case ob.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case ob.DATE:case ob.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 ob.MULTISELECTOR:{h(n)||(n=t.valueArray),h(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),s=isNaN(o)?isNaN(i)?0:i:o,a=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,s<0||s>a?0:s)}}break;case ob.TIME:case ob.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 ob.MULTISELECTOR:n=[...o];break;case ob.TIME:n=nb(e,t,o,ye({mode:ob.TIME}));break;case ob.DATE:n=nb(e,t,o,ye({mode:ob.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case ob.SELECTOR:return n[0];case ob.MULTISELECTOR:return n.map((e=>e));case ob.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case ob.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){$(),t.valueChangeSource="click";const e=k();t.valueSync=h(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&s<o+r&&a>n&&a<n+i)return}$(),n("cancel",{},{})}function $(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function O(){e.mode===ob.SELECTOR&&c.value===ib.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function A(e){const n=e.target;t.valueSync=n.value,Ln((()=>{C()}))}function M(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function P(e){t.valueArray=L(e.detail.value,!0)}function L(t,n){const{getLocale:o}=Wl();if(e.mode===ob.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case rb.YEAR:return t;case rb.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 I(t,n){const{getLocale:o}=Wl();if(e.mode===ob.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==rb.YEAR&&n===(e.fields===rb.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 lo((()=>t.visible),(e=>{e?(clearTimeout(ab),t.contentVisible=e,O()):ab=setTimeout((()=>{t.contentVisible=e}),300)})),lo([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),lo((()=>t.valueSync),S,{deep:!0}),lo((()=>t.valueArray),(o=>{if(e.mode===ob.TIME||e.mode===ob.DATE){const n=e.mode===ob.TIME?_:w,o=t.valueArray,r=d.value,i=p.value;if(e.mode===ob.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===ob.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:f,_cancel:E,_change:C,_l10nColumn:L,_l10nItem:I,_input:A,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:b,_setValueSync:T,_fixInputPosition:M,_pickerViewChange:P}}(e,c,p,r,i,s,a);!function(e,t,n){const{key:o,disable:r}=Av();so((()=>{r.value=!e.visible})),lo(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,x,T),function(e,t){const n=Er(Bu,!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),Ko((()=>{n.removeField(o)}))}}(S,k),C(),E(),$();const O=function(e){const t=un(0),n=un(0),o=Bi((()=>t.value>=500&&n.value>=500)),r=Bi((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){u(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width),o=a(s.top),l=a(s.height),c=e+t/2;r.transform="none !important";const d=Math.max(0,c-150);r.left=`${d}px`;let p=Math.max(12,c-d);p=Math.min(288,p),i.left=`${p}px`;const f=n.value/2;o+l-f>f-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Yo((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=cv();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),Zo((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}(c);return so((()=>{c.isDesktop=O.isDesktop.value,c.popupStyle=O.popupStyle.value})),Ko((()=>{i.value&&i.value.remove()})),Yo((()=>{l.value=!0})),()=>{let t;const{visible:u,contentVisible:p,valueArray:h,popupStyle:S,valueSync:k}=c,{rangeKey:C,mode:E,start:$,end:O}=e,A=Iu(e,"disabled");return pi("uni-picker",bi({ref:r},A,{onClick:Au(m)}),[l.value?pi("div",{ref:i,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:Oc,onTouchmove:Oc},[pi(Hi,{name:"uni-fade"},{default:()=>[ho(pi("div",{class:"uni-mask uni-picker-mask",onClick:Au(x),onMousemove:_},null,40,["onClick","onMousemove"]),[[os,u]])]}),f.value?null:pi("div",{class:[{"uni-picker-toggle":u},"uni-picker-custom"],style:S.content},[pi("div",{class:"uni-picker-header",onClick:Ac},[pi("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:Au(x)},[o("uni.picker.cancel")],8,["onClick"]),pi("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),p?pi(ng,{value:v(h),class:"uni-picker-content",onChange:w},Qy(t=nr(v(d.value),((e,t)=>{let n;return pi(ug,{key:t},Qy(n=nr(e,((e,n)=>pi("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,pi("div",{ref:s,class:"uni-picker-select",onWheel:Ac,onTouchmove:Ac},[nr(d.value[0],((e,t)=>pi("div",{key:t,class:["uni-picker-item",{selected:h[0]===t}],onClick:()=>{h[0]=t,T()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),pi("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,pi("div",null,[n.default&&n.default()]),f.value?pi("div",{class:"uni-picker-system",onMousemove:Au(_)},[pi("input",{class:["uni-picker-system_input",f.value],ref:a,value:k,type:E,tabindex:"-1",min:$,max:O,onChange:e=>{b(e),Ac(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let ab;const lb=u(ac,{publishHandler(e,t,n){cb.subscribeHandler(e,t,n)}}),cb=u(gu,{publishHandler(e,t,n){lb.subscribeHandler(e,t,n)}}),ub=Ou({name:"PageBody",setup(e,t){const n=un(null);return lo((()=>false.enablePullDownRefresh),(()=>{n.value=null}),{immediate:!0}),()=>pi(Xr,null,[!1,pi("uni-page-wrapper",n.value,[pi("uni-page-body",null,[or(t.slots,"default")])],16)])}}),db=Ou({name:"Page",setup(e,t){const n=Qg(tm());n.navigationBar;const o={};return Ly(n),()=>pi("uni-page",{"data-page":n.route,style:o},[pb(t)])}});function pb(e){return ei(),ii(ub,{key:0},{default:Xn((()=>[or(e.slots,"page")])),_:3})}const fb={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Wd;const hb=Object.assign({}),gb=Object.assign;window.__uniConfig=gb({preloadRule:{"pages/index/index":{network:"all",packages:["pages/ucenter","pages/webview","pages/user","pages/search","pages/public"]}},easycom:{autoscan:!0,custom:{"^el-(.*)":"@/el-ui/components/el-$1/el-$1.vue","^mall-(.*)":"@/components/widget/mall-$1.vue"}},globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#666666",selectedColor:"#333333",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:0,backgroundColor:"#ffffff",list:[{pagePath:"pages/index/index",text:"首页"},{pagePath:"pages/index/category",text:"分类"},{pagePath:"pages/index/cart",text:"购物车"},{pagePath:"pages/index/ucenter",text:"我的"}],selectedIndex:0,shown:!0},uniIdRouter:{},compilerVersion:"4.15"},{appId:"__UNI__E6375C5",appName:"A3Shop",appVersion:"1.0.0",appVersionCode:"100",async:fb,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{}},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(hb).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return gb(e[n]||(e[n]={}),hb[t].default),e}),{}),router:{mode:"history",base:"/mobile/",assets:"assets",routerBase:"/mobile/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const mb={delay:fb.delay,timeout:fb.timeout,suspensible:fb.suspensible};fb.loading&&(mb.loadingComponent={name:"SystemAsyncLoading",render:()=>pi(Qn(fb.loading))}),fb.error&&(mb.errorComponent={name:"SystemAsyncError",render:()=>pi(Qn(fb.error))});const vb=()=>t((()=>import("./pages-index-index.CKvjITi-.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])).then((e=>Vm(e.default||e))),yb=Oo(gb({loader:vb},mb)),bb=()=>t((()=>import("./pages-index-category.CMoRg0Q5.js")),__vite__mapDeps([20,1,2,3,4,15,12,13,16,17,18,21])).then((e=>Vm(e.default||e))),_b=Oo(gb({loader:bb},mb)),wb=()=>t((()=>import("./pages-index-cart.pcR6MGr8.js")),__vite__mapDeps([22,1,2,3,4,10,11,23,24,9,12,13,14,17,18,25])).then((e=>Vm(e.default||e))),xb=Oo(gb({loader:wb},mb)),Tb=()=>t((()=>import("./pages-index-ucenter.rpqrFeqU.js")),__vite__mapDeps([26,2,3,27,28,17,18,29])).then((e=>Vm(e.default||e))),Sb=Oo(gb({loader:Tb},mb)),kb=()=>t((()=>import("./pages-topic-index.Cm4yxEBv.js")),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,31])).then((e=>Vm(e.default||e))),Cb=Oo(gb({loader:kb},mb)),Eb=()=>t((()=>import("./pages-refund-index.B_W2LQXb.js")),__vite__mapDeps([32,1,2,3,4,33,34,9,10,11,12,13,14,35])).then((e=>Vm(e.default||e))),$b=Oo(gb({loader:Eb},mb)),Ob=()=>t((()=>import("./pages-refund-detail.BXnrwHCM.js")),__vite__mapDeps([36,1,2,3,4,15,12,13,16,37])).then((e=>Vm(e.default||e))),Ab=Oo(gb({loader:Ob},mb)),Mb=()=>t((()=>import("./pages-order-index.BEMDCSxl.js")),__vite__mapDeps([38,1,2,3,4,33,34,9,10,11,12,13,14,39])).then((e=>Vm(e.default||e))),Pb=Oo(gb({loader:Mb},mb)),Lb=()=>t((()=>import("./pages-order-detail.BvGmeHpN.js")),__vite__mapDeps([40,1,2,3,4,15,12,13,16,41])).then((e=>Vm(e.default||e))),Ib=Oo(gb({loader:Lb},mb)),Bb=()=>t((()=>import("./pages-order-evaluate.FdsyaNaT.js")),__vite__mapDeps([42,1,2,3,4,15,12,13,16,43])).then((e=>Vm(e.default||e))),Rb=Oo(gb({loader:Bb},mb)),Db=()=>t((()=>import("./pages-order-comment.Cqo7x9uD.js")),__vite__mapDeps([44,1,2,3,4,45,46,15,12,13,16,47])).then((e=>Vm(e.default||e))),Nb=Oo(gb({loader:Db},mb)),jb=()=>t((()=>import("./pages-order-express.E6PDTewc.js")),__vite__mapDeps([48,1,2,3,4,15,12,13,16,49])).then((e=>Vm(e.default||e))),Fb=Oo(gb({loader:jb},mb)),Vb=()=>t((()=>import("./pages-cart-confirm.ZVkSh8Fh.js")),__vite__mapDeps([50,1,2,3,4,10,11,51,52,15,12,13,16,53])).then((e=>Vm(e.default||e))),qb=Oo(gb({loader:Vb},mb)),Hb=()=>t((()=>import("./pages-cart-cashier.XfHqwFZa.js")),__vite__mapDeps([54,1,2,3,4,15,12,13,16,55])).then((e=>Vm(e.default||e))),zb=Oo(gb({loader:Hb},mb)),Wb=()=>t((()=>import("./pages-goods-index.CNJ1mrLY.js")),__vite__mapDeps([56,1,2,3,4,9,10,11,12,13,14,57])).then((e=>Vm(e.default||e))),Ub=Oo(gb({loader:Wb},mb)),Yb=()=>t((()=>import("./pages-goods-view.BAK9m0db.js")),__vite__mapDeps([58,1,2,3,4,59,60,23,24,51,52,15,12,13,16,61])).then((e=>Vm(e.default||e))),Xb=Oo(gb({loader:Yb},mb)),Gb=()=>t((()=>import("./pages-coupon-index.vMLTR1Fj.js")),__vite__mapDeps([62,1,2,3,4,9,10,11,12,13,14,63])).then((e=>Vm(e.default||e))),Kb=Oo(gb({loader:Gb},mb)),Zb=()=>t((()=>import("./pages-ucenter-withdraw-index.BfWmRu2E.js")),__vite__mapDeps([64,1,2,3,4,51,52,65])).then((e=>Vm(e.default||e))),Jb=Oo(gb({loader:Zb},mb)),Qb=()=>t((()=>import("./pages-ucenter-withdraw-log.DFkAt3dc.js")),__vite__mapDeps([66,1,2,3,4,9,10,11,12,13,14,67])).then((e=>Vm(e.default||e))),e_=Oo(gb({loader:Qb},mb)),t_=()=>t((()=>import("./pages-ucenter-invoice-index.BW8XM7Rt.js")),__vite__mapDeps([68,1,2,3,4,10,11,69])).then((e=>Vm(e.default||e))),n_=Oo(gb({loader:t_},mb)),o_=()=>t((()=>import("./pages-ucenter-invoice-editor.G1qbWwX0.js")),__vite__mapDeps([70,1,2,3,4,71])).then((e=>Vm(e.default||e))),r_=Oo(gb({loader:o_},mb)),i_=()=>t((()=>import("./pages-ucenter-share-index.DhWzeNxS.js")),__vite__mapDeps([72,1,2,3,4,27,28,73])).then((e=>Vm(e.default||e))),s_=Oo(gb({loader:i_},mb)),a_=()=>t((()=>import("./pages-ucenter-help-index.B1WM2aof.js")),__vite__mapDeps([74,1,2,3,4,75])).then((e=>Vm(e.default||e))),l_=Oo(gb({loader:a_},mb)),c_=()=>t((()=>import("./pages-ucenter-help-detail.1-ix5lSn.js")),__vite__mapDeps([76,1,2,3,4,77])).then((e=>Vm(e.default||e))),u_=Oo(gb({loader:c_},mb)),d_=()=>t((()=>import("./pages-ucenter-wallet-recharge.CvFm43wz.js")),__vite__mapDeps([78,1,2,3,4,79])).then((e=>Vm(e.default||e))),p_=Oo(gb({loader:d_},mb)),f_=()=>t((()=>import("./pages-ucenter-wallet-index.tf1nTpER.js")),__vite__mapDeps([80,1,2,3,4,33,34,9,10,11,12,13,14,81])).then((e=>Vm(e.default||e))),h_=Oo(gb({loader:f_},mb)),g_=()=>t((()=>import("./pages-ucenter-wallet-log.Ds6Vsyr-.js")),__vite__mapDeps([82,1,2,3,4,9,10,11,12,13,14,83])).then((e=>Vm(e.default||e))),m_=Oo(gb({loader:g_},mb)),v_=()=>t((()=>import("./pages-ucenter-visit-index.CuLwWzf8.js")),__vite__mapDeps([84,1,2,3,4,9,10,11,12,13,14,85])).then((e=>Vm(e.default||e))),y_=Oo(gb({loader:v_},mb)),b_=()=>t((()=>import("./pages-ucenter-collect-index.CZhyCQ5a.js")),__vite__mapDeps([86,1,2,3,4,9,10,11,12,13,14,87])).then((e=>Vm(e.default||e))),__=Oo(gb({loader:b_},mb)),w_=()=>t((()=>import("./pages-ucenter-coupon-index.DiQ2t-IS.js")),__vite__mapDeps([88,1,2,3,4,33,34,9,10,11,12,13,14,89])).then((e=>Vm(e.default||e))),x_=Oo(gb({loader:w_},mb)),T_=()=>t((()=>import("./pages-ucenter-address-index.joIafGHg.js")),__vite__mapDeps([90,1,2,3,4,10,11,91,92,93])).then((e=>Vm(e.default||e))),S_=Oo(gb({loader:T_},mb)),k_=()=>t((()=>import("./pages-ucenter-address-editor.B9Oy7__s.js")),__vite__mapDeps([94,1,2,3,4,95])).then((e=>Vm(e.default||e))),C_=Oo(gb({loader:k_},mb)),E_=()=>t((()=>import("./pages-ucenter-user-user.D7j6E2Y-.js")),__vite__mapDeps([96,1,2,3,4,27,28,45,46,97])).then((e=>Vm(e.default||e))),$_=Oo(gb({loader:E_},mb)),O_=()=>t((()=>import("./pages-ucenter-user-setting.DJCF5yzL.js")),__vite__mapDeps([98,1,2,3,4,27,28,99])).then((e=>Vm(e.default||e))),A_=Oo(gb({loader:O_},mb)),M_=()=>t((()=>import("./pages-ucenter-user-password.CEiTppc9.js")),__vite__mapDeps([100,1,2,3,4,101])).then((e=>Vm(e.default||e))),P_=Oo(gb({loader:M_},mb)),L_=()=>t((()=>import("./pages-comments-index.CbRrgS_j.js")),__vite__mapDeps([102,1,2,3,4,9,10,11,12,13,14,103])).then((e=>Vm(e.default||e))),I_=Oo(gb({loader:L_},mb)),B_=()=>t((()=>import("./pages-public-empty.DLuJmi3v.js")),__vite__mapDeps([104,1,2,3,4,10,11])).then((e=>Vm(e.default||e))),R_=Oo(gb({loader:B_},mb)),D_=()=>t((()=>import("./pages-public-picture.BLezExnZ.js")),__vite__mapDeps([105,1,2,3,4,106])).then((e=>Vm(e.default||e))),N_=Oo(gb({loader:D_},mb)),j_=()=>t((()=>import("./pages-archives-view.Hpr1k_2w.js")),__vite__mapDeps([107,1,2,3,4,15,12,13,16,59,60,108])).then((e=>Vm(e.default||e))),F_=Oo(gb({loader:j_},mb)),V_=()=>t((()=>import("./pages-search-index.CDKe5MM7.js")),__vite__mapDeps([109,1,2,3,4,110])).then((e=>Vm(e.default||e))),q_=Oo(gb({loader:V_},mb)),H_=()=>t((()=>import("./pages-search-list.v26V7fff.js")),__vite__mapDeps([111,1,2,3,4,6,7,9,10,11,12,13,14])).then((e=>Vm(e.default||e))),z_=Oo(gb({loader:H_},mb)),W_=()=>t((()=>import("./pages-user-agreement.x9I5P6xV.js")),__vite__mapDeps([112,1,2,3,4,59,60,113])).then((e=>Vm(e.default||e))),U_=Oo(gb({loader:W_},mb)),Y_=()=>t((()=>import("./pages-user-login.q-saKWsa.js")),__vite__mapDeps([114,1,2,3,4,27,28,115,91,92,116])).then((e=>Vm(e.default||e))),X_=Oo(gb({loader:Y_},mb)),G_=()=>t((()=>import("./pages-user-oauth.BuKfMSk4.js")),__vite__mapDeps([117,1,2,3,4,27,28,91,92,118])).then((e=>Vm(e.default||e))),K_=Oo(gb({loader:G_},mb)),Z_=()=>t((()=>import("./pages-user-register.DMMsIS3V.js")),__vite__mapDeps([119,1,2,3,4,91,92,120])).then((e=>Vm(e.default||e))),J_=Oo(gb({loader:Z_},mb)),Q_=()=>t((()=>import("./pages-user-forget.D4UIe0Z-.js")),__vite__mapDeps([121,1,2,3,4,115,122])).then((e=>Vm(e.default||e))),ew=Oo(gb({loader:Q_},mb)),tw=()=>t((()=>import("./pages-user-bind.DDlJjCf5.js")),__vite__mapDeps([123,1,2,3,4,115,124])).then((e=>Vm(e.default||e))),nw=Oo(gb({loader:tw},mb)),ow=()=>t((()=>import("./pages-user-change.Bebba0NC.js")),__vite__mapDeps([125,1,2,3,4,115,126])).then((e=>Vm(e.default||e))),rw=Oo(gb({loader:ow},mb)),iw=()=>t((()=>import("./pages-webview-index.DMBj1uyK.js")),[]).then((e=>Vm(e.default||e))),sw=Oo(gb({loader:iw},mb));function aw(e,t){return ei(),ii(db,null,{page:Xn((()=>[pi(e,gb({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(yb,t)}},loader:vb,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/index/category",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(_b,t)}},loader:bb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"分类",type:"default"},isNVue:!1}},{path:"/pages/index/cart",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(xb,t)}},loader:wb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/index/ucenter",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Sb,t)}},loader:Tb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{titleText:"会员中心",type:"default"},isNVue:!1}},{path:"/pages/topic/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Cb,t)}},loader:kb,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/refund/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw($b,t)}},loader:Eb,meta:{navigationBar:{titleText:"订单列表",type:"default"},isNVue:!1}},{path:"/pages/refund/detail",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Ab,t)}},loader:Ob,meta:{navigationBar:{titleText:"退款详情",type:"default"},isNVue:!1}},{path:"/pages/order/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Pb,t)}},loader:Mb,meta:{navigationBar:{titleText:"订单列表",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Ib,t)}},loader:Lb,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/order/evaluate",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Rb,t)}},loader:Bb,meta:{navigationBar:{titleText:"订单评价",type:"default"},isNVue:!1}},{path:"/pages/order/comment",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Nb,t)}},loader:Db,meta:{navigationBar:{titleText:"评价商品",type:"default"},isNVue:!1}},{path:"/pages/order/express",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Fb,t)}},loader:jb,meta:{navigationBar:{titleText:"物流信息",type:"default"},isNVue:!1}},{path:"/pages/cart/confirm",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(qb,t)}},loader:Vb,meta:{navigationBar:{titleText:"确认订单",type:"default"},isNVue:!1}},{path:"/pages/cart/cashier",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(zb,t)}},loader:Hb,meta:{navigationBar:{titleText:"收银台",type:"default"},isNVue:!1}},{path:"/pages/goods/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Ub,t)}},loader:Wb,meta:{navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/view",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Xb,t)}},loader:Yb,meta:{navigationBar:{titleText:"商品详情",type:"default"},isNVue:!1}},{path:"/pages/coupon/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Kb,t)}},loader:Gb,meta:{navigationBar:{titleText:"优惠券中心",type:"default"},isNVue:!1}},{path:"/pages/ucenter/withdraw/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(Jb,t)}},loader:Zb,meta:{navigationBar:{titleText:"申请提现",type:"default"},isNVue:!1}},{path:"/pages/ucenter/withdraw/log",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(e_,t)}},loader:Qb,meta:{navigationBar:{titleText:"提现记录",type:"default"},isNVue:!1}},{path:"/pages/ucenter/invoice/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(n_,t)}},loader:t_,meta:{navigationBar:{titleText:"发票列表",type:"default"},isNVue:!1}},{path:"/pages/ucenter/invoice/editor",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(r_,t)}},loader:o_,meta:{navigationBar:{titleText:"编辑发票",type:"default"},isNVue:!1}},{path:"/pages/ucenter/share/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(s_,t)}},loader:i_,meta:{navigationBar:{titleText:"我的分享",type:"default"},isNVue:!1}},{path:"/pages/ucenter/help/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(l_,t)}},loader:a_,meta:{navigationBar:{titleText:"帮助中心",type:"default"},isNVue:!1}},{path:"/pages/ucenter/help/detail",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(u_,t)}},loader:c_,meta:{navigationBar:{titleText:"帮助详情",type:"default"},isNVue:!1}},{path:"/pages/ucenter/wallet/recharge",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(p_,t)}},loader:d_,meta:{navigationBar:{titleText:"充值中心",type:"default"},isNVue:!1}},{path:"/pages/ucenter/wallet/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(h_,t)}},loader:f_,meta:{navigationBar:{titleText:"我的钱包",type:"default"},isNVue:!1}},{path:"/pages/ucenter/wallet/log",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(m_,t)}},loader:g_,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/ucenter/visit/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(y_,t)}},loader:v_,meta:{navigationBar:{titleText:"我的足迹",type:"default"},isNVue:!1}},{path:"/pages/ucenter/collect/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(__,t)}},loader:b_,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/ucenter/coupon/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(x_,t)}},loader:w_,meta:{navigationBar:{titleText:"我的优惠券",type:"default"},isNVue:!1}},{path:"/pages/ucenter/address/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(S_,t)}},loader:T_,meta:{navigationBar:{titleText:"地址列表",type:"default"},isNVue:!1}},{path:"/pages/ucenter/address/editor",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(C_,t)}},loader:k_,meta:{navigationBar:{titleText:"编辑地址",type:"default"},isNVue:!1}},{path:"/pages/ucenter/user/user",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw($_,t)}},loader:E_,meta:{navigationBar:{titleText:"个人资料",type:"default"},isNVue:!1}},{path:"/pages/ucenter/user/setting",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(A_,t)}},loader:O_,meta:{navigationBar:{titleText:"个人设置",type:"default"},isNVue:!1}},{path:"/pages/ucenter/user/password",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(P_,t)}},loader:M_,meta:{navigationBar:{titleText:"修改密码",type:"default"},isNVue:!1}},{path:"/pages/comments/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(I_,t)}},loader:L_,meta:{navigationBar:{titleText:"评价详情",type:"default"},isNVue:!1}},{path:"/pages/public/empty",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(R_,t)}},loader:B_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/public/picture",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(N_,t)}},loader:D_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/archives/view",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(F_,t)}},loader:j_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/search/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(q_,t)}},loader:V_,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/search/list",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(z_,t)}},loader:H_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/user/agreement",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(U_,t)}},loader:W_,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/user/login",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(X_,t)}},loader:Y_,meta:{navigationBar:{titleText:"会员登录",type:"default"},isNVue:!1}},{path:"/pages/user/oauth",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(K_,t)}},loader:G_,meta:{navigationBar:{titleText:"授权登录",type:"default"},isNVue:!1}},{path:"/pages/user/register",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(J_,t)}},loader:Z_,meta:{navigationBar:{titleText:"会员注册",type:"default"},isNVue:!1}},{path:"/pages/user/forget",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(ew,t)}},loader:Q_,meta:{navigationBar:{titleText:"找回密码",type:"default"},isNVue:!1}},{path:"/pages/user/bind",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(nw,t)}},loader:tw,meta:{navigationBar:{titleText:"绑定手机",type:"default"},isNVue:!1}},{path:"/pages/user/change",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(rw,t)}},loader:ow,meta:{navigationBar:{titleText:"变更手机",type:"default"},isNVue:!1}},{path:"/pages/webview/index",component:{setup(){const e=Dm(),t=e&&e.$route&&e.$route.query||{};return()=>aw(sw,t)}},loader:iw,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const lw=Object.prototype.toString,cw=(e,t)=>lw.call(e)===`[object ${t}]`,uw=e=>null!==e&&cw(e,"Object"),dw=e=>cw(e,"Number"),pw=e=>cw(e,"String"),fw=e=>e&&Array.isArray(e),hw=(e,t)=>{let n=!1;for(let o in t)if(t[o]==e){n=!0;break}return n},gw=e=>null==e||null==e||(fw(e)||pw(e)?0===e.length:e instanceof Map||e instanceof Set?0===e.size:!!uw(e)&&0===Object.keys(e).length),mw=()=>!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),vw=e=>/^[1][3,4,5,7,8,9][0-9]{9}$/.test(e),yw=e=>/^[0-9a-z][a-z0-9._-]{1,}@[a-z0-9-]{1,}[a-z0-9].[a-z.]{1,}[a-z]$/.test(e),bw=()=>{let e={type:"",name:"",isWechat:!1,isMini:!1,isApp:!1};return e.type="h5",e.name=window.navigator.userAgent,e.isWechat=-1!==window.navigator.userAgent.toLowerCase().indexOf("micromessenger"),e},_w={is:cw,isDef:e=>void 0!==e,isObject:uw,isNumber:dw,isString:pw,isFunction:e=>"function"==typeof e,isBoolean:e=>cw(e,"Boolean"),isArray:fw,inArray:hw,isEmpty:gw,isMap:e=>cw(e,"Map"),isIOS:mw,isMobile:vw,isPhone:e=>/^([0-9]{3,4}-)?[0-9]{7,8}$/.test(e),isEmail:yw,isAmount:e=>/^[0-9]+.?[0-9]*/.test(e),isIdCard:e=>/^\d{15}|\d{18}$/.test(e),isBankCard:e=>/^([1-9]{1})(\d{14}|\d{15}|\d{16}|\d{18})$/.test(e),isRange:(e,t)=>e>=t[0]&&e<=t[1],isRangeLength:(e,t)=>e.length>=t[0]&&e.length<=t[1],isChinese:e=>/^[\u4e00-\u9fa5]+$/gi.test(e),isChineseTextarea:e=>/^[\u4e00-\u9fa5\u0020\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5]+$/gi.test(e),isUrl:e=>/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e),isCarNo:e=>7===e.length?/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(e):8===e.length&&/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(e),browser:bw},ww=(e,t=0)=>{if(gw(e))return;"/"!=e.substr(0,1)&&(e="/"+e);const n=()=>{let t=uni.$config.get("tabBarList.list",[]);t.length>0&&uni.$e.check.inArray(e.substring(1,e.length),t)?sy({url:e}):ny({url:e})};0==t?n():setTimeout(n,1e3*t)},xw=e=>{"/"!=e.substr(0,1)&&(e="/"+e),oy({url:e})},Tw=()=>{ey()};
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let Sw;const kw=e=>Sw=e,Cw=Symbol();function Ew(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var $w,Ow;(Ow=$w||($w={})).direct="direct",Ow.patchObject="patch object",Ow.patchFunction="patch function";const Aw="undefined"!=typeof window;function Mw(){const e=qe(!0),t=e.run((()=>un({})));let n=[],o=[];const r=nn({install(e){kw(r),r._a=e,e.provide(Cw,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Pw=()=>{};function Lw(e,t,n,o=Pw){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var i;return!n&&He()&&(i=r,je&&je.cleanups.push(i)),r}function Iw(e,...t){e.slice().forEach((e=>{e(...t)}))}const Bw=e=>e();function Rw(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Ew(r)&&Ew(o)&&e.hasOwnProperty(n)&&!cn(o)&&!Zt(o)?e[n]=Rw(r,o):e[n]=o}return e}const Dw=Symbol();const{assign:Nw}=Object;function jw(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let l;return l=Fw(e,(function(){a||(n.state.value[e]=r?r():{});const t=function(e){const t=h(e)?new Array(e.length):{};for(const n in e)t[n]=_n(e,n);return t}(n.state.value[e]);return Nw(t,i,Object.keys(s||{}).reduce(((t,o)=>(t[o]=nn(Bi((()=>{kw(n);const t=n._s.get(e);return s[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l}function Fw(e,t,n={},o,r,i){let s;const a=Nw({actions:{}},n),l={deep:!0};let c,u,d,p=[],f=[];const h=o.state.value[e];let g;function m(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:$w.patchFunction,storeId:e,events:d}):(Rw(o.state.value[e],t),n={type:$w.patchObject,payload:t,storeId:e,events:d});const r=g=Symbol();Ln().then((()=>{g===r&&(c=!0)})),u=!0,Iw(p,n,o.state.value[e])}i||h||(o.state.value[e]={}),un({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{Nw(e,t)}))}:Pw;function y(t,n){return function(){kw(o);const r=Array.from(arguments),i=[],s=[];function a(e){i.push(e)}function l(e){s.push(e)}let c;Iw(f,{args:r,name:t,store:b,after:a,onError:l});try{c=n.apply(this&&this.$id===e?this:b,r)}catch(u){throw Iw(s,u),u}return c instanceof Promise?c.then((e=>(Iw(i,e),e))).catch((e=>(Iw(s,e),Promise.reject(e)))):(Iw(i,c),c)}}const b=Yt({_p:o,$id:e,$onAction:Lw.bind(null,f),$patch:m,$reset:v,$subscribe(t,n={}){const r=Lw(p,t,n.detached,(()=>i())),i=s.run((()=>lo((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:$w.direct,events:d},o)}),Nw({},l,n))));return r},$dispose:function(){s.stop(),p=[],f=[],o._s.delete(e)}});o._s.set(e,b);const _=(o._a&&o._a.runWithContext||Bw)((()=>o._e.run((()=>(s=qe()).run(t)))));for(const T in _){const t=_[T];if(cn(t)&&(!cn(x=t)||!x.effect)||Zt(t))i||(!h||Ew(w=t)&&w.hasOwnProperty(Dw)||(cn(t)?t.value=h[T]:Rw(t,h[T])),o.state.value[e][T]=t);else if("function"==typeof t){const e=y(T,t);_[T]=e,a.actions[T]=t}}var w,x;return Nw(b,_),Nw(tn(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{m((t=>{Nw(t,e)}))}}),o._p.forEach((e=>{Nw(b,s.run((()=>e({store:b,app:o._a,pinia:o,options:a}))))})),h&&i&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b}function Vw(e,t,n){let o,r;const i="function"==typeof t;function s(e,n){const s=$r();(e=e||(s?Er(Cw,null):null))&&kw(e),(e=Sw)._s.has(o)||(i?Fw(o,t,r,e):jw(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),s.$id=o,s}let qw="Store";function Hw(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(){const n=e(this.$pinia),r=t[o];return"function"==typeof r?r.call(this,n):n[r]},n)),{})}const zw=Hw;function Ww(e){{e=tn(e);const t={};for(const n in e){const o=e[n];(cn(o)||Zt(o))&&(t[n]=bn(e,n))}return t}}const Uw=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return $w},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[Cw]=t,this.$pinia||(this.$pinia=t),t._a=this,Aw&&kw(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:Mw,defineStore:Vw,getActivePinia:()=>$r()&&Er(Cw)||Sw,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(...n){return e(this.$pinia)[t[o]](...n)},n)),{})},mapGetters:zw,mapState:Hw,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+qw]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]={get(){return e(this.$pinia)[t[o]]},set(n){return e(this.$pinia)[t[o]]=n}},n)),{})},setActivePinia:kw,setMapStoreSuffix:function(e){qw=e},skipHydrate:function(e){return Object.defineProperty(e,Dw,{})},storeToRefs:Ww},Symbol.toStringTag,{value:"Module"})),Yw=Vw("tabbar",{state:()=>({type:"1",color:"#333333",selectedColor:"#1b43c4",borderStyle:"white",backgroundColor:"#ffffff",list:[]}),actions:{setData(e){let t=[];for(let n in e.list){let o=e.list[n];1==o.status&&t.push({pagePath:o.link,iconPath:o.image,selectedIconPath:o.selectedImage,text:o.text})}this.type=e.type,this.color=e.color,this.selectedColor=e.selectedColor,this.borderStyle=e.borderStyle,this.backgroundColor=e.backgroundColor,this.list=t,e.list=t,uni.$storage.setJson("tabbar",e)},getData(){return this.list.length<=0?uni.$storage.getJson("tabbar",[]):{type:this.type,color:this.color,selectedColor:this.selectedColor,borderStyle:this.borderStyle,backgroundColor:this.backgroundColor,list:this.list}}}}),Xw=Vw("app",{state:()=>({site:uni.$storage.getJson("site",null)||{name:"",status:1,avatar:""},theme:uni.$storage.getJson("theme","royal-blue")}),actions:{setData(e){this.site=e.site,this.theme=e.theme,uni.$storage.setJson("site",e.site),uni.$storage.setJson("theme",e.theme)},getTheme(){return this.theme},getApp(){return this.site}}}),Gw=Vw("user",{state:()=>({token:uni.$storage.get("token",null)||null,user:uni.$storage.get("user",null)||null}),getters:{isLogin:e=>!!e.token},actions:{async getUser(){if(null==this.token||this.token.length<=0)return;const{code:e,data:t}=await uni.$http.get("user/center");e&&(this.user=t,uni.$storage.set("user",t))},login(e){this.token=e,uni.$storage.set("token",e)},logout(){this.token=null,this.user=null,uni.$storage.remove("user"),uni.$storage.remove("token")}}});function Kw(e,t){return"string"==typeof e?t:e}const Zw=e=>(t,n=Si())=>{!Ai&&zo(e,t,n)},Jw=Zw("onShow"),Qw=Zw("onHide"),ex=Zw("onLaunch"),tx=Zw("onError"),nx=Zw("onLoad"),ox=Zw("onUnload"),rx=Zw("onPageScroll"),ix={__name:"App",setup(e){const{getUser:t}=Gw(),n=Yw(),o=Xw();return ex((async e=>{Vy({success:()=>{},fail:()=>{}}),uni.$http.get("common/init").then((e=>{if(e.code){let t=e.data.tabbar;o.setData({site:e.data.site,theme:e.data.theme}),n.setData(t),t.list[0].link!=uni.$config.get("tabBarList.defaultHome","")&&ww(t.list[0].link)}}));let r=window.location.href.split("#");if(null!=r[1]){let e=r[1].split("=");e.length>=2&&"u"==e[0]&&uni.$storage.set("uid",e[1])}else null!=e.query.u&&e.query.u>0&&uni.$storage.set("uid",e.query.u);await t()})),Jw((()=>{console.log("App Show")})),Qw((()=>{console.log("App Hide")})),tx((e=>{console.log("app error",e)})),()=>{}}};Fm(ix,{init:Nm,setup(e){const t=em(),n=()=>{var n;n=e,Object.keys(Rp).forEach((e=>{Rp[e].forEach((t=>{zo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return u(Of,{path:e,query:t}),u(Af,Of),u({},Of)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ce(t.query)});if(o&&R(o,a),r&&R(r,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&R(i,e)}s&&(e.appContext.config.errorHandler=e=>{R(s,e)})};return Er(kl).isReady().then(n),Yo((()=>{window.addEventListener("resize",Oe(qm,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Hm),document.addEventListener("visibilitychange",zm),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{cb.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=()=>(ei(),ii(Ky));e.setup=(e,o)=>{const r=t&&t(e,o);return y(r)?n:r},e.render=n}});const sx=(e="",t="",n=32)=>{let o="";for(let r=1;r<=n;r++){let e=Math.floor(10*Math.random());if(e%2==0){let t=Math.floor(2.4*e)+97;o+=String.fromCharCode(t)}else o+=e;gw(t)||8!=r&&12!=r&&16!=r&&20!=r||(o+=t)}return e+o},ax=e=>e.replace(/^\s+|\s+$/g,""),lx=e=>{if(!e&&"object"!=typeof e)return e;const t=e.constructor===Array?[]:{};return Object.keys(e).forEach((n=>{e[n]&&"object"==typeof e[n]?t[n]=lx(e[n]):t[n]=e[n]})),t},cx=(e={},t={})=>{let n;for(n in t)e[n]=uw(t[n])?cx(e[n],t[n]):e[n]=t[n];return e},ux=(e,t="")=>/(%|px|rpx|auto)$/.test(e)?e:e+t,dx=(e,t=!1,n=750)=>{if(pw(e)&&"%"==e.substr(-1))return e;const o=hx().width;let r=n*Number.parseInt(e)/o;return t?r+"rpx":r},px=(e,t=!1,n=750)=>{if(dw(e))return t?e+"px":e;if("%"==e.substr(-1))return e;let o=hx().width*Number.parseInt(e)/n;return t?o+"px":o},fx=e=>gw(e)?0:pw(e)||fw(e)?e.length:uw(e)?Object.keys(e).length:0,hx=()=>{const e=cv();return{width:e.windowWidth,height:e.windowHeight,os:e.system,appid:e.appId,brand:e.brand}},gx={guid:sx,sleep:(e=30)=>new Promise((t=>{setTimeout((()=>{t()}),e)})),ltrim:e=>e.replace(/^\s*/,""),rtrim:e=>e.replace(/(\s*$)/g,""),trim:ax,random:(e,t)=>{if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:lx,deepMerge:cx,px2rpx:dx,rpx2px:px,size:fx,getSystemInfo:hx},mx={config:{},set(e,t=""){if(uw(e))return cx(this.config,e),!0;if(!pw(e))return!1;let n=e.split(".");if(n.length<=1)return this.config[e]=t,!0;switch(n.length){case 2:this.config[n[0]][n[1]]=t;break;case 3:this.config[n[0]][n[1]][n[2]]=t;break;case 4:this.config[n[0]][n[1]][n[2]][n[3]]=t}return!0},get(e="",t=null){if(gw(e))return this.config;let n=e.split("."),o=n.length,r={};for(let i=0;i<o;i++)r=gw(r)?gw(this.config[n[i]])?null:this.config[n[i]]:gw(r[n[i]])?null:r[n[i]];return gw(r)?t:r}},vx=e=>{let t=null;return t=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):pw(e)&&/^\d+$/.test(e.trim())?new Date(Number(e)):pw(e)&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date,t},yx={getDate:vx,getTime:e=>vx(e).getTime(),format:(e,t="yyyy-mm-dd")=>{let n=vx(e),o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0"),S:n.getMilliseconds().toString(),q:Math.floor(n.getMonth()+3)/3};for(let r in o){let[e]=new RegExp(`${r}+`).exec(t)||[];if(e){let n="y"===r&&2===e.length?2:0;t=t.replace(e,o[r].slice(n))}}return t},getFormatTime:(e=null,t="yyyy-mm-dd")=>{null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;switch(n=parseInt(n/1e3),!0){case n<300:return"刚刚";case n>=300&&n<3600:return`${parseInt(n/60)}分钟前`;case n>=3600&&n<86400:return`${parseInt(n/3600)}小时前`;case n>=86400&&n<2592e3:return`${parseInt(n/86400)}天前`;default:return!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:t(e,t)}}},bx=(e,t,n)=>{var o=e.toString(),r=o.split("."),i=0;try{i+=r[1].length}catch(s){}return t>i?o:(r[1]=Math[n](Number(r[1])/Math.pow(10,i-t)),r.join("."))},_x={currency:e=>{let t=e.toString().replace(/\$|\,/g,"");isNaN(t)&&(t="0"),sign=t==(t=Math.abs(t)),t=Math.floor(100*t+.50000000001),cents=t%100,t=Math.floor(t/100).toString(),cents<10&&(cents="0"+cents);for(var n=0;n<Math.floor((t.length-(1+n))/3);n++)t=t.substring(0,t.length-(4*n+3))+","+t.substring(t.length-(4*n+3));return(sign?"":"-")+t+"."+cents},money:(e,t)=>{t=t>0&&t<=20?t:2;var n=(e=parseFloat((e+"").replace(/[^\d\.-]/g,"")).toFixed(t)+"").split(".")[0].split("").reverse(),o=e.split(".")[1],r="";for(i=0;i<n.length;i++)r+=n[i]+((i+1)%3==0&&i+1!=n.length?",":"");return r.split("").reverse().join("")+"."+o},numberFormat:(e,t,n,o,r)=>{e=(e+"").replace(/[^0-9+-Ee.]/g,""),r=r||"ceil";for(var i=isFinite(+e)?+e:0,s=isFinite(+t)?Math.abs(t):0,a=void 0===o?",":o,l=void 0===n?".":n,c="",u=(c=(s?bx(i,s,r):""+Math.floor(i)).split("."),/(-?\d+)(\d{3})/);u.test(c[0]);)c[0]=c[0].replace(u,"$1"+a+"$2");return(c[1]||"").length<s&&(c[1]=c[1]||"",c[1]+=new Array(s-c[1].length+1).join("0")),c.join(l)},toFixed:bx},wx={set(e,t){pv(e,t)},setJson(e,t){pv(e,JSON.stringify(t))},get(e,t=null){let n=gv(e);return gw(n)?t:n},getJson(e,t=null){try{const n=gv(e);return gw(n)?t:JSON.parse(n)}catch(n){return t}},remove(e){vv(e)},clear(){bv()}},xx=(e,t=!1)=>new Promise((n=>{let o=Si();Op().in(o)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()})),Tx=(e,t="object")=>{if(pw(e)&&e.length<=0)return{};if(gw(e))return{};if("string"===t){if(!uw(e))return{};let t=[];for(let n in e){let o=n.replace(/([A-Z])/g,"-$1").toLowerCase();t.push(`${o}:${e[n]}`)}return ax(t.join(";"))}if(!pw(e))return e;let n=ax(e).split(";"),o={};for(let r=0;r<n.length;r++)if(n[r]){const e=n[r].split(":");o[ax(e[0])]=ax(e[1])}return o},Sx={getClientRect:xx,addStyle:Tx},kx=()=>{let e=uni.$config.get("request.baseUrl");return"/"!=e.substr(-1,1)?e+"/":e},Cx=(e="",t={},n={},o="GET")=>new Promise(((r,i)=>{const{type:s,isWechat:a}=bw(),l=uni.$config.get("request"),c=uni.$storage.get("token","");null==n.header&&(n.header={}),gw(c)?n.header.Authorization="":n.header.Authorization="Bearer "+c,null==n.isLoading&&(n.isLoading=!0),n.header["Client-Type"]=a?"wechat":s;let u=cx(l.header,n.header),d=cx({url:kx()+e,data:t,header:u,method:o,timeout:l.timeout||6e4,dataType:l.dataType||"json",responseType:l.responseType||"text",success:e=>{if(hw(o,["POST"])&&n.isLoading&&Ay(),"request:ok"!=e.errMsg)i(e.errMsg,e.statusCode);else{const{code:t,data:n}=e.data;if(401==t){Gw().logout(),ww("pages/user/login")}else 404==t?ww("pages/public/empty"):r(e.data,e.header)}},fail:e=>{i(e.errMsg,500)}},n);hw(o,["POST"])&&n.isLoading&&$y({title:"加载中...",mask:!1}),Yv(d)})),Ex={domain:kx,getDomain:()=>kx().replace("/api/",""),request:Cx,get:(e="",t={},n={})=>Cx(e,t,n,"GET"),post:(e="",t={},n={})=>Cx(e,t,n,"POST"),put:(e="",t={},n={})=>Cx(e,t,n,"PUT"),del:(e="",t={},n={})=>Cx(e,t,n,"DELETE"),connect:(e="",t={},n={})=>Cx(e,t,n,"CONNECT"),head:(e="",t={},n={})=>Cx(e,t,n,"HEAD"),options:(e="",t={},n={})=>Cx(e,t,n,"OPTIONS"),trace:(e="",t={},n={})=>Cx(e,t,n,"TRACE"),download:(e="",t={})=>new Promise(((n,o)=>{let r=cx({success:e=>{},fail:error={}},t);r.url=kx()+e,Zv(r)})),upload:(e,t=null,n={})=>new Promise(((o,r)=>{if(gw(t))return r("请选择需要上传的内容"),!1;const{type:i,isWechat:s}=bw();uni.$config.get("request");const a=uni.$storage.get("token","");null==n.header&&(n.header={}),gw(a)||(n.header.Authorization="Bearer "+a),n.header["Client-Type"]=s?"wechat":i;let l=cx({header:n.header,formData:{},success:e=>{const t=JSON.parse(e.data);o(t)},fail:e=>{r(e)}},n);l.url=kx()+e,l.filePath=t,Qv(l)}))},$x={showToast:(e,t=3e3)=>{Cy({icon:"none",title:e,duration:t})},hideToast:()=>{Oy()},showLoading:(e="加载数据中...",t=!0)=>{$y({title:e,mask:t})},hideLoading:()=>{Ay()},showModal:(e,t="提示")=>new Promise(((n,o)=>{my({title:t,content:e,success:function(e){e.confirm?n():e.cancel}})}))},Ox={pages:[{path:"pages/index/index",style:{navigationBarTitleText:""}},{path:"pages/index/category",style:{navigationBarTitleText:"分类"}},{path:"pages/index/cart",style:{navigationBarTitleText:"购物车"}},{path:"pages/index/ucenter",style:{navigationBarTitleText:"会员中心"}}],subPackages:[{root:"pages/topic",pages:[{path:"index",style:{navigationBarTitleText:""}}]},{root:"pages/refund",pages:[{path:"index",style:{navigationBarTitleText:"订单列表"}},{path:"detail",style:{navigationBarTitleText:"退款详情"}}]},{root:"pages/order",pages:[{path:"index",style:{navigationBarTitleText:"订单列表"}},{path:"detail",style:{navigationBarTitleText:"订单详情"}},{path:"evaluate",style:{navigationBarTitleText:"订单评价"}},{path:"comment",style:{navigationBarTitleText:"评价商品"}},{path:"express",style:{navigationBarTitleText:"物流信息"}}]},{root:"pages/cart",pages:[{path:"confirm",style:{navigationBarTitleText:"确认订单"}},{path:"cashier",style:{navigationBarTitleText:"收银台"}}]},{root:"pages/goods",pages:[{path:"index",style:{navigationBarTitleText:"商品列表"}},{path:"view",style:{navigationBarTitleText:"商品详情"}}]},{root:"pages/coupon",pages:[{path:"index",style:{navigationBarTitleText:"优惠券中心"}}]},{root:"pages/ucenter",pages:[{path:"withdraw/index",style:{navigationBarTitleText:"申请提现"}},{path:"withdraw/log",style:{navigationBarTitleText:"提现记录"}},{path:"invoice/index",style:{navigationBarTitleText:"发票列表"}},{path:"invoice/editor",style:{navigationBarTitleText:"编辑发票"}},{path:"share/index",style:{navigationBarTitleText:"我的分享"}},{path:"help/index",style:{navigationBarTitleText:"帮助中心"}},{path:"help/detail",style:{navigationBarTitleText:"帮助详情"}},{path:"wallet/recharge",style:{navigationBarTitleText:"充值中心"}},{path:"wallet/index",style:{navigationBarTitleText:"我的钱包"}},{path:"wallet/log",style:{navigationBarTitleText:"充值记录"}},{path:"visit/index",style:{navigationBarTitleText:"我的足迹"}},{path:"collect/index",style:{navigationBarTitleText:"我的收藏"}},{path:"coupon/index",style:{navigationBarTitleText:"我的优惠券"}},{path:"address/index",style:{navigationBarTitleText:"地址列表"}},{path:"address/editor",style:{navigationBarTitleText:"编辑地址"}},{path:"user/user",style:{navigationBarTitleText:"个人资料"}},{path:"user/setting",style:{navigationBarTitleText:"个人设置"}},{path:"user/password",style:{navigationBarTitleText:"修改密码"}}]},{root:"pages/comments",pages:[{path:"index",style:{navigationBarTitleText:"评价详情"}}]},{root:"pages/public",pages:[{path:"empty",style:{navigationBarTitleText:""}},{path:"picture",style:{navigationBarTitleText:""}}]},{root:"pages/archives",pages:[{path:"view",style:{navigationBarTitleText:""}}]},{root:"pages/search",pages:[{path:"index",style:{navigationBarTitleText:"搜索"}},{path:"list",style:{navigationBarTitleText:""}}]},{root:"pages/user",pages:[{path:"agreement",style:{navigationBarTitleText:""}},{path:"login",style:{navigationBarTitleText:"会员登录"}},{path:"oauth",style:{navigationBarTitleText:"授权登录"}},{path:"register",style:{navigationBarTitleText:"会员注册"}},{path:"forget",style:{navigationBarTitleText:"找回密码"}},{path:"bind",style:{navigationBarTitleText:"绑定手机"}},{path:"change",style:{navigationBarTitleText:"变更手机"}}]},{root:"pages/webview",pages:[{path:"index",style:{navigationBarTitleText:""}}]}],preloadRule:{"pages/index/index":{network:"all",packages:["pages/ucenter","pages/webview","pages/user","pages/search","pages/public"]}},easycom:{autoscan:!0,custom:{"^el-(.*)":"@/el-ui/components/el-$1/el-$1.vue","^mall-(.*)":"@/components/widget/mall-$1.vue"}},globalStyle:{navigationStyle:"custom",navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},tabBar:{color:"#666666",selectedColor:"#333333",backgroundColor:"#ffffff",list:[{pagePath:"pages/index/index",text:"首页"},{pagePath:"pages/index/category",text:"分类"},{pagePath:"pages/index/cart",text:"购物车"},{pagePath:"pages/index/ucenter",text:"我的"}],height:0},uniIdRouter:{}};if(mx.set({request:{baseUrl:"http://a3-cms.top:8888/",header:{"content-type":"application/json"},timeout:6e4,dataType:"json",responseType:"text"},tabBarList:{defaultHome:"",list:[]}}),Ox.tabBar.list.length>0){let e=[];for(let t=0;t<Ox.tabBar.list.length;t++)e.push(Ox.tabBar.list[t].pagePath);mx.set("tabBarList.list",e)}mx.get("tabBarList.defaultHome","").length<=0&&Ox.pages.length>0&&mx.set("tabBarList.defaultHome",Ox.pages[0].path),uni.$http=Ex,uni.$storage=wx,uni.$config=mx,uni.$layer=$x,uni.$e={version:"1.0",check:_w,date:yx,money:_x,style:Sx,utils:gx};const Ax={request:{baseUrl:window.location.protocol+"//"+window.location.host+"/api",header:{"content-type":"application/json"},timeout:6e4,dataType:"json",responseType:"text"}};uni.$config.set(Ax),function(){const e=Ks(ix);return e.use(Mw()),{app:e,Pinia:Uw}}().app.use(Om).mount("#app");export{$y as $,Z as A,lh as B,Gw as C,Ww as D,Jw as E,Xr as F,hw as G,Wf as H,zf as I,dx as J,gw as K,fm as L,or as M,Yw as N,lo as O,Vy as P,Yo as Q,$g as R,Sg as S,Cg as T,Xm as U,ho as V,os as W,Si as X,xw as Y,Bg as Z,Ys as _,Xw as a,_v as a$,Ay as a0,Eh as a1,bw as a2,Cy as a3,my as a4,mw as a5,Ex as a6,ia as a7,Wd as a8,wv as a9,Uv as aA,kv as aB,Hp as aC,zp as aD,Yv as aE,Qv as aF,pv as aG,gv as aH,vv as aI,bv as aJ,ny as aK,oy as aL,sy as aM,ry as aN,uv as aO,qp as aP,Bp as aQ,Dp as aR,zv as aS,fg as aT,Qn as aU,wp as aV,Kd as aW,wg as aX,By as aY,Ip as aZ,sb as a_,Zv as aa,Yd as ab,gp as ac,hp as ad,qf as ae,rx as af,ox as ag,fw as ah,dw as ai,Vu as aj,vw as ak,yw as al,mg as am,Ru as an,dv as ao,sx as ap,px as aq,cx as ar,ux as as,xx as at,Tx as au,Tw as av,fx as aw,Yt as ax,Ox as ay,Ev as az,Kw as b,mv as b0,yv as b1,fv as b2,wx as b3,Zy as b4,Zm as b5,Bi as c,to as d,ei as e,ii as f,pi as g,ri as h,nr as i,gi as j,cv as k,hn as l,cn as m,Ln as n,nx as o,Rg as p,Op as q,un as r,Iy as s,ww as t,ss as u,hi as v,Xn as w,ue as x,Mg as y,de as z};
//# sourceMappingURL=index-DVkgSHpn.js.map
