code-origin/server/public/mobile/assets/index.26a6cf84.js

13 lines
331 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var e=Object.defineProperty,t=(t,n,o)=>(((t,n,o)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o})(t,"symbol"!=typeof n?n+"":n,o),o);!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 n={},o=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`/mobile/${e}`)in n)return;n[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),t?new Promise(((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};function r(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const i=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){return!!e||""===e}const a=r("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function l(e){if(E(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=M(o)?d(o):l(o);if(r)for(const e in r)t[e]=r[e]}return t}return M(e)||A(e)?e:void 0}const c=/;(?![^(]*\))/g,u=/:(.+)/;function d(e){const t={};return e.split(c).forEach((e=>{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function f(e){let t="";if(M(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const o=f(e[n]);o&&(t+=o+" ")}else if(A(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const h=e=>M(e)?e:null==e?"":E(e)||A(e)&&(e.toString===L||!O(e.toString))?JSON.stringify(e,p,2):String(e),p=(e,t)=>t&&t.__v_isRef?p(e,t.value):C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:I(t)?{[`Set(${t.size})`]:[...t.values()]}:!A(t)||E(t)||B(t)?t:String(t),g={},m=[],v=()=>{},y=()=>!1,_=/^on[^a-z]/,b=e=>_.test(e),w=e=>e.startsWith("onUpdate:"),x=Object.assign,T=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},S=Object.prototype.hasOwnProperty,k=(e,t)=>S.call(e,t),E=Array.isArray,C=e=>"[object Map]"===R(e),I=e=>"[object Set]"===R(e),O=e=>"function"==typeof e,M=e=>"string"==typeof e,P=e=>"symbol"==typeof e,A=e=>null!==e&&"object"==typeof e,$=e=>A(e)&&O(e.then)&&O(e.catch),L=Object.prototype.toString,R=e=>L.call(e),B=e=>"[object Object]"===R(e),N=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-(\w)/g,V=D((e=>e.replace(F,((e,t)=>t?t.toUpperCase():"")))),q=/\B([A-Z])/g,H=D((e=>e.replace(q,"-$1").toLowerCase())),z=D((e=>e.charAt(0).toUpperCase()+e.slice(1))),W=D((e=>e?`on${z(e)}`:"")),U=(e,t)=>!Object.is(e,t),X=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Y=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},G=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let J;const K=["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));const Z=["%","%"],Q=/^([a-z-]+:)?\/\//i,ee=/^data:.*,.*/;function te(e){return e&&(e.appContext?e.proxy:e)}function ne(e){if(!e)return;let t=e.type.name;for(;t&&(n=H(t),-1!==K.indexOf("uni-"+n.replace("v-uni-","")));)t=(e=e.parent).type.name;var n;return e.proxy}function oe(e){return 1===e.nodeType}function re(e){return 0===e.indexOf("/")}function ie(e){return re(e)?e:"/"+e}function se(e){return re(e)?e.slice(1):e}function ae(e,t){for(const n in t)e.style[n]=t[n]}function le(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function ce(e){return V(e.substring(5))}const ue=le((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[ce(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[ce(e)],n.call(this,e)}}));function de(e){return x({},e.dataset,e.__uniDataset)}function fe(e){return{passive:e}}function he(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:de(e),offsetTop:n,offsetLeft:o}}function pe(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ge(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=pe(e[n])}catch(nw){t[n]=e[n]}})),t}const me=/\+/g;function ve(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(me," ");let r=e.indexOf("="),i=pe(r<0?e:e.slice(0,r)),s=r<0?null:pe(e.slice(r+1));if(i in t){let e=t[i];E(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function ye(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 _e{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[e]||(this.emitCache[e]=[])).push(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){const t=this.emitCache[e];if(t)for(;t.length>0;)this.emit.apply(this,[e,...t.shift()])}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const be=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],we=["onLoad","onShow"];const xe=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],Te=[];const Se=function(){};Se.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=0,s=o.length;i<s;i++)o[i].fn!==t&&o[i].fn._!==t&&r.push(o[i]);return r.length?n[e]=r:delete n[e],this}};var ke=Se;let Ee;class Ce{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Ee&&(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}run(e){if(this.active){const t=Ee;try{return Ee=this,e()}finally{Ee=t}}}on(){Ee=this}off(){Ee=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.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function Ie(e){return new Ce(e)}const Oe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Me=e=>(e.w&Le)>0,Pe=e=>(e.n&Le)>0,Ae=new WeakMap;let $e=0,Le=1;let Re;const Be=Symbol(""),Ne=Symbol("");class je{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=Ee){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Re,t=Fe;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Re,Re=this,Fe=!0,Le=1<<++$e,$e<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Le})(this):De(this),this.fn()}finally{$e<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];Me(r)&&!Pe(r)?r.delete(e):t[n++]=r,r.w&=~Le,r.n&=~Le}t.length=n}})(this),Le=1<<--$e,Re=this.parent,Fe=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Re===this?this.deferStop=!0:this.active&&(De(this),this.onStop&&this.onStop(),this.active=!1)}}function De(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Fe=!0;const Ve=[];function qe(){Ve.push(Fe),Fe=!1}function He(){const e=Ve.pop();Fe=void 0===e||e}function ze(e,t,n){if(Fe&&Re){let t=Ae.get(e);t||Ae.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Oe()),We(o)}}function We(e,t){let n=!1;$e<=30?Pe(e)||(e.n|=Le,n=!Me(e)):n=!e.has(Re),n&&(e.add(Re),Re.deps.push(e))}function Ue(e,t,n,o,r,i){const s=Ae.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&E(e))s.forEach(((e,t)=>{("length"===t||t>=o)&&a.push(e)}));else switch(void 0!==n&&a.push(s.get(n)),t){case"add":E(e)?N(n)&&a.push(s.get("length")):(a.push(s.get(Be)),C(e)&&a.push(s.get(Ne)));break;case"delete":E(e)||(a.push(s.get(Be)),C(e)&&a.push(s.get(Ne)));break;case"set":C(e)&&a.push(s.get(Be))}if(1===a.length)a[0]&&Xe(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Xe(Oe(e))}}function Xe(e,t){const n=E(e)?e:[...e];for(const o of n)o.computed&&Ye(o);for(const o of n)o.computed||Ye(o)}function Ye(e,t){(e!==Re||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ge=r("__proto__,__v_isRef,__isVue"),Je=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(P)),Ke=nt(),Ze=nt(!1,!0),Qe=nt(!0),et=tt();function tt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ft(this);for(let t=0,r=this.length;t<r;t++)ze(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ft)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){qe();const n=Ft(this)[t].apply(this,e);return He(),n}})),e}function nt(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Pt:Mt:t?Ot:It).get(n))return n;const i=E(n);if(!e&&i&&k(et,o))return Reflect.get(et,o,r);const s=Reflect.get(n,o,r);return(P(o)?Je.has(o):Ge(o))?s:(e||ze(n,0,o),t?s:Ut(s)?i&&N(o)?s:s.value:A(s)?e?Lt(s):$t(s):s)}}function ot(e=!1){return function(t,n,o,r){let i=t[n];if(Nt(i)&&Ut(i)&&!Ut(o))return!1;if(!e&&!Nt(o)&&(jt(o)||(o=Ft(o),i=Ft(i)),!E(t)&&Ut(i)&&!Ut(o)))return i.value=o,!0;const s=E(t)&&N(n)?Number(n)<t.length:k(t,n),a=Reflect.set(t,n,o,r);return t===Ft(r)&&(s?U(o,i)&&Ue(t,"set",n,o):Ue(t,"add",n,o)),a}}const rt={get:Ke,set:ot(),deleteProperty:function(e,t){const n=k(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Ue(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return P(t)&&Je.has(t)||ze(e,0,t),n},ownKeys:function(e){return ze(e,0,E(e)?"length":Be),Reflect.ownKeys(e)}},it={get:Qe,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},st=x({},rt,{get:Ze,set:ot(!0)}),at=e=>e,lt=e=>Reflect.getPrototypeOf(e);function ct(e,t,n=!1,o=!1){const r=Ft(e=e.__v_raw),i=Ft(t);n||(t!==i&&ze(r,0,t),ze(r,0,i));const{has:s}=lt(r),a=o?at:n?Ht:qt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function ut(e,t=!1){const n=this.__v_raw,o=Ft(n),r=Ft(e);return t||(e!==r&&ze(o,0,e),ze(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function dt(e,t=!1){return e=e.__v_raw,!t&&ze(Ft(e),0,Be),Reflect.get(e,"size",e)}function ft(e){e=Ft(e);const t=Ft(this);return lt(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function ht(e,t){t=Ft(t);const n=Ft(this),{has:o,get:r}=lt(n);let i=o.call(n,e);i||(e=Ft(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?U(t,s)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function pt(e){const t=Ft(this),{has:n,get:o}=lt(t);let r=n.call(t,e);r||(e=Ft(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Ue(t,"delete",e,void 0),i}function gt(){const e=Ft(this),t=0!==e.size,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function mt(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Ft(i),a=t?at:e?Ht:qt;return!e&&ze(s,0,Be),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function vt(e,t,n){return function(...o){const r=this.__v_raw,i=Ft(r),s=C(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?at:t?Ht:qt;return!t&&ze(i,0,l?Ne:Be),{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 yt(e){return function(...t){return"delete"!==e&&this}}function _t(){const e={get(e){return ct(this,e)},get size(){return dt(this)},has:ut,add:ft,set:ht,delete:pt,clear:gt,forEach:mt(!1,!1)},t={get(e){return ct(this,e,!1,!0)},get size(){return dt(this)},has:ut,add:ft,set:ht,delete:pt,clear:gt,forEach:mt(!1,!0)},n={get(e){return ct(this,e,!0)},get size(){return dt(this,!0)},has(e){return ut.call(this,e,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:mt(!0,!1)},o={get(e){return ct(this,e,!0,!0)},get size(){return dt(this,!0)},has(e){return ut.call(this,e,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=vt(r,!1,!1),n[r]=vt(r,!0,!1),t[r]=vt(r,!1,!0),o[r]=vt(r,!0,!0)})),[e,n,t,o]}const[bt,wt,xt,Tt]=_t();function St(e,t){const n=t?e?Tt:xt:e?wt:bt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(k(n,o)&&o in t?n:t,o,r)}const kt={get:St(!1,!1)},Et={get:St(!1,!0)},Ct={get:St(!0,!1)},It=new WeakMap,Ot=new WeakMap,Mt=new WeakMap,Pt=new WeakMap;function At(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=>R(e).slice(8,-1))(e))}function $t(e){return Nt(e)?e:Rt(e,!1,rt,kt,It)}function Lt(e){return Rt(e,!0,it,Ct,Mt)}function Rt(e,t,n,o,r){if(!A(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=At(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Bt(e){return Nt(e)?Bt(e.__v_raw):!(!e||!e.__v_isReactive)}function Nt(e){return!(!e||!e.__v_isReadonly)}function jt(e){return!(!e||!e.__v_isShallow)}function Dt(e){return Bt(e)||Nt(e)}function Ft(e){const t=e&&e.__v_raw;return t?Ft(t):e}function Vt(e){return Y(e,"__v_skip",!0),e}const qt=e=>A(e)?$t(e):e,Ht=e=>A(e)?Lt(e):e;function zt(e){Fe&&Re&&We((e=Ft(e)).dep||(e.dep=Oe()))}function Wt(e,t){(e=Ft(e)).dep&&Xe(e.dep)}function Ut(e){return!(!e||!0!==e.__v_isRef)}function Xt(e){return Gt(e,!1)}function Yt(e){return Gt(e,!0)}function Gt(e,t){return Ut(e)?e:new Jt(e,t)}class Jt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ft(e),this._value=t?e:qt(e)}get value(){return zt(this),this._value}set value(e){e=this.__v_isShallow?e:Ft(e),U(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:qt(e),Wt(this))}}function Kt(e){return Ut(e)?e.value:e}const Zt={get:(e,t,n)=>Kt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ut(r)&&!Ut(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Qt(e){return Bt(e)?e:new Proxy(e,Zt)}class en{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}}function tn(e,t,n){const o=e[t];return Ut(o)?o:new en(e,t,n)}class nn{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new je(e,(()=>{this._dirty||(this._dirty=!0,Wt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Ft(this);return zt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function on(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){sn(i,t,n)}return r}function rn(e,t,n,o){if(O(e)){const r=on(e,t,n,o);return r&&$(r)&&r.catch((e=>{sn(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(rn(e[i],t,n,o));return r}function sn(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=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 on(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let an=!1,ln=!1;const cn=[];let un=0;const dn=[];let fn=null,hn=0;const pn=[];let gn=null,mn=0;const vn=Promise.resolve();let yn=null,_n=null;function bn(e){const t=yn||vn;return e?t.then(this?e.bind(this):e):t}function wn(e){cn.length&&cn.includes(e,an&&e.allowRecurse?un+1:un)||e===_n||(null==e.id?cn.push(e):cn.splice(function(e){let t=un+1,n=cn.length;for(;t<n;){const o=t+n>>>1;En(cn[o])<e?t=o+1:n=o}return t}(e.id),0,e),xn())}function xn(){an||ln||(ln=!0,yn=vn.then(Cn))}function Tn(e,t,n,o){E(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),xn()}function Sn(e,t=null){if(dn.length){for(_n=t,fn=[...new Set(dn)],dn.length=0,hn=0;hn<fn.length;hn++)fn[hn]();fn=null,hn=0,_n=null,Sn(e,t)}}function kn(e){if(Sn(),pn.length){const e=[...new Set(pn)];if(pn.length=0,gn)return void gn.push(...e);for(gn=e,gn.sort(((e,t)=>En(e)-En(t))),mn=0;mn<gn.length;mn++)gn[mn]();gn=null,mn=0}}const En=e=>null==e.id?1/0:e.id;function Cn(e){ln=!1,an=!0,Sn(e),cn.sort(((e,t)=>En(e)-En(t)));try{for(un=0;un<cn.length;un++){const e=cn[un];e&&!1!==e.active&&on(e,null,14)}}finally{un=0,cn.length=0,kn(),an=!1,yn=null,(cn.length||dn.length||pn.length)&&Cn(e)}}function In(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||g;let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=o[e]||g;i&&(r=n.map((e=>e.trim()))),t&&(r=n.map(G))}let a,l=o[a=W(t)]||o[a=W(V(t))];!l&&i&&(l=o[a=W(H(t))]),l&&rn(l,e,6,On(e,l,r));const c=o[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,rn(c,e,6,On(e,c,r))}}function On(e,t,n){if(1!==n.length)return n;if(O(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&k(o,"type")&&k(o,"timeStamp")&&k(o,"target")&&k(o,"currentTarget")&&k(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Mn(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(!O(e)){const o=e=>{const n=Mn(e,t,!0);n&&(a=!0,x(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(E(i)?i.forEach((e=>s[e]=null)):x(s,i),o.set(e,s),s):(o.set(e,null),null)}function Pn(e,t){return!(!e||!b(t))&&(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,H(t))||k(e,t))}let An=null,$n=null;function Ln(e){const t=An;return An=e,$n=e&&e.type.__scopeId||null,t}function Rn(e,t=An,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Lr(-1);const r=Ln(t),i=e(...n);return Ln(r),o._d&&Lr(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function Bn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e;let m,v;const y=Ln(e);try{if(4&n.shapeFlag){const e=r||o;m=Yr(u.call(e,e,d,i,h,f,p)),v=l}else{const e=t;0,m=Yr(e.length>1?e(i,{attrs:l,slots:a,emit:c}):e(i,null)),v=t.props?l:Nn(l)}}catch(b){Mr.length=0,sn(b,e,1),m=zr(Ir)}let _=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(w)&&(v=jn(v,s)),_=Wr(_,v))}return n.dirs&&(_=Wr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,Ln(y),m}const Nn=e=>{let t;for(const n in e)("class"===n||"style"===n||b(n))&&((t||(t={}))[n]=e[n]);return t},jn=(e,t)=>{const n={};for(const o in e)w(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Dn(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]&&!Pn(n,i))return!0}return!1}const Fn=e=>e.__isSuspense;function Vn(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 qn(e,t,n=!1){const o=ti||An;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&O(t)?t.call(o.proxy):t}}function Hn(e,t){return Un(e,null,t)}const zn={};function Wn(e,t,n){return Un(e,t,n)}function Un(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=g){const a=ti;let l,c,u=!1,d=!1;if(Ut(e)?(l=()=>e.value,u=jt(e)):Bt(e)?(l=()=>e,o=!0):E(e)?(d=!0,u=e.some((e=>Bt(e)||jt(e))),l=()=>e.map((e=>Ut(e)?e.value:Bt(e)?Gn(e):O(e)?on(e,a,2):void 0))):l=O(e)?t?()=>on(e,a,2):()=>{if(!a||!a.isUnmounted)return c&&c(),rn(e,a,3,[f])}:v,t&&o){const e=l;l=()=>Gn(e())}let f=e=>{c=y.onStop=()=>{on(e,a,4)}};if(si)return f=v,t?n&&rn(t,a,3,[l(),d?[]:void 0,f]):l(),v;let h=d?[]:zn;const p=()=>{if(y.active)if(t){const e=y.run();(o||u||(d?e.some(((e,t)=>U(e,h[t]))):U(e,h)))&&(c&&c(),rn(t,a,3,[e,h===zn?void 0:h,f]),h=e)}else y.run()};let m;p.allowRecurse=!!t,m="sync"===r?p:"post"===r?()=>xr(p,a&&a.suspense):()=>function(e){Tn(e,fn,dn,hn)}(p);const y=new je(l,m);return t?n?p():h=y.run():"post"===r?xr(y.run.bind(y),a&&a.suspense):y.run(),()=>{y.stop(),a&&a.scope&&T(a.scope.effects,y)}}function Xn(e,t,n){const o=this.proxy,r=M(e)?e.includes(".")?Yn(o,e):()=>o[e]:e.bind(o,o);let i;O(t)?i=t:(i=t.handler,n=t);const s=ti;oi(this);const a=Un(r,i.bind(o),n);return s?oi(s):ri(),a}function Yn(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 Gn(e,t){if(!A(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Ut(e))Gn(e.value,t);else if(E(e))for(let n=0;n<e.length;n++)Gn(e[n],t);else if(I(e)||C(e))e.forEach((e=>{Gn(e,t)}));else if(B(e))for(const n in e)Gn(e[n],t);return e}const Jn=[Function,Array],Kn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jn,onEnter:Jn,onAfterEnter:Jn,onEnterCancelled:Jn,onBeforeLeave:Jn,onLeave:Jn,onAfterLeave:Jn,onLeaveCancelled:Jn,onBeforeAppear:Jn,onAppear:Jn,onAfterAppear:Jn,onAppearCancelled:Jn},setup(e,{slots:t}){const n=ni(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Eo((()=>{e.isMounted=!0})),Oo((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const i=t.default&&oo(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1)for(const e of i)if(e.type!==Ir){s=e;break}const a=Ft(e),{mode:l}=a;if(o.isLeaving)return eo(s);const c=to(s);if(!c)return eo(s);const u=Qn(c,a,o,n);no(c,u);const d=n.subTree,f=d&&to(d);let h=!1;const{getTransitionKey:p}=c.type;if(p){const e=p();void 0===r?r=e:e!==r&&(r=e,h=!0)}if(f&&f.type!==Ir&&(!Dr(c,f)||h)){const e=Qn(f,a,o,n);if(no(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},eo(s);"in-out"===l&&c.type!==Ir&&(e.delayLeave=(e,t,n)=>{Zn(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Zn(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 Qn(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=Zn(n,e),w=(e,t)=>{e&&rn(e,o,9,t)},x=(e,t)=>{const n=t[1];w(e,t),E(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=g||a}t._leaveCb&&t._leaveCb(!0);const i=b[_];i&&Dr(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=m||l,o=v||c,i=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,w(t?i:o,[e]),T.delayedLeave&&T.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),w(n?p:h,[t]),t._leaveCb=void 0,b[r]===e&&delete b[r])};b[r]=e,f?x(f,[t,s]):s()},clone:e=>Qn(e,t,n,o)};return T}function eo(e){if(lo(e))return(e=Wr(e)).children=null,e}function to(e){return lo(e)?e.children?e.children[0]:void 0:e}function no(e,t){6&e.shapeFlag&&e.component?no(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 oo(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===Er?(128&s.patchFlag&&r++,o=o.concat(oo(s.children,t,a))):(t||s.type!==Ir)&&o.push(null!=a?Wr(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function ro(e){return O(e)?{setup:e,name:e.name}:e}const io=e=>!!e.type.__asyncLoader;function so(e){O(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 ro({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=ti;if(l)return()=>ao(l,e);const t=t=>{c=null,sn(t,e,13,!o)};if(s&&e.suspense||si)return d().then((t=>()=>ao(t,e))).catch((e=>(t(e),()=>o?zr(o,{error:e}):null)));const a=Xt(!1),u=Xt(),f=Xt(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&lo(e.parent.vnode)&&wn(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?ao(l,e):u.value&&o?zr(o,{error:u.value}):n&&!f.value?zr(n):void 0}})}function ao(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const s=zr(e,n,o);return s.ref=t,s}const lo=e=>e.type.__isKeepAlive;class co{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const uo={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=ni(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new co(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||t.type!==i.type||"key"===e.matchBy&&t.key!==i.key?(yo(o=t),u(o,n,a,!0)):i&&yo(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function h(t){r.forEach(((n,o)=>{const i=bo(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,X(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),xr((()=>{i.isDeactivated=!1,i.a&&X(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Zr(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&wo(t.bda),c(e,f,null,1,a),xr((()=>{t.bda&&xo(t.bda),t.da&&X(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Zr(n,t.parent,e),t.isDeactivated=!0}),a)},Wn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&h((t=>ho(e,t))),t&&h((e=>!ho(t,e)))}),{flush:"post",deep:!0});let p=null;const g=()=>{null!=p&&r.set(p,_o(n.subTree))};return Eo(g),Io(g),Oo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=_o(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&X(l.component.bda),yo(l);const e=l.component.da;e&&xr(e,a)}}))})),()=>{if(p=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!jr(o)||!(4&o.shapeFlag)&&!Fn(o.type))return i=null,o;let s=_o(o);const a=s.type,l=bo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ho(c,l))||u&&l&&ho(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=Wr(s),Fn(o.type)&&(o.ssContent=s)),p=d,f&&(s.el=f.el,s.component=f.component,s.transition&&no(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Fn(o.type)?o:s}}},fo=uo;function ho(e,t){return E(e)?e.some((e=>ho(e,t))):M(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function po(e,t){mo(e,"a",t)}function go(e,t){mo(e,"da",t)}function mo(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,To(t,o,n),n){let e=n.parent;for(;e&&e.parent;)lo(e.parent.vnode)&&vo(o,t,n,e),e=e.parent}}function vo(e,t,n,o){const r=To(t,e,o,!0);Mo((()=>{T(o[t],r)}),n)}function yo(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function _o(e){return Fn(e.type)?e.ssContent:e}function bo(e,t){if("name"===t){const t=e.type;return ui(io(e)?t.__asyncResolved||{}:t)}return String(e.key)}function wo(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function xo(e){e.forEach((e=>e.__called=!1))}function To(e,t,n=ti,o=!1){if(n){if(r=e,be.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return we.indexOf(e)>-1}(e))){const o=n.proxy;rn(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;qe(),oi(n);const r=rn(t,n,e,o);return ri(),He(),r});return o?i.unshift(s):i.push(s),s}var r}const So=e=>(t,n=ti)=>(!si||"sp"===e)&&To(e,t,n),ko=So("bm"),Eo=So("m"),Co=So("bu"),Io=So("u"),Oo=So("bum"),Mo=So("um"),Po=So("sp"),Ao=So("rtg"),$o=So("rtc");function Lo(e,t=ti){To("ec",e,t)}function Ro(e,t){const n=An;if(null===n)return e;const o=ci(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,n,s,a=g]=t[i];O(e)&&(e={mounted:e,updated:e}),e.deep&&Gn(n),r.push({dir:e,instance:o,value:n,oldValue:void 0,arg:s,modifiers:a})}return e}function Bo(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&&(qe(),rn(l,n,8,[e.el,a,e,t]),He())}}function No(e,t){return Fo("components",e,!0,t)||e}const jo=Symbol();function Do(e){return M(e)?Fo("components",e,!1)||e:e||jo}function Fo(e,t,n=!0,o=!1){const r=An||ti;if(r){const n=r.type;if("components"===e){const e=ui(n,!1);if(e&&(e===t||e===V(t)||e===z(V(t))))return n}const i=Vo(r[e]||n[e],t)||Vo(r.appContext[e],t);return!i&&o?n:i}}function Vo(e,t){return e&&(e[t]||e[V(t)]||e[z(V(t))])}function qo(e,t,n,o){let r;const i=n&&n[o];if(E(e)||M(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&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(A(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 Ho(e,t,n={},o,r){if(An.isCE||An.parent&&io(An.parent)&&An.parent.isCE)return zr("slot","default"===t?null:{name:t},o&&o());let i=e[t];i&&i._c&&(i._d=!1),Ar();const s=i&&zo(i(n)),a=Nr(Er,{key:n.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 zo(e){return e.some((e=>!jr(e)||e.type!==Ir&&!(e.type===Er&&!zo(e.children))))?e:null}const Wo=e=>e?ii(e)?ci(e)||e.proxy:Wo(e.parent):null,Uo=x(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=>Wo(e.parent),$root:e=>Wo(e.root),$emit:e=>e.emit,$options:e=>Zo(e),$forceUpdate:e=>e.f||(e.f=()=>wn(e.update)),$nextTick:e=>e.n||(e.n=bn.bind(e.proxy)),$watch:e=>Xn.bind(e)}),Xo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(o!==g&&k(o,t))return s[t]=1,o[t];if(r!==g&&k(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&k(c,t))return s[t]=3,i[t];if(n!==g&&k(n,t))return s[t]=4,n[t];Yo&&(s[t]=0)}}const u=Uo[t];let d,f;return u?("$attrs"===t&&ze(e,0,t),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==g&&k(n,t)?(s[t]=4,n[t]):(f=l.config.globalProperties,k(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return r!==g&&k(r,t)?(r[t]=n,!0):o!==g&&k(o,t)?(o[t]=n,!0):!k(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==g&&k(e,s)||t!==g&&k(t,s)||(a=i[0])&&k(a,s)||k(o,s)||k(Uo,s)||k(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:k(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Yo=!0;function Go(e){const t=Zo(e),n=e.proxy,o=e.ctx;Yo=!1,t.beforeCreate&&Jo(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:y,beforeUnmount:_,destroyed:b,unmounted:w,render:x,renderTracked:T,renderTriggered:S,errorCaptured:k,serverPrefetch:C,expose:I,inheritAttrs:M,components:P,directives:$,filters:L}=t;if(c&&function(e,t,n=v,o=!1){E(e)&&(e=nr(e));for(const r in e){const n=e[r];let i;i=A(n)?"default"in n?qn(n.from||r,n.default,!0):qn(n.from||r):qn(n),Ut(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(c,o,null,e.appContext.config.unwrapInjectedRef),s)for(const v in s){const e=s[v];O(e)&&(o[v]=e.bind(n))}if(r){const t=r.call(n,n);A(t)&&(e.data=$t(t))}if(Yo=!0,i)for(const E in i){const e=i[E],t=O(e)?e.bind(n,n):O(e.get)?e.get.bind(n,n):v,r=!O(e)&&O(e.set)?e.set.bind(n):v,s=di({get:t,set:r});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const v in a)Ko(a[v],o,n,v);if(l){const e=O(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{Vn(t,e[t])}))}function R(e,t){E(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&Jo(u,e,"c"),R(ko,d),R(Eo,f),R(Co,h),R(Io,p),R(po,g),R(go,m),R(Lo,k),R($o,T),R(Ao,S),R(Oo,_),R(Mo,w),R(Po,C),E(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===v&&(e.render=x),null!=M&&(e.inheritAttrs=M),P&&(e.components=P),$&&(e.directives=$);const B=e.appContext.config.globalProperties.$applyOptions;B&&B(t,e,n)}function Jo(e,t,n){rn(E(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ko(e,t,n,o){const r=o.includes(".")?Yn(n,o):()=>n[o];if(M(e)){const n=t[e];O(n)&&Wn(r,n)}else if(O(e))Wn(r,e.bind(n));else if(A(e))if(E(e))e.forEach((e=>Ko(e,t,n,o)));else{const o=O(e.handler)?e.handler.bind(n):t[e.handler];O(o)&&Wn(r,o,e)}}function Zo(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=>Qo(l,e,s,!0))),Qo(l,t,s)):l=t,i.set(t,l),l}function Qo(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Qo(e,i,n,!0),r&&r.forEach((t=>Qo(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=er[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const er={data:tr,props:rr,emits:rr,methods:rr,computed:rr,beforeCreate:or,created:or,beforeMount:or,mounted:or,beforeUpdate:or,updated:or,beforeDestroy:or,beforeUnmount:or,destroyed:or,unmounted:or,activated:or,deactivated:or,errorCaptured:or,serverPrefetch:or,components:rr,directives:rr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=x(Object.create(null),e);for(const o in t)n[o]=or(e[o],t[o]);return n},provide:tr,inject:function(e,t){return rr(nr(e),nr(t))}};function tr(e,t){return t?e?function(){return x(O(e)?e.call(this,this):e,O(t)?t.call(this,this):t)}:t:e}function nr(e){if(E(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function or(e,t){return e?[...new Set([].concat(e,t))]:t}function rr(e,t){return e?x(x(Object.create(null),e),t):t}function ir(e,t,n,o=!1){const r={},i={};Y(i,Fr,1),e.propsDefaults=Object.create(null),sr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Rt(r,!1,st,Et,Ot):e.type.props?e.props=r:e.props=i,e.attrs=i}function sr(e,t,n,o){const[r,i]=e.propsOptions;let s,a=!1;if(t)for(let l in t){if(j(l))continue;const c=t[l];let u;r&&k(r,u=V(l))?i&&i.includes(u)?(s||(s={}))[u]=c:n[u]=c:Pn(e.emitsOptions,l)||l in o&&c===o[l]||(o[l]=c,a=!0)}if(i){const t=Ft(n),o=s||g;for(let s=0;s<i.length;s++){const a=i[s];n[a]=ar(r,t,a,o[a],e,!k(o,a))}}return a}function ar(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=k(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&O(e)){const{propsDefaults:i}=r;n in i?o=i[n]:(oi(r),o=i[n]=e.call(null,t),ri())}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==H(n)||(o=!0))}return o}function lr(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,s={},a=[];let l=!1;if(!O(e)){const o=e=>{l=!0;const[n,o]=lr(e,t,!0);x(s,n),o&&a.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!l)return o.set(e,m),m;if(E(i))for(let u=0;u<i.length;u++){const e=V(i[u]);cr(e)&&(s[e]=g)}else if(i)for(const u in i){const e=V(u);if(cr(e)){const t=i[u],n=s[e]=E(t)||O(t)?{type:t}:t;if(n){const t=fr(Boolean,n.type),o=fr(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||k(n,"default"))&&a.push(e)}}}const c=[s,a];return o.set(e,c),c}function cr(e){return"$"!==e[0]}function ur(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function dr(e,t){return ur(e)===ur(t)}function fr(e,t){return E(t)?t.findIndex((t=>dr(t,e))):O(t)&&dr(t,e)?0:-1}const hr=e=>"_"===e[0]||"$stable"===e,pr=e=>E(e)?e.map(Yr):[Yr(e)],gr=(e,t,n)=>{if(t._n)return t;const o=Rn(((...e)=>pr(t(...e))),n);return o._c=!1,o},mr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(hr(r))continue;const n=e[r];if(O(n))t[r]=gr(0,n,o);else if(null!=n){const e=pr(n);t[r]=()=>e}}},vr=(e,t)=>{const n=pr(t);e.slots.default=()=>n};function yr(){return{app:null,config:{isNativeTag:y,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 _r=0;function br(e,t){return function(n,o=null){O(n)||(n=Object.assign({},n)),null==o||A(o)||(o=null);const r=yr(),i=new Set;let s=!1;const a=r.app={_uid:_r++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:hi,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&O(e.install)?(i.add(e),e.install(a,...t)):O(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=zr(n,o);return u.appContext=r,l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,ci(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a)};return a}}function wr(e,t,n,o,r=!1){if(E(e))return void e.forEach(((e,i)=>wr(e,t&&(E(t)?t[i]:t),n,o,r)));if(io(o)&&!r)return;const i=4&o.shapeFlag?ci(o.component)||o.component.proxy:o.el,s=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===g?a.refs={}:a.refs,d=a.setupState;if(null!=c&&c!==l&&(M(c)?(u[c]=null,k(d,c)&&(d[c]=null)):Ut(c)&&(c.value=null)),O(l))on(l,a,12,[s,u]);else{const t=M(l),o=Ut(l);if(t||o){const a=()=>{if(e.f){const n=t?u[l]:l.value;r?E(n)&&T(n,i):E(n)?n.includes(i)||n.push(i):t?(u[l]=[i],k(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,k(d,l)&&(d[l]=s)):o&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,xr(a,n)):a()}}}const xr=function(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Tn(e,gn,pn,mn)};function Tr(e){return function(e,t){(J||(J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=v,cloneNode:p,insertStaticContent:y}=e,_=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Dr(e,t)&&(o=ne(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 Cr:b(e,t,n,o);break;case Ir:w(e,t,n,o);break;case Or:null==e&&T(t,n,o,s);break;case Er:R(e,t,n,o,r,i,s,a,l);break;default:1&d?C(e,t,n,o,r,i,s,a,l):6&d?B(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&&wr(u,e&&e.ref,i,t||e,!t)},b=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},w=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o,e.el,e.anchor)},S=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},C=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?I(t,n,o,r,i,s,a,l):P(e,t,r,i,s,a,l)},I=(e,t,o,i,a,l,c,d)=>{let f,h;const{type:g,props:m,shapeFlag:v,transition:y,patchFlag:_,dirs:b}=e;if(e.el&&void 0!==p&&-1===_)f=e.el=p(e.el);else{if(f=e.el=s(e.type,l,m&&m.is,m),8&v?u(f,e.children):16&v&&M(e.children,f,null,i,a,l&&"foreignObject"!==g,c,d),b&&Bo(e,null,i,"created"),m){for(const t in m)"value"===t||j(t)||r(f,t,null,m[t],l,e.children,i,a,te);"value"in m&&r(f,"value",null,m.value),(h=m.onVnodeBeforeMount)&&Zr(h,i,e)}O(f,e,e.scopeId,c,i)}Object.defineProperty(f,"__vueParentComponent",{value:i,enumerable:!1}),b&&Bo(e,null,i,"beforeMount");const w=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(f),n(f,t,o),((h=m&&m.onVnodeMounted)||w||b)&&xr((()=>{h&&Zr(h,i,e),w&&y.enter(f),b&&Bo(e,null,i,"mounted")}),a)},O=(e,t,n,o,r)=>{if(n&&h(e,n),o)for(let i=0;i<o.length;i++)h(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;O(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},M=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Gr(e[c]):Yr(e[c]);_(null,l,t,n,o,r,i,s,a)}},P=(e,t,n,o,s,a,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:h}=t;d|=16&e.patchFlag;const p=e.props||g,m=t.props||g;let v;n&&Sr(n,!1),(v=m.onVnodeBeforeUpdate)&&Zr(v,n,t,e),h&&Bo(t,e,n,"beforeUpdate"),n&&Sr(n,!0);const y=s&&"foreignObject"!==t.type;if(f?A(e.dynamicChildren,f,c,n,o,y,a):l||z(e,t,c,null,n,o,y,a,!1),d>0){if(16&d)L(c,t,p,m,n,o,s);else if(2&d&&p.class!==m.class&&r(c,"class",null,m.class,s),4&d&&r(c,"style",p.style,m.style,s),8&d){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const l=a[t],u=p[l],d=m[l];(d!==u||"value"===l||i&&i(c,l))&&r(c,l,u,d,s,e.children,n,o,te)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=f||L(c,t,p,m,n,o,s);((v=m.onVnodeUpdated)||h)&&xr((()=>{v&&Zr(v,n,t,e),h&&Bo(t,e,n,"updated")}),o)},A=(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===Er||!Dr(l,c)||70&l.shapeFlag)?d(l.el):n;_(l,c,u,null,o,r,i,s,!0)}},L=(e,t,n,o,s,a,l)=>{if(n!==o){for(const c in o){if(j(c))continue;const u=o[c],d=n[c];(u!==d&&"value"!==c||i&&i(e,c))&&r(e,c,d,u,l,t.children,s,a,te)}if(n!==g)for(const i in n)j(i)||i in o||r(e,i,n[i],null,l,t.children,s,a,te);"value"in o&&r(e,"value",n.value,o.value)}},R=(e,t,o,r,i,s,l,c,u)=>{const d=t.el=e?e.el:a(""),f=t.anchor=e?e.anchor:a("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(d,o,r),n(f,o,r),M(t.children,o,f,i,s,l,c,u)):h>0&&64&h&&p&&e.dynamicChildren?(A(e.dynamicChildren,p,o,i,s,l,c),(null!=t.key||i&&t===i.subTree)&&kr(e,t,!0)):z(e,t,o,f,i,s,l,c,u)},B=(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):N(t,n,o,r,i,s,l):D(e,t,l)},N=(e,t,n,o,r,i,s)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Qr,i={uid:ei++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ce(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lr(o,r),emitsOptions:Mn(o,r),emit:null,emitted:null,propsDefaults:g,inheritAttrs:o.inheritAttrs,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,setupContext: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};i.ctx={_:i},i.root=t?t.root:i,i.emit=In.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i);return i}(e,o,r);if(lo(e)&&(a.ctx.renderer=re),function(e,t=!1){si=t;const{props:n,children:o}=e.vnode,r=ii(e);ir(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ft(t),Y(t,"_",n)):mr(t,e.slots={})}else e.slots={},t&&vr(e,t);Y(e.slots,Fr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Vt(new Proxy(e.ctx,Xo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ze(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;oi(e),qe();const r=on(o,e,0,[e.props,n]);if(He(),ri(),$(r)){if(r.then(ri,ri),t)return r.then((n=>{ai(e,n,t)})).catch((t=>{sn(t,e,0)}));e.asyncDep=r}else ai(e,r,t)}else li(e,t)}(e,t):void 0;si=!1}(a),a.asyncDep){if(r&&r.registerDep(a,F),!e.el){const e=a.subTree=zr(Ir);w(null,e,t,n)}}else F(a,e,t,n,r,i,s)},D=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Dn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Dn(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]&&!Pn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void q(o,t,n);o.next=t,function(e){const t=cn.indexOf(e);t>un&&cn.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},F=(e,t,n,o,r,i,s)=>{const a=()=>{if(e.isMounted){let t,{next:n,bu:o,u:a,parent:l,vnode:c}=e,u=n;Sr(e,!1),n?(n.el=c.el,q(e,n,s)):n=c,o&&X(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Zr(t,l,n,c),Sr(e,!0);const f=Bn(e),h=e.subTree;e.subTree=f,_(h,f,d(h.el),ne(h),e,r,i),n.el=f.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,f.el),a&&xr(a,r),(t=n.props&&n.props.onVnodeUpdated)&&xr((()=>Zr(t,l,n,c)),r)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=io(t);if(Sr(e,!1),c&&X(c),!f&&(s=l&&l.onVnodeBeforeMount)&&Zr(s,d,t),Sr(e,!0),a&&se){const n=()=>{e.subTree=Bn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=Bn(e);_(null,s,n,o,e,r,i),t.el=s.el}if(u&&xr(u,r),!f&&(s=l&&l.onVnodeMounted)){const e=t;xr((()=>Zr(s,d,e)),r)}const{ba:h,a:p}=e;(256&t.shapeFlag||d&&io(d.vnode)&&256&d.vnode.shapeFlag)&&(h&&wo(h),p&&xr(p,r),h&&xr((()=>xo(h)),r)),e.isMounted=!0,t=n=o=null}},l=e.effect=new je(a,(()=>wn(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,Sr(e,!0),c()},q=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Ft(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;sr(e,t,r,i)&&(c=!0);for(const i in a)t&&(k(t,i)||(o=H(i))!==i&&k(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&&k(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(Pn(e.emitsOptions,s))continue;const u=t[s];if(l)if(k(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=V(s);r[t]=ar(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&Ue(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=g;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(x(r,t),n||1!==e||delete r._):(i=!t.$stable,mr(t,r)),s=t}else t&&(vr(e,t),s={default:1});if(i)for(const a in r)hr(a)||a in s||delete r[a]})(e,t.children,n),qe(),Sn(void 0,e.update),He()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void U(c,f,n,o,r,i,s,a,l);if(256&h)return void W(c,f,n,o,r,i,s,a,l)}8&p?(16&d&&te(c,r,i),f!==c&&u(n,f)):16&d?16&p?U(c,f,n,o,r,i,s,a,l):te(c,r,i,!0):(8&d&&u(n,""),16&p&&M(f,n,o,r,i,s,a,l))},W=(e,t,n,o,r,i,s,a,l)=>{t=t||m;const c=(e=e||m).length,u=t.length,d=Math.min(c,u);let f;for(f=0;f<d;f++){const o=t[f]=l?Gr(t[f]):Yr(t[f]);_(e[f],o,n,null,r,i,s,a,l)}c>u?te(e,r,i,!0,!1,d):M(t,n,o,r,i,s,a,l,d)},U=(e,t,n,o,r,i,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,f=u-1;for(;c<=d&&c<=f;){const o=e[c],u=t[c]=l?Gr(t[c]):Yr(t[c]);if(!Dr(o,u))break;_(o,u,n,null,r,i,s,a,l),c++}for(;c<=d&&c<=f;){const o=e[d],c=t[f]=l?Gr(t[f]):Yr(t[f]);if(!Dr(o,c))break;_(o,c,n,null,r,i,s,a,l),d--,f--}if(c>d){if(c<=f){const e=f+1,d=e<u?t[e].el:o;for(;c<=f;)_(null,t[c]=l?Gr(t[c]):Yr(t[c]),n,d,r,i,s,a,l),c++}}else if(c>f)for(;c<=d;)K(e[c],r,i,!0),c++;else{const h=c,p=c,g=new Map;for(c=p;c<=f;c++){const e=t[c]=l?Gr(t[c]):Yr(t[c]);null!=e.key&&g.set(e.key,c)}let v,y=0;const b=f-p+1;let w=!1,x=0;const T=new Array(b);for(c=0;c<b;c++)T[c]=0;for(c=h;c<=d;c++){const o=e[c];if(y>=b){K(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=p;v<=f;v++)if(0===T[v-p]&&Dr(o,t[v])){u=v;break}void 0===u?K(o,r,i,!0):(T[u-p]=c+1,u>=x?x=u:w=!0,_(o,t[u],n,null,r,i,s,a,l),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):m;for(v=S.length-1,c=b-1;c>=0;c--){const e=p+c,d=t[e],f=e+1<u?t[e+1].el:o;0===T[c]?_(null,d,n,f,r,i,s,a,l):w&&(v<0||c!==S[v]?G(d,n,f,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===Er){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===Or)return void S(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),xr((()=>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:f}=e;if(null!=a&&wr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,p=!io(e);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&Zr(g,t,e),6&u)ee(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&Bo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Er||d>0&&64&d)?te(c,t,n,!1,!0):(i===Er&&384&d||!r&&16&u)&&te(l,t,n),o&&Z(e)}(p&&(g=s&&s.onVnodeUnmounted)||h)&&xr((()=>{g&&Zr(g,t,e),h&&Bo(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Er)return void Q(n,r);if(t===Or)return void E(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},Q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},ee=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&X(o),r.stop(),i&&(i.active=!1,K(s,e,t,n)),a&&xr(a,t),xr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},te=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)K(e[s],t,n,o,r)},ne=e=>6&e.shapeFlag?ne(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),oe=(e,t,n)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),kn(),t._vnode=e},re={p:_,um:K,m:G,r:Z,mt:N,mc:M,pc:z,pbc:A,n:ne,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:br(oe,ie)}}(e)}function Sr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kr(e,t,n=!1){const o=e.children,r=t.children;if(E(o)&&E(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]=Gr(r[i]),t.el=e.el),n||kr(e,t))}}const Er=Symbol(void 0),Cr=Symbol(void 0),Ir=Symbol(void 0),Or=Symbol(void 0),Mr=[];let Pr=null;function Ar(e=!1){Mr.push(Pr=e?null:[])}let $r=1;function Lr(e){$r+=e}function Rr(e){return e.dynamicChildren=$r>0?Pr||m:null,Mr.pop(),Pr=Mr[Mr.length-1]||null,$r>0&&Pr&&Pr.push(e),e}function Br(e,t,n,o,r,i){return Rr(Hr(e,t,n,o,r,i,!0))}function Nr(e,t,n,o,r){return Rr(zr(e,t,n,o,r,!0))}function jr(e){return!!e&&!0===e.__v_isVNode}function Dr(e,t){return e.type===t.type&&e.key===t.key}const Fr="__vInternal",Vr=({key:e})=>null!=e?e:null,qr=({ref:e,ref_key:t,ref_for:n})=>null!=e?M(e)||Ut(e)||O(e)?{i:An,r:e,k:t,f:!!n}:e:null;function Hr(e,t=null,n=null,o=0,r=null,i=(e===Er?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vr(t),ref:t&&qr(t),scopeId:$n,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};return a?(Jr(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=M(n)?8:16),$r>0&&!s&&Pr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Pr.push(l),l}const zr=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==jo||(e=Ir);if(jr(e)){const o=Wr(e,t,!0);return n&&Jr(o,n),$r>0&&!i&&Pr&&(6&o.shapeFlag?Pr[Pr.indexOf(e)]=o:Pr.push(o)),o.patchFlag|=-2,o}s=e,O(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Dt(e)||Fr in e?x({},e):e:null}(t);let{class:e,style:n}=t;e&&!M(e)&&(t.class=f(e)),A(n)&&(Dt(n)&&!E(n)&&(n=x({},n)),t.style=l(n))}const a=M(e)?1:Fn(e)?128:(e=>e.__isTeleport)(e)?64:A(e)?4:O(e)?2:0;return Hr(e,t,n,o,r,a,i,!0)};function Wr(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?Kr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Vr(a),ref:t&&t.ref?n&&r?E(r)?r.concat(qr(t)):[r,qr(t)]:qr(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!==Er?-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&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor}}function Ur(e=" ",t=0){return zr(Cr,null,e,t)}function Xr(e="",t=!1){return t?(Ar(),Nr(Ir,null,e)):zr(Ir,null,e)}function Yr(e){return null==e||"boolean"==typeof e?zr(Ir):E(e)?zr(Er,null,e.slice()):"object"==typeof e?Gr(e):zr(Cr,null,String(e))}function Gr(e){return null===e.el||e.memo?e:Wr(e)}function Jr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Jr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Fr in t?3===o&&An&&(1===An.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=An}}else O(t)?(t={default:t,_ctx:An},n=32):(t=String(t),64&o?(n=16,t=[Ur(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kr(...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=f([t.class,o.class]));else if("style"===e)t.style=l([t.style,o.style]);else if(b(e)){const n=t[e],r=o[e];!r||n===r||E(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Zr(e,t,n,o=null){rn(e,t,7,[n,o])}const Qr=yr();let ei=0;let ti=null;const ni=()=>ti||An,oi=e=>{ti=e,e.scope.on()},ri=()=>{ti&&ti.scope.off(),ti=null};function ii(e){return 4&e.vnode.shapeFlag}let si=!1;function ai(e,t,n){O(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:A(t)&&(e.setupState=Qt(t)),li(e,n)}function li(e,t,n){const o=e.type;e.render||(e.render=o.render||v),oi(e),qe(),Go(e),He(),ri()}function ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qt(Vt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Uo?Uo[n](e):void 0}))}function ui(e,t=!0){return O(e)?e.displayName||e.name:e.name||t&&e.__name}const di=(e,t)=>function(e,t,n=!1){let o,r;const i=O(e);return i?(o=e,r=v):(o=e.get,r=e.set),new nn(o,r,i||!r,n)}(e,0,si);function fi(e,t,n){const o=arguments.length;return 2===o?A(t)&&!E(t)?jr(t)?zr(e,null,[t]):zr(e,t):zr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&jr(n)&&(n=[n]),zr(e,t,n))}const hi="3.2.37",pi="undefined"!=typeof document?document:null,gi=pi&&pi.createElement("template"),mi={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=t?pi.createElementNS("http://www.w3.org/2000/svg",e):pi.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>pi.createTextNode(e),createComment:e=>pi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),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{gi.innerHTML=o?`<svg>${e}</svg>`:e;const r=gi.content;if(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]}};const vi=/\s*!important$/;function yi(e,t,n){if(E(n))n.forEach((n=>yi(e,t,n)));else if(null==n&&(n=""),n=xi(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=bi[t];if(n)return n;let o=V(t);if("filter"!==o&&o in e)return bi[t]=o;o=z(o);for(let r=0;r<_i.length;r++){const n=_i[r]+o;if(n in e)return bi[t]=n}return t}(e,t);vi.test(n)?e.setProperty(H(o),n.replace(vi,""),"important"):e[o]=n}}const _i=["Webkit","Moz","ms"],bi={};const wi=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,xi=e=>"function"!=typeof rpx2px?e:M(e)?e.replace(wi,((e,t)=>rpx2px(t)+"px")):e,Ti="http://www.w3.org/1999/xlink";const[Si,ki]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ei=0;const Ci=Promise.resolve(),Ii=()=>{Ei=0};function Oi(e,t,n,o,r=null){const i=e._vei||(e._vei={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Mi.test(e)){let n;for(t={};n=e.match(Mi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[H(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{const o=e.timeStamp||Si();if(ki||o>=n.attached-1){const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&E(i)){const n=Pi(e,i);for(let o=0;o<n.length;o++){const i=n[o];rn(i,t,5,i.__wwe?[e]:r(e))}return}rn(Pi(e,i),t,5,r&&!i.__wwe?r(e,i,t):[e])}};return n.value=e,n.attached=(()=>Ei||(Ci.then(Ii),Ei=Si()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Mi=/(?:Once|Passive|Capture)$/;function Pi(e,t){if(E(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 Ai=/^on[a-z]/;const $i="transition",Li=(e,{slots:t})=>fi(Kn,function(e){const t={};for(const x in e)x in Ri||(t[x]=e[x]);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:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=function(e){if(null==e)return null;if(A(e))return[ji(e.enter),ji(e.leave)];{const t=ji(e);return[t,t]}}(r),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:w,onBeforeAppear:T=v,onAppear:S=y,onAppearCancelled:k=_}=t,E=(e,t,n)=>{Fi(e,t?u:a),Fi(e,t?c:s),n&&n()},C=(e,t)=>{e._isLeaving=!1,Fi(e,d),Fi(e,h),Fi(e,f),t&&t()},I=e=>(t,n)=>{const r=e?S:y,s=()=>E(t,e,n);Bi(r,[t,s]),Vi((()=>{Fi(t,e?l:i),Di(t,e?u:a),Ni(r)||Hi(t,o,g,s)}))};return x(t,{onBeforeEnter(e){Bi(v,[e]),Di(e,i),Di(e,s)},onBeforeAppear(e){Bi(T,[e]),Di(e,l),Di(e,c)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>C(e,t);Di(e,d),document.body.offsetHeight,Di(e,f),Vi((()=>{e._isLeaving&&(Fi(e,d),Di(e,h),Ni(b)||Hi(e,o,m,n))})),Bi(b,[e,n])},onEnterCancelled(e){E(e,!1),Bi(_,[e])},onAppearCancelled(e){E(e,!0),Bi(k,[e])},onLeaveCancelled(e){C(e),Bi(w,[e])}})}(e),t);Li.displayName="Transition";const Ri={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};Li.props=x({},Kn.props,Ri);const Bi=(e,t=[])=>{E(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ni=e=>!!e&&(E(e)?e.some((e=>e.length>1)):e.length>1);function ji(e){return G(e)}function Di(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Fi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Vi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let qi=0;function Hi(e,t,n,o){const r=e._endId=++qi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=zi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=zi(a,l);let u=null,d=0,f=0;t===$i?s>0&&(u=$i,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?$i:"animation":null,f=u?u===$i?i.length:l.length:0);const h=u===$i&&/\b(transform|all)(,|$)/.test(n.transitionProperty);return{type:u,timeout:d,propCount:f,hasTransform:h}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,f)}function zi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Wi(t)+Wi(e[n]))))}function Wi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const Ui=["ctrl","shift","alt","meta"],Xi={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)=>Ui.some((n=>e[`${n}Key`]&&!t.includes(n)))},Yi=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=Xi[t[e]];if(o&&o(n,t))return}return e(n,...o)},Gi={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ji(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),Ji(e,!0),o.enter(e)):o.leave(e,(()=>{Ji(e,!1)})):Ji(e,t))},beforeUnmount(e,{value:t}){Ji(e,t)}};function Ji(e,t){e.style.display=t?e._vod:"none"}const Ki=x({patchProp:(e,t,n,o,r=!1,a,l,c,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;bn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,l);"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._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,r):"style"===t?function(e,t,n){const o=e.style,r=M(n);if(n&&!r){for(const e in n)yi(o,e,n[e]);if(t&&!M(t))for(const e in t)null==n[e]&&yi(o,e,"")}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}const{__wxsStyle:i}=e;if(i)for(const s in i)yi(o,s,i[s])}(e,n,o):b(t)?w(t)||Oi(e,t,0,o,l):("."===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&&Ai.test(t)&&O(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(Ai.test(t)&&M(n))return!1;return t in e}(e,t,o,r))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=s(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(nw){}l&&e.removeAttribute(t)}(e,t,o,a,l,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ti,t.slice(6,t.length)):e.setAttributeNS(Ti,t,n);else{const o=i(t);null==n||o&&!s(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},mi);let Zi;const Qi=(...e)=>{const t=(Zi||(Zi=Tr(Ki))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(M(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;O(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const es=["{","}"];const ts=/^(?:\d)+/,ns=/^(?:\w)+/;const os=Object.prototype.hasOwnProperty,rs=(e,t)=>os.call(e,t),is=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=es){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=ts.test(t)?"list":a&&ns.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 ss(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;const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,["en","fr","es"]);return o||void 0}class as{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||is,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ss(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=>{rs(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=ss(t,this.messages))&&(o=this.messages[t]):n=t,rs(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 ls(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&Pd?Pd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new as({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Bp().$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 cs(e,t){return e.indexOf(t[0])>-1}
/*!
* vue-router v4.1.4
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const us="undefined"!=typeof window;const ds=Object.assign;function fs(e,t){const n={};for(const o in t){const r=t[o];n[o]=ps(r)?r.map(e):e(r)}return n}const hs=()=>{},ps=Array.isArray,gs=/\/$/;function ms(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("/");let r,i,s=n.length-1;for(r=0;r<o.length;r++)if(i=o[r],"."!==i){if(".."!==i)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:s}}function vs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ys(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!bs(e[n],t[n]))return!1;return!0}function bs(e,t){return ps(e)?ws(e,t):ps(t)?ws(t,e):e===t}function ws(e,t){return ps(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var xs,Ts,Ss,ks;function Es(e){if(!e)if(us){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(gs,"")}(Ts=xs||(xs={})).pop="pop",Ts.push="push",(ks=Ss||(Ss={})).back="back",ks.forward="forward",ks.unknown="";const Cs=/^[^#]+#/;function Is(e,t){return e.replace(Cs,"#")+t}const Os=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ms(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.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function Ps(e,t){return(history.state?history.state.position-t:-1)+e}const As=new Map;function $s(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),vs(n,"")}return vs(n,e)+o+r}function Ls(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Os():null}}function Rs(e){const{history:t,location:n}=window,o={value:$s(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=ds({},r.value,t.state,{forward:e,scroll:Os()});i(s.current,s,!0),i(e,ds({},Ls(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,ds({},t.state,Ls(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Bs(e){const t=Rs(e=Es(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=$s(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:xs.pop,direction:u?u>0?Ss.forward:Ss.back:Ss.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ds({},e.state,{scroll:Os()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l),{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=ds({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Is.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 Ns(e){return"string"==typeof e||"symbol"==typeof e}const js={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ds=Symbol("");var Fs,Vs;function qs(e,t){return ds(new Error,{type:e,[Ds]:!0},t)}function Hs(e,t){return e instanceof Error&&Ds in e&&(null==t||!!(e.type&t))}(Vs=Fs||(Fs={}))[Vs.aborted=4]="aborted",Vs[Vs.cancelled=8]="cancelled",Vs[Vs.duplicated=16]="duplicated";const zs={sensitive:!1,strict:!1,start:!0,end:!0},Ws=/[.+*?^${}()[\]/\\]/g;function Us(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 Xs(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=Us(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Ys(o))return 1;if(Ys(r))return-1}return r.length-o.length}function Ys(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gs={type:0,value:""},Js=/[a-zA-Z0-9_]/;function Ks(e,t,n){const o=function(e,t){const n=ds({},zs,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(Ws,"\\$&"),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 f=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(f=c&&l.length<2?`(?:/${f})`:"/"+f),c&&(f+="?"),r+=f,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(ps(l)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=ps(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[[Gs]];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 f(){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):f();break;case 4:f(),n=o;break;case 1:"("===a?n=2:Js.test(a)?f():(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=ds(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Zs(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:ea(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=oa(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(ds({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,f;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=Ks(t,n,c),o?o.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!ta(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,s(d)}return f?()=>{i(f)}:hs}function i(e){if(Ns(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&&Xs(e,n[t])>=0&&(e.record.path!==n[t].record.path||!ra(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!ta(e)&&o.set(e.record.name,e)}return t=oa({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 qs(1,{location:e});s=r.record.name,a=ds(Qs(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&Qs(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if("path"in e)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 qs(1,{location:e,currentLocation:t});s=r.record.name,a=ds({},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:na(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Qs(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function ea(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function ta(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function na(e){return e.reduce(((e,t)=>ds(e,t.meta)),{})}function oa(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ra(e,t){return t.children.some((t=>t===e||ra(e,t)))}const ia=/#/g,sa=/&/g,aa=/\//g,la=/=/g,ca=/\?/g,ua=/\+/g,da=/%5B/g,fa=/%5D/g,ha=/%5E/g,pa=/%60/g,ga=/%7B/g,ma=/%7C/g,va=/%7D/g,ya=/%20/g;function _a(e){return encodeURI(""+e).replace(ma,"|").replace(da,"[").replace(fa,"]")}function ba(e){return _a(e).replace(ua,"%2B").replace(ya,"+").replace(ia,"%23").replace(sa,"%26").replace(pa,"`").replace(ga,"{").replace(va,"}").replace(ha,"^")}function wa(e){return null==e?"":function(e){return _a(e).replace(ia,"%23").replace(ca,"%3F")}(e).replace(aa,"%2F")}function xa(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ta(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(ua," "),r=e.indexOf("="),i=xa(r<0?e:e.slice(0,r)),s=r<0?null:xa(e.slice(r+1));if(i in t){let e=t[i];ps(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Sa(e){let t="";for(let n in e){const o=e[n];if(n=ba(n).replace(la,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(ps(o)?o.map((e=>e&&ba(e))):[o&&ba(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function ka(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ps(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ea=Symbol(""),Ca=Symbol(""),Ia=Symbol(""),Oa=Symbol(""),Ma=Symbol("");function Pa(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Aa(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,a)=>{const l=e=>{var l;!1===e?a(qs(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(l=e)||l&&"object"==typeof l?a(qs(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),s())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>a(e)))}))}function $a(e,t,n,o){const r=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(i=a)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(a.__vccOpts||a)[t];i&&r.push(Aa(i,n,o,s,e))}else{let i=a();r.push((()=>i.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const i=(a=r).__esModule||"Module"===a[Symbol.toStringTag]?r.default:r;var a;s.components[e]=i;const l=(i.__vccOpts||i)[t];return l&&Aa(l,n,o,s,e)()}))))}}var i;return r}function La(e){const t=qn(Ia),n=qn(Oa),o=di((()=>t.resolve(Kt(e.to)))),r=di((()=>{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(ys.bind(null,r));if(s>-1)return s;const a=Ba(e[t-2]);return t>1&&Ba(r)===a&&i[i.length-1].path!==a?i.findIndex(ys.bind(null,e[t-2])):s})),i=di((()=>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(!ps(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=di((()=>r.value>-1&&r.value===n.matched.length-1&&_s(n.params,o.value.params)));return{route:o,href:di((()=>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[Kt(e.replace)?"replace":"push"](Kt(e.to)).catch(hs):Promise.resolve()}}}const Ra=ro({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:La,setup(e,{slots:t}){const n=$t(La(e)),{options:o}=qn(Ia),r=di((()=>({[Na(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Na(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ba(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Na=(e,t,n)=>null!=e?e:null!=t?t:n;function ja(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Da=ro({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=qn(Ma),r=di((()=>e.route||o.value)),i=qn(Ca,0),s=di((()=>{let e=Kt(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=di((()=>r.value.matched[s.value]));Vn(Ca,di((()=>s.value+1))),Vn(Ea,a),Vn(Ma,r);const l=Xt();return Wn((()=>[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&&ys(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 ja(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=fi(c,ds({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return ja(n.default,{Component:f,route:o})||f}}});function Fa(e){const t=Zs(e.routes,e),n=e.parseQuery||Ta,o=e.stringifyQuery||Sa,r=e.history,i=Pa(),s=Pa(),a=Pa(),l=Yt(js);let c=js;us&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=fs.bind(null,(e=>""+e)),d=fs.bind(null,wa),f=fs.bind(null,xa);function h(e,i){if(i=ds({},i||l.value),"string"==typeof e){const o=ms(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return ds(o,s,{params:f(s.params),hash:xa(o.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=ds({},e,{path:ms(n,e.path,i.path).path});else{const t=ds({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ds({},e,{params:d(e.params)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ds({},e,{hash:(p=c,_a(p).replace(ga,"{").replace(va,"}").replace(ha,"^")),path:a.path}));var p;const g=r.createHref(h);return ds({fullPath:h,hash:c,query:o===Sa?ka(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function p(e){return"string"==typeof e?ms(n,e,l.value.path):ds({},e)}function g(e,t){if(c!==e)return qs(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=p(o):{path:o},o.params={}),ds({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function y(e,t){const n=c=h(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(ds(p(u),{state:"object"==typeof u?ds({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ys(t.matched[o],n.matched[r])&&_s(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=qs(16,{to:d,from:r}),M(r,r,!0,!1)),(f?Promise.resolve(f):b(d,r)).catch((e=>Hs(e)?Hs(e,2)?e:O(e):I(e,d,r))).then((e=>{if(e){if(Hs(e,2))return y(ds({replace:a},p(e.to),{state:"object"==typeof e.to?ds({},i,e.to.state):i,force:s}),t||d)}else e=x(d,r,!0,a,i);return w(d,r,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(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=>ys(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>ys(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=$a(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Aa(o,e,t))}));const l=_.bind(null,e,t);return n.push(l),Va(n).then((()=>{n=[];for(const o of i.list())n.push(Aa(o,e,t));return n.push(l),Va(n)})).then((()=>{n=$a(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Aa(o,e,t))}));return n.push(l),Va(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(ps(o.beforeEnter))for(const r of o.beforeEnter)n.push(Aa(r,e,t));else n.push(Aa(o.beforeEnter,e,t));return n.push(l),Va(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=$a(a,"beforeRouteEnter",e,t),n.push(l),Va(n)))).then((()=>{n=[];for(const o of s.list())n.push(Aa(o,e,t));return n.push(l),Va(n)})).catch((e=>Hs(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of a.list())o(e,t,n)}function x(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===js,c=us?history.state:{};n&&(o||a?r.replace(e.fullPath,ds({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,M(e,t,n,a),O()}let T;function S(){T||(T=r.listen(((e,t,n)=>{if(!L.listening)return;const o=h(e),i=v(o);if(i)return void y(ds(i,{replace:!0}),o).catch(hs);c=o;const s=l.value;var a,u;us&&(a=Ps(s.fullPath,n.delta),u=Os(),As.set(a,u)),b(o,s).catch((e=>Hs(e,12)?e:Hs(e,2)?(y(e.to,o).then((e=>{Hs(e,20)&&!n.delta&&n.type===xs.pop&&r.go(-1,!1)})).catch(hs),Promise.reject()):(n.delta&&r.go(-n.delta,!1),I(e,o,s)))).then((e=>{(e=e||x(o,s,!1))&&(n.delta&&!Hs(e,8)?r.go(-n.delta,!1):n.type===xs.pop&&Hs(e,20)&&r.go(-1,!1)),w(o,s,e)})).catch(hs)})))}let k,E=Pa(),C=Pa();function I(e,t,n){O(e);const o=C.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function O(e){return k||(k=!e,S(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function M(t,n,o,r){const{scrollBehavior:i}=e;if(!us||!i)return Promise.resolve();const s=!o&&function(e){const t=As.get(e);return As.delete(e),t}(Ps(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return bn().then((()=>i(t,n,s))).then((e=>e&&Ms(e))).catch((e=>I(e,t,n)))}const P=e=>r.go(e);let A;const $=new Set,L={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return Ns(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:h,options:e,push:m,replace:function(e){return m(ds(p(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:C.add,isReady:function(){return k&&l.value!==js?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ra),e.component("RouterView",Da),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Kt(l)}),us&&!A&&l.value===js&&(A=!0,m(r.location).catch((e=>{})));const t={};for(const o in js)t[o]=di((()=>l.value[o]));e.provide(Ia,this),e.provide(Oa,$t(t)),e.provide(Ma,l);const n=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(c=js,T&&T(),T=null,l.value=js,A=!1,k=!1),n()}}};return L}function Va(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function qa(){return qn(Oa)}const Ha=le((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let za;function Wa(e){return cs(e,Z)?Ya().f(e,function(){const e=Pd(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),Z):e}function Ua(e,t){if(1===t.length){if(e){const n=e[t[0]];if(M(n)&&cs(n,Z))return e}return}const n=t.shift();return Ua(e&&e[n],t)}function Xa(e,t){const n=Ua(e,t);if(!n)return!1;const o=t[t.length-1];let r=n[o];return Object.defineProperty(n,o,{get:()=>Wa(r),set(e){r=e}}),!0}function Ya(){if(!za){let e;if(e=window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,za=ls(e),Ha()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>za.add(e,__uniConfig.locales[e]))),za.setLocale(e)}}return za}function Ga(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Ja=le((()=>{const e="uni.async.",t=["error"];Ya().add("en",Ga(e,t,["The connection timed out, click the screen to try again."]),!1),Ya().add("es",Ga(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ya().add("fr",Ga(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ya().add("zh-Hans",Ga(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ya().add("zh-Hant",Ga(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Ka=le((()=>{const e="uni.showToast.",t=["unpaired"];Ya().add("en",Ga(e,t,["Please note showToast must be paired with hideToast"]),!1),Ya().add("es",Ga(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ya().add("fr",Ga(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ya().add("zh-Hans",Ga(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ya().add("zh-Hant",Ga(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Za=le((()=>{const e="uni.showLoading.",t=["unpaired"];Ya().add("en",Ga(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ya().add("es",Ga(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ya().add("fr",Ga(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ya().add("zh-Hans",Ga(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ya().add("zh-Hant",Ga(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Qa=le((()=>{const e="uni.showModal.",t=["cancel","confirm"];Ya().add("en",Ga(e,t,["Cancel","OK"]),!1),Ya().add("es",Ga(e,t,["Cancelar","OK"]),!1),Ya().add("fr",Ga(e,t,["Annuler","OK"]),!1),Ya().add("zh-Hans",Ga(e,t,["取消","确定"]),!1),Ya().add("zh-Hant",Ga(e,t,["取消","確定"]),!1)})),el=le((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ya().add("en",Ga(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ya().add("es",Ga(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ya().add("fr",Ga(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),Ya().add("zh-Hans",Ga(e,t,["文件选择器对话框只能在用户激活时显示"]),!1),Ya().add("zh-Hant",Ga(e,t,["文件選擇器對話框只能在用戶激活時顯示"]),!1)})),tl=le((()=>{const e="uni.setClipboardData.",t=["success","fail"];Ya().add("en",Ga(e,t,["Content copied","Copy failed, please copy manually"]),!1),Ya().add("es",Ga(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Ya().add("fr",Ga(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Ya().add("zh-Hans",Ga(e,t,["内容已复制","复制失败,请手动复制"]),!1),Ya().add("zh-Hant",Ga(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}));function nl(e){const t=new ke;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 ol=1;const rl=Object.create(null);function il(e,t){return e+"."+t}function sl(e,t,n){t=il(e,t),rl[t]||(rl[t]=n)}function al({id:e,name:t,args:n},o){t=il(o,t);const r=t=>{e&&Tm.publishHandler("invokeViewApi."+e,t)},i=rl[t];i?i(n,r):r({})}const ll=x(nl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Tm,i=n?ol++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),cl=fe(!0);let ul;function dl(){ul&&(clearTimeout(ul),ul=null)}let fl=0,hl=0;function pl(e){if(dl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];fl=t,hl=n,ul=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 gl(e){if(!ul)return;if(1!==e.touches.length)return dl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-fl)>10||Math.abs(n-hl)>10?dl():void 0}function ml(e,t){const n=Number(e);return isNaN(n)?t:n}function vl(){const e=__uniConfig.globalStyle||{},t=ml(e.rpxCalcMaxDeviceWidth,960),n=ml(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 yl(){vl(),ue(),window.addEventListener("touchstart",pl,cl),window.addEventListener("touchmove",gl,cl),window.addEventListener("touchend",dl,cl),window.addEventListener("touchcancel",dl,cl)}var _l,bl,wl=["top","left","right","bottom"],xl={};function Tl(){return bl="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 Sl(){if(bl="string"==typeof bl?bl:Tl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(nw){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),wl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),_l=!0}else wl.forEach((function(e){xl[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:bl+"(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){El.length||setTimeout((function(){var e={};El.forEach((function(t){e[t]=xl[t]})),El.length=0,Cl.forEach((function(t){t(e)}))}),0);El.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(xl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function kl(e){return _l||Sl(),xl[e]}var El=[];var Cl=[];var Il={get support(){return 0!=("string"==typeof bl?bl:Tl()).length},get top(){return kl("top")},get left(){return kl("left")},get right(){return kl("right")},get bottom(){return kl("bottom")},onChange:function(e){Tl()&&(_l||Sl(),"function"==typeof e&&Cl.push(e))},offChange:function(e){var t=Cl.indexOf(e);t>=0&&Cl.splice(t,1)}};const Ol=Yi((()=>{}),["prevent"]),Ml=Yi((()=>{}),["stop"]);function Pl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Al(){const e=Pl(document.documentElement.style,"--window-top");return e?e+Il.top:0}function $l(){const e=document.documentElement.style,t=Al(),n=Pl(e,"--window-bottom"),o=Pl(e,"--window-left"),r=Pl(e,"--window-right"),i=Pl(e,"--top-window-height");return{top:t,bottom:n?n+Il.bottom:0,left:o?o+Il.left:0,right:r?r+Il.right:0,topWindowHeight:i||0}}function Ll(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Rl(e){return Symbol(e)}function Bl(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Nl(e,t=!1){if(t)return function(e){if(!Bl(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>qu(parseFloat(t))+"px"))}(e);if(M(e)){const t=parseInt(e)||0;return Bl(e)?qu(t):t}return e}const jl="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",Dl="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 Fl(e,t="#000",n=27){return zr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[zr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Vl(){{const{$pageInstance:e}=ni();return e&&e.proxy.$page.id}}function ql(e){const t=te(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function Hl(){const e=vp(),t=e.length;if(t)return e[t-1]}function zl(){const e=Hl();if(e)return e.$page.meta}function Wl(){const e=zl();return e?e.id:-1}function Ul(){const e=Hl();if(e)return e.$vm}const Xl=["navigationBar","pullToRefresh"];function Yl(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=x({id:t},n,e);Xl.forEach((t=>{o[t]=x({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Gl(e,t,n){if(M(e))n=t,t=e,e=Ul();else if("number"==typeof e){const t=vp().find((t=>t.$page.id===e));e=t?t.$vm:Ul()}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 Jl(e){e.preventDefault()}let Kl,Zl=0;function Ql({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-Zl)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Zl=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(Kl=setTimeout(s,300))),o=!1};return function(){clearTimeout(Kl),o||requestAnimationFrame(s),o=!0}}function ec(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return ec(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ie(i.concat(n).join("/"))}function tc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class nc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e){const{vnode:t}=e;if(oe(t.el))return t.el;const{subTree:n}=e;if(16&n.shapeFlag){const e=n.children.find((e=>e.el&&oe(e.el)));if(e)return e.el}return t.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=sc(this.$el.querySelector(e));return t?oc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=sc(n[o]);e&&t.push(oc(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||M(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:H(n);(M(o)||"number"==typeof o&&a(r))&&(t+=`${r}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(M(e)&&(e=d(e)),B(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];O(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Tm.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function oc(e,t=!0){if(t&&e&&(e=ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new nc(e)),e.$el.__wxsComponentDescriptor}function rc(e,t){return oc(e,t)}function ic(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>rc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ne(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,rc(r,!1)]}}function sc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function ac(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function lc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,s={type:n,timeStamp:o,target:he(t?r:ac(r)),detail:{},currentTarget:he(i)};return e._stopped&&(s._stopped=!0),e.type.startsWith("touch")&&(s.touches=e.touches,s.changedTouches=e.changedTouches),function(e,t){x(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(s,e),s}function cc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function uc(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}var dc=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 ic(e,t,n,!1)||[e];const i=lc(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=Al();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[cc(t,r)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Al();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[cc(t,n)]}(i,e);else if(e instanceof TouchEvent){const t=Al();i.touches=uc(e.touches,t),i.changedTouches=uc(e.changedTouches,t)}return ic(i,t,n)||[i]},createNativeEvent:lc},Symbol.toStringTag,{value:"Module"});function fc(e){!function(e){const t=e.globalProperties;x(t,dc),t.$gcd=rc}(e._context.config)}let hc=1;function pc(){return Wl()+".invokeViewApi"}const gc=x(nl("view"),{invokeOnCallback:(e,t)=>Sm.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Sm,s=o?hc++:0;o&&r("invokeViewApi."+s,o,!0),i(pc(),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Sm,a=hc++,l="invokeViewApi."+a;return r(l,n),s(pc(),{id:a,name:e,args:t},o),()=>{i(l)}}});function mc(e){Gl(Hl(),"onResize",e),Sm.invokeOnCallback("onWindowResize",e)}function vc(e){const t=Hl();Gl(Bp(),"onShow",e),Gl(t,"onShow")}function yc(){Gl(Bp(),"onHide"),Gl(Hl(),"onHide")}const _c=["onPageScroll","onReachBottom"];function bc(){_c.forEach((e=>Sm.subscribe(e,function(e){return(t,n)=>{Gl(parseInt(n),e,t)}}(e))))}function wc(){!function(){const{on:e}=Sm;e("onResize",mc),e("onAppEnterForeground",vc),e("onAppEnterBackground",yc)}(),bc()}function xc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new _e(this.$page.id)),e.eventChannel}}function Tc(e){e._context.config.globalProperties.getOpenerEventChannel=xc}function Sc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function kc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${qu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Ec(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(kc)),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)?kc(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)}var Cc={props:["animation"],watch:{animation:{deep:!0,handler(){Ec(this)}}},mounted(){Ec(this)}};const Ic=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Cc),Oc(e)},Oc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ro(e)),Mc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Pc(e){const t=Xt(!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:function(e){e.touches.length>1||s(e)},onMousedown:function(e){r||(s(e),window.addEventListener("mouseup",l))},onTouchend:function(){a()},onMouseup:function(){r&&l()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function Ac(e,t){return M(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function $c(e){return e.__wwe=!0,e}function Lc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){const r=he(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Rc=Rl("uf");var Bc=Ic({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=Xt(null);return function(e){const t=[];Vn(Rc,{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)}})}(Lc(o,n)),()=>zr("uni-form",{ref:o},[zr("span",null,[t.default&&t.default()])],512)}});const Nc=Rl("ul");function jc(e,t,n){const o=Vl();n&&!e||B(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Tm.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Tm.on(r,t[r]):e&&Tm.on(`uni-${r}-${o}-${e}`,t[r])}))}function Dc(e,t,n){const o=Vl();n&&!e||B(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Tm.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Tm.off(r,t[r]):e&&Tm.off(`uni-${r}-${o}-${e}`,t[r])}))}var Fc=Ic({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=Xt(null),o=qn(Rc,!1),{hovering:r,binding:i}=Pc(e);Ya();const s=$c(((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=qn(Nc,!1);return a&&(a.addHandler(s),Oo((()=>{a.removeHandler(s)}))),function(e,t){jc(e.id,t),Wn((()=>e.id),((e,n)=>{Dc(n,t,!0),jc(e,t,!0)})),Mo((()=>{Dc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Ac(e,"disabled"),l=Ac(e,"loading"),c=Ac(e,"plain"),u=o&&"none"!==o;return zr("uni-button",Kr({ref:n,onClick:s,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick"])}}});function Vc(e){return e.$el}function qc(e){const{base:t}=__uniConfig.router;return 0===ie(e).indexOf(t)?ie(e):t+e}function Hc(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 qc(e.slice(1));e="https:"+e}if(Q.test(e)||ee.test(e)||0===e.indexOf("blob:"))return e;const o=vp();return o.length?qc(ec(o[o.length-1].$page.route,e).slice(1)):e}const zc=navigator.userAgent,Wc=/android/i.test(zc),Uc=/iphone|ipad|ipod/i.test(zc),Xc=zc.match(/Windows NT ([\d|\d.\d]*)/i),Yc=/Macintosh|Mac/i.test(zc),Gc=/Linux|X11/i.test(zc),Jc=Yc&&navigator.maxTouchPoints>0;function Kc(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Zc(e){return e&&90===Math.abs(window.orientation)}function Qc(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function eu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function tu(e,t,n,o){Sm.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function nu(e,t){const n={},{top:o,topWindowHeight:r}=$l();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=de(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(E(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(E(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 ou(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 ru(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):ou(i,n)?i:i.querySelector(n);return e?nu(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(nu(t,r))})),!l&&ou(i,n)&&e.unshift(nu(i,r)),e}}(e,t,n,r,i))})),n(o)}const iu=["original","compressed"],su=["album","camera"],au=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function lu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function cu(e,t){return!E(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function uu(e){return function(){try{return e.apply(e,arguments)}catch(nw){console.error(nw)}}}let du=1;const fu={};function hu(e,t,n){if("number"==typeof e){const o=fu[e];if(o)return o.keepAlive||delete fu[e],o.callback(t,n)}return t}const pu="success",gu="fail",mu="complete";function vu(e,t={},{beforeAll:n,beforeSuccess:o}={}){B(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];O(o)&&(t[n]=uu(o),delete e[n])}return t}(t),a=O(r),l=O(i),c=O(s),u=du++;return function(e,t,n,o=!1){fu[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),O(n)&&n(u),u.errMsg===e+":ok"?(O(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const yu="success",_u="fail",bu="complete",wu={},xu={};function Tu(e){return function(t){return e(t)||t}}function Su(e,t){let n=!1;for(let o=0;o<e.length;o++){const r=e[o];if(n)n=Promise.resolve(Tu(r));else{const e=r(t);if($(e)&&(n=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return n||{then:e=>e(t),catch(){}}}function ku(e,t={}){return[yu,_u,bu].forEach((n=>{const o=e[n];if(!E(o))return;const r=t[n];t[n]=function(e){Su(o,e).then((e=>O(r)&&r(e)||e))}})),t}function Eu(e,t){const n=[];E(wu.returnValue)&&n.push(...wu.returnValue);const o=xu[e];return o&&E(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Cu(e,t,n,o){const r=function(e){const t=Object.create(null);Object.keys(wu).forEach((e=>{"returnValue"!==e&&(t[e]=wu[e].slice())}));const n=xu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}(e);if(r&&Object.keys(r).length){if(E(r.invoke)){return Su(r.invoke,n).then((e=>t(ku(r,e),...o)))}return t(ku(r,n),...o)}return t(n,...o)}function Iu(e,t){return(n={},...o)=>function(e){return!(!B(e)||![pu,gu,mu].find((t=>O(e[t]))))}(n)?Eu(e,Cu(e,t,n,o)):Eu(e,new Promise(((r,i)=>{Cu(e,t,x(n,{success:r,fail:i}),o)})))}function Ou(e,t,n,o){return hu(e,x({errMsg:t+":fail"+(n?" "+n:"")},o))}function Mu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(M(e))return e}const r=function(e,t){const n=e[0];if(!t||!B(t.formatArgs)&&B(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(O(s)){const o=s(e[0][t],n);if(M(o))return o}else k(n,t)||(n[t]=s)}}(t,o);if(r)return r}function Pu(e,t,n,o){return n=>{const r=vu(e,n,o),i=Mu(0,[n],0,o);return i?Ou(r,e,i):t(n,{resolve:t=>function(e,t,n){return hu(e,x(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Ou(r,e,function(e){return!e||M(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Au(e,t,n,o){return Iu(e,Pu(e,t,0,o))}function $u(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Mu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Lu(e,t,n,o){return Iu(e,function(e,t,n,o){return Pu(e,t,0,o)}(e,t,0,o))}let Ru=!1,Bu=0,Nu=0,ju=960,Du=375;function Fu(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Kc(),t=eu(Qc(e,Zc(e)));return{platform:Uc?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Bu=n,Nu=t,Ru="ios"===e}function Vu(e,t){const n=Number(e);return isNaN(n)?t:n}const qu=$u(0,((e,t)=>{if(0===Bu&&(Fu(),function(){const e=__uniConfig.globalStyle||{};ju=Vu(e.rpxCalcMaxDeviceWidth,960),Du=Vu(e.rpxCalcBaseDeviceWidth,375)}()),0===(e=Number(e)))return 0;let n=t||Bu;n=n<=ju?n:Du;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Nu&&Ru?.5:1),e<0?-o:o}));function Hu(e,t){Object.keys(t).forEach((n=>{O(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):E(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 zu=$u(0,((e,t)=>{M(e)&&B(t)?Hu(xu[e]||(xu[e]={}),t):B(e)&&Hu(wu,e)})),Wu=new ke,Uu=$u(0,((e,t)=>(Wu.on(e,t),()=>Wu.off(e,t)))),Xu=$u(0,((e,t)=>{e?(E(e)||(e=[e]),e.forEach((e=>Wu.off(e,t)))):Wu.e={}})),Yu=$u(0,((e,...t)=>{Wu.emit(e,...t)}));[{name:"id",type:String,required:!0}].concat({name:"componentInstance",type:Object});const Gu=[.5,.8,1,1.25,1.5,2];const Ju=(e,t,n,o)=>{!function(e,t,n,o,r){Sm.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 Ku(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Zu=Ku("width"),Qu=Ku("height"),ed={formatArgs:{x:Ku("x"),y:Ku("y"),width:Zu,height:Qu}},td={PNG:"png",JPG:"jpg",JPEG:"jpg"},nd={formatArgs:{x:Ku("x",0),y:Ku("y",0),width:Zu,height:Qu,destWidth:Ku("destWidth"),destHeight:Ku("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=td[e];n||(n=td.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function od(e,t,n,o,r){Sm.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var rd=["scale","rotate","translate","setTransform","transform"],id=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],sd=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const ad={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 ld(e){var 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(k(ad,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(ad[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 cd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,ld(t)])}}class ud{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class dd{constructor(e){this.width=e}}class fd{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=[],od(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new cd("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new cd("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 ud(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 dd(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 hd=le((()=>{[...rd,...id].forEach((function(e){fd.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)})),sd.forEach((function(e){fd.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",ld(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=ld(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)}))})),pd=$u(0,((e,t)=>{if(hd(),t)return new fd(e,ql(t));const n=ql(Ul());if(n)return new fd(e,n);Sm.emit("onError","createCanvasContext:fail")})),gd=Lu("canvasGetImageData",(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:s})=>{const a=ql(Ul());a?od(e,a,"getImageData",{x:t,y:n,width:o,height:r},(function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void s("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,i(e)})):s()}),0,ed),md=Lu("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=ql(Ul());if(!d)return void u();od(s,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:a,quality:l,dirname:`${lf}/canvas`},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,nd),vd={thresholds:[0],initialRatio:0,observeAll:!1},yd=["top","right","bottom","left"];let _d=1;function bd(e={}){return yd.map((t=>`${Number(e[t])||0}px`)).join(" ")}class wd{constructor(e,t){this._pageId=ql(e),this._component=e,this._options=x({},vd,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=bd(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=bd(e),this}observe(e,t){O(t)&&(this._options.selector=e,this._reqId=_d++,function({reqId:e,component:t,options:n,callback:o},r){const i=Vc(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(nw){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=p(e.rootBounds),this.boundingClientRect=p(e.boundingClientRect),this.intersectionRect=p(e.intersectionRect||h()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function 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 f(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(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):h(),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():h();this._observationTargets.forEach((function(n){var r=n.element,s=f(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=h();var p=n.entry=new i({time:a(),target:r,boundingClientRect:s,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,p)&&this._queuedEntries.push(p):c&&c.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)}),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 h=v(a),p=h&&f(h),m=h&&this._computeTargetAndRootIntersection(h,p,i);p&&m?(a=h,c=g(p,m)):(a=null,s=null)}else{var y=a.ownerDocument;a!=y.body&&a!=y.documentElement&&"visible"!=u.overflow&&(c=f(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=f(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:af(e),intersectionRect:sf(e.intersectionRect),boundingClientRect:sf(e.boundingClientRect),relativeRect:sf(e.rootBounds),time:Date.now(),dataset:de(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=Vc(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const xd=$u(0,((e,t)=>((e=te(e))&&!ql(e)&&(t=e,e=null),new wd(e||Ul(),t))));let Td=0,Sd={};function kd(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Td++);r.callbackId=e,Sd[e]=o}Sm.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},M(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?O(e.success)&&e.success(t):O(e.fail)&&e.fail(t),O(e.complete)&&e.complete(t)}(Sd[e],t),delete Sd[e])}))}const Ed={canvas:fd,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Ju(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Ju(this.id,this.pageId,"moveToLocation",e)}getScale(e){Ju(this.id,this.pageId,"getScale",e)}getRegion(e){Ju(this.id,this.pageId,"getRegion",e)}includePoints(e){Ju(this.id,this.pageId,"includePoints",e)}translateMarker(e){Ju(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Ju(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Ju(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Ju(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Ju(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Ju(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Ju(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Ju(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Ju(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Ju(this.id,this.pageId,"moveAlong",e)}openMapApp(e){Ju(this.id,this.pageId,"openMapApp",e)}on(e){Ju(this.id,this.pageId,"on",e)}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){tu(this.id,this.pageId,"play")}pause(){tu(this.id,this.pageId,"pause")}stop(){tu(this.id,this.pageId,"stop")}seek(e){tu(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){tu(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Gu.indexOf(e)||(e=1),tu(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){tu(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){tu(this.id,this.pageId,"exitFullScreen")}showStatusBar(){tu(this.id,this.pageId,"showStatusBar")}hideStatusBar(){tu(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){kd(this.id,this.pageId,e,t)}}};function Cd(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Ed[n];e.context=new r(t,o),delete e.contextInfo}}class Id{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}}class Od{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return ru(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{E(e)?e.forEach(Cd):Cd(e);const o=n[t];O(o)&&o.call(this,e)})),O(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=te(e),this}select(e){return this._nodesRef=new Id(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Id(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Id(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 Md=$u(0,(e=>((e=te(e))&&!ql(e)&&(e=null),new Od(e||Ul())))),Pd=$u(0,(()=>{const e=Bp();return e&&e.$vm?e.$vm.$locale:Ya().getLocale()})),Ad={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const $d={formatArgs:{showToast:!0},beforeInvoke(){tl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Ya(),o=n("uni.setClipboardData.success");o&&im({title:o,icon:"success",mask:!1})}},Ld=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=cu(e,iu)},sourceType(e,t){t.sourceType=cu(e,su)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),Rd={formatArgs:{src(e,t){t.src=Hc(e)}}},Bd={formatArgs:{urls(e,t){t.urls=e.map((e=>M(e)&&e?Hc(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:M(e)&&e&&(t.current=Hc(e))}}},Nd="json",jd=["text","arraybuffer"],Dd=encodeURIComponent;ArrayBuffer,Boolean;const Fd={formatArgs:{method(e,t){t.method=lu((e||"").toUpperCase(),au)},data(e,t){t.data=e||""},url(e,t){t.method===au[0]&&B(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(k(t,a)){let e=t[a];null==e?e="":B(e)&&(e=JSON.stringify(e)),s[Dd(a)]=Dd(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!==au[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Nd).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===jd.indexOf(t.responseType)&&(t.responseType="text")}}},Vd={formatArgs:{filePath(e,t){e&&(t.filePath=Hc(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const qd={url:{type:String,required:!0}},Hd=(Yd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Yd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Kd("navigateTo")),zd=Kd("redirectTo"),Wd=Kd("reLaunch"),Ud=Kd("switchTab"),Xd={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(vp().length-1,e)}}};function Yd(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 Gd;function Jd(){Gd=""}function Kd(e){return{formatArgs:{url:Zd(e)},beforeAll:Jd}}function Zd(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=vp();return n.length&&(t=n[n.length-1].$page.route),ec(t,e)}(t)).split("?")[0],r=tc(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(!M(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Gd===t&&"appLaunch"!==n.openType)return`${Gd} locked`;__uniConfig.ready&&(Gd=t)}else if(r.meta.isTabBar){const e=vp(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Qd={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},ef={formatArgs:{duration:300}},tf=(Boolean,{formatArgs:{title:"",mask:!1}}),nf=(Boolean,{beforeInvoke(){Qa()},formatArgs:{title:"",content:"",showCancel:!0,cancelText(e,t){if(!k(t,"cancelText")){const{t:e}=Ya();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!k(t,"confirmText")){const{t:e}=Ya();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),of=["success","loading","none","error"],rf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=lu(e,of)},image(e,t){t.image=e?Hc(e):""},duration:1500,mask:!1}});function sf(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 af(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 lf="",cf={};function uf(e,t){const n=cf[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 df(s,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function df(e,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 ff(e){for(const n in cf)if(k(cf,n)){if(cf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return cf[t]=e,t}const hf=Sc(),pf=Sc();var gf=Ic({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Xt(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=$t({width:-1,height:-1});return Wn((()=>x({},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){po(o),Eo((()=>{t.initial&&bn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>zr("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[zr("div",{onScroll:r},[zr("div",null,null)],40,["onScroll"]),zr("div",{onScroll:r},[zr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const mf=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 vf(e,t=!0){e.width=e.offsetWidth*(t?mf:1),e.height=e.offsetHeight*(t?mf:1),e.getContext("2d").__hidpi__=t}let yf=!1;function _f(){if(yf)return;yf=!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;var n;t.drawImageByCanvas=(n=t.drawImage,function(e,t,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return n.apply(this,arguments);t*=mf,o*=mf,r*=mf,i*=mf,s*=mf,a*=mf,l=u?l*mf:l,c=u?c*mf:c,n.call(this,e,t,o,r,i,s,a,l,c)}),1!==mf&&(!function(e,t){for(const n in e)k(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*mf}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=mf;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=mf,e.apply(this,arguments),this.lineWidth/=mf}}(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]*=mf,t[2]*=mf,t[3]&&"number"==typeof t[3]&&(t[3]*=mf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*mf+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]*=mf,t[2]*=mf,t[3]&&"number"==typeof t[3]&&(t[3]*=mf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*mf+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(mf,mf),e.apply(this,arguments),this.scale(1/mf,1/mf)}}(t.drawImage))}const bf=le((()=>_f()));function wf(e){return e?Hc(e):e}function xf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Tf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Sf;function kf(e=0,t=0){return Sf||(Sf=document.createElement("canvas")),Sf.width=e,Sf.height=t,Sf}var Ef=Ic({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}){bf();const o=Xt(null),r=Xt(null),i=Xt(!1),s=function(e){return(t,n)=>{e(t,lc(n))}}(t),{$attrs:a,$excludeAttrs:l,$listeners:c}=Qf({excludeListeners:!0}),{_listeners:u}=function(e,t,n){const o=di((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],r=t.value,i=x({},(()=>{let e={};for(const t in r)if(k(r,t)){const n=r[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];i[t]&&o.push($c((e=>{const o=e.currentTarget.getBoundingClientRect();Tf(o,e.touches),Tf(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(Ol),i[t]=o})),i}));return{_listeners:o}}(e,c,s),{_handleSubscribe:d,_resize:f}=function(e,t,n){let o=[],r={};const i=di((()=>e.hidpi?mf: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);vf(o,e.hidpi),t.putImageData(n,0,0)}else vf(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=xf(i[1]);else if("linear"===a){const e=u.createLinearGradient(...i[1]);i[2].forEach((function(t){const n=t[0],o=xf(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=xf(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]?xf(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):uf(e).then(ff)}(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=wf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=wf(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 u({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const h=t.value;let p;const g=h.offsetWidth-e;o=o?Math.min(o,g):g;const m=h.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=kf(s,a),y=v.getContext("2d");let _;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)p=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);p=Array.prototype.slice.call(e.data)}_={data:p,compressed:e,width:s,height:a}}catch(b){_={errMsg:`canvasGetImageData:fail ${b}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return _;f(_)}function d({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=kf(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 d=u({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;d.data&&d.data.length?(f=d.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,f)):c({errMsg:d.errMsg.replace("canvasPutImageData","toTempFilePath")})}const h={actionsChanged:a,getImageData:u,putImageData:d,toTempFilePath:f};function p(e,t,n){let o=h[e];0!==e.indexOf("_")&&O(o)&&o(t,n)}return x(h,{_resize:s,_handleSubscribe:p})}(e,o,i);return function(e,t,n,o){const r=ni().proxy;Eo((()=>{Yh(t||Xh(r),e,o),!n&&t||Wn((()=>r.id),((t,n)=>{Yh(Xh(r,t),e,o),Gh(n&&Xh(r,n))}))})),Oo((()=>{Gh(t||Xh(r),o)}))}(d,function(e){const t=Vl(),n=ni().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Jh++;return Eo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(e.canvasId),!0),Eo((()=>{f()})),()=>{const{canvasId:t,disableScroll:i}=e;return zr("uni-canvas",Kr({"canvas-id":t,"disable-scroll":i},a.value,l.value,u.value),[zr("canvas",{ref:o,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),zr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),zr(gf,{ref:r,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Cf(){}const If={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 Of(e,t,n){function o(e){const t=di((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Cf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Cf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Wn((()=>t.value),(e=>o(e)))}const Mf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Pf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Af={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"]};var $f=Ic({name:"Image",props:Mf,setup(e,{emit:t}){const n=Xt(null),o=function(e,t){const n=Xt(""),o=di((()=>{let e="auto",o="";const r=Af[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=$t({rootEl:e,src:di((()=>t.src?Hc(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Eo((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=Lc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Pf[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){Lf&&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 Wn((()=>t.mode),((e,t)=>{Pf[t]&&r(),Pf[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)};Wn((()=>e.src),(e=>l(e))),Wn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Eo((()=>l(e.src))),Oo((()=>c()))}(o,e,n,i,r),()=>zr("uni-image",{ref:n},[zr("div",{style:o.modeStyle},null,4),Pf[e.mode]?zr(gf,{onResize:i},null,8,["onResize"]):zr("span",null,null)],512)}});const Lf="Google Inc."===navigator.vendor;const Rf=fe(!0),Bf=[];let Nf,jf=0;const Df=e=>Bf.forEach((t=>t.userAction=e));function Ff(e={userAction:!1}){if(!Nf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!jf&&Df(!0),jf++,setTimeout((()=>{!--jf&&Df(!1)}),0)}),Rf)})),Nf=!0}Bf.push(e)}function Vf(){const e=$t({userAction:!1});return Eo((()=>{Ff(e)})),Oo((()=>{!function(e){const t=Bf.indexOf(e);t>=0&&Bf.splice(t,1)}(e)})),{state:e}}function qf(){const e=$t({attrs:{}});return Eo((()=>{let t=ni();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Hf(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 zf(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const Wf=x({},{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"}},If),Uf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Xf(e,t,n,o){const r=ye((n=>{t.value=zf(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});Wn((()=>e.modelValue),r),Wn((()=>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 ko((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Yf(e,t){Vf();const n=di((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Wn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Eo((()=>{n.value&&bn(o)}))}function Gf(e,t,n,o){sl(Wl(),"getSelectedTextRange",Hf);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Xt(null),r=Lc(t,n),i=di((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=di((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=di((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=di((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=zf(e.modelValue,e.type)||zf(e.value,e.type),u=$t({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Wn((()=>u.focus),(e=>n("update:focus",e))),Wn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Xf(e,i,n,s);Yf(e,r),Of(0,r);const{state:l}=qf();!function(e,t){const n=qn(Rc,!1);if(!n)return;const o=ni(),r={submit(){const n=o.proxy;return[n[e],M(t)?n[t]:t.value]},reset(){M(t)?o.proxy[t]="":t.value=""}};n.addField(r),Oo((()=>{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}Wn([()=>t.selectionStart,()=>t.selectionEnd],s),Wn((()=>t.cursor),a),Wn((()=>e.value),(function(){const c=e.value,u=function(e,o){e.stopPropagation(),O(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}}var Jf=Ic({name:"Input",props:x({},Wf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Uf],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=di((()=>{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=~n.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=di((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(H(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let s,a=Xt("");const l=Xt(null),{fieldRef:c,state:u,scopedAttrsState:d,fixDisabledColor:f,trigger:h}=Gf(e,l,t,((e,t)=>{const n=e.target;if("number"===r.value){if(s&&(n.removeEventListener("blur",s),s=null),n.validity&&!n.validity.valid)return!a.value&&"-"===e.data||"-"===a.value[0]&&"deleteContentBackward"===e.inputType?(a.value="-",t.value="",s=()=>{a.value=n.value=""},n.addEventListener("blur",s),!1):(a.value=t.value=n.value="-"===a.value?"":a.value,!1);a.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}}));Wn((()=>u.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t)}));const p=["number","digit"],g=di((()=>p.includes(e.type)?e.step:""));function m(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&f?zr("input",{ref:c,value:u.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):zr("input",{ref:c,value:u.value,disabled:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:i.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return zr("uni-input",{ref:l},[zr("div",{class:"uni-input-wrapper"},[Ro(zr("div",Kr(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Gi,!(u.value.length||"-"===a.value)]]),"search"===e.confirmType?zr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Kf=["class","style"],Zf=/^on[A-Z]+/,Qf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ni(),r=Yt({}),i=Yt({}),s=Yt({}),a=n.concat(Kf);return o.attrs=$t(o.attrs),Hn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Zf.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 eh(e){const t=[];return E(e)&&e.forEach((e=>{jr(e)?e.type===Er?t.push(...eh(e.children)):t.push(e):E(e)&&t.push(...eh(e))})),t}var th=Ic({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Xt(null),o=Xt(!1);let{setContexts:r,events:i}=function(e,t){const n=Xt(0),o=Xt(0),r=$t({x:null,y:null}),i=Xt(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=$c((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=nh(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=$c((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(nh(n)/i.value)}r.x=n.x,r.y=n.y}})),f=$c((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 h(){p(),a.forEach((function(e,t){e.setParent()}))}function p(){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 Vn("movableAreaWidth",n),Vn("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:h}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Qf(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Eo((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){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(Vt(o))}r(e)}return Vn("_isMounted",o),Vn("movableAreaRootRef",n),Vn("addMovableViewContext",(e=>{d.push(e),f()})),Vn("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=eh(e),zr("uni-movable-area",Kr({ref:n},a.value,l.value,c),[zr(gf,{onReize:i._resize},null,8,["onReize"]),u],16)}}});function nh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const oh=function(e,t,n,o){e.addEventListener(t,(e=>{O(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let rh,ih;function sh(e,t,n){Oo((()=>{document.removeEventListener("mousemove",rh),document.removeEventListener("mouseup",ih)}));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;oh(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)})),oh(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)})),oh(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=rh=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),oh(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=ih=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),oh(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 ah(e,t,n){return e>t-n&&e<t+n}function lh(e,t){return ah(e,0,t)}function ch(){}function uh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function dh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function fh(e,t,n){this._springX=new dh(e,t,n),this._springY=new dh(e,t,n),this._springScale=new dh(e,t,n),this._startTime=0}ch.prototype.x=function(e){return Math.sqrt(e)},uh.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()},uh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},uh.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}},uh.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}},uh.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}},uh.prototype.dt=function(){return-this._x_v/this._x_a},uh.prototype.done=function(){const e=ah(this.s().x,this._endPositionX)||ah(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},uh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},uh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},dh.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)}}},dh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},dh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},dh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!lh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(lh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),lh(t,.1)&&(t=0),lh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&lh(o-e,.1)&&lh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},dh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},dh.prototype.done=function(e){return e||(e=(new Date).getTime()),ah(this.x(),this._endPosition,.1)&&lh(this.dx(),.1)},dh.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())},dh.prototype.springConstant=function(){return this._k},dh.prototype.damping=function(){return this._c},dh.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}]},fh.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},fh.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)}},fh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},fh.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 hh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var ph=Ic({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=Xt(null),r=Lc(o,n),{setParent:i}=function(e,t,n){const o=qn("movableAreaWidth",Xt(0)),r=qn("movableAreaHeight",Xt(0)),i=qn("_isMounted",Xt(!1)),s=qn("movableAreaRootRef"),a=qn("addMovableViewContext",(()=>{})),l=qn("removeMovableViewContext",(()=>{})),c=Xt(bh(e.x)),u=Xt(bh(e.y)),d=Xt(Number(e.scaleValue)||1),f=Xt(0),h=Xt(0),p=Xt(0),g=Xt(0),m=Xt(0),v=Xt(0);let y=null,_=null;const b={x:0,y:0},w={x:0,y:0};let x,T,S=1,k=1,E=0,C=0,I=!1,O=!1,M=null,P=null;const A=new ch,$=new ch,L={historyX:[0,0],historyY:[0,0],historyT:[0,0]},R=di((()=>{let t=Number(e.damping);return isNaN(t)?20:t})),B=di((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),N=di((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),j=di((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),D=di((()=>"all"===e.direction||"horizontal"===e.direction)),F=di((()=>"all"===e.direction||"vertical"===e.direction)),V=new fh(1,9*Math.pow(R.value,2)/40,R.value),q=new uh(1,B.value);function H(){_&&_.cancel(),y&&y.cancel()}function z(e){if(D.value){if(e+w.x===E)return E;y&&y.cancel(),ie(e+w.x,u.value+w.y,S)}return e}function W(e){if(F.value){if(e+w.y===C)return C;y&&y.cancel(),ie(c.value+w.x,e+w.y,S)}return e}function U(){if(!e.scale)return!1;ne(S,!0),oe(S)}function X(t){return!!e.scale&&(ne(t=re(t),!0),oe(t),t)}function Y(){I||e.disabled||(H(),L.historyX=[0,0],L.historyY=[0,0],L.historyT=[0,0],D.value&&(x=E),F.value&&(T=C),n.value.style.willChange="transform",M=null,P=null,O=!0)}function G(t){if(!I&&!e.disabled&&O){let n=E,o=C;if(null===P&&(P=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+x,L.historyX.shift(),L.historyX.push(n),F.value||null!==M||(M=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+T,L.historyY.shift(),L.historyY.push(o),D.value||null!==M||(M=Math.abs(t.detail.dy/t.detail.dx)<1)),L.historyT.shift(),L.historyT.push(t.detail.timeStamp),!M){t.preventDefault();let r="touch";n<p.value?e.outOfBounds?(r="touch-out-of-bounds",n=p.value-A.x(p.value-n)):n=p.value:n>m.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=m.value+A.x(n-m.value)):n=m.value),o<g.value?e.outOfBounds?(r="touch-out-of-bounds",o=g.value-$.x(g.value-o)):o=g.value:o>v.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=v.value+$.x(o-v.value)):o=v.value),mh((function(){ae(n,o,S,r)}))}}}function J(){if(!I&&!e.disabled&&O&&(n.value.style.willChange="auto",O=!1,!M&&!se("out-of-bounds")&&e.inertia)){const e=1e3*(L.historyX[1]-L.historyX[0])/(L.historyT[1]-L.historyT[0]),t=1e3*(L.historyY[1]-L.historyY[0])/(L.historyT[1]-L.historyT[0]);q.setV(e,t),q.setS(E,C);const n=q.delta().x,o=q.delta().y;let r=n+E,i=o+C;r<p.value?(r=p.value,i=C+(p.value-E)*o/n):r>m.value&&(r=m.value,i=C+(m.value-E)*o/n),i<g.value?(i=g.value,r=E+(g.value-C)*n/o):i>v.value&&(i=v.value,r=E+(v.value-C)*n/o),q.setEnd(r,i),_=_h(q,(function(){let e=q.s();ae(e.x,e.y,S,"friction")}),(function(){_.cancel()}))}e.outOfBounds||e.inertia||H()}function K(e,t){let n=!1;return e>m.value?(e=m.value,n=!0):e<p.value&&(e=p.value,n=!0),t>v.value?(t=v.value,n=!0):t<g.value&&(t=g.value,n=!0),{x:e,y:t,outOfBounds:n}}function Z(){b.x=vh(n.value,s.value),b.y=yh(n.value,s.value)}function Q(e){e=re(e=e||S);let t=n.value.getBoundingClientRect();h.value=t.height/S,f.value=t.width/S;let o=h.value*e,r=f.value*e;w.x=(r-f.value)/2,w.y=(o-h.value)/2}function ee(){let e=0-b.x+w.x,t=o.value-f.value-b.x-w.x;p.value=Math.min(e,t),m.value=Math.max(e,t);let n=0-b.y+w.y,i=r.value-h.value-b.y-w.y;g.value=Math.min(n,i),v.value=Math.max(n,i)}function te(){I=!0}function ne(t,n){if(e.scale){Q(t=re(t)),ee();const e=K(E,C),o=e.x,r=e.y;n?ie(o,r,t,"",!0,!0):mh((function(){ae(o,r,t,"",!0,!0)}))}}function oe(e){k=e}function re(e){return e=Math.max(.5,N.value,e),e=Math.min(10,j.value,e)}function ie(t,n,o,r,i,s){H(),D.value||(t=E),F.value||(n=C),e.scale||(o=S);let a=K(t,n);t=a.x,n=a.y,e.animation?(V._springX._solution=null,V._springY._solution=null,V._springScale._solution=null,V._springX._endPosition=E,V._springY._endPosition=C,V._springScale._endPosition=S,V.setEnd(t,n,o,1),y=_h(V,(function(){let e=V.x();ae(e.x,e.y,e.scale,r,i,s)}),(function(){y.cancel()}))):ae(t,n,o,r,i,s)}function se(e){let t=K(E,C),n=t.x,o=t.y,r=t.outOfBounds;return r&&ie(n,o,S,e),r}function ae(o,r,i,s="",a,l){null!==o&&"NaN"!==o.toString()&&"number"==typeof o||(o=E||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=C||0),o=Number(o.toFixed(1)),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),E===o&&C===r||a||t("change",{},{x:hh(o,w.x),y:hh(r,w.y),source:s}),e.scale||(i=S),i=+(i=re(i)).toFixed(3),l&&i!==S&&t("scale",{},{x:o,y:r,scale:i});let c="translateX("+o+"px) translateY("+r+"px) translateZ(0px) scale("+i+")";n.value.style.transform=c,n.value.style.webkitTransform=c,E=o,C=r,S=i}function le(){if(!i.value)return;H();let t=e.scale?d.value:1;Z(),Q(t),ee(),E=c.value+w.x,C=u.value+w.y;let n=K(E,C);ae(n.x,n.y,t,"",!0),oe(t)}function ce(){I=!1,oe(S)}function ue(e){e&&(e*=k,te(),ne(e))}return Wn((()=>e.x),(e=>{c.value=bh(e)})),Wn((()=>e.y),(e=>{u.value=bh(e)})),Wn(c,(e=>{z(e)})),Wn(u,(e=>{W(e)})),Wn((()=>e.disabled),(()=>{Y()})),Wn((()=>e.scaleValue),(e=>{d.value=Number(e)||0})),Wn(d,(e=>{X(e)})),Wn(N,(()=>{U()})),Wn(j,(()=>{U()})),Eo((()=>{sh(n.value,(e=>{switch(e.detail.state){case"start":Y();break;case"move":G(e);break;case"end":J()}})),le(),q.reconfigure(1,B.value),V.reconfigure(1,9*Math.pow(R.value,2)/40,R.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:le,_endScale:ce,_setScale:ue};a(e),Mo((()=>{l(e)}))})),Mo((()=>{H()})),{setParent:le}}(e,r,o);return()=>zr("uni-movable-view",{ref:o},[zr(gf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let gh=!1;function mh(e){gh||(gh=!0,requestAnimationFrame((function(){e(),gh=!1})))}function vh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=vh(e.offsetParent,t):0}function yh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=yh(e.offsetParent,t):0}function _h(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 bh(e){return/\d+[ur]px$/i.test(e)?qu(parseFloat(e)):Number(e)||0}const wh=["navigate","redirect","switchTab","reLaunch","navigateBack"],xh=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Th=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"];var Sh=Ic({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~wh.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||xh.concat(Th).includes(e)},animationDuration:{type:[String,Number],default:300}},setup(e,{slots:t}){const n=ni(),o=n&&n.vnode.scopeId||"",{hovering:r,binding:i}=Pc(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":Xg({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":Yg({url:e.url,exists:e.exists});break;case"switchTab":Kg({url:e.url});break;case"reLaunch":Gg({url:e.url});break;case"navigateBack":Wg({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:a,url:l}=e,c=e.hoverClass&&"none"!==e.hoverClass;return zr("a",{class:"navigator-wrap",href:l,onClick:Ol,onMousedown:Ol},[zr("uni-navigator",Kr({class:c&&r.value?a:""},c&&i,n?n.attrs:{},{[o]:""},{onClick:s}),[t.default&&t.default()],16,["onClick"])],40,["href","onClick","onMousedown"])}}});var kh=Ic({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return E(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=Xt(null),r=Xt(null),i=Lc(o,n),s=function(e){const t=$t([...e.value]),n=$t({value:t,height:34});return Wn((()=>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=Xt(null);Eo((()=>{const e=a.value;s.height=e.$el.offsetHeight}));let l=Xt([]),c=Xt([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Ir));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Vn("getPickerViewColumn",(function(e){return di({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})}}})})),Vn("pickerViewProps",e),Vn("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=eh(e);l.value=t,bn((()=>{c.value=t}))}return zr("uni-picker-view",{ref:o},[zr(gf,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),zr("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Eh{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 Ch(e,t,n){return e>t-n&&e<t+n}function Ih(e,t){return Ch(e,0,t)}class Oh{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||!Ih(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Ih(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Ih(t,.4)&&(t=0),Ih(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Ih(o-e,.4)&&Ih(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()),Ch(this.x(),this._endPosition,.4)&&Ih(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 Mh{constructor(e,t,n){this._extent=e,this._friction=t||new Eh(.01),this._spring=n||new Oh(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 Ph{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 Mh(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()),O(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),O(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(O(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(),O(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 Ah=0;var $h=Ic({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Xt(null),r=Xt(null),i=qn("getPickerViewColumn"),s=ni(),a=i?i(s):Xt(0),l=qn("pickerViewProps"),c=qn("pickerViewState"),u=Xt(34),d=Xt(null);Eo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=di((()=>(c.height-u.value)/2)),{state:h}=qf(),p=function(e){const t="uni-picker-view-content-"+Ah++;return Wn((()=>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=$t({current:a.value,length:0});let v;function y(){g&&!v&&(v=!0,bn((()=>{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)})))}Wn((()=>a.value),(e=>{e!==m.current&&(m.current=e,y())})),Wn((()=>m.current),(e=>a.value=e)),Wn([()=>u.value,()=>m.length,()=>c.height],y);let _=0;function b(e){const t=_+e.deltaY;if(Math.abs(t)>10){_=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 _=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 Ph(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 Eh(1e-4),spring:new Oh(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,sh(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 Eo(x),()=>{const e=t.default&&t.default();m.length=eh(e).length;const n=`${f.value}px 0`;return zr("uni-picker-view-column",{ref:o},[zr("div",{onWheel:b,onClick:w,class:"uni-picker-view-group"},[zr("div",Kr(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),zr("div",Kr(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[zr(gf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),zr("div",{ref:r,class:["uni-picker-view-content",p],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}});const Lh=fe(!0);var Rh=Ic({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},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:"back"},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}){const o=Xt(null),r=Xt(null),i=Xt(null),s=Xt(null),a=Xt(null),l=Lc(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=di((()=>Number(e.scrollTop)||0)),n=di((()=>Number(e.scrollLeft)||0));return{state:$t({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=di((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),p=di((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function g(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>b(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function m(n){const o=n.target;r("scroll",n,{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth,deltaX:t.lastScrollLeft-o.scrollLeft,deltaY:t.lastScrollTop-o.scrollTop}),e.scrollY&&(o.scrollTop<=h.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+p.value>=o.scrollHeight&&t.lastScrollTop-o.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(o.scrollLeft<=h.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+p.value>=o.scrollWidth&&t.lastScrollLeft-o.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=o.scrollTop,t.lastScrollLeft=o.scrollLeft}function v(t){e.scrollY&&(e.scrollWithAnimation?g(t,"y"):s.value.scrollTop=t)}function y(t){e.scrollX&&(e.scrollWithAnimation?g(t,"x"):s.value.scrollLeft=t)}function _(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(e.scrollX){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?g(r,"x"):s.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?g(r,"y"):s.value.scrollTop=r}}}}function b(t,n){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let o=s.value;"x"===n?(o.style.overflowX=e.scrollX?"auto":"hidden",o.scrollLeft=t):"y"===n&&(o.style.overflowY=e.scrollY?"auto":"hidden",o.scrollTop=t),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function w(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{}))}t.refreshState=n}Eo((()=>{bn((()=>{v(n.value),y(o.value)})),_(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),m(e)},a={x:0,y:0},l=null,f=function(n){if(null===a)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,f=s.value;if(Math.abs(o-a.x)>Math.abs(i-a.y))if(e.scrollX){if(0===f.scrollLeft&&o>a.x)return void(l=!1);if(f.scrollWidth===f.offsetWidth+f.scrollLeft&&o<a.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===f.scrollTop&&i>a.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(f.scrollHeight===f.offsetHeight+f.scrollTop&&i<a.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===f.scrollTop&&1===n.touches.length&&(t.refreshState="pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-a.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})));const s=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(s>1?1:s)}},h=function(e){1===e.touches.length&&(a={x:e.touches[0].pageX,y:e.touches[0].pageY})},p=function(n){a=null,t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};s.value.addEventListener("touchstart",h,Lh),s.value.addEventListener("touchmove",f,fe(!1)),s.value.addEventListener("scroll",i,fe(!1)),s.value.addEventListener("touchend",p,Lh),Oo((()=>{s.value.removeEventListener("touchstart",h),s.value.removeEventListener("touchmove",f),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",p)}))})),po((()=>{e.scrollY&&(s.value.scrollTop=t.lastScrollTop),e.scrollX&&(s.value.scrollLeft=t.lastScrollLeft)})),Wn(n,(e=>{v(e)})),Wn(o,(e=>{y(e)})),Wn((()=>e.scrollIntoView),(e=>{_(e)})),Wn((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,u,d,l,o,r,s,t);const f=di((()=>{let t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{const{refresherEnabled:t,refresherBackground:l,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:h,refreshRotate:p}=c;return zr("uni-scroll-view",{ref:o},[zr("div",{ref:i,class:"uni-scroll-view"},[zr("div",{ref:r,style:f.value,class:"uni-scroll-view"},[zr("div",{ref:s,class:"uni-scroll-view-content"},[t?zr("div",{ref:a,style:{backgroundColor:l,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?zr("div",{class:"uni-scroll-view-refresh"},[zr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==h?zr("svg",{key:"refresh__icon",style:{transform:"rotate("+p+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[zr("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),zr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==h?zr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[zr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],4)],512)],512)}}});function Bh(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,h=null,p=!1,g=0,m="";const v=di((()=>e.circular&&n.value.length>t.displayMultipleItems));function y(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||v.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),f=Math.max(o-(c+1),c-s,0),h=Math.min(u,d,f),p=[n,l,c][[u,d,f].indexOf(h)];t.updatePosition(p,e.vertical)}}(r);const s="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"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(v.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function b(){h=null}function w(){if(!h)return void(p=!1);const e=h,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){y(o),h=null,p=!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}y(o+r*u*u/2),l=requestAnimationFrame(w)}function x(e,o,r){b();const i=t.duration,s=n.value.length;let a=d;if(v.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)}h={toPos:e,acc:2*(a-e)/(i*i),endTime:Date.now()+i,source:o},p||(p=!0,l=requestAnimationFrame(w))}function T(){s();const e=n.value,o=function(){c=null,m="autoplay",v.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,x(t.current,"autoplay",v.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function S(e){e?T():s()}return Wn([()=>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)})),Wn([()=>e.vertical,()=>v.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),h&&(y(h.toPos),h=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(y(a+l-g),g=l):(y(l),e.autoplay&&T())):(u=!0,y(-t.displayMultipleItems-1))})),Wn((()=>t.interval),(()=>{c&&(s(),T())})),Wn((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;x(e,"",v.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)})),Wn((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),Wn((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),Eo((()=>{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?y(g):(m="touch",t.current=r,x(r,"touch",0!==o?o:0===r&&v.value&&d>=1?1:0))}sh(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 b();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&&T())}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,v.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),y(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),Mo((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){x(t.current=e,m="click",v.value?1:0)}}}var Nh=Ic({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}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Xt(null),r=Lc(o,n),i=Xt(null),s=Xt(null),a=function(e){return $t({interval:di((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:di((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:di((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=di((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Nl(e.previousMargin,!0),bottom:Nl(e.nextMargin,!0)}:{top:0,bottom:0,left:Nl(e.previousMargin,!0),right:Nl(e.nextMargin,!0)}),t})),c=di((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=Xt([]);function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(Vt(o))}f.value=e}Vn("addSwiperContext",(function(e){d.push(e),h()}));Vn("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}));const{onSwiperDotClick:p}=Bh(e,a,f,s,n,r);return()=>{const n=t.default&&t.default();return u=eh(n),zr("uni-swiper",{ref:o},[zr("div",{ref:i,class:"uni-swiper-wrapper"},[zr("div",{class:"uni-swiper-slides",style:l.value},[zr("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&zr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>zr("div",{onClick:()=>p(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)],512)],512)}}});var jh=Ic({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Xt(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 Eo((()=>{const e=qn("addSwiperContext");e&&e(o)})),Mo((()=>{const e=qn("removeSwiperContext");e&&e(o)})),()=>zr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}});const Dh={ensp:"",emsp:"",nbsp:" "};function Fh(e,t){return e.replace(/\\n/g,"\n").split("\n").map((e=>function(e,{space:t,decode:n}){if(!e)return e;t&&Dh[t]&&(e=e.replace(/ /g,Dh[t]));if(!n)return e;return e.replace(/&nbsp;/g,Dh.nbsp).replace(/&ensp;/g,Dh.ensp).replace(/&emsp;/g,Dh.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}(e,t)))}var Vh=Ic({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=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Ir){const o=Fh(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(Ur(e)),t!==r&&n.push(zr("br"))}))}else n.push(t)})),zr("uni-text",{selectable:!!e.selectable||null},[zr("span",null,n)],8,["selectable"])}});const qh=x({},Wf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>zh.concat("return").includes(e)}});let Hh=!1;const zh=["done","go","next","search","send"];var Wh=Ic({name:"Textarea",props:qh,emits:["confirm","linechange",...Uf],setup(e,{emit:t}){const n=Xt(null),o=Xt(null),{fieldRef:r,state:i,scopedAttrsState:s,fixDisabledColor:a,trigger:l}=Gf(e,n,t),c=di((()=>i.value.split("\n"))),u=di((()=>zh.includes(e.confirmType))),d=Xt(0),f=Xt(null);function h({height:e}){d.value=e}function p(e){"Enter"===e.key&&u.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&u.value){!function(e){l("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Wn((()=>d.value),(t=>{const r=n.value,i=f.value,s=o.value;let a=parseFloat(getComputedStyle(r).lineHeight);isNaN(a)&&(a=i.offsetHeight);var c=Math.round(t/a);l("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:c}),e.autoHeight&&(r.style.height="auto",s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Hh=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),()=>{let t=e.disabled&&a?zr("textarea",{ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hh},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):zr("textarea",{ref:r,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hh},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:p,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return zr("uni-textarea",{ref:n},[zr("div",{ref:o,class:"uni-textarea-wrapper"},[Ro(zr("div",Kr(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Gi,!i.value.length]]),zr("div",{ref:f,class:"uni-textarea-line"},[" "],512),zr("div",{class:"uni-textarea-compute"},[c.value.map((e=>zr("div",null,[e.trim()?e:"."]))),zr(gf,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?zr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Uh=Ic({name:"View",props:x({},Mc),setup(e,{slots:t}){const{hovering:n,binding:o}=Pc(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?zr("uni-view",Kr({class:n.value?r:""},o),[t.default&&t.default()],16):zr("uni-view",null,[t.default&&t.default()])}}});function Xh(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Yh(e,t,n){e&&sl(n||Wl(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Gh(e,t){e&&function(e,t){t=il(e,t),delete rl[t]}(t||Wl(),e)}let Jh=0;function Kh(e,t,n,o){O(t)&&To(e,t.bind(n),o)}function Zh(e,t,n){!function(e,t,n){const o=e.mpType||n.$mpType;if(o&&(Object.keys(e).forEach((o=>{if(0===o.indexOf("on")){const r=e[o];E(r)?r.forEach((e=>Kh(o,e,n,t))):Kh(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{Gl(n,"onLoad",t.attrs.__pageQuery),delete t.attrs.__pageQuery,Gl(n,"onShow")}catch(nw){console.error(nw.message+"\n"+nw.stack)}}}(e,t,n)}function Qh(e,t,n){return e[t]=n}function ep(e,t){return e?[...new Set([].concat(e,t))]:t}function tp(e){const t=e._context.config;var n;O(e._component.onError)&&(t.errorHandler=function(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;Gl(r.proxy,"onError",t)}}(e)),n=t.optionMergeStrategies,xe.forEach((e=>{n[e]=ep}));const o=t.globalProperties;o.$set=Qh,o.$applyOptions=Zh,function(e){Te.forEach((t=>t(e)))}(e)}const np=Rl("upm");function op(){return qn(np)}function rp(e){const t=function(e){return $t(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==vp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Yl(qa().meta,e)))))}(e);return Vn(np,t),t}function ip(){return qa()}function sp(){return history.state&&history.state.__id__||1}let ap;function lp(){var e;return ap||(ap=__uniConfig.tabBar&&$t((e=__uniConfig.tabBar,Ha()&&e.list&&e.list.forEach((e=>{Xa(e,["text"])})),e))),ap}const cp=window.CSS&&window.CSS.supports;function up(e){return cp&&(cp(e)||cp.apply(window.CSS,e.split(":")))}const dp=up("top:env(a)"),fp=up("top:constant(a)"),hp=(()=>dp?"env":fp?"constant":"")();function pp(e){var t,n;Ll({"--window-top":(n=0,hp?`calc(${n}px + ${hp}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,hp?`calc(${t}px + ${hp}(safe-area-inset-bottom))`:`${t}px`)})}const gp=new Map;function mp(){return gp}function vp(){const e=[],t=gp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function yp(e,t=!0){const n=gp.get(e);n.$.__isUnload=!0,Gl(n,"onUnload"),gp.delete(e),t&&function(e){const t=Tp.get(e);t&&(Tp.delete(e),Sp.pruneCacheEntry(t))}(e)}let _p=sp();function bp(e){const t=op();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){const{id:i,route:s}=o;return{id:i,path:ie(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#000000"===o.navigationBar.titleColor?"dark":"light"}}("navigateTo",n,{},t)}function wp(e){const t=bp(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),gp.set(xp(t.path,t.id),e)}function xp(e,t){return e+"$$"+t}const Tp=new Map,Sp={get:e=>Tp.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Sp.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Sp.delete(n),Sp.pruneCacheEntry(e),bn((()=>{gp.forEach(((e,t)=>{e.$.isUnmounted&&gp.delete(t)}))})))}))}(e),Tp.set(e,t)},delete(e){Tp.get(e)&&Tp.delete(e)},forEach(e){Tp.forEach(e)}};function kp(e,t){!function(e){const t=Cp(e),{body:n}=document;Ip&&n.removeAttribute(Ip),t&&n.setAttribute(t,""),Ip=t}(e),pp(),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",Jl),Op&&document.removeEventListener("scroll",Op);if(t.disableScroll)return document.addEventListener("touchmove",Jl);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&&Tm.publishHandler("onPageScroll",{scrollTop:o},e),n&&Tm.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Tm.publishHandler("onReachBottom",{},s));Op=Ql(i),requestAnimationFrame((()=>document.addEventListener("scroll",Op)))}(e,t)}function Ep(e){const t=Cp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Cp(e){return e.type.__scopeId}let Ip,Op;function Mp(e){const t=Fa({history:Ap(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Pp});e.router=t,e.use(t)}const Pp=(e,t,n)=>{if(n)return n};function Ap(){let{base:e}=__uniConfig.router;"/"===e&&(e="");const t=Bs(e);return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=vp(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;yp(xp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}var $p={install(e){tp(e),fc(e),Tc(e),e.config.warnHandler=Lp,Mp(e)}};function Lp(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)}let Rp;function Bp(){return Rp}function Np(e){Rp=e,function(e){e.$vm=e,e.$mpType="app";const t=Xt(Ya().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Rp),function(e,t){const n=e.$options||{};n.globalData=x(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Rp),wc(),yl()}function jp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=x({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=ni();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function Dp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?jp(e.default,t):jp(e,t)}function Fp(e){return Dp(e,{clone:!0,init:wp,setup(e){e.$pageInstance=e;const t=ge(ip().query);e.attrs.__pageQuery=t,e.proxy.$page.options=t;const n=op();var o,r,i;return ko((()=>{kp(e,n)})),Eo((()=>{Ep(e);const{onReady:t}=e;t&&X(t)})),mo((()=>{if(!e.__isVisible){kp(e,n),e.__isVisible=!0;const{onShow:t}=e;t&&X(t)}}),"ba",o),function(e,t){mo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&X(t)}})),r=n.id,Tm.subscribe(il(r,"invokeViewApi"),i?i(al):al),Oo((()=>{!function(e){Tm.unsubscribe(il(e,"invokeViewApi")),Object.keys(rl).forEach((t=>{0===t.indexOf(e+".")&&delete rl[t]}))}(n.id)})),t}})}function Vp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=og(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Sm.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function qp(e){B(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Sm.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Hp(){const{emit:e}=Sm;"visible"===document.visibilityState?e("onAppEnterForeground",x({},pf)):e("onAppEnterBackground")}const zp=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Wp=le((()=>Sm.on("onWebInvokeAppService",zp)));var Up=Ic({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Wp();const t=Xt(null),n=Xt(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=Qf({excludeListeners:!0});let s;return(()=>{const r=document.createElement("iframe");Hn((()=>{for(const e in o.value)if(k(o.value,e)){const t=o.value[e];r[e]=t}})),Hn((()=>{r.src=Hc(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();ae(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else ae(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)})(),Eo((()=>{var o;s(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),po((()=>{e.fullscreen&&(n.value.style.display="block")})),go((()=>{e.fullscreen&&(n.value.style.display="none")})),Oo((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>zr(Er,null,[zr("uni-web-view",Kr({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[zr(gf,{onResize:s},null,8,["onResize"])],16)])}});const Xp=window.localStorage||window.sessionStorage||{};let Yp;function Gp(){if(Yp=Yp||Xp.__DC_STAT_UUID,!Yp){Yp=Date.now()+""+Math.floor(1e7*Math.random());try{Xp.__DC_STAT_UUID=Yp}catch(e){}}return Yp}function Jp(){let e,t="0",n="",o="phone";const r=navigator.language;if(Uc){e="iOS";const o=zc.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=zc.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Wc){e="Android";const o=zc.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=zc.match(/\((.+?)\)/),i=r?r[1].split(";"):zc.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(Jc)n="iPad",e="iOS",o="pad",t=O(window.BigInt)?"14.0":"13.0";else if(Xc||Yc||Gc){n="PC",e="PC",o="pc",t="0";let r=zc.match(/\((.+?)\)/)[1];if(Xc){switch(e="Windows",Xc[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(Yc){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(Gc){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(zc)&&(a=t[n],l=zc.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:zc,osname:e,osversion:t,theme:void 0}}const Kp=$u(0,(()=>{const e=window.devicePixelRatio,t=Kc(),n=Zc(t),o=Qc(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=eu(o);let s=window.innerHeight;const a=Il.top,l={left:Il.left,right:i-Il.right,top:Il.top,bottom:s-Il.bottom,width:i-Il.left-Il.right,height:s-Il.top-Il.bottom},{top:c,bottom:u}=$l();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:Il.top,right:Il.right,bottom:Il.bottom,left:Il.left},screenTop:r-s}}));let Zp,Qp=!0;function eg(){Qp&&(Zp=Jp())}const tg=$u(0,(()=>{eg();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=Zp;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Gp(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),ng=$u(0,(()=>{eg();const{theme:e,language:t,browserName:n,browserVersion:o}=Zp;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Pd?Pd():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:""}})),og=$u(0,(()=>{Qp=!0,eg(),Qp=!1;const e=Kp(),t=tg(),n=ng();Qp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Zp,l=x(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,delete l.theme,function(e){let t={};return B(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),rg=!!window.navigator.vibrate,ig=Lu("vibrateShort",((e,{resolve:t,reject:n})=>{rg&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),sg={esc:["Esc","Escape"],enter:["Enter"]},ag=Object.keys(sg);const lg=zr("div",{class:"uni-mask"},null,-1);function cg(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Qi(ro({setup:()=>()=>(Ar(),Nr(e,t,null,16))}))}function ug(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function dg(e,{onEsc:t,onEnter:n}){const o=Xt(e.visible),{key:r,disable:i}=function(){const e=Xt(""),t=Xt(!1),n=n=>{if(t.value)return;const o=ag.find((e=>-1!==sg[e].indexOf(n.key)));o&&(e.value=o),bn((()=>e.value=""))};return Eo((()=>{document.addEventListener("keyup",n)})),Oo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Wn((()=>e.visible),(e=>o.value=e)),Wn((()=>o.value),(e=>i.value=!e)),Hn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}var fg=ro({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=Xt(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=dg(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}});return()=>{const{title:t,content:o,showCancel:a,confirmText:l,confirmColor:c,editable:u,placeholderText:d}=e;return n.value=o,zr(Li,{name:"uni-fade"},{default:()=>[Ro(zr("uni-modal",{onTouchmove:Ol},[lg,zr("div",{class:"uni-modal"},[t&&zr("div",{class:"uni-modal__hd"},[zr("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),u?zr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):zr("div",{class:"uni-modal__bd",onTouchmovePassive:Ml,textContent:o},null,40,["onTouchmovePassive","textContent"]),zr("div",{class:"uni-modal__ft"},[a&&zr("div",{style:{color:e.cancelColor},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),zr("div",{style:{color:c},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[l],12,["onClick"])])])],40,["onTouchmove"]),[[Gi,s.value]])]})}}});let hg;const pg=le((()=>{Sm.on("onHidePopup",(()=>hg.visible=!1))}));let gg;function mg(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&hg.editable&&(o.content=t),gg&&gg(o)}const vg=Lu("showModal",((e,{resolve:t})=>{pg(),gg=t,hg?(x(hg,e),hg.visible=!0):(hg=$t(e),bn((()=>(cg(fg,hg,mg).mount(ug("u-a-m")),bn((()=>hg.visible=!0))))))}),0,nf),yg=Lu("setClipboardData",(async({data:e},{resolve:t,reject:n})=>{tl();const{t:o}=Ya();try{await navigator.clipboard.writeText(e),t()}catch(r){n(),vg({title:o("uni.setClipboardData.fail"),content:e,editable:!0})}}),0,$d);const _g=$u(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),bg=Lu("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{_g(e,t),n()}catch(r){o(r.message)}}));function wg(e){const t=localStorage&&localStorage.getItem(e);if(!M(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=M(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const xg=$u(0,((e,t)=>{try{return wg(e)}catch(n){return""}})),Tg=$u(0,(e=>{localStorage&&localStorage.removeItem(e)})),Sg=Lu("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const kg=Lu("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,Rd),Eg={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 Cg({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",ae(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}/${Eg[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}Ff();let Ig=null;const Og=Lu("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{el();const{t:i}=Ya();Ig&&(document.body.removeChild(Ig),Ig=null),Ig=Cg({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Ig),Ig.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||ff(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),Ig.click(),jf||console.warn(i("uni.chooseFile.notUserActivation"))}),0,Ld);let Mg=0,Pg="";function Ag(e){let t=Mg;Mg+=e?1:-1,Mg=Math.max(0,Mg),Mg>0?0===t&&(Pg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Pg,Pg="")}var $g=Oc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=$t({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 zr(th,{style:n,onTouchstart:$c(c),onTouchmove:$c(d),onTouchend:$c(u)},{default:()=>[zr(ph,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[zr("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 Lg(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}var Rg=Oc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Eo((()=>Ag(!0))),Mo((()=>Ag(!1)));const n=Xt(null),o=Xt(Lg(e));let r;function i(){r||bn((()=>{t("close")}))}function s(e){o.value=e.detail.current}return Wn((()=>e.current),(()=>o.value=Lg(e))),Eo((()=>{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)}))})),()=>{let t;return zr("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},[zr(Nh,{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=>zr(jh,null,{default:()=>[zr($g,{src:e},null,8,["src"])]}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!jr(r)?t:{default:()=>[t],_:1}),8,["current","onChange"])],8,["onClick"]);var r}}});let Bg,Ng=null;const jg=()=>{Ng=null,bn((()=>{null==Bg||Bg.unmount(),Bg=null}))},Dg=Lu("previewImage",((e,{resolve:t})=>{Ng?x(Ng,e):(Ng=$t(e),bn((()=>{Bg=cg(Rg,Ng,jg),Bg.mount(ug("u-a-p"))}))),t()}),0,Bd),Fg=Au("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(M(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)k(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,h=new Vg(f);f.open(o,e);for(const m in n)k(n,m)&&f.setRequestHeader(m,n[m]);const p=setTimeout((function(){f.onload=f.onabort=f.onerror=null,h.abort(),c("timeout")}),a);return f.responseType=i,f.onload=function(){clearTimeout(p);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:qg(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(p),c("abort")},f.onerror=function(){clearTimeout(p),c()},f.withCredentials=s,f.send(u),h}),0,Fd);class Vg{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 qg(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 Hg{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){O(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 zg=Au("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 Hg;return E(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(df(e)):uf(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()},o.onabort=function(){clearTimeout(n),c("abort")},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort"):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout")}),a),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Vd),Wg=Lu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===Gl("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Bp().$router.go(-e.delta),t()):n("onBackPress")}),0,Xd);function Ug({type:e,url:t,events:n},o){const r=Bp().$router,{path:i,query:s}=function(e){const[t,n]=e.split("?",2);return{path:t,query:ve(n||"")}}(t);return new Promise(((t,a)=>{const l=function(e,t){return{__id__:t||++_p,__type__:e}}(e,o);r["navigateTo"===e?"push":"replace"]({path:i,query:s,state:l,force:!0}).then((o=>{if(Hs(o))return a(o.message);if("navigateTo"===e){const e=new _e(l.__id__,n);return r.currentRoute.value.meta.eventChannel=e,t({eventChannel:e})}return t()}))}))}const Xg=Lu("navigateTo",(({url:e,events:t},{resolve:n,reject:o})=>Ug({type:"navigateTo",url:e,events:t}).then(n).catch(o)),0,Hd);const Yg=Lu("redirectTo",(({url:e},{resolve:t,reject:n})=>(function(){const e=Hl();if(!e)return;const t=e.$page;yp(xp(t.path,t.id))}(),Ug({type:"redirectTo",url:e}).then(t).catch(n))),0,zd);const Gg=Lu("reLaunch",(({url:e},{resolve:t,reject:n})=>(function(){const e=mp().keys();for(const t of e)yp(t)}(),Ug({type:"reLaunch",url:e}).then(t).catch(n))),0,Wd);function Jg(e,t){return e===t.fullPath}const Kg=Lu("switchTab",(({url:e},{resolve:t,reject:n})=>(function(){const e=Ul();if(!e)return;const t=mp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:yp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Gl(e,"onHide"))}(),Ug({type:"switchTab",url:e},function(e){const t=mp().values();for(const n of t){const t=n.$page;if(Jg(e,t))return n.$.__isActive=!0,t.id}}(e)).then(t).catch(n))),0,Ud),Zg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==of.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}};var Qg=ro({name:"Toast",props:Zg,setup(e){Ka(),Za();const{Icon:t}=function(e){return{Icon:di((()=>{switch(e.icon){case"success":return zr(Fl(jl,"#fff",38),{class:"uni-toast__icon"});case"error":return zr(Fl(Dl,"#fff",38),{class:"uni-toast__icon"});case"loading":return zr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=dg(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return zr(Li,{name:"uni-fade"},{default:()=>[Ro(zr("uni-toast",{"data-duration":r},[o?zr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Ol},null,40,["onTouchmove"]):"",s||t.value?zr("div",{class:"uni-toast"},[s?zr("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,zr("p",{class:"uni-toast__content"},[i])]):zr("div",{class:"uni-sample-toast"},[zr("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Gi,n.value]])]})}}});let em,tm,nm="";const om=Ie();function rm(e){em?x(em,e):(em=$t(x(e,{visible:!1})),bn((()=>{om.run((()=>{Wn([()=>em.visible,()=>em.duration],(([e,t])=>{if(e){if(tm&&clearTimeout(tm),"onShowLoading"===nm)return;tm=setTimeout((()=>{cm("onHideToast")}),t)}else tm&&clearTimeout(tm)}))})),Sm.on("onHidePopup",(()=>cm("onHidePopup"))),cg(Qg,em,(()=>{})).mount(ug("u-a-t"))}))),setTimeout((()=>{em.visible=!0}),10)}const im=Lu("showToast",((e,{resolve:t,reject:n})=>{rm(e),nm="onShowToast",t()}),0,rf),sm={icon:"loading",duration:1e8,image:""},am=Lu("showLoading",((e,{resolve:t,reject:n})=>{x(e,sm),rm(e),nm="onShowLoading",t()}),0,tf),lm=Lu("hideLoading",((e,{resolve:t,reject:n})=>{cm("onHideLoading"),t()}));function cm(e){const{t:t}=Ya();if(!nm)return;let n="";if("onHideToast"===e&&"onShowToast"!==nm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==nm&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);nm="",setTimeout((()=>{em.visible=!1}),10)}function um(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Sm.emit("onNavigationBarChange",{titleText:t})}Hn(t),po(t)}function dm(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()}const fm=Lu("setNavigationBarColor",((e,{resolve:t,reject:n})=>{dm(zl(),"setNavigationBarColor",e,t,n)}),0,Qd),hm=Lu("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{dm(zl(),"setNavigationBarTitle",e,t,n)})),pm=Lu("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(M(e)){const t=document.querySelector(e);if(t){const{height:o,top:r}=t.getBoundingClientRect();e=r+window.pageYOffset,n&&(e-=o)}}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,!0),o()}),0,ef),gm=Lu("stopPullDownRefresh",((e,{resolve:t})=>{Sm.invokeViewMethod("stopPullDownRefresh",{},Wl()),t()})),mm=["text","iconPath","iconfont","selectedIconPath","visible"],vm=["color","selectedColor","backgroundColor","borderStyle"],ym=["badge","redDot"];function _m(e,t,n){t.forEach((function(t){k(n,t)&&(e[t]=n[t])}))}function bm(e,t,n){const o=lp();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;_m(n,mm,t);const{pagePath:i}=t;if(i){const t=ie(i);t!==r&&function(e,t,n){const o=tc(ie(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=tc(ie(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=se(n))}}(e,r,t)}break;case"setTabBarStyle":_m(o,vm,t);break;case"showTabBarRedDot":_m(o.list[t.index],ym,{badge:"",redDot:!0});break;case"setTabBarBadge":_m(o.list[t.index],ym,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":_m(o.list[t.index],ym,{badge:"",redDot:!1})}n()}const wm=Lu("hideTabBar",((e,{resolve:t})=>{bm("hideTabBar",e||{},t)}));var xm=Oc({name:"Layout",setup(e,{emit:t}){const n=Xt(null);Ll({"--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=qa();return{routeKey:di((()=>xp("/"+e.meta.route,sp()))),isTabBar:di((()=>e.meta.isTabBar)),routeCache:Sp}}(),{layoutState:r,windowState:i}=function(){ip();{const e=$t({marginWidth:0});return Wn((()=>e.marginWidth),(e=>Ll({"--window-margin":e+"px"}))),{layoutState:e,windowState:di((()=>({})))}}}();!function(e,t){const n=ip();function o(){const n=document.body.clientWidth,o=parseInt(String(__uniConfig.globalStyle.maxWidth||Number.MAX_SAFE_INTEGER));let r=!1;r=n>o,r&&o?(e.marginWidth=(n-o)/2,bn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+o+"px;margin:0 auto;")}))):(e.marginWidth=0,bn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Wn([()=>n.path],o),Eo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=Xt(!1);return di((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return zr(Da,null,{default:Rn((({Component:o})=>[(Ar(),Nr(fo,{matchBy:"key",cache:n},[(Ar(),Nr(Do(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return zr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const Tm=x(ll,{publishHandler(e,t,n){Sm.subscribeHandler(e,t,n)}}),Sm=x(gc,{publishHandler(e,t,n){Tm.subscribeHandler(e,t,n)}});var km=Oc({name:"PageBody",setup:(e,t)=>()=>zr(Er,null,[!1,zr("uni-page-wrapper",null,[zr("uni-page-body",null,[Ho(t.slots,"default")])],16)])}),Em=Oc({name:"Page",setup(e,t){const n=rp(sp());return n.navigationBar,um(n),()=>zr("uni-page",{"data-page":n.route},[Cm(t)])}});function Cm(e){return Ar(),Nr(km,{key:0},{default:Rn((()=>[Ho(e.slots,"page")])),_:3})}function Im(){window.location.reload()}var Om=Oc({name:"AsyncError",setup(){Ja();const{t:e}=Ya();return()=>zr("div",{class:"uni-async-error",onClick:Im},[e("uni.async.error")],8,["onClick"])}});const Mm={class:"uni-async-loading"},Pm=zr("i",{class:"uni-loading"},null,-1);var Am=Oc({name:"AsyncLoading",render:()=>(Ar(),Nr("div",Mm,[Pm]))});const $m={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=qu;const Lm={},Rm=Object.assign;window.__uniConfig=Rm({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#FFFFFF",titleText:"商城",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{custom:{"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^w-(.*)":"@/components/widgets/$1/$1.vue"}},compilerVersion:"3.5.5"},{appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",async:$m,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Lm).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Rm(e[n]||(e[n]={}),Lm[t].default),e}),{}),router:{mode:"history",base:"/mobile/",assets:"assets"}}),window.__uniLayout=window.__uniLayout||{};const Bm={loadingComponent:Am,errorComponent:Om,delay:$m.delay,timeout:$m.timeout,suspensible:$m.suspensible},Nm=()=>o((()=>import("./pages-index-index.0c49ff9a.js")),["assets/pages-index-index.0c49ff9a.js","assets/index.aa96bf38.css","assets/u-search.5a7a3cc0.js","assets/u-search.35cfd0ff.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/util.871c1879.js","assets/news-card.bf9d4267.js","assets/news-card.4d605da2.css","assets/icon_visit.9ad00ab7.js","assets/tabbar.c02ed954.js","assets/tabbar.0ded8ef7.css","assets/u-badge.f4477090.js","assets/u-badge.e5ec9c3e.css","assets/shop.f969658d.js"]).then((e=>Fp(e.default||e))),jm=so(Rm({loader:Nm},Bm)),Dm=()=>o((()=>import("./pages-news-news.8ce4ef9e.js")),["assets/pages-news-news.8ce4ef9e.js","assets/news.ef4a57e5.css","assets/u-search.5a7a3cc0.js","assets/u-search.35cfd0ff.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-badge.f4477090.js","assets/u-badge.e5ec9c3e.css","assets/util.871c1879.js","assets/tabbar.c02ed954.js","assets/tabbar.0ded8ef7.css","assets/news-card.bf9d4267.js","assets/news-card.4d605da2.css","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/icon_visit.9ad00ab7.js","assets/z-paging.dba6931f.js","assets/z-paging.7a95433d.css","assets/news.3e6b7eb5.js"]).then((e=>Fp(e.default||e))),Fm=so(Rm({loader:Dm},Bm)),Vm=()=>o((()=>import("./pages-user-user.ea41a577.js")),["assets/pages-user-user.ea41a577.js","assets/user.8470acb1.css","assets/u-avatar.82f87cbb.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/util.871c1879.js","assets/tabbar.c02ed954.js","assets/tabbar.0ded8ef7.css","assets/u-badge.f4477090.js","assets/u-badge.e5ec9c3e.css","assets/shop.f969658d.js"]).then((e=>Fp(e.default||e))),qm=so(Rm({loader:Vm},Bm)),Hm=()=>o((()=>import("./pages-login-login.cca2c5c1.js")),["assets/pages-login-login.cca2c5c1.js","assets/login.c39de227.css","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/emitter.5b880544.js","assets/u-verification-code.3d8dc169.js","assets/u-verification-code.e967c1e9.css","assets/u-form.4eb8cd7e.js","assets/u-checkbox.ba902ed1.js","assets/u-checkbox.c93b1db2.css","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css","assets/avatar-upload.c72a71cb.js","assets/avatar-upload.dfd26edf.css","assets/util.871c1879.js","assets/_commonjsHelpers.b8add541.js","assets/u-popup.08086621.js","assets/u-popup.3b64afbe.css","assets/useLockFn.4d99e11c.js"]).then((e=>Fp(e.default||e))),zm=so(Rm({loader:Hm},Bm)),Wm=()=>o((()=>import("./pages-register-register.abf4d67d.js")),["assets/pages-register-register.abf4d67d.js","assets/register.899c93a6.css","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/emitter.5b880544.js","assets/u-form.4eb8cd7e.js","assets/u-checkbox.ba902ed1.js","assets/u-checkbox.c93b1db2.css","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css"]).then((e=>Fp(e.default||e))),Um=so(Rm({loader:Wm},Bm)),Xm=()=>o((()=>import("./pages-forget_pwd-forget_pwd.0a9ae2d2.js")),["assets/pages-forget_pwd-forget_pwd.0a9ae2d2.js","assets/forget_pwd.ed6556d1.css","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/emitter.5b880544.js","assets/u-verification-code.3d8dc169.js","assets/u-verification-code.e967c1e9.css","assets/u-form.4eb8cd7e.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css"]).then((e=>Fp(e.default||e))),Ym=so(Rm({loader:Xm},Bm)),Gm=()=>o((()=>import("./pages-customer_service-customer_service.f032660a.js")),["assets/pages-customer_service-customer_service.f032660a.js","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css","assets/shop.f969658d.js"]).then((e=>Fp(e.default||e))),Jm=so(Rm({loader:Gm},Bm)),Km=()=>o((()=>import("./pages-news_detail-news_detail.1c6c4b23.js")),["assets/pages-news_detail-news_detail.1c6c4b23.js","assets/news_detail.e6d41ab2.css","assets/u-parse.a47c6099.js","assets/u-parse.aaf4bd6b.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/icon_visit.9ad00ab7.js","assets/news.3e6b7eb5.js"]).then((e=>Fp(e.default||e))),Zm=so(Rm({loader:Km},Bm)),Qm=()=>o((()=>import("./pages-user_set-user_set.8b3b679e.js")),["assets/pages-user_set-user_set.8b3b679e.js","assets/user_set.78aba633.css","assets/u-avatar.82f87cbb.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css","assets/u-popup.08086621.js","assets/u-popup.3b64afbe.css","assets/useLockFn.4d99e11c.js"]).then((e=>Fp(e.default||e))),ev=so(Rm({loader:Qm},Bm)),tv=()=>o((()=>import("./pages-collection-collection.28d43ce4.js")),["assets/pages-collection-collection.28d43ce4.js","assets/collection.c4157529.css","assets/news-card.bf9d4267.js","assets/news-card.4d605da2.css","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/icon_visit.9ad00ab7.js","assets/z-paging.dba6931f.js","assets/z-paging.7a95433d.css","assets/news.3e6b7eb5.js"]).then((e=>Fp(e.default||e))),nv=so(Rm({loader:tv},Bm)),ov=()=>o((()=>import("./pages-as_us-as_us.450a51bc.js")),["assets/pages-as_us-as_us.450a51bc.js","assets/as_us.7e6f9660.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>Fp(e.default||e))),rv=so(Rm({loader:ov},Bm)),iv=()=>o((()=>import("./pages-agreement-agreement.40d6f72a.js")),["assets/pages-agreement-agreement.40d6f72a.js","assets/u-parse.a47c6099.js","assets/u-parse.aaf4bd6b.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>Fp(e.default||e))),sv=so(Rm({loader:iv},Bm)),av=()=>o((()=>import("./pages-change_password-change_password.5c90c447.js")),["assets/pages-change_password-change_password.5c90c447.js","assets/change_password.c1df2eaf.css","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/emitter.5b880544.js","assets/u-form.4eb8cd7e.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css"]).then((e=>Fp(e.default||e))),lv=so(Rm({loader:av},Bm)),cv=()=>o((()=>import("./pages-user_data-user_data.826d5181.js")),["assets/pages-user_data-user_data.826d5181.js","assets/user_data.2bb12612.css","assets/avatar-upload.c72a71cb.js","assets/avatar-upload.dfd26edf.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/util.871c1879.js","assets/_commonjsHelpers.b8add541.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/emitter.5b880544.js","assets/u-popup.08086621.js","assets/u-popup.3b64afbe.css","assets/u-verification-code.3d8dc169.js","assets/u-verification-code.e967c1e9.css"]).then((e=>Fp(e.default||e))),uv=so(Rm({loader:cv},Bm)),dv=()=>o((()=>import("./pages-search-search.956f4770.js")),["assets/pages-search-search.956f4770.js","assets/search.ad3d92b9.css","assets/u-search.5a7a3cc0.js","assets/u-search.35cfd0ff.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/news-card.bf9d4267.js","assets/news-card.4d605da2.css","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/icon_visit.9ad00ab7.js","assets/z-paging.dba6931f.js","assets/z-paging.7a95433d.css","assets/shop.f969658d.js","assets/news.3e6b7eb5.js"]).then((e=>Fp(e.default||e))),fv=so(Rm({loader:dv},Bm)),hv=()=>o((()=>import("./pages-webview-webview.69b31584.js")),[]).then((e=>Fp(e.default||e))),pv=so(Rm({loader:hv},Bm)),gv=()=>o((()=>import("./pages-bind_mobile-bind_mobile.fde336d3.js")),["assets/pages-bind_mobile-bind_mobile.fde336d3.js","assets/bind_mobile.37781db1.css","assets/u-form-item.9efeed79.js","assets/u-form-item.e55e5c90.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/emitter.5b880544.js","assets/u-verification-code.3d8dc169.js","assets/u-verification-code.e967c1e9.css","assets/u-form.4eb8cd7e.js","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css"]).then((e=>Fp(e.default||e))),mv=so(Rm({loader:gv},Bm)),vv=()=>o((()=>import("./pages-empty-empty.f79fe24b.js")),["assets/pages-empty-empty.f79fe24b.js","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>Fp(e.default||e))),yv=so(Rm({loader:vv},Bm)),_v=()=>o((()=>import("./pages-payment_result-payment_result.05194b92.js")),["assets/pages-payment_result-payment_result.05194b92.js","assets/payment_result.abc6a3be.css","assets/pay.7f11ad07.js","assets/pay.baebcd0b.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.e15c05f6.js","assets/u-image.a7813cd9.css","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css"]).then((e=>Fp(e.default||e))),bv=so(Rm({loader:_v},Bm)),wv=()=>o((()=>import("./uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.efe5c09b.js")),["assets/uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.efe5c09b.js","assets/u-avatar-cropper.91a54bb1.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>Fp(e.default||e))),xv=so(Rm({loader:wv},Bm)),Tv=()=>o((()=>import("./packages-pages-user_wallet-user_wallet.75fb3e70.js")),["assets/packages-pages-user_wallet-user_wallet.75fb3e70.js","assets/user_wallet.65835499.css","assets/u-badge.f4477090.js","assets/u-badge.e5ec9c3e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/z-paging.dba6931f.js","assets/z-paging.7a95433d.css","assets/recharge.ff7c9ddf.js"]).then((e=>Fp(e.default||e))),Sv=so(Rm({loader:Tv},Bm)),kv=()=>o((()=>import("./packages-pages-recharge-recharge.dfeb8d88.js")),["assets/packages-pages-recharge-recharge.dfeb8d88.js","assets/recharge.a2e328a9.css","assets/u-button.ae3a4a51.js","assets/u-button.95385492.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/pay.7f11ad07.js","assets/pay.baebcd0b.css","assets/u-icon.7191c6e8.js","assets/u-icon.81bcc25e.css","assets/util.871c1879.js","assets/emitter.5b880544.js","assets/u-popup.08086621.js","assets/u-popup.3b64afbe.css","assets/useLockFn.4d99e11c.js","assets/recharge.ff7c9ddf.js"]).then((e=>Fp(e.default||e))),Ev=so(Rm({loader:kv},Bm)),Cv=()=>o((()=>import("./packages-pages-recharge_record-recharge_record.e51f91ad.js")),["assets/packages-pages-recharge_record-recharge_record.e51f91ad.js","assets/z-paging.dba6931f.js","assets/z-paging.7a95433d.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/recharge.ff7c9ddf.js"]).then((e=>Fp(e.default||e))),Iv=so(Rm({loader:Cv},Bm));function Ov(e,t){return Ar(),Nr(Em,null,{page:Rn((()=>[zr(e,Rm({},t,{ref:"page"}),null,512)])),_:1})}function Mv(e,t){return M(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(jm,t)}},loader:Nm,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/news/news",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Fm,t)}},loader:Dm,meta:{disableScroll:!0,navigationBar:{titleText:"资讯",type:"default"},isNVue:!1}},{path:"/pages/user/user",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(qm,t)}},loader:Vm,meta:{navigationBar:{titleText:"个人中心",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(zm,t)}},loader:Hm,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Um,t)}},loader:Wm,meta:{navigationBar:{titleText:"注册",type:"default"},isNVue:!1}},{path:"/pages/forget_pwd/forget_pwd",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Ym,t)}},loader:Xm,meta:{navigationBar:{titleText:"忘记密码",type:"default"},isNVue:!1}},{path:"/pages/customer_service/customer_service",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Jm,t)}},loader:Gm,meta:{navigationBar:{titleText:"联系客服",type:"default"},isNVue:!1}},{path:"/pages/news_detail/news_detail",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Zm,t)}},loader:Km,meta:{navigationBar:{titleText:"详情",type:"default"},isNVue:!1}},{path:"/pages/user_set/user_set",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(ev,t)}},loader:Qm,meta:{navigationBar:{titleText:"个人设置",type:"default"},isNVue:!1}},{path:"/pages/collection/collection",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(nv,t)}},loader:tv,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/as_us/as_us",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(rv,t)}},loader:ov,meta:{navigationBar:{titleText:"关于我们",type:"default"},isNVue:!1}},{path:"/pages/agreement/agreement",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(sv,t)}},loader:iv,meta:{navigationBar:{titleText:"协议",type:"default"},isNVue:!1}},{path:"/pages/change_password/change_password",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(lv,t)}},loader:av,meta:{navigationBar:{titleText:"修改密码",type:"default"},isNVue:!1}},{path:"/pages/user_data/user_data",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(uv,t)}},loader:cv,meta:{navigationBar:{titleText:"个人资料",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(fv,t)}},loader:dv,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/webview/webview",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(pv,t)}},loader:hv,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/bind_mobile/bind_mobile",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(mv,t)}},loader:gv,meta:{navigationBar:{titleText:"绑定手机号",type:"default"},isNVue:!1}},{path:"/pages/empty/empty",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(yv,t)}},loader:vv,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/payment_result/payment_result",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(bv,t)}},loader:_v,meta:{navigationBar:{titleText:"支付结果",type:"default"},isNVue:!1}},{path:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(xv,t)}},loader:wv,meta:{navigationBar:{backgroundColor:"#000000",titleText:"头像裁剪",type:"default"},isNVue:!1}},{path:"/packages/pages/user_wallet/user_wallet",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Sv,t)}},loader:Tv,meta:{navigationBar:{titleText:"我的钱包",type:"default"},isNVue:!1}},{path:"/packages/pages/recharge/recharge",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Ev,t)}},loader:kv,meta:{navigationBar:{titleText:"充值",type:"default"},isNVue:!1}},{path:"/packages/pages/recharge_record/recharge_record",component:{setup(){const e=Bp(),t=e&&e.$route&&e.$route.query||{};return()=>Ov(Iv,t)}},loader:Cv,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Pv=e=>(t,n=ni())=>{!si&&To(e,t,n)},Av=Pv("onShow"),$v=Pv("onLaunch"),Lv=Pv("onLoad"),Rv=Pv("onUnload");
/*!
* pinia v2.0.20
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/
let Bv;const Nv=e=>Bv=e,jv=Symbol();function Dv(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Fv,Vv;(Vv=Fv||(Fv={})).direct="direct",Vv.patchObject="patch object",Vv.patchFunction="patch function";const qv=()=>{};function Hv(e,t,n,o=qv){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&ni()&&Mo(r),r}function zv(e,...t){e.slice().forEach((e=>{e(...t)}))}function Wv(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Dv(r)&&Dv(o)&&e.hasOwnProperty(n)&&!Ut(o)&&!Bt(o)?e[n]=Wv(r,o):e[n]=o}return e}const Uv=Symbol();const{assign:Xv}=Object;function Yv(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let l;return l=Gv(e,(function(){a||(n.state.value[e]=r?r():{});const t=function(e){const t=E(e)?new Array(e.length):{};for(const n in e)t[n]=tn(e,n);return t}(n.state.value[e]);return Xv(t,i,Object.keys(s||{}).reduce(((t,o)=>(t[o]=Vt(di((()=>{Nv(n);const t=n._s.get(e);return s[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l.$reset=function(){const e=r?r():{};this.$patch((t=>{Xv(t,e)}))},l}function Gv(e,t,n={},o,r,i){let s;const a=Xv({actions:{}},n),l={deep:!0};let c,u,d,f=Vt([]),h=Vt([]);const p=o.state.value[e];let g;function m(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:Fv.patchFunction,storeId:e,events:d}):(Wv(o.state.value[e],t),n={type:Fv.patchObject,payload:t,storeId:e,events:d});const r=g=Symbol();bn().then((()=>{g===r&&(c=!0)})),u=!0,zv(f,n,o.state.value[e])}i||p||(o.state.value[e]={}),Xt({});const v=qv;function y(t,n){return function(){Nv(o);const r=Array.from(arguments),i=[],s=[];function a(e){i.push(e)}function l(e){s.push(e)}let c;zv(h,{args:r,name:t,store:b,after:a,onError:l});try{c=n.apply(this&&this.$id===e?this:b,r)}catch(u){throw zv(s,u),u}return c instanceof Promise?c.then((e=>(zv(i,e),e))).catch((e=>(zv(s,e),Promise.reject(e)))):(zv(i,c),c)}}const _={_p:o,$id:e,$onAction:Hv.bind(null,h),$patch:m,$reset:v,$subscribe(t,n={}){const r=Hv(f,t,n.detached,(()=>i())),i=s.run((()=>Wn((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Fv.direct,events:d},o)}),Xv({},l,n))));return r},$dispose:function(){s.stop(),f=[],h=[],o._s.delete(e)}},b=$t(Xv({},_));o._s.set(e,b);const w=o._e.run((()=>(s=Ie(),s.run((()=>t())))));for(const S in w){const t=w[S];if(Ut(t)&&(!Ut(T=t)||!T.effect)||Bt(t))i||(!p||Dv(x=t)&&x.hasOwnProperty(Uv)||(Ut(t)?t.value=p[S]:Wv(t,p[S])),o.state.value[e][S]=t);else if("function"==typeof t){const e=y(S,t);w[S]=e,a.actions[S]=t}}var x,T;return Xv(b,w),Xv(Ft(b),w),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{m((t=>{Xv(t,e)}))}}),o._p.forEach((e=>{Xv(b,s.run((()=>e({store:b,app:o._a,pinia:o,options:a}))))})),p&&i&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function Jv(e,t,n){let o,r;const i="function"==typeof t;function s(e,n){const s=ni();(e=e||s&&qn(jv))&&Nv(e),(e=Bv)._s.has(o)||(i?Gv(o,t,r,e):Yv(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}function Kv(e){{e=Ft(e);const t={};for(const n in e){const o=e[n];(Ut(o)||Bt(o))&&(t[n]=tn(e,n))}return t}}var Zv="object"==typeof global&&global&&global.Object===Object&&global,Qv="object"==typeof self&&self&&self.Object===Object&&self,ey=Zv||Qv||Function("return this")(),ty=ey.Symbol,ny=Object.prototype,oy=ny.hasOwnProperty,ry=ny.toString,iy=ty?ty.toStringTag:void 0;var sy=Object.prototype.toString;var ay=ty?ty.toStringTag:void 0;function ly(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ay&&ay in Object(e)?function(e){var t=oy.call(e,iy),n=e[iy];try{e[iy]=void 0;var o=!0}catch(nw){}var r=ry.call(e);return o&&(t?e[iy]=n:delete e[iy]),r}(e):function(e){return sy.call(e)}(e)}function cy(e){return null!=e&&"object"==typeof e}var uy=Array.isArray;function dy(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function fy(e){return e}function hy(e){if(!dy(e))return!1;var t=ly(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var py,gy=ey["__core-js_shared__"],my=(py=/[^.]+$/.exec(gy&&gy.keys&&gy.keys.IE_PROTO||""))?"Symbol(src)_1."+py:"";var vy=Function.prototype.toString;var yy=/^\[object .+?Constructor\]$/,_y=Function.prototype,by=Object.prototype,wy=_y.toString,xy=by.hasOwnProperty,Ty=RegExp("^"+wy.call(xy).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Sy(e){return!(!dy(e)||(t=e,my&&my in t))&&(hy(e)?Ty:yy).test(function(e){if(null!=e){try{return vy.call(e)}catch(nw){}try{return e+""}catch(nw){}}return""}(e));var t}function ky(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Sy(n)?n:void 0}var Ey=Object.create,Cy=function(){function e(){}return function(t){if(!dy(t))return{};if(Ey)return Ey(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Iy(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Oy=Date.now;var My,Py,Ay,$y=function(){try{var e=ky(Object,"defineProperty");return e({},"",{}),e}catch(nw){}}(),Ly=$y,Ry=Ly?function(e,t){return Ly(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:fy,By=(My=Ry,Py=0,Ay=0,function(){var e=Oy(),t=16-(e-Ay);if(Ay=e,t>0){if(++Py>=800)return arguments[0]}else Py=0;return My.apply(void 0,arguments)}),Ny=/^(?:0|[1-9]\d*)$/;function jy(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ny.test(e))&&e>-1&&e%1==0&&e<t}function Dy(e,t,n){"__proto__"==t&&Ly?Ly(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Fy(e,t){return e===t||e!=e&&t!=t}var Vy=Object.prototype.hasOwnProperty;function qy(e,t,n){var o=e[t];Vy.call(e,t)&&Fy(o,n)&&(void 0!==n||t in e)||Dy(e,t,n)}var Hy=Math.max;function zy(e,t){return By(function(e,t,n){return t=Hy(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=Hy(o.length-t,0),s=Array(i);++r<i;)s[r]=o[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=o[r];return a[t]=n(s),Iy(e,this,a)}}(e,t,fy),e+"")}function Wy(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Uy(e){return null!=e&&Wy(e.length)&&!hy(e)}var Xy=Object.prototype;function Yy(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Xy)}function Gy(e){return cy(e)&&"[object Arguments]"==ly(e)}var Jy=Object.prototype,Ky=Jy.hasOwnProperty,Zy=Jy.propertyIsEnumerable,Qy=Gy(function(){return arguments}())?Gy:function(e){return cy(e)&&Ky.call(e,"callee")&&!Zy.call(e,"callee")};var e_="object"==typeof exports&&exports&&!exports.nodeType&&exports,t_=e_&&"object"==typeof module&&module&&!module.nodeType&&module,n_=t_&&t_.exports===e_?ey.Buffer:void 0,o_=(n_?n_.isBuffer:void 0)||function(){return!1},r_={};r_["[object Float32Array]"]=r_["[object Float64Array]"]=r_["[object Int8Array]"]=r_["[object Int16Array]"]=r_["[object Int32Array]"]=r_["[object Uint8Array]"]=r_["[object Uint8ClampedArray]"]=r_["[object Uint16Array]"]=r_["[object Uint32Array]"]=!0,r_["[object Arguments]"]=r_["[object Array]"]=r_["[object ArrayBuffer]"]=r_["[object Boolean]"]=r_["[object DataView]"]=r_["[object Date]"]=r_["[object Error]"]=r_["[object Function]"]=r_["[object Map]"]=r_["[object Number]"]=r_["[object Object]"]=r_["[object RegExp]"]=r_["[object Set]"]=r_["[object String]"]=r_["[object WeakMap]"]=!1;var i_="object"==typeof exports&&exports&&!exports.nodeType&&exports,s_=i_&&"object"==typeof module&&module&&!module.nodeType&&module,a_=s_&&s_.exports===i_&&Zv.process,l_=function(){try{var e=s_&&s_.require&&s_.require("util").types;return e||a_&&a_.binding&&a_.binding("util")}catch(nw){}}(),c_=l_&&l_.isTypedArray,u_=c_?function(e){return function(t){return e(t)}}(c_):function(e){return cy(e)&&Wy(e.length)&&!!r_[ly(e)]},d_=u_,f_=Object.prototype.hasOwnProperty;function h_(e,t){var n=uy(e),o=!n&&Qy(e),r=!n&&!o&&o_(e),i=!n&&!o&&!r&&d_(e),s=n||o||r||i,a=s?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],l=a.length;for(var c in e)!t&&!f_.call(e,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||jy(c,l))||a.push(c);return a}var p_=Object.prototype.hasOwnProperty;function g_(e){if(!dy(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Yy(e),n=[];for(var o in e)("constructor"!=o||!t&&p_.call(e,o))&&n.push(o);return n}function m_(e){return Uy(e)?h_(e,!0):g_(e)}var v_=ky(Object,"create");var y_=Object.prototype.hasOwnProperty;var __=Object.prototype.hasOwnProperty;function b_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function w_(e,t){for(var n=e.length;n--;)if(Fy(e[n][0],t))return n;return-1}b_.prototype.clear=function(){this.__data__=v_?v_(null):{},this.size=0},b_.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},b_.prototype.get=function(e){var t=this.__data__;if(v_){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return y_.call(t,e)?t[e]:void 0},b_.prototype.has=function(e){var t=this.__data__;return v_?void 0!==t[e]:__.call(t,e)},b_.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=v_&&void 0===t?"__lodash_hash_undefined__":t,this};var x_=Array.prototype.splice;function T_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}T_.prototype.clear=function(){this.__data__=[],this.size=0},T_.prototype.delete=function(e){var t=this.__data__,n=w_(t,e);return!(n<0)&&(n==t.length-1?t.pop():x_.call(t,n,1),--this.size,!0)},T_.prototype.get=function(e){var t=this.__data__,n=w_(t,e);return n<0?void 0:t[n][1]},T_.prototype.has=function(e){return w_(this.__data__,e)>-1},T_.prototype.set=function(e,t){var n=this.__data__,o=w_(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var S_=ky(ey,"Map");function k_(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function E_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}E_.prototype.clear=function(){this.size=0,this.__data__={hash:new b_,map:new(S_||T_),string:new b_}},E_.prototype.delete=function(e){var t=k_(this,e).delete(e);return this.size-=t?1:0,t},E_.prototype.get=function(e){return k_(this,e).get(e)},E_.prototype.has=function(e){return k_(this,e).has(e)},E_.prototype.set=function(e,t){var n=k_(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this};var C_=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),I_=C_,O_=Function.prototype,M_=Object.prototype,P_=O_.toString,A_=M_.hasOwnProperty,$_=P_.call(Object);function L_(e){var t=this.__data__=new T_(e);this.size=t.size}L_.prototype.clear=function(){this.__data__=new T_,this.size=0},L_.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},L_.prototype.get=function(e){return this.__data__.get(e)},L_.prototype.has=function(e){return this.__data__.has(e)},L_.prototype.set=function(e,t){var n=this.__data__;if(n instanceof T_){var o=n.__data__;if(!S_||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new E_(o)}return n.set(e,t),this.size=n.size,this};var R_="object"==typeof exports&&exports&&!exports.nodeType&&exports,B_=R_&&"object"==typeof module&&module&&!module.nodeType&&module,N_=B_&&B_.exports===R_?ey.Buffer:void 0,j_=N_?N_.allocUnsafe:void 0;var D_=ey.Uint8Array;function F_(e,t){var n,o,r=t?(n=e.buffer,o=new n.constructor(n.byteLength),new D_(o).set(new D_(n)),o):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var V_,q_=function(e,t,n){for(var o=-1,r=Object(e),i=n(e),s=i.length;s--;){var a=i[V_?s:++o];if(!1===t(r[a],a,r))break}return e};function H_(e,t,n){(void 0!==n&&!Fy(e[t],n)||void 0===n&&!(t in e))&&Dy(e,t,n)}function z_(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function W_(e){return function(e,t,n,o){var r=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],l=o?o(n[a],e[a],a,n,e):void 0;void 0===l&&(l=e[a]),r?Dy(n,a,l):qy(n,a,l)}return n}(e,m_(e))}function U_(e,t,n,o,r,i,s){var a=z_(e,n),l=z_(t,n),c=s.get(l);if(c)H_(e,n,c);else{var u,d=i?i(a,l,n+"",e,t,s):void 0,f=void 0===d;if(f){var h=uy(l),p=!h&&o_(l),g=!h&&!p&&d_(l);d=l,h||p||g?uy(a)?d=a:cy(u=a)&&Uy(u)?d=function(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}(a):p?(f=!1,d=function(e,t){if(t)return e.slice();var n=e.length,o=j_?j_(n):new e.constructor(n);return e.copy(o),o}(l,!0)):g?(f=!1,d=F_(l,!0)):d=[]:function(e){if(!cy(e)||"[object Object]"!=ly(e))return!1;var t=I_(e);if(null===t)return!0;var n=A_.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P_.call(n)==$_}(l)||Qy(l)?(d=a,Qy(a)?d=W_(a):dy(a)&&!hy(a)||(d=function(e){return"function"!=typeof e.constructor||Yy(e)?{}:Cy(I_(e))}(l))):f=!1}f&&(s.set(l,d),r(d,l,o,i,s),s.delete(l)),H_(e,n,d)}}function X_(e,t,n,o,r){e!==t&&q_(t,(function(i,s){if(r||(r=new L_),dy(i))U_(e,t,s,n,X_,o,r);else{var a=o?o(z_(e,s),i,s+"",e,t,r):void 0;void 0===a&&(a=i),H_(e,s,a)}}),m_)}var Y_,G_=(Y_=function(e,t,n){X_(e,t,n)},zy((function(e,t){var n=-1,o=t.length,r=o>1?t[o-1]:void 0,i=o>2?t[2]:void 0;for(r=Y_.length>3&&"function"==typeof r?(o--,r):void 0,i&&function(e,t,n){if(!dy(n))return!1;var o=typeof t;return!!("number"==o?Uy(n)&&jy(t,n.length):"string"==o&&t in n)&&Fy(n[t],e)}(t[0],t[1],i)&&(r=o<3?void 0:r,o=1),e=Object(e);++n<o;){var s=t[n];s&&Y_(e,s,n,r)}return e}))),J_=(e=>(e.GET="GET",e.POST="POST",e))(J_||{}),K_=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.FAILED=0]="FAILED",e[e.TOKEN_INVALID=-1]="TOKEN_INVALID",e))(K_||{}),Z_=(e=>(e.ABORT="request:fail abort",e.TIMEOUT="request:fail timeout",e))(Z_||{});const Q_=new Map,eb=class{static createInstance(){var e;return null!=(e=this.instance)?e:this.instance=new eb}add(e,t){this.remove(e),Q_.has(e)&&Q_.delete(e),Q_.set(e,t)}remove(e){if(Q_.has(e)){const t=Q_.get(e);t&&t.abort(),Q_.delete(e)}}};let tb=eb;t(tb,"instance");const nb=tb.createInstance();class ob{constructor(e){t(this,"options"),this.options=e}retryRequest(e,t){var n,o;const{retryCount:r,retryTimeout:i}=t;return r&&(null==(n=e.method)?void 0:n.toUpperCase())!=J_.POST?(am({title:"加载中..."}),t.hasRetryCount=null!=(o=t.hasRetryCount)?o:0,t.hasRetryCount>=r?Promise.reject():(t.hasRetryCount++,t.requestHooks.requestInterceptorsHook=e=>e,new Promise((e=>setTimeout(e,i))).then((()=>this.request(e,t))).finally((()=>lm())))):Promise.reject()}get(e,t){return this.request({...e,method:J_.GET},t)}post(e,t){return this.request({...e,method:J_.POST},t)}uploadFile(e,t){let n=G_({},this.options.requestOptions,e);const o=G_({},this.options,t),{requestInterceptorsHook:r,responseInterceptorsHook:i,responseInterceptorsCatchHook:s}=o.requestHooks||{};return r&&O(r)&&(n=r(n,o)),new Promise(((e,t)=>{zg({...n,success:async n=>{if(200==n.statusCode){if(n.data=JSON.parse(n.data),i&&O(i)){try{n=await i(n,o),e(n)}catch(r){t(r)}return}e(n)}},fail:async e=>{s&&O(s)?t(await s(n,e)):t(e)}})}))}async request(e,t){let n=G_({},this.options.requestOptions,e);const o=G_({},this.options,t),{requestInterceptorsHook:r,responseInterceptorsHook:i,responseInterceptorsCatchHook:s}=o.requestHooks||{};return r&&O(r)&&(n=r(n,o)),new Promise(((t,r)=>{const a=Fg({...n,async success(e){if(i&&O(i))try{e=await i(e,o),t(e)}catch(n){r(n)}else t(e)},fail:async e=>{e.errMsg!=Z_.TIMEOUT?s&&O(s)?r(await s(n,e)):r(e):this.retryRequest(n,o).then((e=>t(e))).catch((e=>r(e)))},complete(t){t.errMsg!==Z_.ABORT&&nb.remove(e.url)}}),{ignoreCancel:l}=o;!l&&nb.add(e.url,a)}))}}const rb="history",ib="back_url",sb={key:"app_",set(e,t,n){e=this.getKey(e);let o={expire:n?this.time()+n:"",value:t};"object"==typeof o&&(o=JSON.stringify(o));try{_g(e,o)}catch(nw){return null}},get(e){e=this.getKey(e);try{const t=xg(e);if(!t)return null;const{value:n,expire:o}=JSON.parse(t);return o&&o<this.time()?(Tg(e),null):n}catch(nw){return null}},time:()=>Math.round((new Date).getTime()/1e3),remove(e){e=this.getKey(e),Tg(e)},getKey(e){return this.key+e}};function ab(){return sb.get("token")}function lb(){return gb.get({url:"/user/info"},{isAuth:!0})}function cb(e){return gb.post({url:"/user/setInfo",data:e},{isAuth:!0})}function ub(e,t){return gb.post({url:"/user/bindMobile",data:e,header:t},{isAuth:!0})}function db(e){return gb.post({url:"/user/changePassword",data:e},{isAuth:!0})}function fb(e){return gb.post({url:"/user/resetPassword",data:e})}function hb(e){return gb.get({url:"/account_log/lists",data:e})}const pb=Jv({id:"userStore",state:()=>({userInfo:{},token:sb.get("token")||null,temToken:null}),getters:{isLogin:e=>!!e.token},actions:{async getUser(){const e=await(t={token:this.token||this.temToken},gb.get({url:"/user/center",header:t}));var t;this.userInfo=e},login(e){this.token=e,sb.set("token",e)},logout(){this.token="",this.userInfo={},sb.remove("token")}}});const gb=new ob(G_({requestOptions:{timeout:1e4},baseUrl:"/",isReturnDefaultResponse:!1,isTransformResponse:!0,urlPrefix:"api",ignoreCancel:!1,withToken:!0,isAuth:!1,retryCount:2,retryTimeout:1e3,requestHooks:{requestInterceptorsHook(e,t){var n;const{urlPrefix:o,baseUrl:r,withToken:i,isAuth:s}=t;e.header=null!=(n=e.header)?n:{},o&&(e.url=`${o}${e.url}`),r&&(e.url=`${r}${e.url}`);const a=ab();return i&&!e.header.token&&(e.header.token=a),e},async responseInterceptorsHook(e,t){const{isTransformResponse:n,isReturnDefaultResponse:o,isAuth:r}=t;if(o)return e;if(!n)return e.data;const{logout:i}=pb(),{code:s,data:a,msg:l,show:c}=e.data;switch(s){case K_.SUCCESS:return l&&c&&uni.$u.toast(l),a;case K_.FAILED:return uni.$u.toast(l),Promise.reject(l);case K_.TOKEN_INVALID:return i(),r&&!ab()&&Xg({url:"/pages/login/login"}),Promise.reject(l);default:return a}},async responseInterceptorsCatchHook(e,t){var n;return(null==(n=e.method)?void 0:n.toUpperCase())==J_.POST&&uni.$u.toast("请求失败,请重试"),Promise.reject(t)}}},mb||{}));var mb;function vb(e){return gb.post({url:"/sms/sendCode",data:e})}function yb(e){return gb.get({url:"/index/policy",data:e})}function _b(e,t){return gb.uploadFile({url:"/upload/image",filePath:e,name:"file",header:{token:t},fileType:"image"})}const bb=Jv({id:"appStore",state:()=>({config:{}}),getters:{getWebsiteConfig:e=>e.config.website||{},getLoginConfig:e=>e.config.login||{},getTabbarConfig:e=>e.config.tabbar||[],getStyleConfig:e=>e.config.style||{},getH5Config:e=>e.config.webPage||{}},actions:{getImageUrl(e){return e?`${this.config.domain}${e}`:""},async getConfig(){const e=await gb.get({url:"/index/config"});this.config=e}}});const wb=ro({__name:"App",setup(e){const t=bb(),{getUser:n}=pb();return $v((async()=>{await t.getConfig();const{status:e,page_status:o,page_url:r}=t.getH5Config;if(0==e){if(1==o)return location.href=r;Gg({url:"/pages/empty/empty"})}await n()})),()=>{}}});Dp(wb,{init:Np,setup(e){const t=ip(),n=()=>{var n;n=e,Object.keys(Ad).forEach((e=>{Ad[e].forEach((t=>{To(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return x(hf,{path:e,query:t}),x(pf,hf),x({},hf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:ge(t.query)});if(o&&X(o,s),r&&X(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&X(i,e)}};return qn(Ia).isReady().then(n),Eo((()=>{window.addEventListener("resize",ye(Vp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",qp),document.addEventListener("visibilitychange",Hp)})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ar(),Nr(xm));e.setup=(e,o)=>{const r=t&&t(e,o);return O(r)?n:r},e.render=n}});const xb=function(){const e=Ie(!0),t=e.run((()=>Xt({})));let n=[],o=[];const r=Vt({install(e){Nv(r),r._a=e,e.provide(jv,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}();var Tb=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{e.use(xb)}},Symbol.toStringTag,{value:"Module"})),Sb={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{Md().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){Yu("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function kb(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?kb(e[o]):e[o]);return n}function Eb(e={},t={}){if("object"!=typeof(e=kb(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Eb(e[n],t[n]):e[n]=t[n]);return e}function Cb(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}var Ib={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:Cb,isEmpty:Cb,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(nw){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:function(e){return"[object Object]"===Object.prototype.toString.call(e)},array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)}};var Ob=new class{setConfig(e){this.config=Eb(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(lm(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=Ib.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{am({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),Fg(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};var Mb=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||Xg({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Yg({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Kg({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Gg({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Wg({delta:o})}}).route;function Pb(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function Ab(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function $b(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t<e.length;t++){let o=Number(e[t]).toString(16);o=1==String(o).length?"0"+o:o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{let e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let n=0;n<e.length;n+=1)t+=e[n]+e[n];return t}}}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");let n=this;if(n.length>=e)return String(n);let o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});var Lb={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=Ab(e,!1),r=o[0],i=o[1],s=o[2],a=Ab(t,!1),l=(a[0]-r)/n,c=(a[1]-i)/n,u=(a[2]-s)/n,d=[];for(let f=0;f<n;f++){let e=$b("rgb("+Math.round(l*f+r)+","+Math.round(c*f+i)+","+Math.round(u*f+s)+")");d.push(e)}return d},hexToRgb:Ab,rgbToHex:$b,colorToRgba:function(e,t=.3){let n=(e=$b(e)).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){var o="#";for(let e=1;e<4;e+=1)o+=n.slice(e,e+1).concat(n.slice(e,e+1));n=o}var r=[];for(let e=1;e<7;e+=2)r.push(parseInt("0x"+n.slice(e,e+2)));return"rgba("+r.join(",")+","+t+")"}return n}};let Rb=null;let Bb=[],Nb=[];var jb={v:"1.10.1",version:"1.10.1",type:["primary","success","info","error","warning"]};const Db={queryParams:function(e={},t=!0,n="brackets"){let o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(let i in e){let t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)r.push(i+"["+n+"]="+t[n]);break;case"brackets":default:t.forEach((e=>{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:Mb,timeFormat:Pb,date:Pb,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":Pb(n,t)}return r},colorGradient:Lb.colorGradient,colorToRgba:Lb.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;i<e;i++)r[i]=o[0|Math.random()*n];else{let e;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let t=0;t<36;t++)r[t]||(e=0|16*Math.random(),r[t]=o[19==t?3&e|8:e])}return t?(r.shift(),"u"+r.join("")):r.join("")},color:{primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",bgColor:"#f3f4f6",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},sys:function(){return og()},os:function(){return og().platform},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},wranning:function(e){},get:Ob.get,post:Ob.post,put:Ob.put,delete:Ob.delete,hexToRgb:Lb.hexToRgb,rgbToHex:Lb.rgbToHex,test:Ib,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:kb,deepMerge:Eb,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),Ib.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:Ob,toast:function(e,t=1500){im({title:e,icon:"none",duration:t})},config:jb,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==Rb&&clearTimeout(Rb),n){var o=!Rb;Rb=setTimeout((function(){Rb=null}),t),o&&"function"==typeof e&&e()}else Rb=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){Bb[o]||(Bb[o]=null),n?Nb[o]||(Nb[o]=!0,"function"==typeof e&&e(),Bb[o]=setTimeout((()=>{Nb[o]=!1}),t)):Nb[o]||(Nb[o]=!0,Bb[o]=setTimeout((()=>{Nb[o]=!1,"function"==typeof e&&e()}),t))}};uni.$u=Db;var Fb={install:e=>{e.mixin(Sb),e.config.globalProperties.$u=Db}},Vb=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{e.use(Fb)}},Symbol.toStringTag,{value:"Module"}));const qb={"./modules/pinia.ts":Tb,"./modules/uview.ts":Vb,"./modules/vconsole.ts":Object.freeze(Object.defineProperty({__proto__:null,default:async()=>{const e=new URL(location.href);if("47b1e3a9d33e6064e58cc4796c708447"==new URLSearchParams(e.search).get("vconsole")){return new(0,(await o((()=>import("./vconsole.min.1ec89452.js").then((function(e){return e.v}))),["assets/vconsole.min.1ec89452.js","assets/_commonjsHelpers.b8add541.js"])).default)}}},Symbol.toStringTag,{value:"Module"}))};var Hb={install:e=>{for(const t of Object.values(qb)){const n=t.default;O(n)&&n(e)}}},zb=(e=>(e[e.MP_WEIXIN=1]="MP_WEIXIN",e[e.OA_WEIXIN=2]="OA_WEIXIN",e[e.H5=3]="H5",e[e.IOS=5]="IOS",e[e.ANDROID=6]="ANDROID",e))(zb||{}),Wb=(e=>(e.LOGIN="YZMDL",e.BIND_MOBILE="BDSJHM",e.CHANGE_MOBILE="BGSJHM",e.FIND_PASSWORD="ZHDLMM",e))(Wb||{}),Ub=(e=>(e.NONE="",e.AVATAR="avatar",e.USERNAME="account",e.NICKNAME="nickname",e.SEX="sex",e))(Ub||{}),Xb=(e=>(e.SUCCESS="success",e.FAIL="fail",e.PENDING="pending",e))(Xb||{}),Yb=(e=>(e.LOADING="loading",e.NORMAL="normal",e.ERROR="error",e.EMPTY="empty",e))(Yb||{});const Gb=()=>/MicroMessenger/i.test(navigator.userAgent);const Jb=({MP_WEIXIN:e,OA_WEIXIN:t,H5:n,IOS:o,ANDROID:r,OTHER:i})=>Gb()?t():n(),Kb=Jb({MP_WEIXIN:()=>zb.MP_WEIXIN,OA_WEIXIN:()=>zb.OA_WEIXIN,H5:()=>zb.H5,IOS:()=>zb.IOS,ANDROID:()=>zb.ANDROID,OTHER:()=>null});var Zb={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"首页"}},{path:"pages/news/news",style:{navigationBarTitleText:"资讯",disableScroll:!0}},{path:"pages/user/user",style:{navigationBarTitleText:"个人中心"}},{path:"pages/login/login",style:{navigationBarTitleText:"登录"}},{path:"pages/register/register",style:{navigationBarTitleText:"注册"}},{path:"pages/forget_pwd/forget_pwd",style:{navigationBarTitleText:"忘记密码"}},{path:"pages/customer_service/customer_service",style:{navigationBarTitleText:"联系客服"}},{path:"pages/news_detail/news_detail",style:{navigationBarTitleText:"详情"}},{path:"pages/user_set/user_set",style:{navigationBarTitleText:"个人设置"},auth:!0},{path:"pages/collection/collection",style:{navigationBarTitleText:"我的收藏"},auth:!0},{path:"pages/as_us/as_us",style:{navigationBarTitleText:"关于我们"}},{path:"pages/agreement/agreement",style:{navigationBarTitleText:"协议"}},{path:"pages/change_password/change_password",style:{navigationBarTitleText:"修改密码"},auth:!0},{path:"pages/user_data/user_data",style:{navigationBarTitleText:"个人资料"},auth:!0},{path:"pages/search/search",style:{navigationBarTitleText:"搜索"}},{path:"pages/webview/webview"},{path:"pages/bind_mobile/bind_mobile",style:{navigationBarTitleText:"绑定手机号"}},{path:"pages/empty/empty",style:{navigationStyle:"custom"}},{path:"pages/payment_result/payment_result",style:{navigationBarTitleText:"支付结果"},auth:!0},{path:"uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",style:{navigationBarTitleText:"头像裁剪",navigationBarBackgroundColor:"#000000"}}],subPackages:[{root:"packages",pages:[{path:"pages/user_wallet/user_wallet",style:{navigationBarTitleText:"我的钱包"},auth:!0},{path:"pages/recharge/recharge",style:{navigationBarTitleText:"充值"},auth:!0},{path:"pages/recharge_record/recharge_record",style:{navigationBarTitleText:"充值记录"},auth:!0}]}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"商城",navigationBarBackgroundColor:"#FFFFFF",backgroundColor:"#F8F8F8",h5:{navigationStyle:"custom"}},easycom:{custom:{"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^w-(.*)":"@/components/widgets/$1/$1.vue"}}};const Qb={includes:["path","aliasPath","name","auth"]};function ew(e,t=null){const n=[];for(let o=0;o<e.length;o++){const r=e[o],i={};for(let e=0;e<Qb.includes.length;e++){const n=Qb.includes[e];let s=r[n];"path"===n&&(s=t?`/${t}/${s}`:`/${s}`),"aliasPath"===n&&0==o&&null==t?i[n]=i[n]||"/":void 0!==s&&(i[n]=s)}n.push(i)}return n}const tw=ew(Zb.pages).concat(function(e){const{subPackages:t}=e;let n=[];if(null==t||0==t.length)return[];for(let o=0;o<t.length;o++){const e=ew(t[o].pages,t[o].root);n=n.concat(e)}return n}(Zb));var nw,ow={exports:{}};nw=window,ow.exports=function(e,t){if(!e.jWeixin){var n,o={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e={};for(var t in o)e[o[t]]=t;return e}(),i=e.document,s=i.title,a=navigator.userAgent.toLowerCase(),l=navigator.platform.toLowerCase(),c=!(!l.match("mac")&&!l.match("win")),u=-1!=a.indexOf("wxdebugger"),d=-1!=a.indexOf("micromessenger"),f=-1!=a.indexOf("android"),h=-1!=a.indexOf("iphone")||-1!=a.indexOf("ipad"),p=(n=a.match(/micromessenger\/(\d+\.\d+\.\d+)/)||a.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",g={initStartTime:A(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},m={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:h?1:f?2:-1,clientVersion:p,url:encodeURIComponent(location.href)},v={},y={_completes:[]},_={state:0,data:{}};$((function(){g.initEndTime=A()}));var b=!1,w=[],x={config:function(t){P("config",v=t);var n=!1!==v.check;$((function(){if(n)k(o.config,{verifyJsApiList:M(v.jsApiList),verifyOpenTagList:M(v.openTagList)},function(){y._complete=function(e){g.preVerifyEndTime=A(),_.state=1,_.data=e},y.success=function(e){m.isPreVerifyOk=0},y.fail=function(e){y._fail?y._fail(e):_.state=-1};var e=y._completes;return e.push((function(){!function(){if(!(c||u||v.debug||p<"6.0.2"||m.systemType<0)){var e=new Image;m.appId=v.appId,m.initTime=g.initEndTime-g.initStartTime,m.preVerifyTime=g.preVerifyEndTime-g.preVerifyStartTime,x.getNetworkType({isInnerInvoke:!0,success:function(t){m.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+m.version+"&o="+m.isPreVerifyOk+"&s="+m.systemType+"&c="+m.clientVersion+"&a="+m.appId+"&n="+m.networkType+"&i="+m.initTime+"&p="+m.preVerifyTime+"&u="+m.url;e.src=n}})}}()})),y.complete=function(t){for(var n=0,o=e.length;n<o;++n)e[n]();y._completes=[]},y}()),g.preVerifyStartTime=A();else{_.state=1;for(var e=y._completes,t=0,r=e.length;t<r;++t)e[t]();y._completes=[]}})),x.invoke||(x.invoke=function(t,n,o){e.WeixinJSBridge&&WeixinJSBridge.invoke(t,C(n),o)},x.on=function(t,n){e.WeixinJSBridge&&WeixinJSBridge.on(t,n)})},ready:function(e){0!=_.state?e():(y._completes.push(e),!d&&v.debug&&e())},error:function(e){p<"6.0.2"||(-1==_.state?e(_.data):y._fail=e)},checkJsApi:function(e){k("checkJsApi",{jsApiList:M(e.jsApiList)},(e._complete=function(e){if(f){var t=e.checkResult;t&&(e.checkResult=JSON.parse(t))}e=function(e){var t=e.checkResult;for(var n in t){var o=r[n];o&&(t[o]=t[n],delete t[n])}return e}(e)},e))},onMenuShareTimeline:function(e){E(o.onMenuShareTimeline,{complete:function(){k("shareTimeline",{title:e.title||s,desc:e.title||s,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){E(o.onMenuShareAppMessage,{complete:function(t){"favorite"===t.scene?k("sendAppMessage",{title:e.title||s,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):k("sendAppMessage",{title:e.title||s,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){E(o.onMenuShareQQ,{complete:function(){k("shareQQ",{title:e.title||s,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){E(o.onMenuShareWeibo,{complete:function(){k("shareWeiboApp",{title:e.title||s,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){E(o.onMenuShareQZone,{complete:function(){k("shareQZone",{title:e.title||s,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){k("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){k("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){k("startRecord",{},e)},stopRecord:function(e){k("stopRecord",{},e)},onVoiceRecordEnd:function(e){E("onVoiceRecordEnd",e)},playVoice:function(e){k("playVoice",{localId:e.localId},e)},pauseVoice:function(e){k("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){k("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){E("onVoicePlayEnd",e)},uploadVoice:function(e){k("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){k("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){k("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){k("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(f){var t=e.localIds;try{t&&(e.localIds=JSON.parse(t))}catch(n){}}},e))},getLocation:function(e){},previewImage:function(e){k(o.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){k("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){k("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===b?(b=!0,k("getLocalImgData",{localId:e.localId},(e._complete=function(e){if(b=!1,0<w.length){var t=w.shift();wx.getLocalImgData(t)}},e))):w.push(e)},getNetworkType:function(e){k("getNetworkType",{},(e._complete=function(e){e=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var n=e.subtype;if(delete e.subtype,n)e.networkType=n;else{var o=t.indexOf(":"),r=t.substring(o+1);switch(r){case"wifi":case"edge":case"wwan":e.networkType=r;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){k("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){k(o.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){k("hideOptionMenu",{},e)},showOptionMenu:function(e){k("showOptionMenu",{},e)},closeWindow:function(e){k("closeWindow",{},e=e||{})},hideMenuItems:function(e){k("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){k("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){k("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){k("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){k("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(h){var t=e.resultStr;if(t){var n=JSON.parse(t);e.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},e))},openAddress:function(e){k(o.openAddress,{},(e._complete=function(e){var t;(t=e).postalCode=t.addressPostalCode,delete t.addressPostalCode,t.provinceName=t.proviceFirstStageName,delete t.proviceFirstStageName,t.cityName=t.addressCitySecondStageName,delete t.addressCitySecondStageName,t.countryName=t.addressCountiesThirdStageName,delete t.addressCountiesThirdStageName,t.detailInfo=t.addressDetailInfo,delete t.addressDetailInfo,e=t},e))},openProductSpecificView:function(e){k(o.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var t=e.cardList,n=[],r=0,i=t.length;r<i;++r){var s=t[r],a={card_id:s.cardId,card_ext:s.cardExt};n.push(a)}k(o.addCard,{card_list:n},(e._complete=function(e){var t=e.card_list;if(t){for(var n=0,o=(t=JSON.parse(t)).length;n<o;++n){var r=t[n];r.cardId=r.card_id,r.cardExt=r.card_ext,r.isSuccess=!!r.is_succ,delete r.card_id,delete r.card_ext,delete r.is_succ}e.cardList=t,delete e.card_list}},e))},chooseCard:function(e){k("chooseCard",{app_id:v.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var t=e.cardList,n=[],r=0,i=t.length;r<i;++r){var s=t[r],a={card_id:s.cardId,code:s.code};n.push(a)}k(o.openCard,{card_list:n},e)},consumeAndShareCard:function(e){k(o.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){k(o.chooseWXPay,I(e),e)},openEnterpriseRedPacket:function(e){k(o.openEnterpriseRedPacket,I(e),e)},startSearchBeacons:function(e){k(o.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){k(o.stopSearchBeacons,{},e)},onSearchBeacons:function(e){E(o.onSearchBeacons,e)},openEnterpriseChat:function(e){k("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){k("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}}(e.path),envVersion:e.envVersion},e)},openBusinessView:function(e){k("openBusinessView",{businessType:e.businessType,queryString:e.queryString||"",envVersion:e.envVersion},(e._complete=function(e){if(f){var t=e.extraData;if(t)try{e.extraData=JSON.parse(t)}catch(n){e.extraData={}}}},e))},miniProgram:{navigateBack:function(e){e=e||{},$((function(){k("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){$((function(){k("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){$((function(){k("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){$((function(){k("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){$((function(){k("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){$((function(){k("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(t){$((function(){t({miniprogram:"miniprogram"===e.__wxjs_environment})}))}}},T=1,S={};return i.addEventListener("error",(function(e){if(!f){var t=e.target,n=t.tagName,o=t.src;if(("IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n)&&-1!=o.indexOf("wxlocalresource://")){e.preventDefault(),e.stopPropagation();var r=t["wx-id"];if(r||(r=T++,t["wx-id"]=r),S[r])return;S[r]=!0,wx.ready((function(){wx.getLocalImgData({localId:o,success:function(e){t.src=e.localData}})}))}}}),!0),i.addEventListener("load",(function(e){if(!f){var t=e.target,n=t.tagName;if(t.src,"IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n){var o=t["wx-id"];o&&(S[o]=!1)}}}),!0),t&&(e.wx=e.jWeixin=x),x}function k(t,n,o){e.WeixinJSBridge?WeixinJSBridge.invoke(t,C(n),(function(e){O(t,e,o)})):P(t,o)}function E(t,n,o){e.WeixinJSBridge?WeixinJSBridge.on(t,(function(e){o&&o.trigger&&o.trigger(e),O(t,e,n)})):P(t,o||n)}function C(e){return(e=e||{}).appId=v.appId,e.verifyAppId=v.appId,e.verifySignType="sha1",e.verifyTimestamp=v.timestamp+"",e.verifyNonceStr=v.nonceStr,e.verifySignature=v.signature,e}function I(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function O(e,t,n){"openEnterpriseChat"!=e&&"openBusinessView"!==e||(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var o=t.errMsg;o||(o=t.err_msg,delete t.err_msg,o=function(e,t){var n=e,o=r[n];o&&(n=o);var i="ok";if(t){var s=t.indexOf(":");"confirm"==(i=t.substring(s+1))&&(i="ok"),"failed"==i&&(i="fail"),-1!=i.indexOf("failed_")&&(i=i.substring(7)),-1!=i.indexOf("fail_")&&(i=i.substring(5)),"access denied"!=(i=(i=i.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=i||(i="permission denied"),"config"==n&&"function not exist"==i&&(i="ok"),""==i&&(i="fail")}return n+":"+i}(e,o),t.errMsg=o),(n=n||{})._complete&&(n._complete(t),delete n._complete),o=t.errMsg||"",v.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t));var i=o.indexOf(":");switch(o.substring(i+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function M(e){if(e){for(var t=0,n=e.length;t<n;++t){var r=e[t],i=o[r];i&&(e[t]=i)}return e}}function P(e,t){if(!(!v.debug||t&&t.isInnerInvoke)){var n=r[e];n&&(e=n),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||"")}}function A(){return(new Date).getTime()}function $(t){d&&(e.WeixinJSBridge?t():i.addEventListener&&i.addEventListener("WeixinJSBridgeReady",t,!1))}}(nw);var rw=ow.exports;function iw(e){return gb.post({url:"/login/account",data:{...e,terminal:Kb}})}function sw(e){return gb.post({url:"/login/register",data:{...e,channel:Kb}})}function aw(e,t){return gb.post({url:"/login/updateUser",data:e,header:t})}function lw(e){return gb.post({url:"/login/oaAuthBind",data:e})}const cw={getSignLink:()=>(void 0!==window.signLink&&""!==window.signLink||(window.signLink=location.href.split("#")[0]),function(){const e=navigator.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1}()?location.href.split("#")[0]:window.signLink),getUrl(){gb.get({url:"/login/codeUrl",data:{url:location.href}}).then((e=>{location.href=e.url}))},config(){return new Promise(((e,t)=>{var n;(n={url:this.getSignLink()},gb.get({url:"/wechat/jsConfig",data:n})).then((n=>{rw.config({...n,success:()=>{e("success")},fail:e=>{t("weixin config is fail")}})}))}))},authLogin:e=>new Promise(((t,n)=>{var o;(o={code:e},gb.post({url:"/login/oaLogin",data:o})).then((e=>{t(e)})).catch((e=>{n(e)}))})),ready:()=>new Promise((e=>{rw.ready((()=>{e("success")}))})),pay(e){return new Promise(((t,n)=>{this.ready().then((()=>{rw.chooseWXPay({timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign,success:e=>{"chooseWXPay:ok"===e.errMsg?t(e):n(e.errMsg)},cancel:e=>{n(e)},fail:e=>{n(e)}})})).catch((e=>{n(e)}))}))},share(e){this.ready().then((()=>{const{shareTitle:t,shareLink:n,shareImage:o,shareDesc:r}=e;rw.updateTimelineShareData({title:t,link:n,imgUrl:o}),rw.updateAppMessageShareData({title:t,link:n,imgUrl:o,desc:r}),rw.onMenuShareWeibo({title:t,link:n,imgUrl:o,desc:r})}))},getAddress(){return new Promise(((e,t)=>{this.ready().then((()=>{rw.openAddress({success:t=>{e(t)},fail:e=>{t(e)}})}))}))},getLocation(){return new Promise(((e,t)=>{this.ready().then((()=>{rw.getLocation({type:"gcj02",success:t=>{e(t)},fail:e=>{t(e)}})}))}))}},uw=["register","login","forget_pwd"];["navigateTo","redirectTo","reLaunch","switchTab"].forEach((e=>{zu(e,{invoke(e){const t=e.url.split("?")[0],n=tw.find((e=>t===e.path));return(null==n?void 0:n.auth)&&!ab()?(Xg({url:"/pages/login/login"}),!1):e},fail(e){console.log(e)}})}));const dw=class{static inject(e,t){this.modules.set(e,t)}constructor(){for(const[e,t]of dw.modules.entries())t.init(e,this)}async payment(e,t){try{const n=this[hw[e]];if(!n)throw new Error(`can not find pay way ${e}`);return await n.run(t)}catch(n){return Promise.reject(n)}}};let fw=dw;t(fw,"modules",new Map);var hw=(e=>(e[e.BALANCE=1]="BALANCE",e[e.WECHAT=2]="WECHAT",e[e.ALIPAY=3]="ALIPAY",e))(hw||{});const pw=new class{init(e,t){t[e]=this}async run(e){try{return await Jb({MP_WEIXIN:()=>new Promise((t=>{uni.requestPayment({provider:"wxpay",...e,success(){t(Xb.SUCCESS)},fail(){t(Xb.FAIL)}})})),OA_WEIXIN:()=>new Promise((t=>{cw.pay(e).then((()=>{t(Xb.SUCCESS)})).catch((()=>{t(Xb.FAIL)}))})),H5:()=>new Promise((t=>{window.open(e,"_self"),t(Xb.PENDING)}))})}catch(t){return Promise.reject(t)}}};fw.inject(hw[2],pw);const gw=new fw;(function(){const e=Qi(wb);return Promise.resolve().then((()=>{Bp().$router.afterEach(((e,t)=>{const n=uw.findIndex((e=>t.path.includes(e)||"/"===t.path)),o=pb();-1!=n||o.isLogin||sb.set("back_url",t.fullPath)})),setTimeout((async()=>{Kb==zb.OA_WEIXIN&&await cw.config()}))})),e.use(Hb),{app:e}})().app.use($p).mount("#app");export{Yu as $,di as A,Kr as B,gb as C,Sg as D,Ho as E,Er as F,Md as G,Xg as H,Jf as I,Gg as J,A as K,qn as L,Eo as M,Wn as N,ni as O,qu as P,xd as Q,bn as R,jh as S,Vn as T,Rh as U,Yt as V,Lv as W,_g as X,og as Y,xg as Z,Bp as _,Do as a,Kb as a$,gm as a0,am as a1,pm as a2,Uu as a3,Xu as a4,No as a5,yg as a6,Hr as a7,pb as a8,Kv as a9,ig as aA,ph as aB,th as aC,yb as aD,db as aE,$h as aF,kh as aG,Ub as aH,Rv as aI,lb as aJ,ub as aK,cb as aL,rb as aM,Ro as aN,Gi as aO,Up as aP,Yb as aQ,pd as aR,kg as aS,md as aT,gd as aU,fm as aV,Og as aW,Ef as aX,hb as aY,Xb as aZ,zb as a_,Av as aa,Ut as ab,Fc as ac,Bc as ad,Gb as ae,lm as af,Wg as ag,cw as ah,Yg as ai,vb as aj,Wb as ak,sb as al,ib as am,aw as an,iw as ao,Wh as ap,Tg as aq,bg as ar,Mo as as,_b as at,sw as au,fb as av,hm as aw,Dg as ax,lw as ay,vg as az,zr as b,hw as b0,gw as b1,Nr as c,ro as d,Br as e,qo as f,Kt as g,Xr as h,Sh as i,Nh as j,Uh as k,Ur as l,$t as m,$f as n,Ar as o,wm as p,vp as q,Mv as r,f as s,h as t,bb as u,Yi as v,Rn as w,l as x,Vh as y,Xt as z};