26 lines
130 KiB
JavaScript
26 lines
130 KiB
JavaScript
|
function __vite__mapDeps(indexes) {
|
||
|
if (!__vite__mapDeps.viteFileDeps) {
|
||
|
__vite__mapDeps.viteFileDeps = ["./pages-index-index.CUkKJAkX.js","./index-CfAgyNET.css"]
|
||
|
}
|
||
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||
|
}
|
||
|
!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
|
||
|
/**
|
||
|
* @vue/shared v3.4.21
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/
|
||
|
function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),$=/\B([A-Z])/g,L=k((e=>e.replace($,"-$1").toLowerCase())),A=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=k((e=>e?`on${A(e)}`:"")),M=(e,t)=>!Object.is(e,t),N=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},j=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let R;const B=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?z(o):F(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||_(e))return e}const V=/;(?![^(]*\))/g,W=/:([^]+)/,H=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(H,"").split(V).forEach((e=>{if(e){const n=e.split(W);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function D(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=D(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const U=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function q(e){return!!e||""===e}const X=e=>v(e)?e:null==e?"":p(e)||_(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!_(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e)),Z=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),G=["list-item"].map((e=>"uni-"+e));function Q(e){if(-1!==G.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const ee=/^([a-z-]+:)?\/\//i,te=/^data:.*,.*/;function ne(e){if(!e)return;let t=e.type.name;for(;t&&Q(L(t));)t=(e=e.parent).type.name;return e.proxy}function oe(e){return 1===e.nodeType}function re(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),F(t)}if(v(e))return z(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?z(o):re(o);if(r)for(const e in r)t[e]=r[e]}return t}return F(e)}function ie(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n<e.length;n++){const o=ie(e[n]);o&&(t+=o+" ")}else t=D(e);return t.trim()}function se(e){return 0===e.indexOf("/")}function ae(e){return se(e)?e:"/"+e}function le(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function ce(e){return O(e.s
|
||
|
/**
|
||
|
* @dcloudio/uni-h5-vue v3.4.21
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Oe,$e;class Le{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!e&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Oe;try{return Oe=this,e()}finally{Oe=t}}}on(){Oe=this}off(){Oe=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Ae(e){return new Le(e)}class Pe{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=Oe){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Fe();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ve()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ie,t=$e;try{return Ie=!0,$e=this,this._runnings++,Me(this),this.fn()}finally{Ne(this),this._runnings--,$e=t,Ie=e}}stop(){var e;this.active&&(Me(this),Ne(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Me(e){e._trackId++,e._depsLength=0}function Ne(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)je(e.deps[t],e);e.deps.length=e._depsLength}}function je(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ie=!0,Re=0;const Be=[];function Fe(){Be.push(Ie),Ie=!1}function Ve(){const e=Be.pop();Ie=void 0===e||e}function We(){Re++}function He(){for(Re--;!Re&&De.length;)De.shift()()}function ze(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&je(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const De=[];function Ue(e,t,n){We();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&De.push(o.scheduler)))}He()}const qe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xe=new WeakMap,Ye=Symbol(""),Ke=Symbol("");function Je(e,t,n){if(Ie&&$e){let t=Xe.get(e);t||Xe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=qe((()=>t.delete(n)))),ze($e,o)}}function Ze(e,t,n,o,r,i){const s=Xe.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?C(n)&&a.push(s.get("length")):(a.push(s.get(Ye)),h(e)&&a.push(s.get(Ke)));break;case"delete":p(e)||(a.push(s.get(Ye)),h(e)&&a.push(s.get(Ke)));break;case"set":h(e)&&a.push(s.get(Ye))}We();for(const l of a)l&&Ue(l,4);He()}const Ge=n("__proto__,__v_isRef,__isVue"),Qe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),et=tt();function tt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ht(this);for(let t=0,r=this.length;t<r;t++)Je(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Ht)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Fe(),We();const n=Ht(this)[t].apply(this,e);return He(),Ve(),n}})),e}function nt(e){const t=Ht(this);return Je(t,0,e),t.hasOwnProperty(e)}class ot{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isRead
|
||
|
/*! #__NO_SIDE_EFFECTS__ */function io(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const so=e=>!!e.type.__asyncLoader
|
||
|
/*! #__NO_SIDE_EFFECTS__ */;function ao(e){m(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 io({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Ur;if(l)return()=>lo(l,e);const t=t=>{c=null,nn(t,e,13,!o)};if(s&&e.suspense||Gr)return d().then((t=>()=>lo(t,e))).catch((e=>(t(e),()=>o?Nr(o,{error:e}):null)));const a=Jt(!1),u=Jt(),f=Jt(!!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&&co(e.parent.vnode)&&(e.parent.effect.dirty=!0,hn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?lo(l,e):u.value&&o?Nr(o,{error:u.value}):n&&!f.value?Nr(n):void 0}})}function lo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Nr(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const co=e=>e.type.__isKeepAlive;function uo(e,t){po(e,"a",t)}function fo(e,t){po(e,"da",t)}function po(e,t,n=Ur){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,go(t,o,n),n){let e=n.parent;for(;e&&e.parent;)co(e.parent.vnode)&&ho(o,t,n,e),e=e.parent}}function ho(e,t,n,o){const r=go(t,e,o,!0);xo((()=>{u(o[t],r)}),n)}function go(e,t,n=Ur,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["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;tn(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;Fe();const r=Kr(n),i=tn(t,n,e,o);return r(),Ve(),i});return o?i.unshift(s):i.push(s),s}var r}const mo=e=>(t,n=Ur)=>(!Gr||"sp"===e)&&go(e,((...e)=>t(...e)),n),vo=mo("bm"),yo=mo("m"),_o=mo("bu"),bo=mo("u"),wo=mo("bum"),xo=mo("um"),So=mo("sp"),Co=mo("rtg"),To=mo("rtc");function ko(e,t=Ur){go("ec",e,t)}function Eo(e,t,n={},o,r){if(Tn.isCE||Tn.parent&&so(Tn.parent)&&Tn.parent.isCE)return"default"!==t&&(n.name=t),Nr("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Cr();const s=i&&Oo(i(n)),a=Or(yr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Oo(e){return e.some((e=>!$r(e)||e.type!==br&&!(e.type===yr&&!Oo(e.children))))?e:null}const $o=e=>{if(!e)return null;if(Zr(e)){return ti(e)||e.proxy}return $o(e.parent)},Lo=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>Bo(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,hn(e.update)})(e)),$nextTick:e=>e.n||(e.n=pn.bind(e.proxy)),$watch:e=>zn.bind(e)}),Ao=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Po={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ao(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];No&&(a[t]=0)}}const d=Lo[t];let p,h;return d?("$attrs"===t&&Je(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Ao(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Ao(t,a)||(l=s[0])&
|
||
|
/*!
|
||
|
* vue-router v4.3.0
|
||
|
* (c) 2024 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/var cs,us,ds,fs;(us=cs||(cs={})).pop="pop",us.push="push",(fs=ds||(ds={})).back="back",fs.forward="forward",fs.unknown="";Symbol("");var ps,hs;(hs=ps||(ps={}))[hs.aborted=4]="aborted",hs[hs.cancelled=8]="cancelled",hs[hs.duplicated=16]="duplicated";const gs=le((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ms;function vs(){if(!ms){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ms=ls(e),gs()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ms.add(e,__uniConfig.locales[e]))),ms.setLocale(e)}}return ms}function ys(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const _s=le((()=>{const e="uni.async.",t=["error"];vs().add("en",ys(e,t,["The connection timed out, click the screen to try again."]),!1),vs().add("es",ys(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),vs().add("fr",ys(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),vs().add("zh-Hans",ys(e,t,["连接服务器超时,点击屏幕重试"]),!1),vs().add("zh-Hant",ys(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),bs=le((()=>{const e="uni.showToast.",t=["unpaired"];vs().add("en",ys(e,t,["Please note showToast must be paired with hideToast"]),!1),vs().add("es",ys(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),vs().add("fr",ys(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),vs().add("zh-Hans",ys(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),vs().add("zh-Hant",ys(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),ws=le((()=>{const e="uni.showLoading.",t=["unpaired"];vs().add("en",ys(e,t,["Please note showLoading must be paired with hideLoading"]),!1),vs().add("es",ys(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),vs().add("fr",ys(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),vs().add("zh-Hans",ys(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),vs().add("zh-Hant",ys(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),xs=le((()=>{const e="uni.showModal.",t=["cancel","confirm"];vs().add("en",ys(e,t,["Cancel","OK"]),!1),vs().add("es",ys(e,t,["Cancelar","OK"]),!1),vs().add("fr",ys(e,t,["Annuler","OK"]),!1),vs().add("zh-Hans",ys(e,t,["取消","确定"]),!1),vs().add("zh-Hant",ys(e,t,["取消","確定"]),!1)}));function Ss(e){const t=new Te;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 Cs=1;const Ts=Object.create(null);function ks(e,t){return e+"."+t}function Es({id:e,name:t,args:n},o){t=ks(o,t);const r=t=>{e&&hd.publishHandler("invokeViewApi."+e,t)},i=Ts[t];i?i(n,r):r({})}const Os=c(Ss("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=hd,i=n?Cs++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),$s=pe(!0);let Ls;function As(){Ls&&(clearTimeout(Ls),Ls=null)}let Ps=0,Ms=0;function Ns(e){if(As(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ps=t,Ms=n,Ls=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 js(e){if(!Ls)return;if(1!==e.touches.length)return As();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ps)>10||Math.abs(n-Ms)>10?As():void 0}function Is(e,t){const n=Number(e);return isNaN(n)?t:n}function Rs(){const e=__uniConfig.globalStyle||{},t=Is(e.rpxCalcMaxDeviceWidth,960),n=Is(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?
|