Files
im-system/hs-im-server/build/im-uniapp/dist/assets/index.953fb5a2.js
2023-10-16 23:12:59 +08:00

12 lines
614 KiB
JavaScript
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.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))__hasOwnProp.call(t,n)&&__defNormalProp(e,n,t[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(t))__propIsEnum.call(t,n)&&__defNormalProp(e,n,t[n]);return e};function _mergeNamespaces(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}const p$2=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)}};p$2();var ol="";const scriptRel="modulepreload",seen={},base$1="/",__vitePreload=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`${base$1}${e}`)in seen)return;seen[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":scriptRel,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};function makeMap$1(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 specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap$1(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||""===e}const isNoUnitNumericStyleProp=makeMap$1("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 normalizeStyle(e){if(isArray$1(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=isString(o)?parseStringStyle(o):normalizeStyle(o);if(r)for(const e in r)t[e]=r[e]}return t}return isString(e)||isObject$2(e)?e:void 0}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:(.+)/;function parseStringStyle(e){const t={};return e.split(listDelimiterRE).forEach((e=>{if(e){const n=e.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function stringifyStyle(e){let t="";if(!e||isString(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:hyphenate(n);(isString(o)||"number"==typeof o&&isNoUnitNumericStyleProp(r))&&(t+=`${r}:${o};`)}return t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray$1(e))for(let n=0;n<e.length;n++){const o=normalizeClass(e[n]);o&&(t+=o+" ")}else if(isObject$2(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const toDisplayString=e=>isString(e)?e:null==e?"":isArray$1(e)||isObject$2(e)&&(e.toString===objectToString||!isFunction(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()]}:!isObject$2(t)||isArray$1(t)||isPlainObject(t)?t:String(t),EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$1=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$1.call(e,t),isArray$1=Array.isArray,isMap=e=>"[object Map]"===toTypeString(e),isSet=e=>"[object Set]"===toTypeString(e),isFunction=e=>"function"==typeof e,isString=e=>"string"==typeof e,isSymbol=e=>"symbol"==typeof e,isObject$2=e=>null!==e&&"object"==typeof e,isPromise$1=e=>isObject$2(e)&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject=e=>"[object Object]"===toTypeString(e),isIntegerKey=e=>isString(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,isReservedProp=makeMap$1(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction((e=>e.replace(camelizeRE,((e,t)=>t?t.toUpperCase():"")))),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((e=>e.replace(hyphenateRE,"-$1").toLowerCase())),capitalize=cacheStringFunction((e=>e.charAt(0).toUpperCase()+e.slice(1))),toHandlerKey=cacheStringFunction((e=>e?`on${capitalize(e)}`:"")),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns$1=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},def=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),BUILT_IN_TAG_NAMES=["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"],BUILT_IN_TAGS=BUILT_IN_TAG_NAMES.map((e=>"uni-"+e));function isBuiltInComponent(e){return-1!==BUILT_IN_TAGS.indexOf("uni-"+e.replace("v-uni-",""))}const LINEFEED="\n",NAVBAR_HEIGHT=44,ON_REACH_BOTTOM_DISTANCE=50,UNI_STORAGE_LOCALE="UNI_LOCALE",I18N_JSON_DELIMITERS=["%","%"],PRIMARY_COLOR="#007aff",SCHEME_RE=/^([a-z-]+:)?\/\//i,DATA_RE=/^data:.*,.*/,WEB_INVOKE_APPSERVICE="WEB_INVOKE_APPSERVICE",ON_SHOW="onShow",ON_HIDE="onHide",ON_LAUNCH="onLaunch",ON_ERROR="onError",ON_THEME_CHANGE="onThemeChange",ON_PAGE_NOT_FOUND="onPageNotFound",ON_UNHANDLE_REJECTION="onUnhandledRejection",ON_LOAD="onLoad",ON_READY="onReady",ON_UNLOAD="onUnload",ON_INIT="onInit",ON_SAVE_EXIT_STATE="onSaveExitState",ON_RESIZE="onResize",ON_BACK_PRESS="onBackPress",ON_PAGE_SCROLL="onPageScroll",ON_TAB_ITEM_TAP="onTabItemTap",ON_REACH_BOTTOM="onReachBottom",ON_PULL_DOWN_REFRESH="onPullDownRefresh",ON_SHARE_TIMELINE="onShareTimeline",ON_ADD_TO_FAVORITES="onAddToFavorites",ON_SHARE_APP_MESSAGE="onShareAppMessage",ON_NAVIGATION_BAR_BUTTON_TAP="onNavigationBarButtonTap",ON_NAVIGATION_BAR_CHANGE="onNavigationBarChange",ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED="onNavigationBarSearchInputClicked",ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED="onNavigationBarSearchInputChanged",ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED="onNavigationBarSearchInputConfirmed",ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED="onNavigationBarSearchInputFocusChanged",ON_APP_ENTER_FOREGROUND="onAppEnterForeground",ON_APP_ENTER_BACKGROUND="onAppEnterBackground",ON_WEB_INVOKE_APP_SERVICE="onWebInvokeAppService",ON_WXS_INVOKE_CALL_METHOD="onWxsInvokeCallMethod";function isComponentInternalInstance(e){return!!e.appContext}function resolveComponentInstance(e){return e&&(isComponentInternalInstance(e)?e.proxy:e)}function resolveOwnerVm(e){if(!e)return;let t=e.type.name;for(;t&&isBuiltInComponent(hyphenate(t));)t=(e=e.parent).type.name;return e.proxy}function isElement(e){return 1===e.nodeType}function resolveOwnerEl(e){const{vnode:t}=e;if(isElement(t.el))return t.el;const{subTree:n}=e;if(16&n.shapeFlag){const e=n.children.find((e=>e.el&&isElement(e.el)));if(e)return e.el}return t.el}function getLen(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function hasLeadingSlash(e){return 0===e.indexOf("/")}function addLeadingSlash(e){return hasLeadingSlash(e)?e:"/"+e}function removeLeadingSlash(e){return hasLeadingSlash(e)?e.slice(1):e}const invokeArrayFns=(e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n};function updateElementStyle(e,t){for(const n in t)e.style[n]=t[n]}function once(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const _completeValue=e=>e>9?e:"0"+e;function formatDateTime({date:e=new Date,mode:t="date"}){return"time"===t?_completeValue(e.getHours())+":"+_completeValue(e.getMinutes()):e.getFullYear()+"-"+_completeValue(e.getMonth()+1)+"-"+_completeValue(e.getDate())}function callOptions(e,t){e=e||{},isString(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?isFunction(e.success)&&e.success(t):isFunction(e.fail)&&e.fail(t),isFunction(e.complete)&&e.complete(t)}function sortObject(e){let t={};return isPlainObject(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}function formatKey(e){return camelize(e.substring(5))}const initCustomDatasetOnce=once((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[formatKey(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[formatKey(e)],n.call(this,e)}}));function getCustomDataset(e){return extend$1({},e.dataset,e.__uniDataset)}function passive(e){return{passive:e}}function normalizeTarget(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:getCustomDataset(e),offsetTop:n,offsetLeft:o}}function addFont(e,t,n){const o=document.fonts;if(o){const r=new FontFace(e,t,n);return r.load().then((()=>{o.add&&o.add(r)}))}return new Promise((o=>{const r=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:r,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),o&&i.push(`font-stretch:${o}`),r&&i.push(`unicode-range:${r}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}r.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(r),o()}))}function scrollTo(e,t,n){if(isString(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 a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}function decode$1(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function decodedQuery(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=decode$1(e[n])}catch(e2){t[n]=e[n]}})),t}const PLUS_RE$1=/\+/g;function parseQuery$1(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(PLUS_RE$1," ");let r=e.indexOf("="),i=decode$1(r<0?e:e.slice(0,r)),a=r<0?null:decode$1(e.slice(r+1));if(i in t){let e=t[i];isArray$1(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function parseUrl(e){const[t,n]=e.split("?",2);return{path:t,query:parseQuery$1(n||"")}}function debounce(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 EventChannel{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 PAGE_HOOKS=[ON_INIT,ON_LOAD,ON_SHOW,ON_HIDE,ON_UNLOAD,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_SHARE_APP_MESSAGE,ON_ADD_TO_FAVORITES,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED],PAGE_SYNC_HOOKS=[ON_LOAD,ON_SHOW];function isRootImmediateHook(e){return PAGE_SYNC_HOOKS.indexOf(e)>-1}function isRootHook(e){return PAGE_HOOKS.indexOf(e)>-1}const UniLifecycleHooks=[ON_SHOW,ON_HIDE,ON_LAUNCH,ON_ERROR,ON_THEME_CHANGE,ON_PAGE_NOT_FOUND,ON_UNHANDLE_REJECTION,ON_INIT,ON_LOAD,ON_READY,ON_UNLOAD,ON_RESIZE,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_ADD_TO_FAVORITES,ON_SHARE_APP_MESSAGE,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED];let vueApp;const createVueAppHooks=[];function onCreateVueApp(e){if(vueApp)return e(vueApp);createVueAppHooks.push(e)}function invokeCreateVueAppHook(e){vueApp=e,createVueAppHooks.forEach((t=>t(e)))}const E=function(){};E.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,a=o.length;i<a;i++)o[i].fn!==t&&o[i].fn._!==t&&r.push(o[i]);return r.length?n[e]=r:delete n[e],this}};var E$1=E;let activeEffectScope;class EffectScope{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&activeEffectScope&&(this.parent=activeEffectScope,this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}run(e){if(this.active){const t=activeEffectScope;try{return activeEffectScope=this,e()}finally{activeEffectScope=t}}}on(){activeEffectScope=this}off(){activeEffectScope=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 effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t=activeEffectScope){t&&t.active&&t.effects.push(e)}const createDep=e=>{const t=new Set(e);return t.w=0,t.n=0,t},wasTracked=e=>(e.w&trackOpBit)>0,newTracked=e=>(e.n&trackOpBit)>0,initDepMarkers=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=trackOpBit},finalizeDepMarkers=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];wasTracked(r)&&!newTracked(r)?r.delete(e):t[n++]=r,r.w&=~trackOpBit,r.n&=~trackOpBit}t.length=n}},targetMap=new WeakMap;let effectTrackDepth=0,trackOpBit=1;const maxMarkerBits=30;let activeEffect;const ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");class ReactiveEffect{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,n)}run(){if(!this.active)return this.fn();let e=activeEffect,t=shouldTrack;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function cleanupEffect(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=void 0===e||e}function track(e,t,n){if(shouldTrack&&activeEffect){let t=targetMap.get(e);t||targetMap.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=createDep()),trackEffects(o)}}function trackEffects(e,t){let n=!1;effectTrackDepth<=maxMarkerBits?newTracked(e)||(e.n|=trackOpBit,n=!wasTracked(e)):n=!e.has(activeEffect),n&&(e.add(activeEffect),activeEffect.deps.push(e))}function trigger(e,t,n,o,r,i){const a=targetMap.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&isArray$1(e))a.forEach(((e,t)=>{("length"===t||t>=o)&&s.push(e)}));else switch(void 0!==n&&s.push(a.get(n)),t){case"add":isArray$1(e)?isIntegerKey(n)&&s.push(a.get("length")):(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$1(e)||(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&s.push(a.get(ITERATE_KEY))}if(1===s.length)s[0]&&triggerEffects(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);triggerEffects(createDep(e))}}function triggerEffects(e,t){const n=isArray$1(e)?e:[...e];for(const o of n)o.computed&&triggerEffect(o);for(const o of n)o.computed||triggerEffect(o)}function triggerEffect(e,t){(e!==activeEffect||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const isNonTrackableKeys=makeMap$1("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(isSymbol)),get$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=toRaw(this);for(let t=0,r=this.length;t<r;t++)track(n,"get",t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(toRaw)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){pauseTracking();const n=toRaw(this)[t].apply(this,e);return resetTracking(),n}})),e}function createGetter(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?shallowReadonlyMap:readonlyMap:t?shallowReactiveMap:reactiveMap).get(n))return n;const i=isArray$1(n);if(!e&&i&&hasOwn$1(arrayInstrumentations,o))return Reflect.get(arrayInstrumentations,o,r);const a=Reflect.get(n,o,r);return(isSymbol(o)?builtInSymbols.has(o):isNonTrackableKeys(o))?a:(e||track(n,"get",o),t?a:isRef(a)?i&&isIntegerKey(o)?a:a.value:isObject$2(a)?e?readonly(a):reactive(a):a)}}const set$1=createSetter(),shallowSet=createSetter(!0);function createSetter(e=!1){return function(t,n,o,r){let i=t[n];if(isReadonly(i)&&isRef(i)&&!isRef(o))return!1;if(!e&&!isReadonly(o)&&(isShallow(o)||(o=toRaw(o),i=toRaw(i)),!isArray$1(t)&&isRef(i)&&!isRef(o)))return i.value=o,!0;const a=isArray$1(t)&&isIntegerKey(n)?Number(n)<t.length:hasOwn$1(t,n),s=Reflect.set(t,n,o,r);return t===toRaw(r)&&(a?hasChanged(o,i)&&trigger(t,"set",n,o):trigger(t,"add",n,o)),s}}function deleteProperty(e,t){const n=hasOwn$1(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&trigger(e,"delete",t,void 0),o}function has(e,t){const n=Reflect.has(e,t);return isSymbol(t)&&builtInSymbols.has(t)||track(e,"has",t),n}function ownKeys(e){return track(e,"iterate",isArray$1(e)?"length":ITERATE_KEY),Reflect.ownKeys(e)}const mutableHandlers={get:get$1,set:set$1,deleteProperty:deleteProperty,has:has,ownKeys:ownKeys},readonlyHandlers={get:readonlyGet,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},shallowReactiveHandlers=extend$1({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function get$1$1(e,t,n=!1,o=!1){const r=toRaw(e=e.__v_raw),i=toRaw(t);n||(t!==i&&track(r,"get",t),track(r,"get",i));const{has:a}=getProto(r),s=o?toShallow:n?toReadonly:toReactive;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function has$1(e,t=!1){const n=this.__v_raw,o=toRaw(n),r=toRaw(e);return t||(e!==r&&track(o,"has",e),track(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set$1$1(e,t){t=toRaw(t);const n=toRaw(this),{has:o,get:r}=getProto(n);let i=o.call(n,e);i||(e=toRaw(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?hasChanged(t,a)&&trigger(n,"set",e,t):trigger(n,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:n,get:o}=getProto(t);let r=n.call(t,e);r||(e=toRaw(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&trigger(t,"delete",e,void 0),i}function clear(){const e=toRaw(this),t=0!==e.size,n=e.clear();return t&&trigger(e,"clear",void 0,void 0),n}function createForEach(e,t){return function(n,o){const r=this,i=r.__v_raw,a=toRaw(i),s=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function createIterableMethod(e,t,n){return function(...o){const r=this.__v_raw,i=toRaw(r),a=isMap(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=r[e](...o),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",l?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return"delete"!==e&&this}}function createInstrumentations(){const e={get(e){return get$1$1(this,e)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!1)},t={get(e){return get$1$1(this,e,!1,!0)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!0)},n={get(e){return get$1$1(this,e,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},o={get(e){return get$1$1(this,e,!0,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=createIterableMethod(r,!1,!1),n[r]=createIterableMethod(r,!0,!1),t[r]=createIterableMethod(r,!1,!0),o[r]=createIterableMethod(r,!0,!0)})),[e,n,t,o]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(hasOwn$1(n,o)&&o in t?n:t,o,r)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(e,t,n,o,r){if(!isObject$2(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=getTargetType(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return def(e,"__v_skip",!0),e}const toReactive=e=>isObject$2(e)?reactive(e):e,toReadonly=e=>isObject$2(e)?readonly(e):e;function trackRefValue(e){shouldTrack&&activeEffect&&trackEffects((e=toRaw(e)).dep||(e.dep=createDep()))}function triggerRefValue(e,t){(e=toRaw(e)).dep&&triggerEffects(e.dep)}function isRef(e){return!(!e||!0!==e.__v_isRef)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:toRaw(e),this._value=t?e:toReactive(e)}get value(){return trackRefValue(this),this._value}set value(e){e=this.__v_isShallow?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:toReactive(e),triggerRefValue(this))}}function unref(e){return isRef(e)?e.value:e}const shallowUnwrapHandlers={get:(e,t,n)=>unref(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return isRef(r)&&!isRef(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class ComputedRefImpl{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ReactiveEffect(e,(()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=toRaw(this);return trackRefValue(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function computed(e,t,n=!1){let o,r;const i=isFunction(e);i?(o=e,r=NOOP):(o=e.get,r=e.set);return new ComputedRefImpl(o,r,i||!r,n)}function callWithErrorHandling(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){handleError(i,t,n)}return r}function callWithAsyncErrorHandling(e,t,n,o){if(isFunction(e)){const r=callWithErrorHandling(e,t,n,o);return r&&isPromise$1(r)&&r.catch((e=>{handleError(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(callWithAsyncErrorHandling(e[i],t,n,o));return r}function handleError(e,t,n,o=!0){const r=t?t.vnode:null;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 a=t.appContext.config.errorHandler;if(a)return void callWithErrorHandling(a,null,10,[e,r,i])}logError(e,n,r,o)}function logError(e,t,n,o=!0){console.error(e)}let isFlushing=!1,isFlushPending=!1;const queue$1=[];let flushIndex=0;const pendingPreFlushCbs=[];let activePreFlushCbs=null,preFlushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null,currentPreFlushParentJob=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,n=queue$1.length;for(;t<n;){const o=t+n>>>1;getId(queue$1[o])<e?t=o+1:n=o}return t}function queueJob(e){queue$1.length&&queue$1.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex)||e===currentPreFlushParentJob||(null==e.id?queue$1.push(e):queue$1.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){isFlushing||isFlushPending||(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(e){const t=queue$1.indexOf(e);t>flushIndex&&queue$1.splice(t,1)}function queueCb(e,t,n,o){isArray$1(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),queueFlush()}function queuePreFlushCb(e){queueCb(e,activePreFlushCbs,pendingPreFlushCbs,preFlushIndex)}function queuePostFlushCb(e){queueCb(e,activePostFlushCbs,pendingPostFlushCbs,postFlushIndex)}function flushPreFlushCbs(e,t=null){if(pendingPreFlushCbs.length){for(currentPreFlushParentJob=t,activePreFlushCbs=[...new Set(pendingPreFlushCbs)],pendingPreFlushCbs.length=0,preFlushIndex=0;preFlushIndex<activePreFlushCbs.length;preFlushIndex++)activePreFlushCbs[preFlushIndex]();activePreFlushCbs=null,preFlushIndex=0,currentPreFlushParentJob=null,flushPreFlushCbs(e,t)}}function flushPostFlushCbs(e){if(flushPreFlushCbs(),pendingPostFlushCbs.length){const e=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs)return void activePostFlushCbs.push(...e);for(activePostFlushCbs=e,activePostFlushCbs.sort(((e,t)=>getId(e)-getId(t))),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>null==e.id?1/0:e.id;function flushJobs(e){isFlushPending=!1,isFlushing=!0,flushPreFlushCbs(e),queue$1.sort(((e,t)=>getId(e)-getId(t)));try{for(flushIndex=0;flushIndex<queue$1.length;flushIndex++){const e=queue$1[flushIndex];e&&!1!==e.active&&callWithErrorHandling(e,null,14)}}finally{flushIndex=0,queue$1.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$1.length||pendingPreFlushCbs.length||pendingPostFlushCbs.length)&&flushJobs(e)}}function emit$1$1(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||EMPTY_OBJ;let r=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:i}=o[e]||EMPTY_OBJ;i&&(r=n.map((e=>e.trim()))),t&&(r=n.map(toNumber))}let s,l=o[s=toHandlerKey(t)]||o[s=toHandlerKey(camelize(t))];!l&&i&&(l=o[s=toHandlerKey(hyphenate(t))]),l&&callWithAsyncErrorHandling(l,e,6,normalizeWxsEventArgs(e,l,r));const c=o[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,callWithAsyncErrorHandling(c,e,6,normalizeWxsEventArgs(e,c,r))}}function normalizeWxsEventArgs(e,t,n){if(1!==n.length)return n;if(isFunction(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&hasOwn$1(o,"type")&&hasOwn$1(o,"timeStamp")&&hasOwn$1(o,"target")&&hasOwn$1(o,"currentTarget")&&hasOwn$1(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function normalizeEmitsOptions(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!isFunction(e)){const o=e=>{const n=normalizeEmitsOptions(e,t,!0);n&&(s=!0,extend$1(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(isArray$1(i)?i.forEach((e=>a[e]=null)):extend$1(a,i),o.set(e,a),a):(o.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t),i=e(...n);return setCurrentRenderingInstance(r),o._d&&setBlockTracking(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:h,inheritAttrs:g}=e;let m,_;const S=setCurrentRenderingInstance(e);try{if(4&n.shapeFlag){const e=r||o;m=normalizeVNode(u.call(e,e,d,i,f,p,h)),_=l}else{const e=t;0,m=normalizeVNode(e.length>1?e(i,{attrs:l,slots:s,emit:c}):e(i,null)),_=t.props?l:getFunctionalFallthrough(l)}}catch(y){blockStack.length=0,handleError(y,e,1),m=createVNode(Comment)}let v=m;if(_&&!1!==g){const e=Object.keys(_),{shapeFlag:t}=v;e.length&&7&t&&(a&&e.some(isModelListener)&&(_=filterModelListeners(_,a)),v=cloneVNode(v,_))}return n.dirs&&(v=cloneVNode(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),m=v,setCurrentRenderingInstance(S),m}const getFunctionalFallthrough=e=>{let t;for(const n in e)("class"===n||"style"===n||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const o in e)isModelListener(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function shouldUpdateComponent(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||hasPropsChanged(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?hasPropsChanged(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!isEmitListener(c,n))return!0}}return!1}function hasPropsChanged(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]&&!isEmitListener(n,i))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const isSuspense=e=>e.__isSuspense;function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$1(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function provide(e,t){if(currentInstance){let n=currentInstance.provides;const o=currentInstance.parent&&currentInstance.parent.provides;o===n&&(n=currentInstance.provides=Object.create(o)),n[e]=t,"app"===currentInstance.type.mpType&&currentInstance.appContext.app.provide(e,t)}else;}function inject(e,t,n=!1){const o=currentInstance||currentRenderingInstance;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&&isFunction(t)?t.call(o.proxy):t}}function watchEffect(e,t){return doWatch(e,null,t)}const INITIAL_WATCHER_VALUE={};function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=EMPTY_OBJ){const s=currentInstance;let l,c,u=!1,d=!1;if(isRef(e)?(l=()=>e.value,u=isShallow(e)):isReactive(e)?(l=()=>e,o=!0):isArray$1(e)?(d=!0,u=e.some((e=>isReactive(e)||isShallow(e))),l=()=>e.map((e=>isRef(e)?e.value:isReactive(e)?traverse(e):isFunction(e)?callWithErrorHandling(e,s,2):void 0))):l=isFunction(e)?t?()=>callWithErrorHandling(e,s,2):()=>{if(!s||!s.isUnmounted)return c&&c(),callWithAsyncErrorHandling(e,s,3,[p])}:NOOP,t&&o){const e=l;l=()=>traverse(e())}let p=e=>{c=m.onStop=()=>{callWithErrorHandling(e,s,4)}};if(isInSSRComponentSetup)return p=NOOP,t?n&&callWithAsyncErrorHandling(t,s,3,[l(),d?[]:void 0,p]):l(),NOOP;let f=d?[]:INITIAL_WATCHER_VALUE;const h=()=>{if(m.active)if(t){const e=m.run();(o||u||(d?e.some(((e,t)=>hasChanged(e,f[t]))):hasChanged(e,f)))&&(c&&c(),callWithAsyncErrorHandling(t,s,3,[e,f===INITIAL_WATCHER_VALUE?void 0:f,p]),f=e)}else m.run()};let g;h.allowRecurse=!!t,g="sync"===r?h:"post"===r?()=>queuePostRenderEffect(h,s&&s.suspense):()=>queuePreFlushCb(h);const m=new ReactiveEffect(l,g);return t?n?h():f=m.run():"post"===r?queuePostRenderEffect(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&remove(s.scope.effects,m)}}function instanceWatch(e,t,n){const o=this.proxy,r=isString(e)?e.includes(".")?createPathGetter(o,e):()=>o[e]:e.bind(o,o);let i;isFunction(t)?i=t:(i=t.handler,n=t);const a=currentInstance;setCurrentInstance(this);const s=doWatch(r,i.bind(o),n);return a?setCurrentInstance(a):unsetCurrentInstance(),s}function createPathGetter(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 traverse(e,t){if(!isObject$2(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),isRef(e))traverse(e.value,t);else if(isArray$1(e))for(let n=0;n<e.length;n++)traverse(e[n],t);else if(isSet(e)||isMap(e))e.forEach((e=>{traverse(e,t)}));else if(isPlainObject(e))for(const n in e)traverse(e[n],t);return e}function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((()=>{e.isMounted=!0})),onBeforeUnmount((()=>{e.isUnmounting=!0})),e}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup(e,{slots:t}){const n=getCurrentInstance(),o=useTransitionState();let r;return()=>{const i=t.default&&getTransitionRawChildren(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Comment){a=e;break}const s=toRaw(e),{mode:l}=s;if(o.isLeaving)return emptyPlaceholder(a);const c=getKeepAliveChild(a);if(!c)return emptyPlaceholder(a);const u=resolveTransitionHooks(c,s,o,n);setTransitionHooks(c,u);const d=n.subTree,p=d&&getKeepAliveChild(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==Comment&&(!isSameVNodeType(c,p)||f)){const e=resolveTransitionHooks(p,s,o,n);if(setTransitionHooks(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},emptyPlaceholder(a);"in-out"===l&&c.type!==Comment&&(e.delayLeave=(e,t,n)=>{getLeavingNodesForType(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return a}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(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 resolveTransitionHooks(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:_,onAppearCancelled:S}=t,v=String(e.key),y=getLeavingNodesForType(n,e),T=(e,t)=>{e&&callWithAsyncErrorHandling(e,o,9,t)},C=(e,t)=>{const n=t[1];T(e,t),isArray$1(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},b={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=g||s}t._leaveCb&&t._leaveCb(!0);const i=y[v];i&&isSameVNodeType(e,i)&&i.el._leaveCb&&i.el._leaveCb(),T(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=m||l,o=_||c,i=S||u}let a=!1;const s=e._enterCb=t=>{a||(a=!0,T(t?i:o,[e]),b.delayedLeave&&b.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();T(d,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,o(),T(n?h:f,[t]),t._leaveCb=void 0,y[r]===e&&delete y[r])};y[r]=e,p?C(p,[t,a]):a()},clone:e=>resolveTransitionHooks(e,t,n,o)};return b}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?setTransitionHooks(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 getTransitionRawChildren(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Fragment?(128&a.patchFlag&&r++,o=o.concat(getTransitionRawChildren(a.children,t,s))):(t||a.type!==Comment)&&o.push(null!=s?cloneVNode(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function defineComponent(e){return isFunction(e)?{setup:e,name:e.name}:e}const isAsyncWrapper=e=>!!e.type.__asyncLoader;function defineAsyncComponent(e){isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=currentInstance;if(l)return()=>createInnerComp(l,e);const t=t=>{c=null,handleError(t,e,13,!o)};if(a&&e.suspense||isInSSRComponentSetup)return d().then((t=>()=>createInnerComp(t,e))).catch((e=>(t(e),()=>o?createVNode(o,{error:e}):null)));const s=ref(!1),u=ref(),p=ref(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&isKeepAlive(e.parent.vnode)&&queueJob(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?createInnerComp(l,e):u.value&&o?createVNode(o,{error:u.value}):n&&!p.value?createVNode(n):void 0}})}function createInnerComp(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const a=createVNode(e,n,o);return a.ref=t,a}const isKeepAlive=e=>e.type.__isKeepAlive;class Cache{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 KeepAliveImpl={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=getCurrentInstance(),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 Cache(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||t.type!==i.type||"key"===e.matchBy&&t.key!==i.key?(resetShapeFlag(o=t),u(o,n,s,!0)):i&&resetShapeFlag(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(t){r.forEach(((n,o)=>{const i=getMatchingName(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,invokeArrayFns$1(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),queuePostRenderEffect((()=>{i.isDeactivated=!1,i.a&&invokeArrayFns$1(i.a);const t=e.props&&e.props.onVnodeMounted;t&&invokeVNodeHook(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&invokeKeepAliveHooks(t.bda),c(e,p,null,1,s),queuePostRenderEffect((()=>{t.bda&&resetHookState(t.bda),t.da&&invokeArrayFns$1(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&invokeVNodeHook(n,t.parent,e),t.isDeactivated=!0}),s)},watch((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>matches$1(e,t))),t&&f((e=>!matches$1(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,getInnerChild(n.subTree))};return onMounted(g),onUpdated(g),onBeforeUnmount((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,l=getInnerChild(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&invokeArrayFns$1(l.component.bda),resetShapeFlag(l);const e=l.component.da;e&&queuePostRenderEffect(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!isVNode(o)||!(4&o.shapeFlag)&&!isSuspense(o.type))return i=null,o;let a=getInnerChild(o);const s=a.type,l=getMatchingName(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!matches$1(c,l))||u&&l&&matches$1(u,l))return i=a,o;const d=null==a.key?s:a.key,p=r.get(d);return a.el&&(a=cloneVNode(a),isSuspense(o.type)&&(o.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&setTransitionHooks(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,isSuspense(o.type)?o:a}}},KeepAlive=KeepAliveImpl;function matches$1(e,t){return isArray$1(e)?e.some((e=>matches$1(e,t))):isString(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function onBeforeActivate(e,t){registerKeepAliveHook(e,"ba",t)}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onBeforeDeactivate(e,t){registerKeepAliveHook(e,"bda",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,injectHook(t,o,n),n){let e=n.parent;for(;e&&e.parent;)isKeepAlive(e.parent.vnode)&&injectToKeepAliveRoot(o,t,n,e),e=e.parent}}function injectToKeepAliveRoot(e,t,n,o){const r=injectHook(t,e,o,!0);onUnmounted((()=>{remove(o[t],r)}),n)}function resetShapeFlag(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function getInnerChild(e){return isSuspense(e.type)?e.ssContent:e}function getMatchingName(e,t){if("name"===t){const t=e.type;return getComponentName(isAsyncWrapper(e)?t.__asyncResolved||{}:t)}return String(e.key)}function invokeKeepAliveHooks(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function resetHookState(e){e.forEach((e=>e.__called=!1))}function injectHook(e,t,n=currentInstance,o=!1){if(n){if(isRootHook(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,isRootImmediateHook(e))){const o=n.proxy;callWithAsyncErrorHandling(t.bind(o),n,e,ON_LOAD===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pauseTracking(),setCurrentInstance(n);const r=callWithAsyncErrorHandling(t,n,e,o);return unsetCurrentInstance(),resetTracking(),r});return o?r.unshift(i):r.push(i),i}}const createHook=e=>(t,n=currentInstance)=>(!isInSSRComponentSetup||"sp"===e)&&injectHook(e,t,n),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}function withDirectives(e,t){const n=currentRenderingInstance;if(null===n)return e;const o=getExposeProxy(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,n,a,s=EMPTY_OBJ]=t[i];isFunction(e)&&(e={mounted:e,updated:e}),e.deep&&traverse(n),r.push({dir:e,instance:o,value:n,oldValue:void 0,arg:a,modifiers:s})}return e}function invokeDirectiveHook(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(pauseTracking(),callWithAsyncErrorHandling(l,n,8,[e.el,s,e,t]),resetTracking())}}const COMPONENTS="components";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol();function resolveDynamicComponent(e){return isString(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveAsset(e,t,n=!0,o=!1){const r=currentRenderingInstance||currentInstance;if(r){const n=r.type;if(e===COMPONENTS){const e=getComponentName(n,!1);if(e&&(e===t||e===camelize(t)||e===capitalize(camelize(t))))return n}const i=resolve(r[e]||n[e],t)||resolve(r.appContext[e],t);return!i&&o?n:i}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize(camelize(t))])}function renderList(e,t,n,o){let r;const i=n&&n[o];if(isArray$1(e)||isString(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(isObject$2(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function renderSlot(e,t,n={},o,r){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return createVNode("slot","default"===t?null:{name:t},o&&o());let i=e[t];i&&i._c&&(i._d=!1),openBlock();const a=i&&ensureValidVNode(i(n)),s=createBlock(Fragment,{key:n.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function ensureValidVNode(e){return e.some((e=>!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode(e.children))))?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy:getPublicInstance(e.parent):null,publicPropertiesMap=extend$1(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=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>queueJob(e.update)),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(o!==EMPTY_OBJ&&hasOwn$1(o,t))return a[t]=1,o[t];if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&hasOwn$1(c,t))return a[t]=3,i[t];if(n!==EMPTY_OBJ&&hasOwn$1(n,t))return a[t]=4,n[t];shouldCacheAccess&&(a[t]=0)}}const u=publicPropertiesMap[t];let d,p;return u?("$attrs"===t&&track(e,"get",t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==EMPTY_OBJ&&hasOwn$1(n,t)?(a[t]=4,n[t]):(p=l.config.globalProperties,hasOwn$1(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return r!==EMPTY_OBJ&&hasOwn$1(r,t)?(r[t]=n,!0):o!==EMPTY_OBJ&&hasOwn$1(o,t)?(o[t]=n,!0):!hasOwn$1(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}},a){let s;return!!n[a]||e!==EMPTY_OBJ&&hasOwn$1(e,a)||t!==EMPTY_OBJ&&hasOwn$1(t,a)||(s=i[0])&&hasOwn$1(s,a)||hasOwn$1(o,a)||hasOwn$1(publicPropertiesMap,a)||hasOwn$1(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hasOwn$1(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let shouldCacheAccess=!0;function applyOptions$1(e){const t=resolveMergedOptions(e),n=e.proxy,o=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:f,updated:h,activated:g,deactivated:m,beforeDestroy:_,beforeUnmount:S,destroyed:v,unmounted:y,render:T,renderTracked:C,renderTriggered:b,errorCaptured:L,serverPrefetch:A,expose:P,inheritAttrs:E,components:w,directives:I,filters:M}=t;if(c&&resolveInjections(c,o,null,e.appContext.config.unwrapInjectedRef),a)for(const N in a){const e=a[N];isFunction(e)&&(o[N]=e.bind(n))}if(r){const t=r.call(n,n);isObject$2(t)&&(e.data=reactive(t))}if(shouldCacheAccess=!0,i)for(const N in i){const e=i[N],t=isFunction(e)?e.bind(n,n):isFunction(e.get)?e.get.bind(n,n):NOOP,r=!isFunction(e)&&isFunction(e.set)?e.set.bind(n):NOOP,a=computed$1({get:t,set:r});Object.defineProperty(o,N,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const N in s)createWatcher(s[N],o,n,N);if(l){const e=isFunction(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{provide(t,e[t])}))}function x(e,t){isArray$1(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&callHook(u,e,"c"),x(onBeforeMount,d),x(onMounted,p),x(onBeforeUpdate,f),x(onUpdated,h),x(onActivated,g),x(onDeactivated,m),x(onErrorCaptured,L),x(onRenderTracked,C),x(onRenderTriggered,b),x(onBeforeUnmount,S),x(onUnmounted,y),x(onServerPrefetch,A),isArray$1(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===NOOP&&(e.render=T),null!=E&&(e.inheritAttrs=E),w&&(e.components=w),I&&(e.directives=I);const Y=e.appContext.config.globalProperties.$applyOptions;Y&&Y(t,e,n)}function resolveInjections(e,t,n=NOOP,o=!1){isArray$1(e)&&(e=normalizeInject(e));for(const r in e){const n=e[r];let i;i=isObject$2(n)?"default"in n?inject(n.from||r,n.default,!0):inject(n.from||r):inject(n),isRef(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}function callHook(e,t,n){callWithAsyncErrorHandling(isArray$1(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,o){const r=o.includes(".")?createPathGetter(n,o):()=>n[o];if(isString(e)){const n=t[e];isFunction(n)&&watch(r,n)}else if(isFunction(e))watch(r,e.bind(n));else if(isObject$2(e))if(isArray$1(e))e.forEach((e=>createWatcher(e,t,n,o)));else{const o=isFunction(e.handler)?e.handler.bind(n):t[e.handler];isFunction(o)&&watch(r,o,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:r.length||n||o?(l={},r.length&&r.forEach((e=>mergeOptions$1(l,e,a,!0))),mergeOptions$1(l,t,a)):l=t,i.set(t,l),l}function mergeOptions$1(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mergeOptions$1(e,i,n,!0),r&&r.forEach((t=>mergeOptions$1(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=internalOptionMergeStrats[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$1(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$1(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray$1(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend$1(extend$1(Object.create(null),e),t):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const n=extend$1(Object.create(null),e);for(const o in t)n[o]=mergeAsArray$1(e[o],t[o]);return n}function initProps(e,t,n,o=!1){const r={},i={};def(i,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:shallowReactive(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function updateProps(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=toRaw(r),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;setFullProps(e,t,r,i)&&(c=!0);for(const i in s)t&&(hasOwn$1(t,i)||(o=hyphenate(i))!==i&&hasOwn$1(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=resolvePropValue(l,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&hasOwn$1(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(isEmitListener(e.emitsOptions,a))continue;const u=t[a];if(l)if(hasOwn$1(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=camelize(a);r[t]=resolvePropValue(l,s,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&&trigger(e,"set","$attrs")}function setFullProps(e,t,n,o){const[r,i]=e.propsOptions;let a,s=!1;if(t)for(let l in t){if(isReservedProp(l))continue;const c=t[l];let u;r&&hasOwn$1(r,u=camelize(l))?i&&i.includes(u)?(a||(a={}))[u]=c:n[u]=c:isEmitListener(e.emitsOptions,l)||l in o&&c===o[l]||(o[l]=c,s=!0)}if(i){const t=toRaw(n),o=a||EMPTY_OBJ;for(let a=0;a<i.length;a++){const s=i[a];n[s]=resolvePropValue(r,t,s,o[s],e,!hasOwn$1(o,s))}}return s}function resolvePropValue(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=hasOwn$1(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&isFunction(e)){const{propsDefaults:i}=r;n in i?o=i[n]:(setCurrentInstance(r),o=i[n]=e.call(null,t),unsetCurrentInstance())}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==hyphenate(n)||(o=!0))}return o}function normalizePropsOptions(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},s=[];let l=!1;if(!isFunction(e)){const o=e=>{l=!0;const[n,o]=normalizePropsOptions(e,t,!0);extend$1(a,n),o&&s.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,EMPTY_ARR),EMPTY_ARR;if(isArray$1(i))for(let u=0;u<i.length;u++){const e=camelize(i[u]);validatePropName(e)&&(a[e]=EMPTY_OBJ)}else if(i)for(const u in i){const e=camelize(u);if(validatePropName(e)){const t=i[u],n=a[e]=isArray$1(t)||isFunction(t)?{type:t}:t;if(n){const t=getTypeIndex(Boolean,n.type),o=getTypeIndex(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||hasOwn$1(n,"default"))&&s.push(e)}}}const c=[a,s];return o.set(e,c),c}function validatePropName(e){return"$"!==e[0]}function getType(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$1(t)?t.findIndex((t=>isSameType(t,e))):isFunction(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>"_"===e[0]||"$stable"===e,normalizeSlotValue=e=>isArray$1(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,n)=>{if(t._n)return t;const o=withCtx(((...e)=>normalizeSlotValue(t(...e))),n);return o._c=!1,o},normalizeObjectSlots=(e,t,n)=>{const o=e._ctx;for(const r in e){if(isInternalKey(r))continue;const n=e[r];if(isFunction(n))t[r]=normalizeSlot$1(r,n,o);else if(null!=n){const e=normalizeSlotValue(n);t[r]=()=>e}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},initSlots=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=toRaw(t),def(t,"_",n)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(extend$1(r,t),n||1!==e||delete r._):(i=!t.$stable,normalizeObjectSlots(t,r)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(i)for(const s in r)isInternalKey(s)||s in a||delete r[s]};function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid=0;function createAppAPI(e,t){return function(n,o=null){isFunction(n)||(n=Object.assign({},n)),null==o||isObject$2(o)||(o=null);const r=createAppContext(),i=new Set;let a=!1;const s=r.app={_uid:uid++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:version$1,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&isFunction(e.install)?(i.add(e),e.install(s,...t)):isFunction(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,l,c){if(!a){const u=createVNode(n,o);return u.appContext=r,l&&t?t(u,i):e(u,i,c),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,getExposeProxy(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s)};return s}}function setRef(e,t,n,o,r=!1){if(isArray$1(e))return void e.forEach(((e,i)=>setRef(e,t&&(isArray$1(t)?t[i]:t),n,o,r)));if(isAsyncWrapper(o)&&!r)return;const i=4&o.shapeFlag?getExposeProxy(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,d=s.setupState;if(null!=c&&c!==l&&(isString(c)?(u[c]=null,hasOwn$1(d,c)&&(d[c]=null)):isRef(c)&&(c.value=null)),isFunction(l))callWithErrorHandling(l,s,12,[a,u]);else{const t=isString(l),o=isRef(l);if(t||o){const s=()=>{if(e.f){const n=t?u[l]:l.value;r?isArray$1(n)&&remove(n,i):isArray$1(n)?n.includes(i)||n.push(i):t?(u[l]=[i],hasOwn$1(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else t?(u[l]=a,hasOwn$1(d,l)&&(d[l]=a)):o&&(l.value=a,e.k&&(u[e.k]=a))};a?(s.id=-1,queuePostRenderEffect(s,n)):s()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function baseCreateRenderer(e,t){getGlobalThis().__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=NOOP,cloneNode:h,insertStaticContent:g}=e,m=(e,t,n,o=null,r=null,i=null,a=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!isSameVNodeType(e,t)&&(o=X(e),Z(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 Text:_(e,t,n,o);break;case Comment:S(e,t,n,o);break;case Static:null==e&&v(t,n,o,a);break;case Fragment:E(e,t,n,o,r,i,a,s,l);break;default:1&d?y(e,t,n,o,r,i,a,s,l):6&d?w(e,t,n,o,r,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,s,l,$)}null!=u&&r&&setRef(u,e&&e.ref,i,t||e,!t)},_=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},v=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},y=(e,t,n,o,r,i,a,s,l)=>{a=a||"svg"===t.type,null==e?T(t,n,o,r,i,a,s,l):L(e,t,r,i,a,s,l)},T=(e,t,o,i,s,l,c,d)=>{let p,f;const{type:g,props:m,shapeFlag:_,transition:S,patchFlag:v,dirs:y}=e;if(e.el&&void 0!==h&&-1===v)p=e.el=h(e.el);else{if(p=e.el=a(e.type,l,m&&m.is,m),8&_?u(p,e.children):16&_&&b(e.children,p,null,i,s,l&&"foreignObject"!==g,c,d),y&&invokeDirectiveHook(e,null,i,"created"),m){for(const t in m)"value"===t||isReservedProp(t)||r(p,t,null,m[t],l,e.children,i,s,J);"value"in m&&r(p,"value",null,m.value),(f=m.onVnodeBeforeMount)&&invokeVNodeHook(f,i,e)}C(p,e,e.scopeId,c,i)}Object.defineProperty(p,"__vueParentComponent",{value:i,enumerable:!1}),y&&invokeDirectiveHook(e,null,i,"beforeMount");const T=(!s||s&&!s.pendingBranch)&&S&&!S.persisted;T&&S.beforeEnter(p),n(p,t,o),((f=m&&m.onVnodeMounted)||T||y)&&queuePostRenderEffect((()=>{f&&invokeVNodeHook(f,i,e),T&&S.enter(p),y&&invokeDirectiveHook(e,null,i,"mounted")}),s)},C=(e,t,n,o,r)=>{if(n&&f(e,n),o)for(let i=0;i<o.length;i++)f(e,o[i]);if(r){if(t===r.subTree){const t=r.vnode;C(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},b=(e,t,n,o,r,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?cloneIfMounted(e[c]):normalizeVNode(e[c]);m(null,l,t,n,o,r,i,a,s)}},L=(e,t,n,o,a,s,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=t;d|=16&e.patchFlag;const h=e.props||EMPTY_OBJ,g=t.props||EMPTY_OBJ;let m;n&&toggleRecurse(n,!1),(m=g.onVnodeBeforeUpdate)&&invokeVNodeHook(m,n,t,e),f&&invokeDirectiveHook(t,e,n,"beforeUpdate"),n&&toggleRecurse(n,!0);const _=a&&"foreignObject"!==t.type;if(p?A(e.dynamicChildren,p,c,n,o,_,s):l||N(e,t,c,null,n,o,_,s,!1),d>0){if(16&d)P(c,t,h,g,n,o,a);else if(2&d&&h.class!==g.class&&r(c,"class",null,g.class,a),4&d&&r(c,"style",h.style,g.style,a),8&d){const s=t.dynamicProps;for(let t=0;t<s.length;t++){const l=s[t],u=h[l],d=g[l];(d!==u||"value"===l||i&&i(c,l))&&r(c,l,u,d,a,e.children,n,o,J)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=p||P(c,t,h,g,n,o,a);((m=g.onVnodeUpdated)||f)&&queuePostRenderEffect((()=>{m&&invokeVNodeHook(m,n,t,e),f&&invokeDirectiveHook(t,e,n,"updated")}),o)},A=(e,t,n,o,r,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===Fragment||!isSameVNodeType(l,c)||70&l.shapeFlag)?d(l.el):n;m(l,c,u,null,o,r,i,a,!0)}},P=(e,t,n,o,a,s,l)=>{if(n!==o){for(const c in o){if(isReservedProp(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,a,s,J)}if(n!==EMPTY_OBJ)for(const i in n)isReservedProp(i)||i in o||r(e,i,n[i],null,l,t.children,a,s,J);"value"in o&&r(e,"value",n.value,o.value)}},E=(e,t,o,r,i,a,l,c,u)=>{const d=t.el=e?e.el:s(""),p=t.anchor=e?e.anchor:s("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(d,o,r),n(p,o,r),b(t.children,o,p,i,a,l,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,o,i,a,l,c),(null!=t.key||i&&t===i.subTree)&&traverseStaticChildren(e,t,!0)):N(e,t,o,p,i,a,l,c,u)},w=(e,t,n,o,r,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,l):I(t,n,o,r,i,a,l):M(e,t,l)},I=(e,t,n,o,r,i,a)=>{const s=e.component=createComponentInstance(e,o,r);if(isKeepAlive(e)&&(s.ctx.renderer=$),setupComponent$1(s),s.asyncDep){if(r&&r.registerDep(s,x),!e.el){const e=s.subTree=createVNode(Comment);S(null,e,t,n)}}else x(s,e,t,n,r,i,a)},M=(e,t,n)=>{const o=t.component=e.component;if(shouldUpdateComponent(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void Y(o,t,n);o.next=t,invalidateJob(o.update),o.update()}else t.el=e.el,o.vnode=t},x=(e,t,n,o,r,i,a)=>{const s=e.effect=new ReactiveEffect((()=>{if(e.isMounted){let t,{next:n,bu:o,u:s,parent:l,vnode:c}=e,u=n;toggleRecurse(e,!1),n?(n.el=c.el,Y(e,n,a)):n=c,o&&invokeArrayFns$1(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&invokeVNodeHook(t,l,n,c),toggleRecurse(e,!0);const p=renderComponentRoot(e),f=e.subTree;e.subTree=p,m(f,p,d(f.el),X(f),e,r,i),n.el=p.el,null===u&&updateHOCHostEl(e,p.el),s&&queuePostRenderEffect(s,r),(t=n.props&&n.props.onVnodeUpdated)&&queuePostRenderEffect((()=>invokeVNodeHook(t,l,n,c)),r)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=isAsyncWrapper(t);if(toggleRecurse(e,!1),c&&invokeArrayFns$1(c),!p&&(a=l&&l.onVnodeBeforeMount)&&invokeVNodeHook(a,d,t),toggleRecurse(e,!0),s&&G){const n=()=>{e.subTree=renderComponentRoot(e),G(s,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=renderComponentRoot(e);m(null,a,n,o,e,r,i),t.el=a.el}if(u&&queuePostRenderEffect(u,r),!p&&(a=l&&l.onVnodeMounted)){const e=t;queuePostRenderEffect((()=>invokeVNodeHook(a,d,e)),r)}const{ba:f,a:h}=e;(256&t.shapeFlag||d&&isAsyncWrapper(d.vnode)&&256&d.vnode.shapeFlag)&&(f&&invokeKeepAliveHooks(f),h&&queuePostRenderEffect(h,r),f&&queuePostRenderEffect((()=>resetHookState(f)),r)),e.isMounted=!0,t=n=o=null}}),(()=>queueJob(l)),e.scope),l=e.update=()=>s.run();l.id=e.uid,toggleRecurse(e,!0),l()},Y=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,updateProps(e,t.props,o,n),updateSlots(e,t.children,n),pauseTracking(),flushPreFlushCbs(void 0,e.update),resetTracking()},N=(e,t,n,o,r,i,a,s,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void D(c,p,n,o,r,i,a,s,l);if(256&f)return void O(c,p,n,o,r,i,a,s,l)}8&h?(16&d&&J(c,r,i),p!==c&&u(n,p)):16&d?16&h?D(c,p,n,o,r,i,a,s,l):J(c,r,i,!0):(8&d&&u(n,""),16&h&&b(p,n,o,r,i,a,s,l))},O=(e,t,n,o,r,i,a,s,l)=>{t=t||EMPTY_ARR;const c=(e=e||EMPTY_ARR).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const o=t[p]=l?cloneIfMounted(t[p]):normalizeVNode(t[p]);m(e[p],o,n,null,r,i,a,s,l)}c>u?J(e,r,i,!0,!1,d):b(t,n,o,r,i,a,s,l,d)},D=(e,t,n,o,r,i,a,s,l)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const o=e[c],u=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);if(!isSameVNodeType(o,u))break;m(o,u,n,null,r,i,a,s,l),c++}for(;c<=d&&c<=p;){const o=e[d],c=t[p]=l?cloneIfMounted(t[p]):normalizeVNode(t[p]);if(!isSameVNodeType(o,c))break;m(o,c,n,null,r,i,a,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:o;for(;c<=p;)m(null,t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]),n,d,r,i,a,s,l),c++}}else if(c>p)for(;c<=d;)Z(e[c],r,i,!0),c++;else{const f=c,h=c,g=new Map;for(c=h;c<=p;c++){const e=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);null!=e.key&&g.set(e.key,c)}let _,S=0;const v=p-h+1;let y=!1,T=0;const C=new Array(v);for(c=0;c<v;c++)C[c]=0;for(c=f;c<=d;c++){const o=e[c];if(S>=v){Z(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(_=h;_<=p;_++)if(0===C[_-h]&&isSameVNodeType(o,t[_])){u=_;break}void 0===u?Z(o,r,i,!0):(C[u-h]=c+1,u>=T?T=u:y=!0,m(o,t[u],n,null,r,i,a,s,l),S++)}const b=y?getSequence(C):EMPTY_ARR;for(_=b.length-1,c=v-1;c>=0;c--){const e=h+c,d=t[e],p=e+1<u?t[e+1].el:o;0===C[c]?m(null,d,n,p,r,i,a,s,l):y&&(_<0||c!==b[_]?R(d,n,p,2):_--)}}},R=(e,t,o,r,i=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void R(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,$);if(s===Fragment){n(a,t,o);for(let e=0;e<c.length;e++)R(c[e],t,o,r);return void n(e.anchor,t,o)}if(s===Static)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=p(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),n(a,t,o),queuePostRenderEffect((()=>l.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,c):c()}else n(a,t,o)},Z=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&setRef(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!isAsyncWrapper(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&invokeVNodeHook(g,t,e),6&u)H(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,$,o):c&&(i!==Fragment||d>0&&64&d)?J(c,t,n,!1,!0):(i===Fragment&&384&d||!r&&16&u)&&J(l,t,n),o&&k(e)}(h&&(g=a&&a.onVnodeUnmounted)||f)&&queuePostRenderEffect((()=>{g&&invokeVNodeHook(g,t,e),f&&invokeDirectiveHook(e,null,t,"unmounted")}),n)},k=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Fragment)return void B(n,r);if(t===Static)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)})(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},B=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},H=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&invokeArrayFns$1(o),r.stop(),i&&(i.active=!1,Z(a,e,t,n)),s&&queuePostRenderEffect(s,t),queuePostRenderEffect((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},J=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)Z(e[a],t,n,o,r)},X=e=>6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),F=(e,t,n)=>{null==e?t._vnode&&Z(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),flushPostFlushCbs(),t._vnode=e},$={p:m,um:Z,m:R,r:k,mt:I,mc:b,pc:N,pbc:A,n:X,o:e};let W,G;return t&&([W,G]=t($)),{render:F,hydrate:W,createApp:createAppAPI(F,W)}}function toggleRecurse({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function traverseStaticChildren(e,t,n=!1){const o=e.children,r=t.children;if(isArray$1(o)&&isArray$1(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]=cloneIfMounted(r[i]),t.el=e.el),n||traverseStaticChildren(e,t))}}function getSequence(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const isTeleport=e=>e.__isTeleport,Fragment=Symbol(void 0),Text=Symbol(void 0),Comment=Symbol(void 0),Static=Symbol(void 0),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,n,o,r,i){return setupBlock(createBaseVNode(e,t,n,o,r,i,!0))}function createBlock(e,t,n,o,r){return setupBlock(createVNode(e,t,n,o,r,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>null!=e?e:null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>null!=e?isString(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null;function createBaseVNode(e,t=null,n=null,o=0,r=null,i=(e===Fragment?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,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 s?(normalizeChildren(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!a&&currentBlock&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&currentBlock.push(l),l}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment),isVNode(e)){const o=cloneVNode(e,t,!0);return n&&normalizeChildren(o,n),isBlockTreeEnabled>0&&!i&&currentBlock&&(6&o.shapeFlag?currentBlock[currentBlock.indexOf(e)]=o:currentBlock.push(o)),o.patchFlag|=-2,o}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:e,style:n}=t;e&&!isString(e)&&(t.class=normalizeClass(e)),isObject$2(n)&&(isProxy(n)&&!isArray$1(n)&&(n=extend$1({},n)),t.style=normalizeStyle(n))}return createBaseVNode(e,t,n,o,r,isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$2(e)?4:isFunction(e)?2:0,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$1({},e):e:null}function cloneVNode(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?mergeProps(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&normalizeKey(s),ref:t&&t.ref?n&&r?isArray$1(r)?r.concat(normalizeRef(t)):[r,normalizeRef(t)]:normalizeRef(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-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&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(Comment):isArray$1(e)?createVNode(Fragment,null,e.slice()):"object"==typeof e?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return null===e.el||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(isArray$1(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),normalizeChildren(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||InternalObjectKey in t?3===o&&currentRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),64&o?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...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=normalizeClass([t.class,o.class]));else if("style"===e)t.style=normalizeStyle([t.style,o.style]);else if(isOn(e)){const n=t[e],r=o[e];!r||n===r||isArray$1(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function invokeVNodeHook(e,t,n,o=null){callWithAsyncErrorHandling(e,t,7,[n,o])}const emptyAppContext=createAppContext();let uid$1=0;function createComponentInstance(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||emptyAppContext,i={uid:uid$1++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!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:normalizePropsOptions(o,r),emitsOptions:normalizeEmitsOptions(o,r),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,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};return i.ctx={_:i},i.root=t?t.root:i,i.emit=emit$1$1.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i),i}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance,setCurrentInstance=e=>{currentInstance=e,e.scope.on()},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),currentInstance=null};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}let isInSSRComponentSetup=!1,compile$1;function setupComponent$1(e,t=!1){isInSSRComponentSetup=t;const{props:n,children:o}=e.vnode,r=isStatefulComponent(e);initProps(e,n,r,t),initSlots(e,o);const i=r?setupStatefulComponent(e,t):void 0;return isInSSRComponentSetup=!1,i}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?createSetupContext(e):null;setCurrentInstance(e),pauseTracking();const r=callWithErrorHandling(o,e,0,[e.props,n]);if(resetTracking(),unsetCurrentInstance(),isPromise$1(r)){if(r.then(unsetCurrentInstance,unsetCurrentInstance),t)return r.then((n=>{handleSetupResult(e,n,t)})).catch((t=>{handleError(t,e,0)}));e.asyncDep=r}else handleSetupResult(e,r,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$2(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}function finishComponentSetup(e,t,n){const o=e.type;if(!e.render){if(!t&&compile$1&&!o.render){const t=o.template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,s=extend$1(extend$1({isCustomElement:n,delimiters:i},r),a);o.render=compile$1(t,s)}}e.render=o.render||NOOP}setCurrentInstance(e),pauseTracking(),applyOptions$1(e),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(e){return new Proxy(e.attrs,{get:(t,n)=>(track(e,"get","$attrs"),t[n])})}function createSetupContext(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=createAttrsProxy(e))},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:(t,n)=>n in t?t[n]:n in publicPropertiesMap?publicPropertiesMap[n](e):void 0}))}function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed$1=(e,t)=>computed(e,t,isInSSRComponentSetup);function h(e,t,n){const o=arguments.length;return 2===o?isObject$2(t)&&!isArray$1(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}const version$1="3.2.37",svgNS="http://www.w3.org/2000/svg",doc="undefined"!=typeof document?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={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?doc.createElementNS(svgNS,e):doc.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.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 a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{templateContainer.innerHTML=o?`<svg>${e}</svg>`:e;const r=templateContainer.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function patchClass(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}function patchStyle(e,t,n){const o=e.style,r=isString(n);if(n&&!r){for(const e in n)setStyle(o,e,n[e]);if(t&&!isString(t))for(const e in t)null==n[e]&&setStyle(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 a in i)setStyle(o,a,i[a])}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray$1(n))n.forEach((n=>setStyle(e,t,n)));else if(null==n&&(n=""),n=normalizeRpx(n),t.startsWith("--"))e.setProperty(t,n);else{const o=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(o),n.replace(importantRE,""),"important"):e[o]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let o=camelize(t);if("filter"!==o&&o in e)return prefixCache[t]=o;o=capitalize(o);for(let r=0;r<prefixes.length;r++){const n=prefixes[r]+o;if(n in e)return prefixCache[t]=n}return t}const rpxRE=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,normalizeRpx=e=>"function"!=typeof rpx2px?e:isString(e)?e.replace(rpxRE,((e,t)=>rpx2px(t)+"px")):e,xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n);else{const o=isSpecialBooleanAttr(t);null==n||o&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function patchDOMProp(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 s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=includeBooleanAttr(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch(e2){}s&&e.removeAttribute(t)}const[_getNow,skipTimestampCheck]=(()=>{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 cachedNow=0;const p$1=Promise.resolve(),reset=()=>{cachedNow=0},getNow=()=>cachedNow||(p$1.then(reset),cachedNow=_getNow());function addEventListener(e,t,n,o){e.addEventListener(t,n,o)}function removeEventListener(e,t,n,o){e.removeEventListener(t,n,o)}function patchEvent(e,t,n,o,r=null){const i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=parseName(t);if(o){addEventListener(e,n,i[t]=createInvoker(o,r),s)}else a&&(removeEventListener(e,n,a,s),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){let n;for(t={};n=e.match(optionsModifierRE);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[hyphenate(e.slice(2)),t]}function createInvoker(e,t){const n=e=>{const o=e.timeStamp||_getNow();if(skipTimestampCheck||o>=n.attached-1){const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&isArray$1(i)){const n=patchStopImmediatePropagation(e,i);for(let o=0;o<n.length;o++){const i=n[o];callWithAsyncErrorHandling(i,t,5,i.__wwe?[e]:r(e))}return}callWithAsyncErrorHandling(patchStopImmediatePropagation(e,i),t,5,r&&!i.__wwe?r(e,i,t):[e])}};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray$1(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}function patchWxs(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const l=o.proxy;nextTick((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}const nativeOnRE=/^on[a-z]/,forcePatchProp=(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0)),patchProp=(e,t,n,o,r=!1,i,a,s,l)=>{if(0===t.indexOf("change:"))return patchWxs(e,t,o,a);"class"===t?patchClass(e,o,r):"style"===t?patchStyle(e,n,o):isOn(t)?isModelListener(t)||patchEvent(e,t,n,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,o,r))?patchDOMProp(e,t,o,i,a,s,l):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),patchAttr(e,t,o,r))};function shouldSetAsProp(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&nativeOnRE.test(t)&&isFunction(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!nativeOnRE.test(t)||!isString(n))&&t in e))))}const TRANSITION="transition",ANIMATION="animation",Transition=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const DOMTransitionPropsValidators={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};Transition.props=extend$1({},BaseTransition.props,DOMTransitionPropsValidators);const callHook$1=(e,t=[])=>{isArray$1(e)?e.forEach((e=>e(...t))):e&&e(...t)},hasExplicitCallback=e=>!!e&&(isArray$1(e)?e.some((e=>e.length>1)):e.length>1);function resolveTransitionProps(e){const t={};for(const w in e)w in DOMTransitionPropsValidators||(t[w]=e[w]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=normalizeDuration(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:_,onEnter:S,onEnterCancelled:v,onLeave:y,onLeaveCancelled:T,onBeforeAppear:C=_,onAppear:b=S,onAppearCancelled:L=v}=t,A=(e,t,n)=>{removeTransitionClass(e,t?u:s),removeTransitionClass(e,t?c:a),n&&n()},P=(e,t)=>{e._isLeaving=!1,removeTransitionClass(e,d),removeTransitionClass(e,f),removeTransitionClass(e,p),t&&t()},E=e=>(t,n)=>{const r=e?b:S,a=()=>A(t,e,n);callHook$1(r,[t,a]),nextFrame((()=>{removeTransitionClass(t,e?l:i),addTransitionClass(t,e?u:s),hasExplicitCallback(r)||whenTransitionEnds(t,o,g,a)}))};return extend$1(t,{onBeforeEnter(e){callHook$1(_,[e]),addTransitionClass(e,i),addTransitionClass(e,a)},onBeforeAppear(e){callHook$1(C,[e]),addTransitionClass(e,l),addTransitionClass(e,c)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);addTransitionClass(e,d),forceReflow(),addTransitionClass(e,p),nextFrame((()=>{e._isLeaving&&(removeTransitionClass(e,d),addTransitionClass(e,f),hasExplicitCallback(y)||whenTransitionEnds(e,o,m,n))})),callHook$1(y,[e,n])},onEnterCancelled(e){A(e,!1),callHook$1(v,[e])},onAppearCancelled(e){A(e,!0),callHook$1(L,[e])},onLeaveCancelled(e){P(e),callHook$1(T,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$2(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function removeTransitionClass(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 nextFrame(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let endId=0;function whenTransitionEnds(e,t,n,o){const r=e._endId=++endId,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=getTransitionInfo(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function getTransitionInfo(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(TRANSITION+"Delay"),i=o(TRANSITION+"Duration"),a=getTimeout(r,i),s=o(ANIMATION+"Delay"),l=o(ANIMATION+"Duration"),c=getTimeout(s,l);let u=null,d=0,p=0;t===TRANSITION?a>0&&(u=TRANSITION,d=a,p=i.length):t===ANIMATION?c>0&&(u=ANIMATION,d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?TRANSITION:ANIMATION:null,p=u?u===TRANSITION?i.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(n[TRANSITION+"Property"])}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>toMs(t)+toMs(e[n]))))}function toMs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(){return document.body.offsetHeight}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={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)=>systemModifiers.some((n=>e[`${n}Key`]&&!t.includes(n)))},withModifiers=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=modifierGuards[t[e]];if(o&&o(n,t))return}return e(n,...o)},vShow={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):setDisplay(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),setDisplay(e,!0),o.enter(e)):o.leave(e,(()=>{setDisplay(e,!1)})):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e._vod:"none"}const rendererOptions=extend$1({patchProp:patchProp,forcePatchProp:forcePatchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp$1=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=normalizeContainer(e);if(!o)return;const r=t._component;isFunction(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};function normalizeContainer(e){if(isString(e)){return document.querySelector(e)}return e}const isObject$1=e=>null!==e&&"object"==typeof e,defaultDelimiters=["{","}"];class BaseFormatter{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=defaultDelimiters){if(!t)return[e];let o=this._caches[e];return o||(o=parse(e,n),this._caches[e]=o),compile(o,t)}}const RE_TOKEN_LIST_VALUE=/^(?:\d)+/,RE_TOKEN_NAMED_VALUE=/^(?:\w)+/;function parse(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let a=e[r++];if(a===t){i&&o.push({type:"text",value:i}),i="";let t="";for(a=e[r++];void 0!==a&&a!==n;)t+=a,a=e[r++];const s=a===n,l=RE_TOKEN_LIST_VALUE.test(t)?"list":s&&RE_TOKEN_NAMED_VALUE.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=a}return i&&o.push({type:"text",value:i}),o}function compile(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":isObject$1(t)?"named":"unknown";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}const LOCALE_ZH_HANS="zh-Hans",LOCALE_ZH_HANT="zh-Hant",LOCALE_EN="en",LOCALE_FR="fr",LOCALE_ES="es",hasOwnProperty=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty.call(e,t),defaultFormatter=new BaseFormatter;function include(e,t){return!!t.find((t=>-1!==e.indexOf(t)))}function startsWith(e,t){return t.find((t=>0===e.indexOf(t)))}function normalizeLocale(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return LOCALE_ZH_HANS;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?LOCALE_ZH_HANS:e.indexOf("-hant")>-1||include(e,["-tw","-hk","-mo","-cht"])?LOCALE_ZH_HANT:LOCALE_ZH_HANS;const n=startsWith(e,[LOCALE_EN,LOCALE_FR,LOCALE_ES]);return n||void 0}class I18n{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=LOCALE_EN,this.fallbackLocale=LOCALE_EN,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||defaultFormatter,this.messages=n||{},this.setLocale(e||LOCALE_EN),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=normalizeLocale(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=>{hasOwn(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=normalizeLocale(t,this.messages))&&(o=this.messages[t]):n=t,hasOwn(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 watchAppLocale(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function getDefaultLocale(){return"undefined"!=typeof uni&&getLocale?getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():LOCALE_EN}function initVueI18n(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=getDefaultLocale()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||LOCALE_EN);const r=new I18n({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{if("function"!=typeof getApp$1)i=function(e,t){return r.t(e,t)};else{let e=!1;i=function(t,n){const o=getApp$1().$vm;return o&&(o.$locale,e||(e=!0,watchAppLocale(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 isI18nStr(e,t){return e.indexOf(t[0])>-1}
/*!
* vue-router v4.1.5
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const assign=Object.assign;function applyToParams(e,t){const n={};for(const o in t){const r=t[o];n[o]=isArray(r)?r.map(e):e(r)}return n}const noop=()=>{},isArray=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=resolveRelativePath(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function stringifyURL(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&isSameRouteRecord(t.matched[o],n.matched[r])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray(e)?isEquivalentArray(e,t):isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,i,a=n.length-1;for(r=0;r<o.length;r++)if(i=o[r],"."!==i){if(".."!==i)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}var NavigationType,NavigationType2,NavigationDirection,NavigationDirection2;function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),removeTrailingSlash(e)}NavigationType2=NavigationType||(NavigationType={}),NavigationType2.pop="pop",NavigationType2.push="push",NavigationDirection2=NavigationDirection||(NavigationDirection={}),NavigationDirection2.back="back",NavigationDirection2.forward="forward",NavigationDirection2.unknown="";const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(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)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(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=getElementPosition(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 getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(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),stripBase(n,"")}return stripBase(n,e)+o+r}function useHistoryListeners(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=createCurrentLocation(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else o(s);r.forEach((e=>{e(n.value,l,{delta:u,type:NavigationType.pop,direction:u?u>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(assign({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}function buildState(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:n}=window,o={value:createCurrentLocation(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:createBaseLocation()+e+o;try{t[a?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=assign({},r.value,t.state,{forward:e,scroll:computeScrollPosition()});i(a.current,a,!0),i(e,assign({},buildState(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,assign({},t.state,buildState(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function createWebHistory(e){const t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);const o=assign({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:createHref.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 createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"==typeof e}function isRouteName(e){return"string"==typeof e||"symbol"==typeof e}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType,NavigationFailureType2;function createRouterError(e,t){return assign(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}NavigationFailureType2=NavigationFailureType||(NavigationFailureType={}),NavigationFailureType2[NavigationFailureType2.aborted=4]="aborted",NavigationFailureType2[NavigationFailureType2.cancelled=8]="cancelled",NavigationFailureType2[NavigationFailureType2.duplicated=16]="duplicated";const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const n=assign({},BASE_PATH_PARSER_OPTIONS,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(REGEX_CHARS_RE,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||BASE_PARAM_PATTERN;if(d!==BASE_PARAM_PATTERN){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(isArray(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=isArray(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}function compareScoreArray(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 comparePathParserScore(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=compareScoreArray(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(isLastScoreNegative(o))return 1;if(isLastScoreNegative(r))return-1}return r.length-o.length}function isLastScoreNegative(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if("/"===e)return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===s?n=2:VALID_PARAM_RE.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function createRouteRecordMatcher(e,t,n){const o=tokensToParser(tokenizePath(e.path),n),r=assign(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function createRouterMatcher(e,t){const n=[],o=new Map;function r(e,n,o){const s=!o,l=normalizeRouteRecord(e);l.aliasOf=o&&o.record;const c=mergeOptions(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(assign({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=createRouteRecordMatcher(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!isAliasRecord(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,a(d)}return p?()=>{i(p)}:noop}function i(e){if(isRouteName(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t<n.length&&comparePathParserScore(e,n[t])>=0&&(e.record.path!==n[t].record.path||!isRecordChildOf(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&o.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw createRouterError(1,{location:e});a=r.record.name,s=assign(paramsFromLocation(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&paramsFromLocation(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if("path"in e)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw createRouterError(1,{location:e,currentLocation:t});a=r.record.name,s=assign({},t.params,e.params),i=r.stringify(s)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:mergeMetaFields(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function paramsFromLocation(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(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 isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce(((e,t)=>assign(e,t.meta)),{})}function mergeOptions(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function isRecordChildOf(e,t){return t.children.some((t=>t===e||isRecordChildOf(e,t)))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(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(PLUS_RE," "),r=e.indexOf("="),i=decode(r<0?e:e.slice(0,r)),a=r<0?null:decode(e.slice(r+1));if(i in t){let e=t[i];isArray(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function stringifyQuery$1(e){let t="";for(let n in e){const o=e[n];if(n=encodeQueryKey(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(isArray(o)?o.map((e=>e&&encodeQueryValue(e))):[o&&encodeQueryValue(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function normalizeQuery(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=isArray(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){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 guardToPromiseFn(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,s)=>{const l=e=>{!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),a())},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=>s(e)))}))}function extractComponentsGuards(e,t,n,o){const r=[];for(const i of e)for(const e in i.components){let a=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(isRouteComponent(a)){const s=(a.__vccOpts||a)[t];s&&r.push(guardToPromiseFn(s,n,o,i,e))}else{let s=a();r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const a=isESModule(r)?r.default:r;i.components[e]=a;const s=(a.__vccOpts||a)[t];return s&&guardToPromiseFn(s,n,o,i,e)()}))))}}return r}function isRouteComponent(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){const t=inject(routerKey),n=inject(routeLocationKey),o=computed$1((()=>t.resolve(unref(e.to)))),r=computed$1((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(isSameRouteRecord.bind(null,r));if(a>-1)return a;const s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(r)===s&&i[i.length-1].path!==s?i.findIndex(isSameRouteRecord.bind(null,e[t-2])):a})),i=computed$1((()=>r.value>-1&&includesParams(n.params,o.value.params))),a=computed$1((()=>r.value>-1&&r.value===n.matched.length-1&&isSameRouteLocationParams(n.params,o.value.params)));return{route:o,href:computed$1((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return guardEvent(n)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop):Promise.resolve()}}}const RouterLinkImpl=defineComponent({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:useLink,setup(e,{slots:t}){const n=reactive(useLink(e)),{options:o}=inject(routerKey),r=computed$1((()=>({[getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:h("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(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(!isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,n)=>null!=e?e:null!=t?t:n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=inject(routerViewLocationKey),r=computed$1((()=>e.route||o.value)),i=inject(viewDepthKey,0),a=computed$1((()=>{let e=unref(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=computed$1((()=>r.value.matched[a.value]));provide(viewDepthKey,computed$1((()=>a.value+1))),provide(matchedRouteKey,s),provide(routerViewLocationKey,r);const l=ref();return watch((()=>[l.value,s.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&isSameRouteRecord(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return normalizeSlot(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=h(c,assign({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return normalizeSlot(n.default,{Component:p,route:o})||p}}});function normalizeSlot(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,o=e.stringifyQuery||stringifyQuery$1,r=e.history,i=useCallbacks(),a=useCallbacks(),s=useCallbacks(),l=shallowRef(START_LOCATION_NORMALIZED);let c=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,(e=>""+e)),d=applyToParams.bind(null,encodeParam),p=applyToParams.bind(null,decode);function f(e,i){if(i=assign({},i||l.value),"string"==typeof e){const o=parseURL(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return assign(o,a,{params:p(a.params),hash:decode(o.hash),redirectedFrom:void 0,href:s})}let a;if("path"in e)a=assign({},e,{path:parseURL(n,e.path,i.path).path});else{const t=assign({},e.params);for(const e in t)null==t[e]&&delete t[e];a=assign({},e,{params:d(e.params)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=stringifyURL(o,assign({},e,{hash:encodeHash(c),path:s.path})),h=r.createHref(f);return assign({fullPath:f,hash:c,query:o===stringifyQuery$1?normalizeQuery(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function h(e){return"string"==typeof e?parseURL(n,e,l.value.path):assign({},e)}function g(e,t){if(c!==e)return createRouterError(8,{from:t,to:e})}function m(e){return S(e)}function _(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),assign({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function S(e,t){const n=c=f(e),r=l.value,i=e.state,a=e.force,s=!0===e.replace,u=_(n);if(u)return S(assign(h(u),{state:"object"==typeof u?assign({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&isSameRouteLocation(o,r,n)&&(p=createRouterError(16,{to:d,from:r}),I(r,r,!0,!1)),(p?Promise.resolve(p):y(d,r)).catch((e=>isNavigationFailure(e)?isNavigationFailure(e,2)?e:w(e):E(e,d,r))).then((e=>{if(e){if(isNavigationFailure(e,2))return S(assign({replace:s},h(e.to),{state:"object"==typeof e.to?assign({},i,e.to.state):i,force:a}),t||d)}else e=C(d,r,!0,s,i);return T(d,r,e),e}))}function v(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function y(e,t){let n;const[o,r,s]=extractChangingRecords(e,t);n=extractComponentsGuards(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));const l=v.bind(null,e,t);return n.push(l),runGuardQueue(n).then((()=>{n=[];for(const o of i.list())n.push(guardToPromiseFn(o,e,t));return n.push(l),runGuardQueue(n)})).then((()=>{n=extractComponentsGuards(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));return n.push(l),runGuardQueue(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(guardToPromiseFn(r,e,t));else n.push(guardToPromiseFn(o.beforeEnter,e,t));return n.push(l),runGuardQueue(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=extractComponentsGuards(s,"beforeRouteEnter",e,t),n.push(l),runGuardQueue(n)))).then((()=>{n=[];for(const o of a.list())n.push(guardToPromiseFn(o,e,t));return n.push(l),runGuardQueue(n)})).catch((e=>isNavigationFailure(e,8)?e:Promise.reject(e)))}function T(e,t,n){for(const o of s.list())o(e,t,n)}function C(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===START_LOCATION_NORMALIZED,c=isBrowser?history.state:{};n&&(o||s?r.replace(e.fullPath,assign({scroll:s&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,I(e,t,n,s),w()}let b;let L,A=useCallbacks(),P=useCallbacks();function E(e,t,n){w(e);const o=P.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function w(e){return L||(L=!e,b||(b=r.listen(((e,t,n)=>{if(!N.listening)return;const o=f(e),i=_(o);if(i)return void S(assign(i,{replace:!0}),o).catch(noop);c=o;const a=l.value;isBrowser&&saveScrollPosition(getScrollKey(a.fullPath,n.delta),computeScrollPosition()),y(o,a).catch((e=>isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(S(e.to,o).then((e=>{isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&r.go(-1,!1)})).catch(noop),Promise.reject()):(n.delta&&r.go(-n.delta,!1),E(e,o,a)))).then((e=>{(e=e||C(o,a,!1))&&(n.delta&&!isNavigationFailure(e,8)?r.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&r.go(-1,!1)),T(o,a,e)})).catch(noop)}))),A.list().forEach((([t,n])=>e?n(e):t())),A.reset()),e}function I(t,n,o,r){const{scrollBehavior:i}=e;if(!isBrowser||!i)return Promise.resolve();const a=!o&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return nextTick().then((()=>i(t,n,a))).then((e=>e&&scrollToPosition(e))).catch((e=>E(e,t,n)))}const M=e=>r.go(e);let x;const Y=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return isRouteName(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:m,replace:function(e){return m(assign(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:P.add,isReady:function(){return L&&l.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise(((e,t)=>{A.add([e,t])}))},install(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(l)}),isBrowser&&!x&&l.value===START_LOCATION_NORMALIZED&&(x=!0,m(r.location).catch((e=>{})));const t={};for(const o in START_LOCATION_NORMALIZED)t[o]=computed$1((()=>l.value[o]));e.provide(routerKey,this),e.provide(routeLocationKey,reactive(t)),e.provide(routerViewLocationKey,l);const n=e.unmount;Y.add(e),e.unmount=function(){Y.delete(e),Y.size<1&&(c=START_LOCATION_NORMALIZED,b&&b(),b=null,l.value=START_LOCATION_NORMALIZED,x=!1,L=!1),n()}}};return N}function runGuardQueue(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function extractChangingRecords(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>isSameRouteRecord(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>isSameRouteRecord(e,s)))||r.push(s))}return[n,o,r]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const isEnableLocale=once((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let i18n;function getLocaleMessage(){const e=getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function formatI18n(e){return isI18nStr(e,I18N_JSON_DELIMITERS)?useI18n().f(e,getLocaleMessage(),I18N_JSON_DELIMITERS):e}function resolveJsonObj(e,t){if(1===t.length){if(e){const n=e[t[0]];if(isString(n)&&isI18nStr(n,I18N_JSON_DELIMITERS))return e}return}const n=t.shift();return resolveJsonObj(e&&e[n],t)}function defineI18nProperty(e,t){const n=resolveJsonObj(e,t);if(!n)return!1;const o=t[t.length-1];let r=n[o];return Object.defineProperty(n,o,{get:()=>formatI18n(r),set(e){r=e}}),!0}function useI18n(){if(!i18n){let e;if(e=window.localStorage&&localStorage[UNI_STORAGE_LOCALE]||__uniConfig.locale||navigator.language,i18n=initVueI18n(e),isEnableLocale()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>i18n.add(e,__uniConfig.locales[e]))),i18n.setLocale(e)}}return i18n}function normalizeMessages(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const initI18nAsyncMsgsOnce=once((()=>{const e="uni.async.",t=["error"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["The connection timed out, click the screen to try again."]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["连接服务器超时,点击屏幕重试"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),initI18nShowActionSheetMsgsOnce=once((()=>{const e="uni.showActionSheet.",t=["cancel"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Cancel"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Cancelar"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Annuler"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["取消"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["取消"]),!1)})),initI18nShowToastMsgsOnce=once((()=>{const e="uni.showToast.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showToast must be paired with hideToast"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),initI18nShowLoadingMsgsOnce=once((()=>{const e="uni.showLoading.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showLoading must be paired with hideLoading"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),initI18nShowModalMsgsOnce=once((()=>{const e="uni.showModal.",t=["cancel","confirm"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Cancel","OK"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Cancelar","OK"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Annuler","OK"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["取消","确定"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["取消","確定"]),!1)})),initI18nChooseFileMsgsOnce=once((()=>{const e="uni.chooseFile.",t=["notUserActivation"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["File chooser dialog can only be shown with a user activation"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(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),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["文件选择器对话框只能在用户激活时显示"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["文件選擇器對話框只能在用戶激活時顯示"]),!1)})),initI18nSetClipboardDataMsgsOnce=once((()=>{const e="uni.setClipboardData.",t=["success","fail"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Content copied","Copy failed, please copy manually"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["内容已复制","复制失败,请手动复制"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),initI18nPickerMsgsOnce=once((()=>{const e="uni.picker.",t=["done","cancel"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Done","Cancel"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["OK","Cancelar"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["OK","Annuler"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["完成","取消"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["完成","取消"]),!1)})),initI18nVideoMsgsOnce=once((()=>{const e="uni.video.",t=["danmu","volume"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Danmu","Volume"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Danmu","Volumen"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Danmu","Le Volume"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["弹幕","音量"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["彈幕","音量"]),!1)})),initI18nChooseLocationMsgsOnce=once((()=>{const e="uni.chooseLocation.",t=["search","cancel"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Find Place","Cancel"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Encontrar","Cancelar"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Trouve","Annuler"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["搜索地点","取消"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["搜索地點","取消"]),!1)}));function initTabBarI18n(e){return isEnableLocale()&&e.list&&e.list.forEach((e=>{defineI18nProperty(e,["text"])})),e}function initBridge(e){const t=new E$1;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)}}}const INVOKE_VIEW_API="invokeViewApi",INVOKE_SERVICE_API="invokeServiceApi";let invokeServiceMethodId=1;const invokeServiceMethod=(e,t,n)=>{const{subscribe:o,publishHandler:r}=UniViewJSBridge$1,i=n?invokeServiceMethodId++:0;n&&o(INVOKE_SERVICE_API+"."+i,n,!0),r(INVOKE_SERVICE_API,{id:i,name:e,args:t})},viewMethods=Object.create(null);function normalizeViewMethodName(e,t){return e+"."+t}function subscribeViewMethod(e,t){UniViewJSBridge$1.subscribe(normalizeViewMethodName(e,INVOKE_VIEW_API),t?t(onInvokeViewMethod):onInvokeViewMethod)}function unsubscribeViewMethod(e){UniViewJSBridge$1.unsubscribe(normalizeViewMethodName(e,INVOKE_VIEW_API)),Object.keys(viewMethods).forEach((t=>{0===t.indexOf(e+".")&&delete viewMethods[t]}))}function registerViewMethod(e,t,n){t=normalizeViewMethodName(e,t),viewMethods[t]||(viewMethods[t]=n)}function unregisterViewMethod(e,t){t=normalizeViewMethodName(e,t),delete viewMethods[t]}function onInvokeViewMethod({id:e,name:t,args:n},o){t=normalizeViewMethodName(o,t);const r=t=>{e&&UniViewJSBridge$1.publishHandler(INVOKE_VIEW_API+"."+e,t)},i=viewMethods[t];i?i(n,r):r({})}const ViewJSBridge=extend$1(initBridge("service"),{invokeServiceMethod:invokeServiceMethod}),LONGPRESS_TIMEOUT=350,LONGPRESS_THRESHOLD=10,passiveOptions$2=passive(!0);let longPressTimer;function clearLongPressTimer(){longPressTimer&&(clearTimeout(longPressTimer),longPressTimer=null)}let startPageX=0,startPageY=0;function touchstart(e){if(clearLongPressTimer(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];startPageX=t,startPageY=n,longPressTimer=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)}),LONGPRESS_TIMEOUT)}function touchmove(e){if(!longPressTimer)return;if(1!==e.touches.length)return clearLongPressTimer();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-startPageX)>LONGPRESS_THRESHOLD||Math.abs(n-startPageY)>LONGPRESS_THRESHOLD?clearLongPressTimer():void 0}function initLongPress(){window.addEventListener("touchstart",touchstart,passiveOptions$2),window.addEventListener("touchmove",touchmove,passiveOptions$2),window.addEventListener("touchend",clearLongPressTimer,passiveOptions$2),window.addEventListener("touchcancel",clearLongPressTimer,passiveOptions$2)}function checkValue$1(e,t){const n=Number(e);return isNaN(n)?t:n}function getWindowWidth$1(){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}function useRem(){const e=__uniConfig.globalStyle||{},t=checkValue$1(e.rpxCalcMaxDeviceWidth,960),n=checkValue$1(e.rpxCalcBaseDeviceWidth,375);function o(){let e=getWindowWidth$1();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 initView(){useRem(),initCustomDatasetOnce(),initLongPress()}var attrs=["top","left","right","bottom"],inited$1,elementComputedStyle={},support;function getSupport(){return support="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 init$1(){if(support="string"==typeof support?support:getSupport()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(e2){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),attrs.forEach((function(e){!function(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:support+"(safe-area-inset-"+n+")"};r(o,c),r(a,c),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,attrChange(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(elementComputedStyle,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}(o,e)})),document.body.appendChild(o),i(),inited$1=!0}else attrs.forEach((function(e){elementComputedStyle[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 getAttr(e){return inited$1||init$1(),elementComputedStyle[e]}var changeAttrs=[];function attrChange(e){changeAttrs.length||setTimeout((function(){var e={};changeAttrs.forEach((function(t){e[t]=elementComputedStyle[t]})),changeAttrs.length=0,callbacks.forEach((function(t){t(e)}))}),0),changeAttrs.push(e)}var callbacks=[];function onChange(e){getSupport()&&(inited$1||init$1(),"function"==typeof e&&callbacks.push(e))}function offChange(e){var t=callbacks.indexOf(e);t>=0&&callbacks.splice(t,1)}var safeAreaInsets={get support(){return 0!=("string"==typeof support?support:getSupport()).length},get top(){return getAttr("top")},get left(){return getAttr("left")},get right(){return getAttr("right")},get bottom(){return getAttr("bottom")},onChange:onChange,offChange:offChange},out=safeAreaInsets;const onEventPrevent=withModifiers((()=>{}),["prevent"]),onEventStop=withModifiers((()=>{}),["stop"]);function getWindowOffsetCssVar(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function getWindowTop(){const e=getWindowOffsetCssVar(document.documentElement.style,"--window-top");return e?e+out.top:0}function getWindowOffset(){const e=document.documentElement.style,t=getWindowTop(),n=getWindowOffsetCssVar(e,"--window-bottom"),o=getWindowOffsetCssVar(e,"--window-left"),r=getWindowOffsetCssVar(e,"--window-right"),i=getWindowOffsetCssVar(e,"--top-window-height");return{top:t,bottom:n?n+out.bottom:0,left:o?o+out.left:0,right:r?r+out.right:0,topWindowHeight:i||0}}function updateCssVar(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function updatePageCssVar(e){return updateCssVar(e)}const sheetsMap=new Map;function updateStyle(e,t){let n=sheetsMap.get(e);!n||n instanceof HTMLStyleElement||(removeStyle(e),n=void 0),n?n.innerHTML=t:(n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)),sheetsMap.set(e,n)}function removeStyle(e){let t=sheetsMap.get(e);t&&(t instanceof CSSStyleSheet?(document.adoptedStyleSheets.indexOf(t),document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==t))):document.head.removeChild(t),sheetsMap.delete(e))}function PolySymbol(e){return Symbol(e)}function hasRpx(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function rpx2px$1(e,t=!1){if(t)return rpx2pxWithReplace(e);if(isString(e)){const t=parseInt(e)||0;return hasRpx(e)?upx2px(t):t}return e}function rpx2pxWithReplace(e){return hasRpx(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>upx2px(parseFloat(t))+"px")):e}const ICON_PATH_SUCCESS_NO_CIRCLE="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",ICON_PATH_WARN="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",ICON_PATH_BACK="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",ICON_PATH_CLOSE="M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z",ICON_PATH_CONFIRM="M31.562 4.9966666659375q0.435 0.399 0.435 0.87 0.036 0.58-0.399 0.98l-18.61 19.917q-0.145 0.145-0.327 0.217-0.073 0.037-0.145 0.11-0.254 0.035-0.472 0.035-0.29 0-0.544-0.036l-0.145-0.072q-0.109-0.073-0.217-0.182l-0.11-0.072L0.363 16.2786666659375q-0.327-0.399-0.363-0.907 0-0.544 0.363-1.016 0.435-0.326 0.961-0.362 0.527-0.036 0.962 0.362l9.722 9.542L29.712 5.0326666659375q0.399-0.363 0.943-0.363 0.544-0.036 0.907 0.327z";function createSvgIconVNode(e,t="#000",n=27){return createVNode("svg",{width:n,height:n,viewBox:"0 0 32 32"},[createVNode("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function useCurrentPageId(){{const{$pageInstance:e}=getCurrentInstance();return e&&e.proxy.$page.id}}function getPageIdByVm(e){const t=resolveComponentInstance(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function getCurrentPage(){const e=getCurrentPages$1(),t=e.length;if(t)return e[t-1]}function getCurrentPageMeta(){const e=getCurrentPage();if(e)return e.$page.meta}function getCurrentPageId(){const e=getCurrentPageMeta();return e?e.id:-1}function getCurrentPageVm(){const e=getCurrentPage();if(e)return e.$vm}const PAGE_META_KEYS=["navigationBar","pullToRefresh"];function initGlobalStyle(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function initRouteMeta(e,t){const n=initGlobalStyle(),o=extend$1({id:t},n,e);PAGE_META_KEYS.forEach((t=>{o[t]=extend$1({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function normalizePullToRefreshRpx(e){return e.offset&&(e.offset=rpx2px$1(e.offset)),e.height&&(e.height=rpx2px$1(e.height)),e.range&&(e.range=rpx2px$1(e.range)),e}function initPageInternalInstance(e,t,n,o,r){const{id:i,route:a}=o;return{id:i,path:addLeadingSlash(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#000000"===o.navigationBar.titleColor?"dark":"light"}}function invokeHook(e,t,n){if(isString(e))n=t,t=e,e=getCurrentPageVm();else if("number"==typeof e){const t=getCurrentPages$1().find((t=>t.$page.id===e));e=t?t.$vm:getCurrentPageVm()}if(!e)return;const o=e.$[t];return o&&invokeArrayFns(o,n)}function disableScrollListener(e){e.preventDefault()}let testReachBottomTimer,lastScrollHeight=0;function createScrollListener({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-lastScrollHeight)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(lastScrollHeight=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(testReachBottomTimer=setTimeout(a,300))),o=!1};return function(){clearTimeout(testReachBottomTimer),o||requestAnimationFrame(a),o=!0}}function normalizeRoute(e){if(0===e.indexOf("/"))return e;let t="";const n=getCurrentPages$1();return n.length&&(t=n[n.length-1].$page.route),getRealRoute(t,e)}function getRealRoute(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return getRealRoute(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),addLeadingSlash(i.concat(n).join("/"))}function getRouteOptions(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function normalizeTabBarRoute(e,t,n){const o=getRouteOptions(addLeadingSlash(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=getRouteOptions(addLeadingSlash(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=removeLeadingSlash(n))}}class ComponentDescriptor{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=resolveOwnerEl(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=getWxsVm(this.$el.querySelector(e));return t?createComponentDescriptor(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=getWxsVm(n[o]);e&&t.push(createComponentDescriptor(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",stringifyStyle(e))}setStyle(e){return this.$el&&e?(isString(e)&&(e=parseStringStyle(e)),isPlainObject(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];isFunction(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge$1.publishHandler(ON_WXS_INVOKE_CALL_METHOD,{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 createComponentDescriptor(e,t=!0){if(t&&e&&(e=resolveOwnerVm(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new ComponentDescriptor(e)),e.$el.__wxsComponentDescriptor}function getComponentDescriptor(e,t){return createComponentDescriptor(e,t)}function resolveOwnerComponentPublicInstance(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=resolveOwnerVm(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}function wrapperH5WxsEvent(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>getComponentDescriptor(n.proxy,!1)}));const r=resolveOwnerComponentPublicInstance(t,n,o);if(r)return[e,getComponentDescriptor(r,!1)]}}function getWxsVm(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const isClickEvent=e=>"click"===e.type,isMouseEvent=e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type);function $nne(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 wrapperH5WxsEvent(e,t,n,!1)||[e];const i=createNativeEvent(e,r);if(isClickEvent(e))normalizeClickEvent(i,e);else if(isMouseEvent(e))normalizeMouseEvent(i,e);else if(e instanceof TouchEvent){const t=getWindowTop();i.touches=normalizeTouchEvent(e.touches,t),i.changedTouches=normalizeTouchEvent(e.changedTouches,t)}return wrapperH5WxsEvent(i,t,n)||[i]}function findUniTarget(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function createNativeEvent(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,a={type:n,timeStamp:o,target:normalizeTarget(t?r:findUniTarget(r)),detail:{},currentTarget:normalizeTarget(i)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),wrapperEvent(a,e),a}function wrapperEvent(e,t){extend$1(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}function normalizeClickEvent(e,t){const{x:n,y:o}=t,r=getWindowTop();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[createTouchEvent(t,r)]}function normalizeMouseEvent(e,t){const n=getWindowTop();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[createTouchEvent(t,n)]}function createTouchEvent(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function normalizeTouchEvent(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}var instance=Object.defineProperty({__proto__:null,$nne:$nne,createNativeEvent:createNativeEvent},Symbol.toStringTag,{value:"Module"});function initAppConfig$1(e){const t=e.globalProperties;extend$1(t,instance),t.$gcd=getComponentDescriptor}function initViewPlugin(e){initAppConfig$1(e._context.config)}const invokeOnCallback=(e,t)=>UniServiceJSBridge$1.emit("api."+e,t);let invokeViewMethodId=1;function publishViewMethodName(){return getCurrentPageId()+"."+INVOKE_VIEW_API}const invokeViewMethod=(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=UniServiceJSBridge$1,a=o?invokeViewMethodId++:0;o&&r(INVOKE_VIEW_API+"."+a,o,!0),i(publishViewMethodName(),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive=(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=UniServiceJSBridge$1,s=invokeViewMethodId++,l=INVOKE_VIEW_API+"."+s;return r(l,n),a(publishViewMethodName(),{id:s,name:e,args:t},o),()=>{i(l)}},ServiceJSBridge=extend$1(initBridge("view"),{invokeOnCallback:invokeOnCallback,invokeViewMethod:invokeViewMethod,invokeViewMethodKeepAlive:invokeViewMethodKeepAlive});function initOn(){const{on:e}=UniServiceJSBridge$1;e(ON_RESIZE,onResize$1),e(ON_APP_ENTER_FOREGROUND,onAppEnterForeground),e(ON_APP_ENTER_BACKGROUND,onAppEnterBackground)}function onResize$1(e){invokeHook(getCurrentPage(),ON_RESIZE,e),UniServiceJSBridge$1.invokeOnCallback("onWindowResize",e)}function onAppEnterForeground(e){const t=getCurrentPage();invokeHook(getApp$1(),ON_SHOW,e),invokeHook(t,ON_SHOW)}function onAppEnterBackground(){invokeHook(getApp$1(),ON_HIDE),invokeHook(getCurrentPage(),ON_HIDE)}const SUBSCRIBE_LIFECYCLE_HOOKS=[ON_PAGE_SCROLL,ON_REACH_BOTTOM];function initSubscribe(){SUBSCRIBE_LIFECYCLE_HOOKS.forEach((e=>UniServiceJSBridge$1.subscribe(e,createPageEvent(e))))}function createPageEvent(e){return(t,n)=>{invokeHook(parseInt(n),e,t)}}function initService(){initOn(),initSubscribe()}function initAppVm(e){e.$vm=e,e.$mpType="app";const t=ref(useI18n().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}function initPageVm(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}function getOpenerEventChannel(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new EventChannel(this.$page.id)),e.eventChannel}}function initAppConfig(e){e.globalProperties.getOpenerEventChannel=getOpenerEventChannel}function initServicePlugin(e){initAppConfig(e._context.config)}function createLaunchOptions(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function defineGlobalData(e,t){const n=e.$options||{};n.globalData=extend$1(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}function converPx(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${upx2px(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}function getStyle(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,l={},c=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(converPx)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];l[i]=r.includes(i)?converPx(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${converType(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}function startAnimation(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=getStyle(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<r&&setTimeout(i,a.duration+a.delay)}setTimeout((()=>{i()}),0)}var animation={props:["animation"],watch:{animation:{deep:!0,handler(){startAnimation(this)}}},mounted(){startAnimation(this)}};const defineBuiltInComponent=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(animation),defineSystemComponent(e)},defineSystemComponent=e=>(e.__reserved=!0,e.compatConfig={MODE:3},defineComponent(e)),hoverProps={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function useHover(e){const t=ref(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||a(e)},onMousedown:function(e){r||(a(e),window.addEventListener("mouseup",l))},onTouchend:function(){s()},onMouseup:function(){r&&l()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function useBooleanAttr(e,t){return isString(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function withWebEvent(e){return e.__wwe=!0,e}function useCustomEvent(e,t){return(n,o,r)=>{e.value&&t(n,normalizeCustomEvent(n,o,e.value,r||{}))}}function normalizeCustomEvent(e,t,n,o){const r=normalizeTarget(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const uniFormKey=PolySymbol("uf");var index$B=defineBuiltInComponent({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=ref(null);return provideForm(useCustomEvent(o,n)),()=>createVNode("uni-form",{ref:o},[createVNode("span",null,[t.default&&t.default()])],512)}});function provideForm(e){const t=[];return provide(uniFormKey,{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)}}),t}const labelProps={for:{type:String,default:""}},uniLabelKey=PolySymbol("ul");function useProvideLabel(){const e=[];return provide(uniLabelKey,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var index$A=defineBuiltInComponent({name:"Label",props:labelProps,setup(e,{slots:t}){const n=useCurrentPageId(),o=useProvideLabel(),r=computed$1((()=>e.for||t.default&&t.default.length)),i=withWebEvent((t=>{const r=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(r.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(r.tagName)),i||(e.for?UniViewJSBridge$1.emit("uni-label-click-"+n+"-"+e.for,t,!0):o.length&&o[0](t,!0))}));return()=>createVNode("uni-label",{class:{"uni-label-pointer":r},onClick:i},[t.default&&t.default()],10,["onClick"])}});function useListeners$1(e,t){_addListeners(e.id,t),watch((()=>e.id),((e,n)=>{_removeListeners(n,t,!0),_addListeners(e,t,!0)})),onUnmounted((()=>{_removeListeners(e.id,t)}))}function _addListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.on(r,t[r]):e&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r])}))}function _removeListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.off(r,t[r]):e&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r])}))}const buttonProps={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}};var index$z=defineBuiltInComponent({name:"Button",props:buttonProps,setup(e,{slots:t}){const n=ref(null),o=inject(uniFormKey,!1),{hovering:r,binding:i}=useHover(e);useI18n();const a=withWebEvent(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),s=inject(uniLabelKey,!1);return s&&(s.addHandler(a),onBeforeUnmount((()=>{s.removeHandler(a)}))),useListeners$1(e,{"label-click":a}),()=>{const o=e.hoverClass,s=useBooleanAttr(e,"disabled"),l=useBooleanAttr(e,"loading"),c=useBooleanAttr(e,"plain"),u=o&&"none"!==o;return createVNode("uni-button",mergeProps({ref:n,onClick:a,class:u&&r.value?o:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick"])}}});function findElem(e){return e.$el}function addBase(e){const{base:t}=__uniConfig.router;return 0===addLeadingSlash(e).indexOf(t)?addLeadingSlash(e):t+e}function getRealPath(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 addBase(e.slice(1));e="https:"+e}if(SCHEME_RE.test(e)||DATA_RE.test(e)||0===e.indexOf("blob:"))return e;const o=getCurrentPages$1();return o.length?addBase(getRealRoute(o[o.length-1].$page.route,e).slice(1)):e}const ua=navigator.userAgent,isAndroid=/android/i.test(ua),isIOS$1=/iphone|ipad|ipod/i.test(ua),isWindows=ua.match(/Windows NT ([\d|\d.\d]*)/i),isMac=/Macintosh|Mac/i.test(ua),isLinux=/Linux|X11/i.test(ua),isIPadOS=isMac&&navigator.maxTouchPoints>0;function getScreenFix(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function isLandscape(e){return e&&90===Math.abs(window.orientation)}function getScreenWidth(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function getScreenHeight(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function getWindowWidth(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function getBaseSystemInfo(){const e=getScreenFix(),t=getWindowWidth(getScreenWidth(e,isLandscape(e)));return{platform:isIOS$1?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function operateVideoPlayer(e,t,n,o){UniServiceJSBridge$1.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function operateMap(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function getRootInfo(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}function getNodeInfo(e,t){const n={},{top:o,topWindowHeight:r}=getWindowOffset();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=getCustomDataset(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(isArray$1(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(isArray$1(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=getContextInfo(e)),n}function findElm(e,t){return e?e.$el:t.$el}function matches(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 getNodesInfo(e,t,n,o,r){const i=findElm(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,l=3===s||8===s;if(o){const e=l?a.querySelector(n):matches(i,n)?i:i.querySelector(n);return e?getNodeInfo(e,r):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(getNodeInfo(t,r))})),!l&&matches(i,n)&&e.unshift(getNodeInfo(i,r)),e}}function requestComponentInfo(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(getRootInfo(i)):o.push(getNodesInfo(e,t,n,r,i))})),n(o)}const CHOOSE_SIZE_TYPES=["original","compressed"],CHOOSE_SOURCE_TYPES=["album","camera"],HTTP_METHODS=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function elemInArray(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function elemsInArray(e,t){return!isArray$1(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function tryCatch(e){return function(){try{return e.apply(e,arguments)}catch(e2){console.error(e2)}}}let invokeCallbackId=1;const invokeCallbacks={};function addInvokeCallback(e,t,n,o=!1){return invokeCallbacks[e]={name:t,keepAlive:o,callback:n},e}function invokeCallback(e,t,n){if("number"==typeof e){const o=invokeCallbacks[e];if(o)return o.keepAlive||delete invokeCallbacks[e],o.callback(t,n)}return t}function findInvokeCallbackByName(e){for(const t in invokeCallbacks)if(invokeCallbacks[t].name===e)return!0;return!1}function removeKeepAliveApiCallback(e,t){for(const n in invokeCallbacks){const o=invokeCallbacks[n];o.callback===t&&o.name===e&&delete invokeCallbacks[n]}}function offKeepAliveApiCallback(e){UniServiceJSBridge$1.off("api."+e)}function onKeepAliveApiCallback(e){UniServiceJSBridge$1.on("api."+e,(t=>{for(const n in invokeCallbacks){const o=invokeCallbacks[n];o.name===e&&o.callback(t)}}))}function createKeepAliveApiCallback(e,t){return addInvokeCallback(invokeCallbackId++,e,t,!0)}const API_SUCCESS="success",API_FAIL="fail",API_COMPLETE="complete";function getApiCallbacks(e){const t={};for(const n in e){const o=e[n];isFunction(o)&&(t[n]=tryCatch(o),delete e[n])}return t}function normalizeErrMsg$1(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}function createAsyncApiCallback(e,t={},{beforeAll:n,beforeSuccess:o}={}){isPlainObject(t)||(t={});const{success:r,fail:i,complete:a}=getApiCallbacks(t),s=isFunction(r),l=isFunction(i),c=isFunction(a),u=invokeCallbackId++;return addInvokeCallback(u,e,(u=>{(u=u||{}).errMsg=normalizeErrMsg$1(u.errMsg,e),isFunction(n)&&n(u),u.errMsg===e+":ok"?(isFunction(o)&&o(u,t),s&&r(u)):l&&i(u),c&&a(u)})),u}const HOOK_SUCCESS="success",HOOK_FAIL="fail",HOOK_COMPLETE="complete",globalInterceptors={},scopedInterceptors={};function wrapperHook(e){return function(t){return e(t)||t}}function queue(e,t){let n=!1;for(let o=0;o<e.length;o++){const r=e[o];if(n)n=Promise.resolve(wrapperHook(r));else{const e=r(t);if(isPromise$1(e)&&(n=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return n||{then:e=>e(t),catch(){}}}function wrapperOptions(e,t={}){return[HOOK_SUCCESS,HOOK_FAIL,HOOK_COMPLETE].forEach((n=>{const o=e[n];if(!isArray$1(o))return;const r=t[n];t[n]=function(e){queue(o,e).then((e=>isFunction(r)&&r(e)||e))}})),t}function wrapperReturnValue(e,t){const n=[];isArray$1(globalInterceptors.returnValue)&&n.push(...globalInterceptors.returnValue);const o=scopedInterceptors[e];return o&&isArray$1(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function getApiInterceptorHooks(e){const t=Object.create(null);Object.keys(globalInterceptors).forEach((e=>{"returnValue"!==e&&(t[e]=globalInterceptors[e].slice())}));const n=scopedInterceptors[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function invokeApi(e,t,n,o){const r=getApiInterceptorHooks(e);if(r&&Object.keys(r).length){if(isArray$1(r.invoke)){return queue(r.invoke,n).then((e=>t(wrapperOptions(r,e),...o)))}return t(wrapperOptions(r,n),...o)}return t(n,...o)}function hasCallback(e){return!(!isPlainObject(e)||![API_SUCCESS,API_FAIL,API_COMPLETE].find((t=>isFunction(e[t]))))}function handlePromise(e){return e}function promisify(e,t){return(n={},...o)=>hasCallback(n)?wrapperReturnValue(e,invokeApi(e,t,n,o)):wrapperReturnValue(e,handlePromise(new Promise(((r,i)=>{invokeApi(e,t,extend$1(n,{success:r,fail:i}),o)}))))}function formatApiArgs(e,t){const n=e[0];if(!t||!isPlainObject(t.formatArgs)&&isPlainObject(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],a=o[t];if(isFunction(a)){const o=a(e[0][t],n);if(isString(o))return o}else hasOwn$1(n,t)||(n[t]=a)}}function invokeSuccess(e,t,n){return invokeCallback(e,extend$1(n||{},{errMsg:t+":ok"}))}function invokeFail(e,t,n,o){return invokeCallback(e,extend$1({errMsg:t+":fail"+(n?" "+n:"")},o))}function beforeInvokeApi(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(isString(e))return e}const r=formatApiArgs(t,o);if(r)return r}function checkCallback(e){if(!isFunction(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function wrapperOnApi(e,t,n){return o=>{checkCallback(o);const r=beforeInvokeApi(e,[o],void 0,n);if(r)throw new Error(r);const i=!findInvokeCallbackByName(e);createKeepAliveApiCallback(e,o),i&&(onKeepAliveApiCallback(e),t())}}function wrapperOffApi(e,t,n){return o=>{checkCallback(o);const r=beforeInvokeApi(e,[o],void 0,n);if(r)throw new Error(r);removeKeepAliveApiCallback(e=e.replace("off","on"),o);findInvokeCallbackByName(e)||(offKeepAliveApiCallback(e),t())}}function normalizeErrMsg(e){return!e||isString(e)?e:e.stack?(console.error(e.message+LINEFEED+e.stack),e.message):e}function wrapperTaskApi(e,t,n,o){return r=>{const i=createAsyncApiCallback(e,r,o),a=beforeInvokeApi(e,[r],n,o);return a?invokeFail(i,e,a):t(r,{resolve:t=>invokeSuccess(i,e,t),reject:(t,n)=>invokeFail(i,e,normalizeErrMsg(t),n)})}}function wrapperSyncApi(e,t,n,o){return(...r)=>{const i=beforeInvokeApi(e,r,n,o);if(i)throw new Error(i);return t.apply(null,r)}}function wrapperAsyncApi(e,t,n,o){return wrapperTaskApi(e,t,n,o)}function defineOnApi(e,t,n){return wrapperOnApi(e,t,n)}function defineOffApi(e,t,n){return wrapperOffApi(e,t,n)}function defineTaskApi(e,t,n,o){return promisify(e,wrapperTaskApi(e,t,void 0,o))}function defineSyncApi(e,t,n,o){return wrapperSyncApi(e,t,void 0,o)}function defineAsyncApi(e,t,n,o){return promisify(e,wrapperAsyncApi(e,t,void 0,o))}function createUnsupportedMsg(e){return`method 'uni.${e}' not supported`}function createUnsupportedAsyncApi(e){return(t,{reject:n})=>n(createUnsupportedMsg(e))}const API_UPX2PX="upx2px",EPS=1e-4,BASE_DEVICE_WIDTH=750;let isIOS=!1,deviceWidth=0,deviceDPR=0,maxWidth=960,baseWidth=375;function checkDeviceWidth(){const{platform:e,pixelRatio:t,windowWidth:n}=getBaseSystemInfo();deviceWidth=n,deviceDPR=t,isIOS="ios"===e}function checkValue(e,t){const n=Number(e);return isNaN(n)?t:n}function checkMaxWidth(){const e=__uniConfig.globalStyle||{};maxWidth=checkValue(e.rpxCalcMaxDeviceWidth,960),baseWidth=checkValue(e.rpxCalcBaseDeviceWidth,375)}const upx2px=defineSyncApi(API_UPX2PX,((e,t)=>{if(0===deviceWidth&&(checkDeviceWidth(),checkMaxWidth()),0===(e=Number(e)))return 0;let n=t||deviceWidth;n=n<=maxWidth?n:baseWidth;let o=e/BASE_DEVICE_WIDTH*n;return o<0&&(o=-o),o=Math.floor(o+EPS),0===o&&(o=1!==deviceDPR&&isIOS?.5:1),e<0?-o:o})),API_ADD_INTERCEPTOR="addInterceptor";function mergeInterceptorHook(e,t){Object.keys(t).forEach((n=>{isFunction(t[n])&&(e[n]=mergeHook(e[n],t[n]))}))}function mergeHook(e,t){const n=t?e?e.concat(t):isArray$1(t)?t:[t]:e;return n?dedupeHooks(n):n}function dedupeHooks(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}const addInterceptor=defineSyncApi(API_ADD_INTERCEPTOR,((e,t)=>{isString(e)&&isPlainObject(t)?mergeInterceptorHook(scopedInterceptors[e]||(scopedInterceptors[e]={}),t):isPlainObject(e)&&mergeInterceptorHook(globalInterceptors,e)})),API_ON="$on",API_EMIT="$emit",emitter=new E$1,$on=defineSyncApi(API_ON,((e,t)=>(emitter.on(e,t),()=>emitter.off(e,t)))),$emit=defineSyncApi(API_EMIT,((e,...t)=>{emitter.emit(e,...t)})),validator=[{name:"id",type:String,required:!0}],API_CREATE_VIDEO_CONTEXT="createVideoContext",API_CREATE_INNER_AUDIO_CONTEXT="createInnerAudioContext";validator.concat({name:"componentInstance",type:Object});const RATES=[.5,.8,1,1.25,1.5,2];class VideoContext{constructor(e,t){this.id=e,this.pageId=t}play(){operateVideoPlayer(this.id,this.pageId,"play")}pause(){operateVideoPlayer(this.id,this.pageId,"pause")}stop(){operateVideoPlayer(this.id,this.pageId,"stop")}seek(e){operateVideoPlayer(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){operateVideoPlayer(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~RATES.indexOf(e)||(e=1),operateVideoPlayer(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){operateVideoPlayer(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){operateVideoPlayer(this.id,this.pageId,"exitFullScreen")}showStatusBar(){operateVideoPlayer(this.id,this.pageId,"showStatusBar")}hideStatusBar(){operateVideoPlayer(this.id,this.pageId,"hideStatusBar")}}const createVideoContext=defineSyncApi(API_CREATE_VIDEO_CONTEXT,((e,t)=>new VideoContext(e,getPageIdByVm(t||getCurrentPageVm())))),operateMapCallback=(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)},operateMapWrap=(e,t,n,o)=>{operateMap(e,t,n,o,(e=>{o&&operateMapCallback(o,e)}))};class MapContext{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){operateMapWrap(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){operateMapWrap(this.id,this.pageId,"moveToLocation",e)}getScale(e){operateMapWrap(this.id,this.pageId,"getScale",e)}getRegion(e){operateMapWrap(this.id,this.pageId,"getRegion",e)}includePoints(e){operateMapWrap(this.id,this.pageId,"includePoints",e)}translateMarker(e){operateMapWrap(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){operateMapWrap(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){operateMapWrap(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){operateMapWrap(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){operateMapWrap(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){operateMapWrap(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){operateMapWrap(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){operateMapWrap(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){operateMapWrap(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){operateMapWrap(this.id,this.pageId,"moveAlong",e)}openMapApp(e){operateMapWrap(this.id,this.pageId,"openMapApp",e)}on(e){operateMapWrap(this.id,this.pageId,"on",e)}}function operateCanvas(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}function measureText(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}const predefinedColor={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 checkColor(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(hasOwn$1(predefinedColor,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(predefinedColor[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 CanvasGradient{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,checkColor(t)])}}class Pattern{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class TextMetrics{constructor(e){this.width=e}}class CanvasContext{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=[],operateCanvas(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new CanvasGradient("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new CanvasGradient("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 Pattern(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=measureText(e,this.state.font),new TextMetrics(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],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const innerAudioContextEventNames=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],innerAudioContextOffEventNames=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],defaultOptions={thresholds:[0],initialRatio:0,observeAll:!1},MARGINS=["top","right","bottom","left"];let reqComponentObserverId$1=1;function normalizeRootMargin(e={}){return MARGINS.map((t=>`${Number(e[t])||0}px`)).join(" ")}class ServiceIntersectionObserver{constructor(e,t){this._pageId=getPageIdByVm(e),this._component=e,this._options=extend$1({},defaultOptions,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=normalizeRootMargin(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=normalizeRootMargin(e),this}observe(e,t){isFunction(t)&&(this._options.selector=e,this._reqId=reqComponentObserverId$1++,addIntersectionObserver({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&removeIntersectionObserver({reqId:this._reqId,component:this._component},this._pageId)}}const createIntersectionObserver=defineSyncApi("createIntersectionObserver",((e,t)=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(t=e,e=null),new ServiceIntersectionObserver(e||getCurrentPageVm(),t))));let index$y=0,optionsCache={};function operateEditor(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(index$y++);r.callbackId=e,optionsCache[e]=o}UniServiceJSBridge$1.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(callOptions(optionsCache[e],t),delete optionsCache[e])}))}class EditorContext{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){operateEditor(this.id,this.pageId,e,t)}}const ContextClasss={canvas:CanvasContext,map:MapContext,video:VideoContext,editor:EditorContext};function convertContext(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=ContextClasss[n];e.context=new r(t,o),delete e.contextInfo}}class NodesRef{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 SelectorQuery{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return requestComponentInfo(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{isArray$1(e)?e.forEach(convertContext):convertContext(e);const o=n[t];isFunction(o)&&o.call(this,e)})),isFunction(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=resolveComponentInstance(e),this}select(e){return this._nodesRef=new NodesRef(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new NodesRef(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new NodesRef(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 createSelectorQuery=defineSyncApi("createSelectorQuery",(e=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(e=null),new SelectorQuery(e||getCurrentPageVm())))),API_CREATE_ANIMATION="createAnimation",CreateAnimationOptions={formatArgs:{}},CreateAnimationProtocol={duration:Number,timingFunction:String,delay:Number,transformOrigin:String},defaultOption={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class MPAnimation{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=extend$1({},defaultOption,e)}_getOption(e){const t={transition:extend$1({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const initAnimationProperty=once((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{MPAnimation.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),createAnimation$1=defineSyncApi(API_CREATE_ANIMATION,(e=>(initAnimationProperty(),new MPAnimation(e))),CreateAnimationProtocol,CreateAnimationOptions),API_GET_LOCALE="getLocale",getLocale=defineSyncApi(API_GET_LOCALE,(()=>{const e=getApp$1();return e&&e.$vm?e.$vm.$locale:useI18n().getLocale()})),appHooks={[ON_UNHANDLE_REJECTION]:[],[ON_PAGE_NOT_FOUND]:[],[ON_ERROR]:[],[ON_SHOW]:[],[ON_HIDE]:[]};function onAppHook(e,t){const n=getApp$1();if(n&&n.$vm)return injectHook(e,t,n.$vm.$);appHooks[e].push(t)}function injectAppHooks(e){Object.keys(appHooks).forEach((t=>{appHooks[t].forEach((n=>{injectHook(t,n,e)}))}))}function onAppShow(e){onAppHook(ON_SHOW,e)}function onAppHide(e){onAppHook(ON_HIDE,e)}const API_GET_LAUNCH_OPTIONS_SYNC="getLaunchOptionsSync",getLaunchOptionsSync=defineSyncApi(API_GET_LAUNCH_OPTIONS_SYNC,(()=>getLaunchOptions()));let cid,cidErrMsg,enabled;const getPushCidCallbacks=[];function invokeGetPushCidCallbacks(e,t){getPushCidCallbacks.forEach((n=>{n(e,t)})),getPushCidCallbacks.length=0}const API_GET_PUSH_CLIENT_ID="getPushClientId",getPushClientId=defineAsyncApi(API_GET_PUSH_CLIENT_ID,((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===enabled&&(enabled=!1,cid="",cidErrMsg="uniPush is not enabled"),getPushCidCallbacks.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==cid&&invokeGetPushCidCallbacks(cid,cidErrMsg)}))})),API_CAN_I_USE="canIUse",API_SET_CLIPBOARD_DATA="setClipboardData",SetClipboardDataOptions={formatArgs:{showToast:!0},beforeInvoke(){initI18nSetClipboardDataMsgsOnce()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=useI18n(),o=n("uni.setClipboardData.success");o&&showToast({title:o,icon:"success",mask:!1})}},SetClipboardDataProtocol={data:{type:String,required:!0},showToast:{type:Boolean}},API_ON_ACCELEROMETER="onAccelerometer",API_START_ACCELEROMETER="startAccelerometer",API_STOP_ACCELEROMETER="stopAccelerometer",API_ON_COMPASS="onCompass",API_OFF_COMPASS="offCompass",API_START_COMPASS="startCompass",API_STOP_COMPASS="stopCompass",API_GET_STORAGE="getStorage",API_GET_STORAGE_SYNC="getStorageSync",API_SET_STORAGE="setStorage",API_SET_STORAGE_SYNC="setStorageSync",API_REMOVE_STORAGE="removeStorage",API_OPEN_DOCUMENT="openDocument",OpenDocumentOptions={formatArgs:{filePath(e,t){t.filePath=getRealPath(e)}}},OpenDocumentProtocol={filePath:{type:String,required:!0},fileType:String},API_CHOOSE_LOCATION="chooseLocation",API_GET_LOCATION="getLocation",coordTypes=["wgs84","gcj02"],GetLocationOptions={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===coordTypes.indexOf(e)?t.type=coordTypes[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},GetLocationProtocol={type:String,altitude:Boolean},API_OPEN_LOCATION="openLocation",checkProps=(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}},OpenLocationOptions={formatArgs:{latitude(e,t){const n=checkProps("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=checkProps("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},OpenLocationProtocol={latitude:Number,longitude:Number,scale:Number,name:String,address:String},API_CHOOSE_IMAGE="chooseImage",ChooseImageOptions={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=elemsInArray(e,CHOOSE_SIZE_TYPES)},sourceType(e,t){t.sourceType=elemsInArray(e,CHOOSE_SOURCE_TYPES)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},ChooseImageProtocol={count:Number,sizeType:[Array,String],sourceType:Array,extension:Array},API_CHOOSE_VIDEO="chooseVideo",ChooseVideoOptions={formatArgs:{sourceType(e,t){t.sourceType=elemsInArray(e,CHOOSE_SOURCE_TYPES)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},ChooseVideoProtocol={sourceType:Array,compressed:Boolean,maxDuration:Number,camera:String,extension:Array},API_PREVIEW_IMAGE="previewImage",PreviewImageOptions={formatArgs:{urls(e,t){t.urls=e.map((e=>isString(e)&&e?getRealPath(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:isString(e)&&e&&(t.current=getRealPath(e))}}},PreviewImageProtocol={urls:{type:Array,required:!0},current:{type:[Number,String]}},API_SAVE_IMAGE_TO_PHOTOS_ALBUM="saveImageToPhotosAlbum",API_REQUEST="request",dataType={JSON:"json"},RESPONSE_TYPE=["text","arraybuffer"],DEFAULT_RESPONSE_TYPE="text",encode=encodeURIComponent;function stringifyQuery(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(hasOwn$1(t,s)){let e=t[s];null==e?e="":isPlainObject(e)&&(e=JSON.stringify(e)),a[encode(s)]=encode(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const RequestProtocol={method:String,data:[Object,String,Array,ArrayBuffer],url:{type:String,required:!0},header:Object,dataType:String,responseType:String,withCredentials:Boolean},RequestOptions={formatArgs:{method(e,t){t.method=elemInArray((e||"").toUpperCase(),HTTP_METHODS)},data(e,t){t.data=e||""},url(e,t){t.method===HTTP_METHODS[0]&&isPlainObject(t.data)&&Object.keys(t.data).length&&(t.url=stringifyQuery(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==HTTP_METHODS[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||dataType.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===RESPONSE_TYPE.indexOf(t.responseType)&&(t.responseType=DEFAULT_RESPONSE_TYPE)}}},API_DOWNLOAD_FILE="downloadFile",DownloadFileOptions={formatArgs:{header(e,t){t.header=e||{}}}},DownloadFileProtocol={url:{type:String,required:!0},header:Object,timeout:Number},API_UPLOAD_FILE="uploadFile",UploadFileOptions={formatArgs:{filePath(e,t){e&&(t.filePath=getRealPath(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},UploadFileProtocol={url:{type:String,required:!0},files:Array,filePath:String,name:String,header:Object,formData:Object,timeout:Number};function encodeQueryString(e){if(!isString(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}const ANIMATION_IN$1=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ANIMATION_OUT$1=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],BaseRouteProtocol={url:{type:String,required:!0}},API_NAVIGATE_TO="navigateTo",API_REDIRECT_TO="redirectTo",API_RE_LAUNCH="reLaunch",API_SWITCH_TAB="switchTab",API_NAVIGATE_BACK="navigateBack",API_PRELOAD_PAGE="preloadPage",API_UN_PRELOAD_PAGE="unPreloadPage",NavigateToProtocol=extend$1({},BaseRouteProtocol,createAnimationProtocol(ANIMATION_IN$1)),NavigateBackProtocol=extend$1({delta:{type:Number}},createAnimationProtocol(ANIMATION_OUT$1)),RedirectToProtocol=BaseRouteProtocol,ReLaunchProtocol=BaseRouteProtocol,SwitchTabProtocol=BaseRouteProtocol,NavigateToOptions=createRouteOptions(API_NAVIGATE_TO),RedirectToOptions=createRouteOptions(API_REDIRECT_TO),ReLaunchOptions=createRouteOptions(API_RE_LAUNCH),SwitchTabOptions=createRouteOptions(API_SWITCH_TAB),NavigateBackOptions={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(getCurrentPages$1().length-1,e)}}};function createAnimationProtocol(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 navigatorLock;function beforeRoute(){navigatorLock=""}function createRouteOptions(e){return{formatArgs:{url:createNormalizeUrl(e)},beforeAll:beforeRoute}}function createNormalizeUrl(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=normalizeRoute(t)).split("?")[0],r=getRouteOptions(o,!0);if(!r)return"page `"+t+"` is not found";if(e===API_NAVIGATE_TO||e===API_REDIRECT_TO){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===API_SWITCH_TAB&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==API_SWITCH_TAB&&e!==API_PRELOAD_PAGE||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=encodeQueryString(t),e!==API_UN_PRELOAD_PAGE)if(e!==API_PRELOAD_PAGE){if(navigatorLock===t&&"appLaunch"!==n.openType)return`${navigatorLock} locked`;__uniConfig.ready&&(navigatorLock=t)}else if(r.meta.isTabBar){const e=getCurrentPages$1(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const API_HIDE_LOADING="hideLoading",API_LOAD_FONT_FACE="loadFontFace",API_SET_NAVIGATION_BAR_COLOR="setNavigationBarColor",API_SET_NAVIGATION_BAR_TITLE="setNavigationBarTitle",API_SHOW_NAVIGATION_BAR_LOADING="showNavigationBarLoading",API_HIDE_NAVIGATION_BAR_LOADING="hideNavigationBarLoading",API_PAGE_SCROLL_TO="pageScrollTo",PageScrollToProtocol={scrollTop:Number,selector:String,duration:Number},PageScrollToOptions={formatArgs:{duration:300}},API_SHOW_ACTION_SHEET="showActionSheet",ShowActionSheetProtocol={itemList:{type:Array,required:!0},title:String,itemColor:String,popover:Object},ShowActionSheetOptions={formatArgs:{itemColor:"#000"}},API_SHOW_LOADING="showLoading",ShowLoadingProtocol={title:String,mask:Boolean},ShowLoadingOptions={formatArgs:{title:"",mask:!1}},API_SHOW_MODAL="showModal",ShowModalProtocol={title:String,content:String,showCancel:Boolean,cancelText:String,cancelColor:String,confirmText:String,confirmColor:String},ShowModalOptions={beforeInvoke(){initI18nShowModalMsgsOnce()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!hasOwn$1(t,"cancelText")){const{t:e}=useI18n();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!hasOwn$1(t,"confirmText")){const{t:e}=useI18n();t.confirmText=e("uni.showModal.confirm")}},confirmColor:PRIMARY_COLOR}},API_SHOW_TOAST="showToast",SHOW_TOAST_ICON=["success","loading","none","error"],ShowToastProtocol={title:String,icon:String,image:String,duration:Number,mask:Boolean},ShowToastOptions={formatArgs:{title:"",icon(e,t){t.icon=elemInArray(e,SHOW_TOAST_ICON)},image(e,t){t.image=e?getRealPath(e):""},duration:1500,mask:!1}},API_START_PULL_DOWN_REFRESH="startPullDownRefresh",API_STOP_PULL_DOWN_REFRESH="stopPullDownRefresh",IndexProtocol={index:{type:Number,required:!0}},IndexOptions={beforeInvoke(){const e=getCurrentPageMeta();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},API_SET_TAB_BAR_ITEM="setTabBarItem";IndexOptions.beforeInvoke,IndexOptions.formatArgs;const API_SET_TAB_BAR_STYLE="setTabBarStyle",GRADIENT_RE=/^(linear|radial)-gradient\(.+?\);?$/;IndexOptions.beforeInvoke;const API_HIDE_TAB_BAR="hideTabBar",API_SHOW_TAB_BAR="showTabBar",API_HIDE_TAB_BAR_RED_DOT="hideTabBarRedDot",API_SHOW_TAB_BAR_RED_DOT="showTabBarRedDot",API_REMOVE_TAB_BAR_BADGE="removeTabBarBadge",RemoveTabBarBadgeProtocol=IndexProtocol,RemoveTabBarBadgeOptions=IndexOptions,API_SET_TAB_BAR_BADGE="setTabBarBadge",SetTabBarBadgeProtocol=extend$1({text:{type:String,required:!0}},IndexProtocol),SetTabBarBadgeOptions={beforeInvoke:IndexOptions.beforeInvoke,formatArgs:extend$1({text(e,t){getLen(e)>=4&&(t.text="...")}},IndexOptions.formatArgs)},initIntersectionObserverPolyfill=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=r(t);n;)n=r(t=n.ownerDocument);return t}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=o){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||o){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,a=c(r),s=this._rootContainsTarget(r),l=o.entry,u=e&&s&&this._computeTargetAndRootIntersection(r,a,t),d=null;this._rootContainsTarget(r)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var p=o.entry=new i({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:a,rootBounds:d,intersectionRect:u});l?e&&s?this._hasCrossedThreshold(l,p)&&this._queuedEntries.push(p):l&&l.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,r,i){if("none"!=window.getComputedStyle(t).display){for(var a,s,l,u,p,h,g,m,_=r,S=f(t),v=!1;!v&&S;){var y=null,T=1==S.nodeType?window.getComputedStyle(S):{};if("none"==T.display)return null;if(S==this.root||9==S.nodeType)if(v=!0,S==this.root||S==e)n&&!this.root?!o||0==o.width&&0==o.height?(S=null,y=null,_=null):y=o:y=i;else{var C=f(S),b=C&&c(C),L=C&&this._computeTargetAndRootIntersection(C,b,i);b&&L?(S=C,y=d(b,L)):(S=null,_=null)}else{var A=S.ownerDocument;S!=A.body&&S!=A.documentElement&&"visible"!=T.overflow&&(y=c(S))}if(y&&(a=y,s=_,l=void 0,u=void 0,p=void 0,h=void 0,g=void 0,m=void 0,l=Math.max(a.top,s.top),u=Math.min(a.bottom,s.bottom),p=Math.max(a.left,s.left),h=Math.min(a.right,s.right),m=u-l,_=(g=h-p)>=0&&m>=0&&{top:l,bottom:u,left:p,right:h,width:g,height:m}||null),!_)break;S=S&&f(S)}return _}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,o=n.documentElement,r=n.body;t={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(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e2){return null}}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=u(e.rootBounds),this.boundingClientRect=u(e.boundingClientRect),this.intersectionRect=u(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,o,r,i=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){n(),r=null}),o))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(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):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(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 d(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 p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function h(e){return e&&9===e.nodeType}};function normalizeRect(e){const{bottom:t,height:n,left:o,right:r,top:i,width:a}=e||{};return{bottom:t,height:n,left:o,right:r,top:i,width:a}}function rectifyIntersectionRatio(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:r,width:i}}=e;return 0!==t?t:r===n?i/o:r/n}function requestComponentObserver(e,t,n){initIntersectionObserverPolyfill();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,r=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:rectifyIntersectionRatio(e),intersectionRect:normalizeRect(e.intersectionRect),boundingClientRect:normalizeRect(e.boundingClientRect),relativeRect:normalizeRect(e.rootBounds),time:Date.now(),dataset:getCustomDataset(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}function addIntersectionObserver({reqId:e,component:t,options:n,callback:o},r){const i=findElem(t);(i.__io||(i.__io={}))[e]=requestComponentObserver(i,n,o)}function removeIntersectionObserver({reqId:e,component:t},n){const o=findElem(t),r=o.__io&&o.__io[e];r&&(r.disconnect(),delete o.__io[e])}const files={};function urlToFile(e,t){const n=files[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(base64ToFile(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 base64ToFile(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return blobToFile(a,o)}function getExtname(e){const t=e.split("/")[1];return t?`.${t}`:""}function getFileName(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}function blobToFile(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${getExtname(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 fileToUrl(e){for(const n in files)if(hasOwn$1(files,n)){if(files[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return files[t]=e,t}function revokeObjectURL(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete files[e]}const launchOptions=createLaunchOptions(),enterOptions=createLaunchOptions();function getEnterOptions(){return extend$1({},enterOptions)}function getLaunchOptions(){return extend$1({},launchOptions)}function initLaunchOptions({path:e,query:t}){return extend$1(launchOptions,{path:e,query:t}),extend$1(enterOptions,launchOptions),extend$1({},launchOptions)}var ResizeSensor=defineBuiltInComponent({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=ref(null),o=useResizeSensorReset(n),r=useResizeSensorUpdate(n,t,o);return useResizeSensorLifecycle(n,e,r,o),()=>createVNode("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"]),createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function useResizeSensorUpdate(e,t,n){const o=reactive({width:-1,height:-1});return watch((()=>extend$1({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}function useResizeSensorReset(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function useResizeSensorLifecycle(e,t,n,o){onActivated(o),onMounted((()=>{t.initial&&nextTick(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}const uniCheckGroupKey=PolySymbol("ucg"),props$v={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}};var index$v=defineBuiltInComponent({name:"Checkbox",props:props$v,setup(e,{slots:t}){const n=ref(e.checked),o=ref(e.value);watch([()=>e.checked,()=>e.value],(([e,t])=>{n.value=e,o.value=t}));const{uniCheckGroup:r,uniLabel:i}=useCheckboxInject(n,o,(()=>{n.value=!1})),a=t=>{e.disabled||(n.value=!n.value,r&&r.checkboxChange(t))};return i&&(i.addHandler(a),onBeforeUnmount((()=>{i.removeHandler(a)}))),useListeners$1(e,{"label-click":a}),()=>{const o=useBooleanAttr(e,"disabled");return createVNode("uni-checkbox",mergeProps(o,{onClick:a}),[createVNode("div",{class:"uni-checkbox-wrapper"},[createVNode("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[n.value?createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,e.color,22):""],2),t.default&&t.default()])],16,["onClick"])}}});function useCheckboxInject(e,t,n){const o=computed$1((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),r={reset:n},i=inject(uniCheckGroupKey,!1);i&&i.addField(o);const a=inject(uniFormKey,!1);a&&a.addField(r);const s=inject(uniLabelKey,!1);return onBeforeUnmount((()=>{i&&i.removeField(o),a&&a.removeField(r)})),{uniCheckGroup:i,uniForm:a,uniLabel:s}}let resetTimer;function iosHideKeyboard(){}const props$u={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},emit$1=["keyboardheightchange"];function useKeyboard$1(e,t,n){function o(e){const t=computed$1((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(resetTimer),document.addEventListener("click",iosHideKeyboard,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",iosHideKeyboard,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}watch((()=>t.value),(e=>o(e)))}var startTag=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag=/^<\/([-A-Za-z0-9_]+)[^>]*>/,attr=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,empty=makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),block=makeMap("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),inline=makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),closeSelf=makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),fillAttrs=makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),special=makeMap("script,style");function HTMLParser(e,t){var n,o,r,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&special[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+i.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(r=e.match(endTag))&&(e=e.substring(r[0].length),r[0].replace(endTag,c),o=!1):0==e.indexOf("<")&&(r=e.match(startTag))&&(e=e.substring(r[0].length),r[0].replace(startTag,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,o,r){if(n=n.toLowerCase(),block[n])for(;i.last()&&inline[i.last()];)c("",i.last());if(closeSelf[n]&&i.last()==n&&c("",n),(r=empty[n]||!!r)||i.push(n),t.start){var a=[];o.replace(attr,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:fillAttrs[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,r)}}function c(e,n){if(n)for(o=i.length-1;o>=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}function makeMap(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const props$s={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},FIX_MODES={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},IMAGE_MODES={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 index$s=defineBuiltInComponent({name:"Image",props:props$s,setup(e,{emit:t}){const n=ref(null),o=useImageState(n,e),r=useCustomEvent(n,t),{fixSize:i}=useImageSize(n,e,o);return useImageLoader(o,e,n,i,r),()=>createVNode("uni-image",{ref:n},[createVNode("div",{style:o.modeStyle},null,4),FIX_MODES[e.mode]?createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]):createVNode("span",null,null)],512)}});function useImageState(e,t){const n=ref(""),o=computed$1((()=>{let e="auto",o="";const r=IMAGE_MODES[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=reactive({rootEl:e,src:computed$1((()=>t.src?getRealPath(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return onMounted((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}function useImageLoader(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),o(),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};watch((()=>e.src),(e=>l(e))),watch((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),onMounted((()=>l(e.src))),onBeforeUnmount((()=>c()))}const isChrome="Google Inc."===navigator.vendor;function fixNumber(e){return isChrome&&e>10&&(e=2*Math.round(e/2)),e}function useImageSize(e,t,n){const o=()=>{const{mode:o}=t,r=FIX_MODES[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=fixNumber(r[2](c,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return watch((()=>t.mode),((e,t)=>{FIX_MODES[t]&&r(),FIX_MODES[e]&&o()})),{fixSize:o,resetSize:r}}function throttle(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-r<t?n=setTimeout(o,t-(a-r)):o()};return i.cancel=function(){clearTimeout(n),o=null},i.flush=function(){clearTimeout(n),o&&o()},i}const passiveOptions$1=passive(!0),states=[];let userInteract=0,inited;const setUserAction=e=>states.forEach((t=>t.userAction=e));function addInteractListener(e={userAction:!1}){if(!inited){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!userInteract&&setUserAction(!0),userInteract++,setTimeout((()=>{!--userInteract&&setUserAction(!1)}),0)}),passiveOptions$1)})),inited=!0}states.push(e)}function removeInteractListener(e){const t=states.indexOf(e);t>=0&&states.splice(t,1)}const getInteractStatus=()=>!!userInteract;function useUserAction(){const e=reactive({userAction:!1});return onMounted((()=>{addInteractListener(e)})),onBeforeUnmount((()=>{removeInteractListener(e)})),{state:e}}function useScopedAttrs(){const e=reactive({attrs:{}});return onMounted((()=>{let t=getCurrentInstance();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function useFormField(e,t){const n=inject(uniFormKey,!1);if(!n)return;const o=getCurrentInstance(),r={submit(){const n=o.proxy;return[n[e],isString(t)?n[t]:t.value]},reset(){isString(t)?o.proxy[t]="":t.value=""}};n.addField(r),onBeforeUnmount((()=>{n.removeField(r)}))}function getSelectedTextRange(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)}const UniViewJSBridgeSubscribe=function(){registerViewMethod(getCurrentPageId(),"getSelectedTextRange",getSelectedTextRange)};function getValueString(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const props$r=extend$1({},{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"}},props$u),emit=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...emit$1];function useBase(e,t,n){const o=ref(null),r=useCustomEvent(t,n),i=computed$1((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=computed$1((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=computed$1((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=computed$1((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=getValueString(e.modelValue,e.type)||getValueString(e.value,e.type),u=reactive({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return watch((()=>u.focus),(e=>n("update:focus",e))),watch((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}function useValueSync(e,t,n,o){const r=debounce((n=>{t.value=getValueString(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});watch((()=>e.modelValue),r),watch((()=>e.value),r);const i=throttle(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return onBeforeMount((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function useAutoFocus(e,t){useUserAction();const n=computed$1((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}watch((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),onMounted((()=>{n.value&&nextTick(o)}))}function useEvent(e,t,n,o,r,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}watch([()=>t.selectionStart,()=>t.selectionEnd],a),watch((()=>t.cursor),s),watch((()=>e.value),(function(){const c=e.value,u=function(e,o){e.stopPropagation(),isFunction(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}function useField(e,t,n,o){UniViewJSBridgeSubscribe();const{fieldRef:r,state:i,trigger:a}=useBase(e,t,n),{triggerInput:s}=useValueSync(e,i,n,a);useAutoFocus(e,r),useKeyboard$1(e,r);const{state:l}=useScopedAttrs();useFormField("name",i),useEvent(r,i,e,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const props$q=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}});var Input=defineBuiltInComponent({name:"Input",props:props$q,emits:["confirm",...emit],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=computed$1((()=>{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=computed$1((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(hyphenate(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let a,s=ref("");const l=ref(null),{fieldRef:c,state:u,scopedAttrsState:d,fixDisabledColor:p,trigger:f}=useField(e,l,t,((e,t)=>{const n=e.target;if("number"===r.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid)return!s.value&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType?(s.value="-",t.value="",a=()=>{s.value=n.value=""},n.addEventListener("blur",a),!1):(s.value=t.value=n.value="-"===s.value?"":s.value,!1);s.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}}));watch((()=>u.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t)}));const h=["number","digit"],g=computed$1((()=>h.includes(e.type)?e.step:""));function m(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&p?createVNode("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"]):createVNode("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 createVNode("uni-input",{ref:l},[createVNode("div",{class:"uni-input-wrapper"},[withDirectives(createVNode("div",mergeProps(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!(u.value.length||"-"===s.value)]]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function entries(e){return Object.keys(e).map((t=>[t,e[t]]))}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]+/,useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=getCurrentInstance(),r=shallowRef({}),i=shallowRef({}),a=shallowRef({}),s=n.concat(DEFAULT_EXCLUDE_KEYS);return o.attrs=reactive(o.attrs),watchEffect((()=>{const e=entries(o.attrs).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:LISTENER_PREFIX.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});r.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function flatVNode(e){const t=[];return isArray$1(e)&&e.forEach((e=>{isVNode(e)?e.type===Fragment?t.push(...flatVNode(e.children)):t.push(e):isArray$1(e)&&t.push(...flatVNode(e))})),t}const movableAreaProps={scaleArea:{type:Boolean,default:!1}};var MovableArea=defineBuiltInComponent({inheritAttrs:!1,name:"MovableArea",props:movableAreaProps,setup(e,{slots:t}){const n=ref(null),o=ref(!1);let{setContexts:r,events:i}=useMovableAreaState(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=useAttrs(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),onMounted((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(markRaw(o))}r(e)}return provide("_isMounted",o),provide("movableAreaRootRef",n),provide("addMovableViewContext",(e=>{d.push(e),p()})),provide("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=flatVNode(e),createVNode("uni-movable-area",mergeProps({ref:n},s.value,l.value,c),[createVNode(ResizeSensor,{onReize:i._resize},null,8,["onReize"]),u],16)}}});function calc(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function useMovableAreaState(e,t){const n=ref(0),o=ref(0),r=reactive({x:null,y:null}),i=ref(null);let a=null,s=[];function l(e,n=s){let o=t.value;return function e(t){for(let o=0;o<n.length;o++){const e=n[o];if(t===e.rootRef.value)return e}return t===o||t===document.body||t===document?null:e(t.parentNode)}(e)}const c=withWebEvent((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=calc(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=l(n[0].target),t=l(n[1].target);a=e&&e===t?e:null}}})),u=withWebEvent((t=>{let n=t.touches;if(n&&n.length>1){t.preventDefault();let l={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(null!==r.x&&i.value&&i.value>0){let t=calc(l)/i.value;(o=t)&&1!==o&&(e.scaleArea?s.forEach((function(e){e._setScale(o)})):a&&a._setScale(o))}r.x=l.x,r.y=l.y}var o})),d=withWebEvent((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));return provide("movableAreaWidth",n),provide("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:c,_onTouchmove:u,_onTouchend:d,_resize:function(){!function(){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)}(),s.forEach((function(e,t){e.setParent()}))}}}}const addListenerToElement=function(e,t,n,o){e.addEventListener(t,(e=>{isFunction(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let __mouseMoveEventListener,__mouseUpEventListener;function useTouchtrack(e,t,n){onBeforeUnmount((()=>{document.removeEventListener("mousemove",__mouseMoveEventListener),document.removeEventListener("mouseup",__mouseUpEventListener)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-r,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;addListenerToElement(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),addListenerToElement(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),addListenerToElement(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=__mouseMoveEventListener=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),addListenerToElement(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=__mouseUpEventListener=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),addListenerToElement(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function e(e,t,n){return e>t-n&&e<t+n}function t(t,n){return e(t,0,n)}function Decline(){}function Friction$1(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Spring$1(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function STD(e,t,n){this._springX=new Spring$1(e,t,n),this._springY=new Spring$1(e,t,n),this._springScale=new Spring$1(e,t,n),this._startTime=0}Decline.prototype.x=function(e){return Math.sqrt(e)},Friction$1.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()},Friction$1.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Friction$1.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}},Friction$1.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}},Friction$1.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}},Friction$1.prototype.dt=function(){return-this._x_v/this._x_a},Friction$1.prototype.done=function(){const t=e(this.s().x,this._endPositionX)||e(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},Friction$1.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Friction$1.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Spring$1.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Spring$1.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Spring$1.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Spring$1.prototype.setEnd=function(e,n,o){if(o||(o=(new Date).getTime()),e!==this._endPosition||!t(n,.1)){n=n||0;let r=this._endPosition;this._solution&&(t(n,.1)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),t(n,.1)&&(n=0),t(r,.1)&&(r=0),r+=this._endPosition),this._solution&&t(r-e,.1)&&t(n,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,n),this._startTime=o)}},Spring$1.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Spring$1.prototype.done=function(n){return n||(n=(new Date).getTime()),e(this.x(),this._endPosition,.1)&&t(this.dx(),.1)},Spring$1.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())},Spring$1.prototype.springConstant=function(){return this._k},Spring$1.prototype.damping=function(){return this._c},Spring$1.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}]},STD.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},STD.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)}},STD.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},STD.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const movableViewProps={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}};function v(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var MovableView=defineBuiltInComponent({name:"MovableView",props:movableViewProps,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),{setParent:i}=useMovableViewState(e,r,o);return()=>createVNode("uni-movable-view",{ref:o},[createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let requesting=!1;function _requestAnimationFrame(e){requesting||(requesting=!0,requestAnimationFrame((function(){e(),requesting=!1})))}function p(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=p(e.offsetParent,t):0}function f(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=f(e.offsetParent,t):0}function g(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 _getPx(e){return/\d+[ur]px$/i.test(e)?upx2px(parseFloat(e)):Number(e)||0}function useMovableViewState(e,t,n){const o=inject("movableAreaWidth",ref(0)),r=inject("movableAreaHeight",ref(0)),i=inject("_isMounted",ref(!1)),a=inject("movableAreaRootRef"),s=inject("addMovableViewContext",(()=>{})),l=inject("removeMovableViewContext",(()=>{})),c=ref(_getPx(e.x)),u=ref(_getPx(e.y)),d=ref(Number(e.scaleValue)||1),h=ref(0),m=ref(0),_=ref(0),S=ref(0),y=ref(0),T=ref(0);let C=null,b=null;const L={x:0,y:0},A={x:0,y:0};let P,E,w=1,I=1,M=0,x=0,Y=!1,N=!1,O=null,D=null;const R=new Decline,Z=new Decline,k={historyX:[0,0],historyY:[0,0],historyT:[0,0]},B=computed$1((()=>{let t=Number(e.damping);return isNaN(t)?20:t})),H=computed$1((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),J=computed$1((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),X=computed$1((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),F=computed$1((()=>"all"===e.direction||"horizontal"===e.direction)),$=computed$1((()=>"all"===e.direction||"vertical"===e.direction)),W=new STD(1,9*Math.pow(B.value,2)/40,B.value),G=new Friction$1(1,H.value);function Q(){b&&b.cancel(),C&&C.cancel()}function V(){if(!e.scale)return!1;ee(w,!0),te(w)}function K(){Y||e.disabled||(Q(),k.historyX=[0,0],k.historyY=[0,0],k.historyT=[0,0],F.value&&(P=M),$.value&&(E=x),n.value.style.willChange="transform",O=null,D=null,N=!0)}function U(){if(!Y&&!e.disabled&&N&&(n.value.style.willChange="auto",N=!1,!O&&!function(e){let t=z(M,x),n=t.x,o=t.y,r=t.outOfBounds;r&&oe(n,o,w,e);return r}("out-of-bounds")&&e.inertia)){const e=1e3*(k.historyX[1]-k.historyX[0])/(k.historyT[1]-k.historyT[0]),t=1e3*(k.historyY[1]-k.historyY[0])/(k.historyT[1]-k.historyT[0]);G.setV(e,t),G.setS(M,x);const n=G.delta().x,o=G.delta().y;let r=n+M,i=o+x;r<_.value?(r=_.value,i=x+(_.value-M)*o/n):r>y.value&&(r=y.value,i=x+(y.value-M)*o/n),i<S.value?(i=S.value,r=M+(S.value-x)*n/o):i>T.value&&(i=T.value,r=M+(T.value-x)*n/o),G.setEnd(r,i),b=g(G,(function(){let e=G.s();re(e.x,e.y,w,"friction")}),(function(){b.cancel()}))}e.outOfBounds||e.inertia||Q()}function z(e,t){let n=!1;return e>y.value?(e=y.value,n=!0):e<_.value&&(e=_.value,n=!0),t>T.value?(t=T.value,n=!0):t<S.value&&(t=S.value,n=!0),{x:e,y:t,outOfBounds:n}}function j(e){e=ne(e=e||w);let t=n.value.getBoundingClientRect();m.value=t.height/w,h.value=t.width/w;let o=m.value*e,r=h.value*e;A.x=(r-h.value)/2,A.y=(o-m.value)/2}function q(){let e=0-L.x+A.x,t=o.value-h.value-L.x-A.x;_.value=Math.min(e,t),y.value=Math.max(e,t);let n=0-L.y+A.y,i=r.value-m.value-L.y-A.y;S.value=Math.min(n,i),T.value=Math.max(n,i)}function ee(t,n){if(e.scale){j(t=ne(t)),q();const e=z(M,x),o=e.x,r=e.y;n?oe(o,r,t,"",!0,!0):_requestAnimationFrame((function(){re(o,r,t,"",!0,!0)}))}}function te(e){I=e}function ne(e){return e=Math.max(.5,J.value,e),e=Math.min(10,X.value,e)}function oe(t,n,o,r,i,a){Q(),F.value||(t=M),$.value||(n=x),e.scale||(o=w);let s=z(t,n);t=s.x,n=s.y,e.animation?(W._springX._solution=null,W._springY._solution=null,W._springScale._solution=null,W._springX._endPosition=M,W._springY._endPosition=x,W._springScale._endPosition=w,W.setEnd(t,n,o,1),C=g(W,(function(){let e=W.x();re(e.x,e.y,e.scale,r,i,a)}),(function(){C.cancel()}))):re(t,n,o,r,i,a)}function re(o,r,i,a="",s,l){null!==o&&"NaN"!==o.toString()&&"number"==typeof o||(o=M||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=x||0),o=Number(o.toFixed(1)),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),M===o&&x===r||s||t("change",{},{x:v(o,A.x),y:v(r,A.y),source:a}),e.scale||(i=w),i=+(i=ne(i)).toFixed(3),l&&i!==w&&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,M=o,x=r,w=i}function ie(){if(!i.value)return;Q();let t=e.scale?d.value:1;L.x=p(n.value,a.value),L.y=f(n.value,a.value),j(t),q(),M=c.value+A.x,x=u.value+A.y;let o=z(M,x);re(o.x,o.y,t,"",!0),te(t)}function ae(){Y=!1,te(w)}function se(e){e&&(Y=!0,ee(e*=I))}return watch((()=>e.x),(e=>{c.value=_getPx(e)})),watch((()=>e.y),(e=>{u.value=_getPx(e)})),watch(c,(e=>{!function(e){if(F.value){if(e+A.x===M)return M;C&&C.cancel(),oe(e+A.x,u.value+A.y,w)}}(e)})),watch(u,(e=>{!function(e){if($.value){if(e+A.y===x)return x;C&&C.cancel(),oe(c.value+A.x,e+A.y,w)}}(e)})),watch((()=>e.disabled),(()=>{K()})),watch((()=>e.scaleValue),(e=>{d.value=Number(e)||0})),watch(d,(t=>{!function(t){if(!e.scale)return!1;ee(t=ne(t),!0),te(t)}(t)})),watch(J,(()=>{V()})),watch(X,(()=>{V()})),onMounted((()=>{useTouchtrack(n.value,(t=>{switch(t.detail.state){case"start":K();break;case"move":!function(t){if(!Y&&!e.disabled&&N){let n=M,o=x;if(null===D&&(D=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),F.value&&(n=t.detail.dx+P,k.historyX.shift(),k.historyX.push(n),$.value||null!==O||(O=Math.abs(t.detail.dx/t.detail.dy)<1)),$.value&&(o=t.detail.dy+E,k.historyY.shift(),k.historyY.push(o),F.value||null!==O||(O=Math.abs(t.detail.dy/t.detail.dx)<1)),k.historyT.shift(),k.historyT.push(t.detail.timeStamp),!O){t.preventDefault();let r="touch";n<_.value?e.outOfBounds?(r="touch-out-of-bounds",n=_.value-R.x(_.value-n)):n=_.value:n>y.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=y.value+R.x(n-y.value)):n=y.value),o<S.value?e.outOfBounds?(r="touch-out-of-bounds",o=S.value-Z.x(S.value-o)):o=S.value:o>T.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=T.value+Z.x(o-T.value)):o=T.value),_requestAnimationFrame((function(){re(n,o,w,r)}))}}}(t);break;case"end":U()}})),ie(),G.reconfigure(1,H.value),W.reconfigure(1,9*Math.pow(B.value,2)/40,B.value),n.value.style.transformOrigin="center";const t={rootRef:n,setParent:ie,_endScale:ae,_setScale:se};s(t),onUnmounted((()=>{l(t)}))})),onUnmounted((()=>{Q()})),{setParent:ie}}const pickerViewProps={value:{type:Array,default:()=>[],validator:function(e){return isArray$1(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:""}};function useState$4(e){const t=reactive([...e.value]),n=reactive({value:t,height:34});return watch((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}var PickerView=defineBuiltInComponent({name:"PickerView",props:pickerViewProps,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=useCustomEvent(o,n),a=useState$4(e),s=ref(null);onMounted((()=>{const e=s.value;a.height=e.$el.offsetHeight}));let l=ref([]),c=ref([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Comment));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return provide("getPickerViewColumn",(function(e){return computed$1({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),provide("pickerViewProps",e),provide("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=flatVNode(e);l.value=t,nextTick((()=>{c.value=t}))}return createVNode("uni-picker-view",{ref:o},[createVNode(ResizeSensor,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),createVNode("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Friction{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 o(e,t,n){return e>t-n&&e<t+n}function a(e,t){return o(e,0,t)}class Spring{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!a(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(a(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),a(t,.4)&&(t=0),a(o,.4)&&(o=0),o+=this._endPosition),this._solution&&a(o-e,.4)&&a(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()),o(this.x(),this._endPosition,.4)&&a(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 Scroll{constructor(e,t,n){this._extent=e,this._friction=t||new Friction(.01),this._spring=n||new Spring(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function createAnimation(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}}class Scroller{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 Scroll(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=createAnimation(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()),isFunction(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),isFunction(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(isFunction(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(),isFunction(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function useScroller(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Scroller(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}let scopedIndex=0;function useScopedClass(e){const t="uni-picker-view-content-"+scopedIndex++;return watch((()=>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}function useCustomClick(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)}}))}var PickerViewColumn=defineBuiltInComponent({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=inject("getPickerViewColumn"),a=getCurrentInstance(),s=i?i(a):ref(0),l=inject("pickerViewProps"),c=inject("pickerViewState"),u=ref(34),d=ref(null);onMounted((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=computed$1((()=>(c.height-u.value)/2)),{state:f}=useScopedAttrs(),h=useScopedClass(u);let g;const m=reactive({current:s.value,length:0});let _;function S(){g&&!_&&(_=!0,nextTick((()=>{_=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),g.update(e*u.value,void 0,u.value)})))}watch((()=>s.value),(e=>{e!==m.current&&(m.current=e,S())})),watch((()=>m.current),(e=>s.value=e)),watch([()=>u.value,()=>m.length,()=>c.height],S);let v=0;function y(e){const t=v+e.deltaY;if(Math.abs(t)>10){v=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 v=t;e.preventDefault()}function T({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)}}}return onMounted((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=useScroller(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Friction(1e-4),spring:new Spring(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,useTouchtrack(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),useCustomClick(e),S()})),()=>{const e=t.default&&t.default();m.length=flatVNode(e).length;const n=`${p.value}px 0`;return createVNode("uni-picker-view-column",{ref:o},[createVNode("div",{onWheel:y,onClick:T,class:"uni-picker-view-group"},[createVNode("div",mergeProps(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),createVNode("div",mergeProps(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[createVNode(ResizeSensor,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),createVNode("div",{ref:r,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}});const uniRadioGroupKey=PolySymbol("ucg"),props$p={name:{type:String,default:""}};var index$p=defineBuiltInComponent({name:"RadioGroup",props:props$p,setup(e,{emit:t,slots:n}){const o=ref(null);return useProvideRadioGroup(e,useCustomEvent(o,t)),()=>createVNode("uni-radio-group",{ref:o},[n.default&&n.default()],512)}});function useProvideRadioGroup(e,t){const n=[];onMounted((()=>{s(n.length-1)}));const o=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};provide(uniRadioGroupKey,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,r){s(n.indexOf(r),!0),t("change",e,{value:o()})}});const r=inject(uniFormKey,!1),i={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}};function a(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((o,r)=>{r!==e&&(t?a(n[r],!1):n.forEach(((e,t)=>{r>=t||n[t].value.radioChecked&&a(n[r],!1)})))}))}return r&&(r.addField(i),onBeforeUnmount((()=>{r.removeField(i)}))),n}const props$o={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}};var index$o=defineBuiltInComponent({name:"Radio",props:props$o,setup(e,{slots:t}){const n=ref(e.checked),o=ref(e.value),r=computed$1((()=>`background-color: ${e.color};border-color: ${e.color};`));watch([()=>e.checked,()=>e.value],(([e,t])=>{n.value=e,o.value=t}));const{uniCheckGroup:i,uniLabel:a,field:s}=useRadioInject(n,o,(()=>{n.value=!1})),l=t=>{e.disabled||(n.value=!0,i&&i.radioChange(t,s))};return a&&(a.addHandler(l),onBeforeUnmount((()=>{a.removeHandler(l)}))),useListeners$1(e,{"label-click":l}),()=>{const o=useBooleanAttr(e,"disabled");return createVNode("uni-radio",mergeProps(o,{onClick:l}),[createVNode("div",{class:"uni-radio-wrapper"},[createVNode("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:n.value?r.value:""},[n.value?createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,"#fff",18):""],6),t.default&&t.default()])],16,["onClick"])}}});function useRadioInject(e,t,n){const o=computed$1({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),r={reset:n},i=inject(uniRadioGroupKey,!1);i&&i.addField(o);const a=inject(uniFormKey,!1);a&&a.addField(r);const s=inject(uniLabelKey,!1);return onBeforeUnmount((()=>{i&&i.removeField(o),a&&a.removeField(r)})),{uniCheckGroup:i,uniForm:a,uniLabel:s,field:o}}const TAGS={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},CHARS={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};function decodeEntities(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return hasOwn$1(CHARS,t)&&CHARS[t]?CHARS[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))}function processClickEvent(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}function normalizeAttrs(e,t){if(isPlainObject(t))for(const n in t)if(hasOwn$1(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=getRealPath(o))}}const nodeList2VNode=(e,t,n)=>!n||isArray$1(n)&&!n.length?[]:n.map((n=>{if(isPlainObject(n)){if(!hasOwn$1(n,"type")||"node"===n.type){let o={[e]:""};const r=n.name.toLowerCase();if(!hasOwn$1(TAGS,r))return;return normalizeAttrs(r,n.attrs),o=extend$1(o,processClickEvent(n,t),n.attrs),h(n.name,o,nodeList2VNode(e,t,n.children))}return"text"===n.type&&isString(n.text)&&""!==n.text?createTextVNode(decodeEntities(n.text||"")):void 0}}));function removeDOCTYPE(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}function parseAttrs(e){return e.reduce((function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e}),{})}function parseHtml(e){e=removeDOCTYPE(e);const t=[],n={node:"root",children:[]};return HTMLParser(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=parseAttrs(o)),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o.children||(o.children=[]),o.children.push(n)}}),n.children}const props$n={nodes:{type:[Array,String],default:function(){return[]}}};var index$n=defineBuiltInComponent({name:"RichText",compatConfig:{MODE:3},props:props$n,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=getCurrentInstance(),o=n&&n.vnode.scopeId||"",r=ref(null),i=ref([]),a=useCustomEvent(r,t);function s(e,t={}){a("itemclick",e,t)}return watch((()=>e.nodes),(function(){let t=e.nodes;isString(t)&&(t=parseHtml(e.nodes)),i.value=nodeList2VNode(o,s,t)}),{immediate:!0}),()=>h("uni-rich-text",{ref:r},h("div",{},i.value))}});const passiveOptions=passive(!0),props$m={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}};var ScrollView=defineBuiltInComponent({name:"ScrollView",compatConfig:{MODE:3},props:props$m,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n}){const o=ref(null),r=ref(null),i=ref(null),a=ref(null),s=ref(null),l=useCustomEvent(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=useScrollViewState(e);useScrollViewLoader(e,c,u,d,l,o,r,a,t);const p=computed$1((()=>{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:f,refreshRotate:h}=c;return createVNode("uni-scroll-view",{ref:o},[createVNode("div",{ref:i,class:"uni-scroll-view"},[createVNode("div",{ref:r,style:p.value,class:"uni-scroll-view"},[createVNode("div",{ref:a,class:"uni-scroll-view-content"},[t?createVNode("div",{ref:s,style:{backgroundColor:l,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?createVNode("div",{class:"uni-scroll-view-refresh"},[createVNode("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==f?createVNode("svg",{key:"refresh__icon",style:{transform:"rotate("+h+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[createVNode("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),createVNode("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==f?createVNode("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[createVNode("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 useScrollViewState(e){const t=computed$1((()=>Number(e.scrollTop)||0)),n=computed$1((()=>Number(e.scrollLeft)||0));return{state:reactive({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}function useScrollViewLoader(e,t,n,o,r,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const f=computed$1((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),h=computed$1((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function g(t,n){const o=a.value;let r=0,i="";if(t<0?t=0:"x"===n&&t>o.scrollWidth-o.offsetWidth?t=o.scrollWidth-o.offsetWidth:"y"===n&&t>o.scrollHeight-o.offsetHeight&&(t=o.scrollHeight-o.offsetHeight),"x"===n?r=o.scrollLeft-t:"y"===n&&(r=o.scrollTop-t),0===r)return;let l=s.value;l.style.transition="transform .3s ease-out",l.style.webkitTransition="-webkit-transform .3s ease-out","x"===n?i="translateX("+r+"px) translateZ(0)":"y"===n&&(i="translateY("+r+"px) translateZ(0)"),l.removeEventListener("transitionend",p),l.removeEventListener("webkitTransitionEnd",p),p=()=>function(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let o=a.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);s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}(t,n),l.addEventListener("transitionend",p),l.addEventListener("webkitTransitionEnd",p),"x"===n?o.style.overflowX="hidden":"y"===n&&(o.style.overflowY="hidden"),l.style.transform=i,l.style.webkitTransform=i}function m(t){e.scrollY&&(e.scrollWithAnimation?g(t,"y"):a.value.scrollTop=t)}function _(t){e.scrollX&&(e.scrollWithAnimation?g(t,"x"):a.value.scrollLeft=t)}function S(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(e.scrollX){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?g(r,"x"):a.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?g(r,"y"):a.value.scrollTop=r}}}}function v(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}onMounted((()=>{nextTick((()=>{m(n.value),_(o.value)})),S(e.scrollIntoView);let i=function(n){n.preventDefault(),n.stopPropagation(),function(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<=f.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+h.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<=f.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+h.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}(n)},s={x:0,y:0},l=null,p=function(n){if(null===s)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,p=a.value;if(Math.abs(o-s.x)>Math.abs(i-s.y))if(e.scrollX){if(0===p.scrollLeft&&o>s.x)return void(l=!1);if(p.scrollWidth===p.offsetWidth+p.scrollLeft&&o<s.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===p.scrollTop&&i>s.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(p.scrollHeight===p.offsetHeight+p.scrollTop&&i<s.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===p.scrollTop&&1===n.touches.length&&(t.refreshState="pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-s.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o})));const a=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(a>1?1:a)}},g=function(e){1===e.touches.length&&(s={x:e.touches[0].pageX,y:e.touches[0].pageY})},y=function(n){s=null,t.refresherHeight>=e.refresherThreshold?v("refreshing"):v("refresherabort")};a.value.addEventListener("touchstart",g,passiveOptions),a.value.addEventListener("touchmove",p,passive(!1)),a.value.addEventListener("scroll",i,passive(!1)),a.value.addEventListener("touchend",y,passiveOptions),onBeforeUnmount((()=>{a.value.removeEventListener("touchstart",g),a.value.removeEventListener("touchmove",p),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",y)}))})),onActivated((()=>{e.scrollY&&(a.value.scrollTop=t.lastScrollTop),e.scrollX&&(a.value.scrollLeft=t.lastScrollLeft)})),watch(n,(e=>{m(e)})),watch(o,(e=>{_(e)})),watch((()=>e.scrollIntoView),(e=>{S(e)})),watch((()=>e.refresherTriggered),(e=>{!0===e?v("refreshing"):!1===e&&v("restore")}))}const props$k={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}};function useState$3(e){return reactive({interval:computed$1((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:computed$1((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:computed$1((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}function useLayout(e,t,n,o,r,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,g=0,m="";const _=computed$1((()=>e.circular&&n.value.length>t.displayMultipleItems));function S(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||_.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s<i;s++){const t=r[s],n=Math.floor(o/i)*i+s,l=n+i,c=n-i,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),p=Math.max(o-(c+1),c-a,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(r);const a="translate("+(e.vertical?"0":100*-r*p+"%")+", "+(e.vertical?100*-r*p+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=r,!s){if(r%1==0)return;s=r}r-=Math.floor(s);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function v(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(_.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function y(){f=null}function T(){if(!f)return void(h=!1);const e=f,o=e.toPos,r=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){S(o),f=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}S(o+r*u*u/2),l=requestAnimationFrame(T)}function C(e,o,r){y();const i=t.duration,a=n.value.length;let s=d;if(_.value)if(r<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}f={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:o},h||(h=!0,l=requestAnimationFrame(T))}function b(){a();const e=n.value,o=function(){c=null,m="autoplay",_.value?t.current=v(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,C(t.current,"autoplay",_.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function L(e){e?b():a()}return watch([()=>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)})),watch([()=>e.vertical,()=>_.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),f&&(S(f.toPos),f=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);p=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(S(s+l-g),g=l):(S(l),e.autoplay&&b())):(u=!0,S(-t.displayMultipleItems-1))})),watch((()=>t.interval),(()=>{c&&(a(),b())})),watch((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;C(e,"",_.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),watch((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),watch((()=>e.autoplay&&!t.userTracking),L),L(e.autoplay&&!t.userTracking),onMounted((()=>{let r=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=v(d+o);e?S(g):(m="touch",t.current=r,C(r,"touch",0!==o?o:0===r&&_.value&&d>=1?1:0))}useTouchtrack(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void y();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&&b())}return function(r){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,_.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),S(n)}const d=s-a||1,p=o.value;e.vertical?u(-r.dy/p.offsetHeight,-r.ddy/d):u(-r.dx/p.offsetWidth,-r.ddx/d)}(c.detail),!1}}}))})),onUnmounted((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){C(t.current=e,m="click",_.value?1:0)}}}var Swiper=defineBuiltInComponent({name:"Swiper",props:props$k,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),i=ref(null),a=ref(null),s=useState$3(e),l=computed$1((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:rpx2px$1(e.previousMargin,!0),bottom:rpx2px$1(e.nextMargin,!0)}:{top:0,bottom:0,left:rpx2px$1(e.previousMargin,!0),right:rpx2px$1(e.nextMargin,!0)}),t})),c=computed$1((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=ref([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(markRaw(o))}p.value=e}provide("addSwiperContext",(function(e){d.push(e),f()}));provide("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h}=useLayout(e,s,p,a,n,r);return()=>{const n=t.default&&t.default();return u=flatVNode(n),createVNode("uni-swiper",{ref:o},[createVNode("div",{ref:i,class:"uni-swiper-wrapper"},[createVNode("div",{class:"uni-swiper-slides",style:l.value},[createVNode("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&createVNode("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>createVNode("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2)],512)],512)}}});const props$j={itemId:{type:String,default:""}};var SwiperItem=defineBuiltInComponent({name:"SwiperItem",props:props$j,setup(e,{slots:t}){const n=ref(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return onMounted((()=>{const e=inject("addSwiperContext");e&&e(o)})),onUnmounted((()=>{const e=inject("removeSwiperContext");e&&e(o)})),()=>createVNode("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}});const props$i={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}};var index$l=defineBuiltInComponent({name:"Switch",props:props$i,emits:["change"],setup(e,{emit:t}){const n=ref(null),o=ref(e.checked),r=useSwitchInject(e,o),i=useCustomEvent(n,t);watch((()=>e.checked),(e=>{o.value=e}));const a=t=>{e.disabled||(o.value=!o.value,i("change",t,{value:o.value}))};return r&&(r.addHandler(a),onBeforeUnmount((()=>{r.removeHandler(a)}))),useListeners$1(e,{"label-click":a}),()=>{const{color:t,type:r}=e,i=useBooleanAttr(e,"disabled");return createVNode("uni-switch",mergeProps({ref:n},i,{onClick:a}),[createVNode("div",{class:"uni-switch-wrapper"},[withDirectives(createVNode("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:{backgroundColor:o.value?t:"#DFDFDF",borderColor:o.value?t:"#DFDFDF"}},null,6),[[vShow,"switch"===r]]),withDirectives(createVNode("div",{class:"uni-checkbox-input"},[o.value?createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,e.color,22):""],512),[[vShow,"checkbox"===r]])])],16,["onClick"])}}});function useSwitchInject(e,t){const n=inject(uniFormKey,!1),o=inject(uniLabelKey,!1),r={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return n&&(n.addField(r),onUnmounted((()=>{n.removeField(r)}))),o}const SPACE_UNICODE={ensp:"",emsp:"",nbsp:" "};function parseText(e,t){return e.replace(/\\n/g,LINEFEED).split(LINEFEED).map((e=>normalizeText(e,t)))}function normalizeText(e,{space:t,decode:n}){return e?(t&&SPACE_UNICODE[t]&&(e=e.replace(/ /g,SPACE_UNICODE[t])),n?e.replace(/&nbsp;/g,SPACE_UNICODE.nbsp).replace(/&ensp;/g,SPACE_UNICODE.ensp).replace(/&emsp;/g,SPACE_UNICODE.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):e):e}var index$k=defineBuiltInComponent({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!==Comment){const o=parseText(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(createTextVNode(e)),t!==r&&n.push(createVNode("br"))}))}else n.push(t)})),createVNode("uni-text",{selectable:!!e.selectable||null},[createVNode("span",null,n)],8,["selectable"])}});const props$h=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ConfirmTypes.concat("return").includes(e)}});let fixMargin=!1;const ConfirmTypes=["done","go","next","search","send"];function setFixMargin(){const e="(prefers-color-scheme: dark)";fixMargin=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}var index$j=defineBuiltInComponent({name:"Textarea",props:props$h,emits:["confirm","linechange",...emit],setup(e,{emit:t}){const n=ref(null),o=ref(null),{fieldRef:r,state:i,scopedAttrsState:a,fixDisabledColor:s,trigger:l}=useField(e,n,t),c=computed$1((()=>i.value.split(LINEFEED))),u=computed$1((()=>ConfirmTypes.includes(e.confirmType))),d=ref(0),p=ref(null);function f({height:e}){d.value=e}function h(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 watch((()=>d.value),(t=>{const r=n.value,i=p.value,a=o.value;let s=parseFloat(getComputedStyle(r).lineHeight);isNaN(s)&&(s=i.offsetHeight);var c=Math.round(t/s);l("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:c}),e.autoHeight&&(r.style.height="auto",a.style.height=t+"px")})),setFixMargin(),()=>{let t=e.disabled&&s?createVNode("textarea",{ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):createVNode("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":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:h,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return createVNode("uni-textarea",{ref:n},[createVNode("div",{ref:o,class:"uni-textarea-wrapper"},[withDirectives(createVNode("div",mergeProps(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!i.value.length]]),createVNode("div",{ref:p,class:"uni-textarea-line"},[" "],512),createVNode("div",{class:"uni-textarea-compute"},[c.value.map((e=>createVNode("div",null,[e.trim()?e:"."]))),createVNode(ResizeSensor,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),index$i=defineBuiltInComponent({name:"View",props:extend$1({},hoverProps),setup(e,{slots:t}){const{hovering:n,binding:o}=useHover(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?createVNode("uni-view",mergeProps({class:n.value?r:""},o),[t.default&&t.default()],16):createVNode("uni-view",null,[t.default&&t.default()])}}});function normalizeEvent(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function addSubscribe(e,t,n){e&&registerViewMethod(n||getCurrentPageId(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function removeSubscribe(e,t){e&&unregisterViewMethod(t||getCurrentPageId(),e)}function useSubscribe(e,t,n,o){const r=getCurrentInstance().proxy;onMounted((()=>{addSubscribe(t||normalizeEvent(r),e,o),!n&&t||watch((()=>r.id),((t,n)=>{addSubscribe(normalizeEvent(r,t),e,o),removeSubscribe(n&&normalizeEvent(r,n))}))})),onBeforeUnmount((()=>{removeSubscribe(t||normalizeEvent(r),o)}))}function useOn(e,t){onMounted((()=>UniViewJSBridge$1.on(e,t))),onBeforeUnmount((()=>UniViewJSBridge$1.off(e)))}let index$h=0;function useContextInfo(e){const t=useCurrentPageId(),n=getCurrentInstance().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+index$h++;return onMounted((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function getContextInfo(e){return e.__uniContextInfo}function injectLifecycleHook(e,t,n,o){isFunction(t)&&injectHook(e,t.bind(n),o)}function initHooks(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];isArray$1(r)?r.forEach((e=>injectLifecycleHook(o,e,n,t))):injectLifecycleHook(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{invokeHook(n,ON_LOAD,t.attrs.__pageQuery),delete t.attrs.__pageQuery,invokeHook(n,ON_SHOW)}catch(e2){console.error(e2.message+LINEFEED+e2.stack)}}}function applyOptions(e,t,n){initHooks(e,t,n)}function set(e,t,n){return e[t]=n}function createErrorHandler(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;invokeHook(r.proxy,ON_ERROR,t)}}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function initOptionMergeStrategies(e){UniLifecycleHooks.forEach((t=>{e[t]=mergeAsArray}))}function initApp$1(e){const t=e._context.config;isFunction(e._component.onError)&&(t.errorHandler=createErrorHandler(e)),initOptionMergeStrategies(t.optionMergeStrategies);const n=t.globalProperties;n.$set=set,n.$applyOptions=applyOptions,invokeCreateVueAppHook(e)}const pageMetaKey=PolySymbol("upm");function usePageMeta(){return inject(pageMetaKey)}function providePageMeta(e){const t=initPageMeta(e);return provide(pageMetaKey,t),t}function usePageRoute(){return useRoute()}function initPageMeta(e){return reactive(normalizePageMeta(JSON.parse(JSON.stringify(initRouteMeta(useRoute().meta,e)))))}function normalizePageMeta(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=normalizePullToRefreshRpx(extend$1({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:r}=n;"custom"!==r&&"transparent"!==o&&(t.offset+=NAVBAR_HEIGHT+out.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#ffffff",t.backgroundColor=r||"#F7F7F7"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==getCurrentPages$1().length||(e.isEntry=!0,e.isQuit=!0)}return e}function getStateId(){return history.state&&history.state.__id__||1}let tabBar$1;function useTabBar(){return tabBar$1||(tabBar$1=__uniConfig.tabBar&&reactive(initTabBarI18n(__uniConfig.tabBar))),tabBar$1}const supports=window.CSS&&window.CSS.supports;function cssSupports(e){return supports&&(supports(e)||supports.apply(window.CSS,e.split(":")))}const cssVar=cssSupports("--a:0"),cssEnv=cssSupports("top:env(a)"),cssConstant=cssSupports("top:constant(a)"),cssBackdropFilter=cssSupports("backdrop-filter:blur(10px)"),SCHEMA_CSS={"css.var":cssVar,"css.env":cssEnv,"css.constant":cssConstant,"css.backdrop-filter":cssBackdropFilter},canIUse=defineSyncApi(API_CAN_I_USE,(e=>!hasOwn$1(SCHEMA_CSS,e)||SCHEMA_CSS[e])),envMethod=(()=>cssEnv?"env":cssConstant?"constant":"")();function updateCurPageCssVar(e){let t=0,n=0;if(["default","float"].indexOf(e.navigationBar.type)>-1&&(t=NAVBAR_HEIGHT),e.isTabBar){const e=useTabBar();e.shown&&(n=parseInt(e.height))}updatePageCssVar({"--window-top":normalizeWindowTop(t),"--window-bottom":normalizeWindowBottom(n)})}function normalizeWindowTop(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-top))`:`${e}px`}function normalizeWindowBottom(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-bottom))`:`${e}px`}const SEP="$$",currentPagesMap=new Map;function pruneCurrentPages(){currentPagesMap.forEach(((e,t)=>{e.$.isUnmounted&&currentPagesMap.delete(t)}))}function getCurrentPagesMap(){return currentPagesMap}function getCurrentPages$1(){const e=[],t=currentPagesMap.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function removeRouteCache(e){const t=pageCacheMap.get(e);t&&(pageCacheMap.delete(e),routeCache.pruneCacheEntry(t))}function removePage(e,t=!0){const n=currentPagesMap.get(e);n.$.__isUnload=!0,invokeHook(n,ON_UNLOAD),currentPagesMap.delete(e),t&&removeRouteCache(e)}let id=getStateId();function createPageState(e,t){return{__id__:t||++id,__type__:e}}function initPublicPage(e){const t=usePageMeta();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),initPageInternalInstance("navigateTo",n,{},t)}function initPage(e){const t=initPublicPage(e.$route);initPageVm(e,t),currentPagesMap.set(normalizeRouteKey(t.path,t.id),e)}function normalizeRouteKey(e,t){return e+SEP+t}function useKeepAliveRoute(){const e=useRoute();return{routeKey:computed$1((()=>normalizeRouteKey("/"+e.meta.route,getStateId()))),isTabBar:computed$1((()=>e.meta.isTabBar)),routeCache:routeCache}}const pageCacheMap=new Map,routeCache={get:e=>pageCacheMap.get(e),set(e,t){pruneRouteCache(e),pageCacheMap.set(e,t)},delete(e){pageCacheMap.get(e)&&pageCacheMap.delete(e)},forEach(e){pageCacheMap.forEach(e)}};function isTabBarVNode(e){return"tabBar"===e.props.type}function pruneRouteCache(e){const t=parseInt(e.split(SEP)[1]);t&&routeCache.forEach(((e,n)=>{const o=parseInt(n.split(SEP)[1]);if(o&&o>t){if(isTabBarVNode(e))return;routeCache.delete(n),routeCache.pruneCacheEntry(e),nextTick((()=>pruneCurrentPages()))}}))}function updateCurPageAttrs(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))}function onPageShow(e,t){updateBodyScopeId(e),updateCurPageCssVar(t),updateCurPageAttrs(t),initPageScrollListener(e,t)}function onPageReady(e){const t=getScopeId(e);t&&updateCurPageBodyScopeId(t)}function updateCurPageBodyScopeId(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function getScopeId(e){return e.type.__scopeId}let curScopeId,curScrollListener;function updateBodyScopeId(e){const t=getScopeId(e),{body:n}=document;curScopeId&&n.removeAttribute(curScopeId),t&&n.setAttribute(t,""),curScopeId=t}function initPageScrollListener(e,t){if(document.removeEventListener("touchmove",disableScrollListener),curScrollListener&&document.removeEventListener("scroll",curScrollListener),t.disableScroll)return document.addEventListener("touchmove",disableScrollListener);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},a=e.proxy.$page.id;(n||r)&&(i.onPageScroll=createOnPageScroll(a,n,r)),o&&(i.onReachBottomDistance=t.onReachBottomDistance||ON_REACH_BOTTOM_DISTANCE,i.onReachBottom=()=>UniViewJSBridge$1.publishHandler(ON_REACH_BOTTOM,{},a)),curScrollListener=createScrollListener(i),requestAnimationFrame((()=>document.addEventListener("scroll",curScrollListener)))}function createOnPageScroll(e,t,n){return o=>{t&&UniViewJSBridge$1.publishHandler(ON_PAGE_SCROLL,{scrollTop:o},e),n&&UniViewJSBridge$1.emit(e+"."+ON_PAGE_SCROLL,{scrollTop:o})}}function initRouter(e){const t=createRouter(createRouterOptions());e.router=t,e.use(t)}const scrollBehavior=(e,t,n)=>{if(n)return n};function createRouterOptions(){return{history:initHistory(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:scrollBehavior}}function removeCurrentPages(e=1){const t=getCurrentPages$1(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;removePage(normalizeRouteKey(e.path,e.id),!1)}}function initHistory(){let{base:e}=__uniConfig.router;"/"===e&&(e="");const t=createWebHashHistory(e);return t.listen(((e,t,n)=>{"back"===n.direction&&removeCurrentPages(Math.abs(n.delta))})),t}var index$g={install(e){initApp$1(e),initViewPlugin(e),initServicePlugin(e),e.config.warnHandler=warnHandler,initRouter(e)}};function warnHandler(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 appVm;function getApp$1(){return appVm}function initApp(e){appVm=e,initAppVm(appVm),defineGlobalData(appVm),initService(),initView()}function wrapperComponentSetup(e,{clone:t,init:n,setup:o,before:r}){t&&(e=extend$1({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=getCurrentInstance();n(r.proxy);const a=o(r);if(i)return i(a||e,t)},e}function setupComponent(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?wrapperComponentSetup(e.default,t):wrapperComponentSetup(e,t)}function setupPage(e){return setupComponent(e,{clone:!0,init:initPage,setup(e){e.$pageInstance=e;const t=decodedQuery(usePageRoute().query);e.attrs.__pageQuery=t,e.proxy.$page.options=t;const n=usePageMeta();return onBeforeMount((()=>{onPageShow(e,n)})),onMounted((()=>{onPageReady(e);const{onReady:t}=e;t&&invokeArrayFns$1(t)})),onBeforeActivate((()=>{if(!e.__isVisible){onPageShow(e,n),e.__isVisible=!0;const{onShow:t}=e;t&&invokeArrayFns$1(t)}})),onBeforeDeactivate((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&invokeArrayFns$1(t)}})),subscribeViewMethod(n.id),onBeforeUnmount((()=>{unsubscribeViewMethod(n.id)})),t}})}function setupApp(e){return setupComponent(e,{init:initApp,setup(e){const t=usePageRoute(),n=()=>{injectAppHooks(e);const{onLaunch:n,onShow:o,onPageNotFound:r}=e,i=initLaunchOptions({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:decodedQuery(t.query)});if(n&&invokeArrayFns$1(n,i),o&&invokeArrayFns$1(o,i),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&invokeArrayFns$1(r,e)}};return useRouter().isReady().then(n),onMounted((()=>{window.addEventListener("resize",debounce(onResize,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",onMessage),document.addEventListener("visibilitychange",onVisibilityChange)})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(openBlock(),createBlock(LayoutComponent));e.setup=(e,o)=>{const r=t&&t(e,o);return isFunction(r)?n:r},e.render=n}})}function onResize(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";UniServiceJSBridge$1.emit(ON_RESIZE,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function onMessage(e){isPlainObject(e.data)&&e.data.type===WEB_INVOKE_APPSERVICE&&UniServiceJSBridge$1.emit(ON_WEB_INVOKE_APP_SERVICE,e.data.data,e.data.pageId)}function onVisibilityChange(){const{emit:e}=UniServiceJSBridge$1;"visible"===document.visibilityState?e(ON_APP_ENTER_FOREGROUND,getEnterOptions()):e(ON_APP_ENTER_BACKGROUND)}function formatTime(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function useGesture(e,t,n){const o=reactive({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),r={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(i){function a(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&a();const s=o.gestureType;if("stop"===s)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=r,p=t.value;if("progress"===s?function(e){const n=t.value.duration;let r=e/600*n+o.currentTimeOld;r<0?r=0:r>n&&(r=n);o.currentTimeNew=r}(c-d.x):"volume"===s&&function(e){const n=t.value,r=o.volumeOld;let i;"number"==typeof r&&(i=r-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,o.volumeNew=i)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}function useFullscreen(e,t,n,o,r){const i=reactive({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return onBeforeUnmount(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}function useVideo(e,t,n){const o=ref(null),r=computed$1((()=>getRealPath(e.src))),i=reactive({start:!1,src:r,playing:!1,currentTime:0,duration:0,progress:0,buffered:0});function a(e){const t=e.target,n=t.buffered;n.length&&(i.buffered=n.end(n.length-1)/t.duration*100)}return watch((()=>r.value),(()=>{i.playing=!1,i.currentTime=0})),watch((()=>i.buffered),(e=>{n("progress",{},{buffered:e})})),{videoRef:o,state:i,play:function(){const e=o.value;i.start=!0,e.play()},pause:function(){o.value.pause()},seek:function(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)},playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;i.playing?e.pause():e.play()},onDurationChange:function({target:e}){i.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){i.playing=!1,n("error",e,{})},onPlay:function(e){i.start=!0,i.playing=!0,n("play",e,{})},onPause:function(e){i.playing=!1,n("pause",e,{})},onEnded:function(e){i.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=i.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}function useControls(e,t,n){const o=ref(null),r=ref(null),i=computed$1((()=>e.showCenterPlayBtn&&!t.start)),a=ref(!0),s=computed$1((()=>!i.value&&e.controls&&a.value)),l=reactive({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:s,controlsVisible:a});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return onBeforeUnmount((()=>{c&&clearTimeout(c)})),watch((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),watch([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),onMounted((()=>{const e=passive(!1);let i,a,s,c=!0;const u=r.value;function d(e){const n=e.targetTouches[0],r=n.pageX,l=n.pageY;if(c&&Math.abs(r-i)<Math.abs(l-a))return void p(e);c=!1;const u=o.value.offsetWidth;let d=s+(r-i)/u*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function p(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,a=o.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",p),u.addEventListener("touchcancel",p)})),{state:l,progressRef:o,ballRef:r,clickProgress:function(e){const r=o.value;let i=e.target,a=e.offsetX;for(;i&&i!==r;)a+=i.offsetLeft,i=i.parentNode;const s=r.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}function useDanmu(e,t){const n=ref(null),o=reactive({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=isArray$1(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o);n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1;t--){if(!(n<=(i[t].time||0)))break;l.index=t-1}r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}function useContext(e,t,n,o,r,i,a){const s={play:e,pause:t,seek:n,sendDanmu:o,playbackRate:r,requestFullScreen:i,exitFullScreen:a};useSubscribe(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in s&&s[e](n)}),useContextInfo(),!0)}const props$g={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}};var index$f=defineBuiltInComponent({name:"Video",props:props$g,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=ref(null),i=ref(null),a=useCustomEvent(r,t),{state:s}=useUserAction(),{$attrs:l}=useAttrs({excludeListeners:!0}),{t:c}=useI18n();initI18nVideoMsgsOnce();const{videoRef:u,state:d,play:p,pause:f,seek:h,playbackRate:g,toggle:m,onDurationChange:_,onLoadedMetadata:S,onProgress:v,onWaiting:y,onVideoError:T,onPlay:C,onPause:b,onEnded:L,onTimeUpdate:A}=useVideo(e,n,a),{state:P,danmuRef:E,updateDanmu:w,toggleDanmu:I,sendDanmu:M}=useDanmu(e,d),{state:x,onFullscreenChange:Y,emitFullscreenChange:N,toggleFullscreen:O,requestFullScreen:D,exitFullScreen:R}=useFullscreen(a,i,u,s,r),{state:Z,onTouchstart:k,onTouchend:B,onTouchmove:H}=useGesture(e,u,x),{state:J,progressRef:X,ballRef:F,clickProgress:$,toggleControls:W}=useControls(e,d,h);return useContext(p,f,h,M,g,D,R),()=>createVNode("uni-video",{ref:r,id:e.id},[createVNode("div",{ref:i,class:"uni-video-container",onTouchstart:k,onTouchend:B,onTouchmove:H,onFullscreenchange:withModifiers(Y,["stop"]),onWebkitfullscreenchange:withModifiers((e=>Y(e,!0)),["stop"])},[createVNode("video",mergeProps({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onClick:W,onDurationchange:_,onLoadedmetadata:S,onProgress:v,onWaiting:y,onError:T,onPlay:C,onPause:b,onEnded:L,onTimeupdate:e=>{A(e),w(e)},onWebkitbeginfullscreen:()=>N(!0),onX5videoenterfullscreen:()=>N(!0),onWebkitendfullscreen:()=>N(!1),onX5videoexitfullscreen:()=>N(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onClick","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),withDirectives(createVNode("div",{class:"uni-video-bar uni-video-bar-full",onClick:withModifiers((()=>{}),["stop"])},[createVNode("div",{class:"uni-video-controls"},[withDirectives(createVNode("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:withModifiers(m,["stop"])},null,10,["onClick"]),[[vShow,e.showPlayBtn]]),createVNode("div",{class:"uni-video-current-time"},[formatTime(d.currentTime)]),createVNode("div",{ref:X,class:"uni-video-progress-container",onClick:withModifiers($,["stop"])},[createVNode("div",{class:"uni-video-progress"},[createVNode("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),createVNode("div",{ref:F,style:{left:d.progress+"%"},class:"uni-video-ball"},[createVNode("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),createVNode("div",{class:"uni-video-duration"},[formatTime(Number(e.duration)||d.duration)])]),withDirectives(createVNode("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":P.enable},onClick:withModifiers(I,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[vShow,e.danmuBtn]]),withDirectives(createVNode("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":x.fullscreen},onClick:withModifiers((()=>O(!x.fullscreen)),["stop"])},null,10,["onClick"]),[[vShow,e.showFullscreenBtn]])],8,["onClick"]),[[vShow,J.controlsShow]]),withDirectives(createVNode("div",{ref:E,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[vShow,d.start&&P.enable]]),J.centerPlayBtnShow&&createVNode("div",{class:"uni-video-cover",onClick:withModifiers((()=>{}),["stop"])},[createVNode("div",{class:"uni-video-cover-play-button",onClick:withModifiers(p,["stop"])},null,8,["onClick"]),createVNode("p",{class:"uni-video-cover-duration"},[formatTime(Number(e.duration)||d.duration)])],8,["onClick"]),createVNode("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===Z.gestureType}},[createVNode("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),createVNode("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[createVNode("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),createVNode("div",{class:"uni-video-toast-value"},[createVNode("div",{style:{width:100*Z.volumeNew+"%"},class:"uni-video-toast-value-content"},[createVNode("div",{class:"uni-video-toast-volume-grids"},[renderList(10,(()=>createVNode("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),createVNode("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===Z.gestureType}},[createVNode("div",{class:"uni-video-toast-title"},[formatTime(Z.currentTimeNew)," / ",formatTime(d.duration)])],2),createVNode("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id"])}});const ICON_PATH_LOCTAION="M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z",ICON_PATH_ORIGIN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",ICON_PATH_TARGET="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC";var MapType=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.UNKNOWN="",e))(MapType||{});function getMapInfo(){return __uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let IS_AMAP=!1,hasGetIsAMap=!1;const getIsAMap=()=>hasGetIsAMap?IS_AMAP:(hasGetIsAMap=!0,IS_AMAP="AMap"===getMapInfo().type);function createCallout(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",(()=>{this.callback()})),this.Text.setMap(t.map)}function r(){this.Text&&this.option.map.remove(this.Text)}class i{constructor(e={},i){this.createAMapText=o,this.removeAMapText=r,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const a=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(getIsAMap())this.callback=i,this.visible&&this.createAMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=a?"block":"none";const r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(r),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,getIsAMap()?this.visible&&this.createAMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!getIsAMap()){const t=new(e.OverlayView||e.Overlay);i.prototype.setMap=t.setMap,i.prototype.getMap=t.getMap,i.prototype.getPanes=t.getPanes,i.prototype.getProjection=t.getProjection,i.prototype.map_changed=t.map_changed,i.prototype.set=t.set,i.prototype.get=t.get,i.prototype.setOptions=t.setValues,i.prototype.bindTo=t.bindTo,i.prototype.bindsTo=t.bindsTo,i.prototype.notify=t.notify,i.prototype.setValues=t.setValues,i.prototype.unbind=t.unbind,i.prototype.unbindAll=t.unbindAll,i.prototype.addListener=t.addListener}return i}let maps;const callbacksMap={},GOOGLE_MAP_CALLBACKNAME="__map_callback__";function loadMaps(e,t){const n=getMapInfo();if(!n.key)return void console.error("Map key not configured.");const o=callbacksMap[n.type]=callbacksMap[n.type]||[];if(maps)t(maps);else if(window[n.type]&&window[n.type].maps)maps=getIsAMap()?window[n.type]:window[n.type].maps,maps.Callout=maps.Callout||createCallout(maps),t(maps);else if(o.length)o.push(t);else{o.push(t);const r=window,i=GOOGLE_MAP_CALLBACKNAME+n.type;r[i]=function(){delete r[i],maps=getIsAMap()?window[n.type]:window[n.type].maps,maps.Callout=createCallout(maps),o.forEach((e=>e(maps))),o.length=0},getIsAMap()&&handleAMapSecurityPolicy(n);const a=document.createElement("script");let s=getScriptBaseUrl(n.type);n.type===MapType.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),a.src=`${s}key=${n.key}&callback=${i}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const getScriptBaseUrl=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&"}[e]);function handleAMapSecurityPolicy(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}const props$e={id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}};function useMarkerLabelStyle(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),onUnmounted((()=>{n.remove()})),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),r=document.createElement("div");return Object.keys(o).forEach((e=>{r.style[e]=o[e]||""})),n.innerText=`.${t}{${r.getAttribute("style")}}`,t}}var MapMarker=defineSystemComponent({name:"MapMarker",props:props$e,setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=inject("onMapReady"),o=useMarkerLabelStyle(t);let r;function i(e){getIsAMap()?e.removeAMapText():e.setMap(null)}if(n(((n,a,s)=>{function l(e){const l=e.title,c=getIsAMap()?new a.LngLat(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude),u=new Image;u.onload=()=>{const d=e.anchor||{};let p,f,h,g,m="number"==typeof d.x?d.x:.5,_="number"==typeof d.y?d.y:1;e.iconPath&&(e.width||e.height)?(f=e.width||u.width/u.height*e.height,h=e.height||u.height/u.width*e.width):(f=u.width/2,h=u.height/2),g=h-(h-_*h),p="MarkerImage"in a?new a.MarkerImage(u.src,null,null,new a.Point(m*f,_*h),new a.Size(f,h)):"Icon"in a?new a.Icon({image:u.src,size:new a.Size(f,h),imageSize:new a.Size(f,h),imageOffset:new a.Pixel(m*f,_*h)}):{url:u.src,anchor:new a.Point(m,_),size:new a.Size(f,h)},r.setPosition(c),r.setIcon(p),"setRotation"in r&&r.setRotation(e.rotate||0);const S=e.label||{};let v;if("label"in r&&(r.label.setMap(null),delete r.label),S.content){const e={borderColor:S.borderColor,borderWidth:(Number(S.borderWidth)||0)+"px",padding:(Number(S.padding)||0)+"px",borderRadius:(Number(S.borderRadius)||0)+"px",backgroundColor:S.bgColor,color:S.color,fontSize:(S.fontSize||14)+"px",lineHeight:(S.fontSize||14)+"px",marginLeft:(Number(S.anchorX||S.x)||0)+"px",marginTop:(Number(S.anchorY||S.y)||0)+"px"};if("Label"in a)v=new a.Label({position:c,map:n,clickable:!1,content:S.content,style:e}),r.label=v;else if("setLabel"in r)if(getIsAMap()){const t=`<div style="\n margin-left:${e.marginLeft};\n margin-top:${e.marginTop};\n padding:${e.padding};\n background-color:${e.backgroundColor};\n border-radius:${e.borderRadius};\n line-height:${e.lineHeight};\n color:${e.color};\n font-size:${e.fontSize};\n\n ">\n ${S.content}\n <div>`;r.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);r.setLabel({text:S.content,color:e.color,fontSize:e.fontSize,className:t})}}const y=e.callout||{};let T,C=r.callout;if(y.content||l){const o="0px 0px 3px 1px rgba(0,0,0,0.5)";if(T=y.content?{position:c,map:n,top:g,offsetY:-e.height/2,content:y.content,color:y.color,fontSize:y.fontSize,borderRadius:y.borderRadius,bgColor:y.bgColor,padding:y.padding,boxShadow:y.boxShadow||o,display:y.display}:{position:c,map:n,top:g,offsetY:-e.height/2,content:l,boxShadow:o},C)C.setOption(T);else if(getIsAMap()){const e=e=>{""!==e&&s("callouttap",{},{markerId:Number(e)})};C=r.callout=new a.Callout(T,e)}else C=r.callout=new a.Callout(T),C.div.onclick=function(e){""!==t&&s("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},getMapInfo().type===MapType.GOOGLE&&(C.div.ontouchstart=function(e){e.stopPropagation()},C.div.onpointerdown=function(e){e.stopPropagation()})}else C&&(i(C),delete r.callout)},e.iconPath?u.src=getRealPath(e.iconPath):console.error("Marker.iconPath is required.")}var c;c=e,r=new a.Marker({map:n,flat:!0,autoRotation:!1}),l(c),(a.event||a.Event).addListener(r,"click",(()=>{const e=r.callout;if(e&&!e.alwaysVisible)if(getIsAMap())e.visible=!e.visible,e.visible?r.callout.createAMapText():r.callout.removeAMapText();else if(e.set("visible",!e.visible),e.visible){const t=e.div,n=t.parentNode;n.removeChild(t),n.appendChild(t)}t&&s("markertap",{},{markerId:Number(t),latitude:c.latitude,longitude:c.longitude})})),watch(e,l)})),t){const e=inject("addMapChidlContext"),o=inject("removeMapChidlContext"),i={id:t,translate(e){n(((t,n,o)=>{const i=e.destination,a=e.duration,s=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in r&&(c=r.getRotation());const u=r.getPosition(),d=new n.LatLng(i.latitude,i.longitude),p=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof a?a:1e3)/36e5),f=n.event||n.Event,h=f.addListener(r,"moving",(e=>{const t=e.latLng,n=r.label;n&&n.setPosition(t);const o=r.callout;o&&o.setPosition(t)})),g=f.addListener(r,"moveend",(()=>{g.remove(),h.remove(),r.lastPosition=u,r.setPosition(d);const t=r.label;t&&t.setPosition(d);const n=r.callout;n&&n.setPosition(d);const o=e.animationEnd;isFunction(o)&&o()}));let m=0;s&&(r.lastPosition&&(m=n.geometry.spherical.computeHeading(r.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-m),"setRotation"in r&&r.setRotation(c+l),"moveTo"in r?r.moveTo(d,p):(r.setPosition(d),f.trigger(r,"moveend",{}))}))}};e(i),onUnmounted((()=>o(i)))}return onUnmounted((function(){r&&(r.label&&"setMap"in r.label&&r.label.setMap(null),r.callout&&i(r.callout),r.setMap(null))})),()=>null}});function hexToRgba(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,r,i,a]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(r,16),c=parseInt(i,16);return a?{r:s,g:l,b:c,a:(`0x100${a}`-65536)/255}:{r:s,g:l,b:c,a:1}}const props$d={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}};var MapPolyline=defineSystemComponent({name:"MapPolyline",props:props$d,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return inject("onMapReady")(((r,i)=>{function a(e){const o=[];e.points.forEach((e=>{const t=getIsAMap()?[e.longitude,e.latitude]:new i.LatLng(e.latitude,e.longitude);o.push(t)}));const a=Number(e.width)||1,{r:s,g:l,b:c,a:u}=hexToRgba(e.color),{r:d,g:p,b:f,a:h}=hexToRgba(e.borderColor),g={map:r,clickable:!1,path:o,strokeWeight:a,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,_={map:r,clickable:!1,path:o,strokeWeight:a+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(s,l,c,u),_.strokeColor=new i.Color(d,p,f,h)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,_.strokeColor=`rgb(${d}, ${p}, ${f})`,_.strokeOpacity=h),m&&(n=new i.Polyline(_)),t=new i.Polyline(g)}a(e),watch(e,(function(e){o(),a(e)}))})),onUnmounted(o),()=>null}});const props$c={latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}};var MapCircle=defineSystemComponent({name:"MapCircle",props:props$c,setup(e){let t;function n(){t&&t.setMap(null)}return inject("onMapReady")(((o,r)=>{function i(e){const n=getIsAMap()?[e.longitude,e.latitude]:new r.LatLng(e.latitude,e.longitude),i={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(getIsAMap())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:o,a:a}=hexToRgba(e.fillColor),{r:s,g:l,b:c,a:u}=hexToRgba(e.color);"Color"in r?(i.fillColor=new r.Color(t,n,o,a),i.strokeColor=new r.Color(s,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${o})`,i.fillOpacity=a,i.strokeColor=`rgb(${s}, ${l}, ${c})`,i.strokeOpacity=u)}t=new r.Circle(i),getIsAMap()&&o.add(t)}i(e),watch(e,(function(e){n(),i(e)}))})),onUnmounted(n),()=>null}});const props$b={id:{type:[Number,String],default:""},position:{type:Object,require:!0},iconPath:{type:String,require:!0},clickable:{type:[Boolean,String],default:""},rootRef:{type:Object,default:null}};var MapControl=defineSystemComponent({name:"MapControl",props:props$b,setup(e){let t;function n(){t&&t.remove()}return inject("onMapReady")(((o,r,i)=>{function a(n){t=document.createElement("div");const o=t.style;o.position="absolute",o.width="0",o.height="0",o.top="0",o.left="0";const r=new Image;r.src=getRealPath(n.iconPath),r.onload=()=>{const o=n.position||{};o.width&&(r.width=n.position.width),o.height&&(r.height=n.position.height);const i=r.style;i.position="absolute",i.left=(o.left||0)+"px",i.top=(o.top||0)+"px",i.maxWidth="initial",t.appendChild(r),e.rootRef.value&&e.rootRef.value.appendChild(t)},r.onclick=function(e){n.clickable&&i("controltap",e,{controlId:n.id})}}a(e),watch(e,(function(e){n(),a(e)}))})),onUnmounted(n),()=>null}});const initInnerAudioContextEventOnce=once((()=>{innerAudioContextEventNames.forEach((e=>{InnerAudioContext.prototype[e]=function(t){isFunction(t)&&this._events[e].push(t)}})),innerAudioContextOffEventNames.forEach((e=>{InnerAudioContext.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class InnerAudioContext{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach((t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=getRealPath(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},innerAudioContextEventNames.forEach((e=>{this._events[e]=[]})),e.addEventListener("loadedmetadata",(()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)}));var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach((n=>{e.addEventListener(n.toLowerCase(),(()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach((e=>{e()}))}),!1)})),initInnerAudioContextEventOnce()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((e=>{e()}))}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const createInnerAudioContext=defineSyncApi(API_CREATE_INNER_AUDIO_CONTEXT,(()=>new InnerAudioContext)),UUID_KEY$1="__DC_STAT_UUID",storage=window.localStorage||window.sessionStorage||{};let deviceId;function deviceId$1(){if(deviceId=deviceId||storage[UUID_KEY$1],!deviceId){deviceId=Date.now()+""+Math.floor(1e7*Math.random());try{storage[UUID_KEY$1]=deviceId}catch(e){}}return deviceId}function IEVersion(){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}function getBrowserInfo(){let e,t="0",n="",o="phone";const r=navigator.language;if(isIOS$1){e="iOS";const o=ua.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=ua.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(isAndroid){e="Android";const o=ua.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=ua.match(/\((.+?)\)/),i=r?r[1].split(";"):ua.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(isIPadOS)n="iPad",e="iOS",o="pad",t=isFunction(window.BigInt)?"14.0":"13.0";else if(isWindows||isMac||isLinux){n="PC",e="PC",o="pc",t="0";let r=ua.match(/\((.+?)\)/)[1];if(isWindows){switch(e="Windows",isWindows[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(isMac){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(isLinux){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,a=e.toLocaleLowerCase();let s="",l=String(IEVersion());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(ua)&&(s=t[n],l=ua.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:a,browserName:s.toLocaleLowerCase(),browserVersion:l,language:r,deviceType:o,ua:ua,osname:e,osversion:t,theme:void 0}}const getWindowInfo=defineSyncApi("getWindowInfo",(()=>{const e=window.devicePixelRatio,t=getScreenFix(),n=isLandscape(t),o=getScreenWidth(t,n),r=getScreenHeight(t,n),i=getWindowWidth(o);let a=window.innerHeight;const s=out.top,l={left:out.left,right:i-out.right,top:out.top,bottom:a-out.bottom,width:i-out.left-out.right,height:a-out.top-out.bottom},{top:c,bottom:u}=getWindowOffset();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:out.top,right:out.right,bottom:out.bottom,left:out.left},screenTop:r-a}}));let browserInfo,_initBrowserInfo=!0;function initBrowserInfo(){_initBrowserInfo&&(browserInfo=getBrowserInfo())}const getDeviceInfo=defineSyncApi("getDeviceInfo",(()=>{initBrowserInfo();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s}=browserInfo;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:deviceId$1(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i}})),getAppBaseInfo=defineSyncApi("getAppBaseInfo",(()=>{initBrowserInfo();const{theme:e,language:t,browserName:n,browserVersion:o}=browserInfo;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:getLocale?getLocale():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:""}})),getSystemInfoSync=defineSyncApi("getSystemInfoSync",(()=>{_initBrowserInfo=!0,initBrowserInfo(),_initBrowserInfo=!1;const e=getWindowInfo(),t=getDeviceInfo(),n=getAppBaseInfo();_initBrowserInfo=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=browserInfo,l=extend$1(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,delete l.theme,sortObject(l)})),getSystemInfo=defineAsyncApi("getSystemInfo",((e,{resolve:t})=>t(getSystemInfoSync())));function getConnection(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const getNetworkType=defineAsyncApi("getNetworkType",((e,{resolve:t})=>{const n=getConnection();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})}));let listener$1=null;const onAccelerometerChange=defineOnApi(API_ON_ACCELEROMETER,(()=>{startAccelerometer()})),startAccelerometer=defineAsyncApi(API_START_ACCELEROMETER,((e,{resolve:t,reject:n})=>{if(window.DeviceMotionEvent){if(!listener$1){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){listener$1=function(e){const t=e.acceleration||e.accelerationIncludingGravity;UniServiceJSBridge$1.invokeOnCallback(API_ON_ACCELEROMETER,{x:t&&t.x||0,y:t&&t.y||0,z:t&&t.z||0})},window.addEventListener("devicemotion",listener$1,!1)}})),stopAccelerometer=defineAsyncApi(API_STOP_ACCELEROMETER,((e,{resolve:t})=>{listener$1&&(window.removeEventListener("devicemotion",listener$1,!1),listener$1=null),t()}));let listener=null;const onCompassChange=defineOnApi(API_ON_COMPASS,(()=>{startCompass()})),offCompassChange=defineOffApi(API_OFF_COMPASS,(()=>{stopCompass()})),startCompass=defineAsyncApi(API_START_COMPASS,((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!listener){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){listener=function(e){const t=360-(null!==e.alpha?e.alpha:360);UniServiceJSBridge$1.invokeOnCallback(API_ON_COMPASS,{direction:t})},window.addEventListener("deviceorientation",listener,!1)}})),stopCompass=defineAsyncApi(API_STOP_COMPASS,((e,{resolve:t})=>{listener&&(window.removeEventListener("deviceorientation",listener,!1),listener=null),t()})),setClipboardData=defineAsyncApi(API_SET_CLIPBOARD_DATA,(async({data:e},{resolve:t,reject:n})=>{try{await navigator.clipboard.writeText(e),t()}catch(o){_setClipboardData(e,t,n)}}),SetClipboardDataProtocol,SetClipboardDataOptions);function _setClipboardData(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}const STORAGE_KEYS="uni-storage-keys";function parseValue(e){const t=["object","string","number","boolean","undefined"];try{const n=isString(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){}}const setStorageSync=defineSyncApi(API_SET_STORAGE_SYNC,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),setStorage=defineAsyncApi(API_SET_STORAGE,(({key:e,data:t},{resolve:n,reject:o})=>{try{setStorageSync(e,t),n()}catch(r){o(r.message)}}));function getStorageOrigin(e){const t=localStorage&&localStorage.getItem(e);if(!isString(t))throw new Error("data not found");let n=t;try{const e=parseValue(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const getStorageSync=defineSyncApi(API_GET_STORAGE_SYNC,((e,t)=>{try{return getStorageOrigin(e)}catch(n){return""}})),getStorage=defineAsyncApi(API_GET_STORAGE,(({key:e},{resolve:t,reject:n})=>{try{t({data:getStorageOrigin(e)})}catch(o){n(o.message)}})),removeStorageSync=defineSyncApi(API_REMOVE_STORAGE,(e=>{localStorage&&localStorage.removeItem(e)})),getStorageInfoSync=defineSyncApi("getStorageInfoSync",(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let o=0;o<e;o++){const e=localStorage.key(o),r=localStorage.getItem(e)||"";n+=e.length+r.length,e!==STORAGE_KEYS&&t.push(e)}return{keys:t,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE}})),getStorageInfo=defineAsyncApi("getStorageInfo",((e,{resolve:t})=>{t(getStorageInfoSync())})),openDocument=defineAsyncApi(API_OPEN_DOCUMENT,(({filePath:e},{resolve:t})=>(window.open(e),t())),OpenDocumentProtocol,OpenDocumentOptions),MIMEType={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"}},ALL="all";function isWXEnv(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}function _createInput({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",updateElementStyle(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if(n!==ALL){const t=e.replace(".","");return`${n}/${MIMEType[n][t]||t}`}return isWXEnv()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),n!==ALL&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}addInteractListener();let imageInput=null;const chooseImage=defineAsyncApi(API_CHOOSE_IMAGE,(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{initI18nChooseFileMsgsOnce();const{t:i}=useI18n();imageInput&&(document.body.removeChild(imageInput),imageInput=null),imageInput=_createInput({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(imageInput),imageInput.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||fileToUrl(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),imageInput.click(),getInteractStatus()||console.warn(i("uni.chooseFile.notUserActivation"))}),ChooseImageProtocol,ChooseImageOptions),KEY_MAPS={esc:["Esc","Escape"],enter:["Enter"]},KEYS=Object.keys(KEY_MAPS);function useKeyboard(){const e=ref(""),t=ref(!1),n=n=>{if(t.value)return;const o=KEYS.find((e=>-1!==KEY_MAPS[e].indexOf(n.key)));o&&(e.value=o),nextTick((()=>e.value=""))};return onMounted((()=>{document.addEventListener("keyup",n)})),onBeforeUnmount((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const VNODE_MASK=createVNode("div",{class:"uni-mask"},null,-1);function createRootApp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),createApp$1(defineComponent({setup:()=>()=>(openBlock(),createBlock(e,t,null,16))}))}function ensureRoot(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function usePopup(e,{onEsc:t,onEnter:n}){const o=ref(e.visible),{key:r,disable:i}=useKeyboard();return watch((()=>e.visible),(e=>o.value=e)),watch((()=>o.value),(e=>i.value=!e)),watchEffect((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let index$d=0,overflow="";function preventScroll(e){let t=index$d;index$d+=e?1:-1,index$d=Math.max(0,index$d),index$d>0?0===t&&(overflow=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=overflow,overflow="")}function usePreventScroll(){onMounted((()=>preventScroll(!0))),onUnmounted((()=>preventScroll(!1)))}const props$a={src:{type:String,default:""}};var ImageView=defineSystemComponent({name:"ImageView",props:props$a,setup(e){const t=reactive({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,l=n*r>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return createVNode(MovableArea,{style:n,onTouchstart:withWebEvent(c),onTouchmove:withWebEvent(d),onTouchend:withWebEvent(u)},{default:()=>[createVNode(MovableView,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[createVNode("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 _isSlot$2(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const props$9={urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}};function getIndex(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}var ImagePreview=defineSystemComponent({name:"ImagePreview",props:props$9,emits:["close"],setup(e,{emit:t}){usePreventScroll();const n=ref(null),o=ref(getIndex(e));let r;function i(){r||nextTick((()=>{t("close")}))}function a(e){o.value=e.detail.current}return watch((()=>e.current),(()=>o.value=getIndex(e))),onMounted((()=>{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 createVNode("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},[createVNode(Swiper,{current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},_isSlot$2(t=e.urls.map((e=>createVNode(SwiperItem,null,{default:()=>[createVNode(ImageView,{src:e},null,8,["src"])]}))))?t:{default:()=>[t],_:1},8,["current","onChange"])],8,["onClick"])}}});let state$2=null,imagePreviewInstance;const closePreviewImageView=()=>{state$2=null,nextTick((()=>{null==imagePreviewInstance||imagePreviewInstance.unmount(),imagePreviewInstance=null}))},previewImage=defineAsyncApi(API_PREVIEW_IMAGE,((e,{resolve:t})=>{state$2?extend$1(state$2,e):(state$2=reactive(e),nextTick((()=>{imagePreviewInstance=createRootApp(ImagePreview,state$2,closePreviewImageView),imagePreviewInstance.mount(ensureRoot("u-a-p"))}))),t()}),PreviewImageProtocol,PreviewImageOptions);let videoInput=null;const chooseVideo=defineAsyncApi(API_CHOOSE_VIDEO,(({sourceType:e,extension:t},{resolve:n,reject:o})=>{initI18nChooseFileMsgsOnce();const{t:r}=useI18n();videoInput&&(document.body.removeChild(videoInput),videoInput=null),videoInput=_createInput({sourceType:e,extension:t,type:"video"}),document.body.appendChild(videoInput),videoInput.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const r={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(r,"tempFilePath",{get(){return o=o||fileToUrl(this.tempFile),o}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=fileToUrl(t);i.onloadedmetadata=function(){revokeObjectURL(e),n(extend$1(r,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,revokeObjectURL(e),n(r)}),300),i.src=e}else n(r)})),videoInput.click(),getInteractStatus()||console.warn(r("uni.chooseFile.notUserActivation"))}),ChooseVideoProtocol,ChooseVideoOptions),request$1=defineTaskApi(API_REQUEST,(({url:e,data:t,header:n,method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=normalizeContentType(n);if("GET"!==o)if(isString(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)hasOwn$1(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,f=new RequestTask(p);p.open(o,e);for(const m in n)hasOwn$1(n,m)&&p.setRequestHeader(m,n[m]);const h=setTimeout((function(){p.onload=p.onabort=p.onerror=null,f.abort(),c("timeout")}),s);return p.responseType=i,p.onload=function(){clearTimeout(h);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:parseHeaders(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(h),c("abort")},p.onerror=function(){clearTimeout(h),c()},p.withCredentials=a,p.send(u),f}),RequestProtocol,RequestOptions);function normalizeContentType(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];return 0===n.indexOf("application/json")?"json":0===n.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string"}class RequestTask{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 parseHeaders(e){const t={};return e.split(LINEFEED).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class DownloadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const downloadFile$1=defineTaskApi(API_DOWNLOAD_FILE,(({url:e,header:t,timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new DownloadTask(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||getFileName(e),o({statusCode:t,tempFilePath:fileToUrl(n)})},a.onabort=function(){clearTimeout(i),r("abort")},a.onerror=function(){clearTimeout(i),r()},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout")}),n),s}),DownloadFileProtocol,DownloadFileOptions);class UploadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction(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 uploadFile$1=defineTaskApi(API_UPLOAD_FILE,(({url:e,file:t,filePath:n,name:o,files:r,header:i,formData:a,timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new UploadTask;return isArray$1(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(blobToFile(e)):urlToFile(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c()},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")}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),UploadFileProtocol,UploadFileOptions);let index$c=0;function getJSONP(e,t,n,o){var r,i=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+index$c++,l=t.timeout||3e4;function c(){clearTimeout(r),delete window[s],i.remove()}window[s]=e=>{isFunction(n)&&n(e),c()},i.onerror=()=>{isFunction(o)&&o(),c()},r=setTimeout((function(){isFunction(o)&&o(),c()}),l),i.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(i)}const getLocation=defineAsyncApi(API_GET_LOCATION,(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:r,reject:i})=>{const a=getMapInfo();new Promise(((e,r)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition((t=>e(t.coords)),r,{enableHighAccuracy:o||t,timeout:n||1e5}):r(new Error("device nonsupport geolocation"))})).catch((e=>new Promise(((t,n)=>{a.type===MapType.QQ?getJSONP(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},(e=>{if("result"in e&&e.result.location){const n=e.result.location;t({latitude:n.lat,longitude:n.lng},!0)}else n(new Error(e.message||JSON.stringify(e)))}),(()=>n(new Error("network error")))):a.type===MapType.GOOGLE?request$1({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):n(e)})))).then(((t,n)=>{const o=[MapType.GOOGLE];return e&&"WGS84"===e.toUpperCase()||o.includes(a.type)||n?t:a.type===MapType.QQ?new Promise((e=>{getJSONP(`https://apis.map.qq.com/jsapi?qt=translate&type=1&points=${t.longitude},${t.latitude}&key=${a.key}&output=jsonp&pf=jsapi&ref=jsapi`,{callback:"cb"},(n=>{if("detail"in n&&"points"in n.detail&&n.detail.points.length){const o=n.detail.points[0];e(extend$1({},t,{longitude:o.lng,latitude:o.lat}))}else e(t)}),(()=>e(t)))})):a.type===MapType.AMAP?new Promise((e=>{loadMaps([],(()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",((n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:r}=o.locations[0];e(extend$1({},t,{longitude:r,latitude:n}))}else e(t)}))}))})):void 0})).then((e=>{r({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})})).catch((e=>{i(e.message)}))}),GetLocationProtocol,GetLocationOptions),ICON_PATH_NAV="M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z",props$8={latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}};function useState$2(e){const t=reactive({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:ICON_PATH_TARGET,width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:ICON_PATH_ORIGIN,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return watch([()=>e.latitude,()=>e.longitude],n),n(),t}var LocationView=defineSystemComponent({name:"LocationView",props:props$8,emits:["close"],setup(e,{emit:t}){const n=useState$2(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function r(){const t=getMapInfo();let o="";if(t.type===MapType.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===MapType.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}`:""}&tocoord=${e.latitude}%2C${e.longitude}&from=${encodeURIComponent("我的位置")}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else t.type===MapType.AMAP&&(o=`https://m.amap.com/navi/?dest=${e.longitude},${e.latitude}&key=${t.key}`,e.name&&(o+=`&destName=${e.name}`));window.open(o)}function i(){t("close")}function a({latitude:e,longitude:t}){n.location.latitude=e,n.location.longitude=t,s({latitude:e,longitude:t})}function s({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}function l(){getLocation({type:"gcj02",success:a,fail:()=>{}})}return usePreventScroll(),()=>createVNode("div",{class:"uni-system-open-location"},[createVNode(Map$1,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[createVNode("div",{class:"map-move",onClick:l},[createSvgIconVNode(ICON_PATH_LOCTAION,"#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),createVNode("div",{class:"info"},[createVNode("div",{class:"name",onClick:()=>s(n.marker)},[e.name],8,["onClick"]),createVNode("div",{class:"address",onClick:()=>s(n.marker)},[e.address],8,["onClick"]),createVNode("div",{class:"nav",onClick:r},[createSvgIconVNode(ICON_PATH_NAV,"#ffffff",26)],8,["onClick"])]),createVNode("div",{class:"nav-btn-back",onClick:i},[createSvgIconVNode(ICON_PATH_BACK,"#ffffff",26)],8,["onClick"])])}});let state$1=null;const openLocation=defineAsyncApi(API_OPEN_LOCATION,((e,{resolve:t})=>{state$1?extend$1(state$1,e):(state$1=reactive(e),nextTick((()=>{const e=createRootApp(LocationView,state$1,(()=>{state$1=null,nextTick((()=>{e.unmount()}))}));e.mount(ensureRoot("u-a-o"))}))),t()}),OpenLocationProtocol,OpenLocationOptions);function _isSlot$1(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const props$7={latitude:{type:Number},longitude:{type:Number}};function distance(e){return e>100?`${e>1e3?(e/1e3).toFixed(1)+"k":e.toFixed(0)}m | `:e>0?"<100m | ":""}function useState$1(e){const t=reactive({latitude:0,longitude:0,keyword:"",searching:!1});function n(){e.latitude&&e.longitude&&(t.latitude=e.latitude,t.longitude=e.longitude)}return watch([()=>e.latitude,()=>e.longitude],n),n(),t}function useList(e){const t=__uniConfig.qqMapKey,n=reactive([]),o=ref(-1),r=computed$1((()=>n[o.value])),i=reactive({loading:!0,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:o,selected:r}),a=ref(""),s=computed$1((()=>a.value?`region(${a.value},1,${e.latitude},${e.longitude})`:`nearby(${e.latitude},${e.longitude},5000)`));function l(e){e.forEach((e=>{n.push({name:e.title,address:e.address,distance:e._distance||e.distance,latitude:e.location.lat,longitude:e.location.lng})}))}function c(){i.loading=!0;const o=getMapInfo();if(o.type===MapType.GOOGLE){if(i.pageIndex>1&&i.nextPage)return void i.nextPage();new google.maps.places.PlacesService(document.createElement("div"))[e.searching?"textSearch":"nearbySearch"]({location:{lat:e.latitude,lng:e.longitude},query:e.keyword,radius:5e3},((e,t,o)=>{i.loading=!1,e&&e.length&&e.forEach((e=>{n.push({name:e.name||"",address:e.vicinity||e.formatted_address||"",distance:0,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng()})})),o&&(o.hasNextPage?i.nextPage=()=>{o.nextPage()}:i.hasNextPage=!1)}))}else if(o.type===MapType.QQ){getJSONP(e.searching?`https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=${t}&boundary=${s.value}&keyword=${e.keyword}&page_size=${i.pageSize}&page_index=${i.pageIndex}`:`https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=${t}&location=${e.latitude},${e.longitude}&get_poi=1&poi_options=page_size=${i.pageSize};page_index=${i.pageIndex}`,{callback:"callback"},(t=>{if(i.loading=!1,e.searching&&"data"in t&&t.data.length)l(t.data);else if("result"in t){const e=t.result;a.value=e.ad_info?e.ad_info.adcode:"",e.pois&&l(e.pois)}n.length===i.pageSize*i.pageIndex&&(i.hasNextPage=!1)}),(()=>{i.loading=!1}))}else o.type===MapType.AMAP&&window.AMap.plugin("AMap.PlaceSearch",(function(){const t=new window.AMap.PlaceSearch({city:"全国",pageSize:10,pageIndex:i.pageIndex}),n=e.searching?e.keyword:"",o=e.searching?5e4:5e3;t.searchNearBy(n,[e.longitude,e.latitude],o,(function(e,t){"error"===e?console.error(t):"no_data"===e?i.hasNextPage=!1:l(t.poiList.pois)})),i.loading=!1}))}return{listState:i,list:n,loadMore:function(){!i.loading&&i.hasNextPage&&(i.pageIndex++,c())},reset:function(){i.selectedIndex=-1,i.pageIndex=1,i.hasNextPage=!0,i.nextPage=null,n.splice(0,n.length)},getList:c}}var LoctaionPicker=defineSystemComponent({name:"LoctaionPicker",props:props$7,emits:["close"],setup(e,{emit:t}){usePreventScroll(),initI18nChooseLocationMsgsOnce();const{t:n}=useI18n(),o=useState$1(e),{list:r,listState:i,loadMore:a,reset:s,getList:l}=useList(o),c=debounce((()=>{s(),o.keyword&&l()}),1e3,{setTimeout:setTimeout,clearTimeout:clearTimeout});function u(e){o.keyword=e.detail.value,c()}function d(){t("close",extend$1({},i.selected))}function p(){t("close")}function f(e){const t=e.detail.centerLocation;t&&g(t)}function h(){getLocation({type:"gcj02",success:g,fail:()=>{}})}function g({latitude:e,longitude:t}){o.latitude=e,o.longitude=t,o.searching||(s(),l())}return watch((()=>o.searching),(e=>{s(),e||l()})),o.latitude&&o.longitude||h(),()=>{const e=r.map(((e,t)=>createVNode("div",{key:t,class:{"list-item":!0,selected:i.selectedIndex===t},onClick:()=>{i.selectedIndex=t,o.latitude=e.latitude,o.longitude=e.longitude}},[createSvgIconVNode(ICON_PATH_CONFIRM,"#007aff",24),createVNode("div",{class:"list-item-title"},[e.name]),createVNode("div",{class:"list-item-detail"},[distance(e.distance),e.address])],10,["onClick"])));return i.loading&&e.unshift(createVNode("div",{class:"list-loading"},[createVNode("i",{class:"uni-loading"},null)])),createVNode("div",{class:"uni-system-choose-location"},[createVNode(Map$1,{latitude:o.latitude,longitude:o.longitude,class:"map","show-location":!0,libraries:["places"],onUpdated:l,onRegionchange:f},{default:()=>[createVNode("div",{class:"map-location",style:`background-image: url("${ICON_PATH_TARGET}")`},null),createVNode("div",{class:"map-move",onClick:h},[createSvgIconVNode(ICON_PATH_LOCTAION,"#000000",24)],8,["onClick"])],_:1},8,["latitude","longitude","show-location","onUpdated","onRegionchange"]),createVNode("div",{class:"nav"},[createVNode("div",{class:"nav-btn back",onClick:p},[createSvgIconVNode(ICON_PATH_CLOSE,"#ffffff",26)],8,["onClick"]),createVNode("div",{class:{"nav-btn":!0,confirm:!0,disable:!i.selected},onClick:d},[createSvgIconVNode(ICON_PATH_CONFIRM,"#ffffff",26)],10,["onClick"])]),createVNode("div",{class:"menu"},[createVNode("div",{class:"search"},[createVNode(Input,{value:o.keyword,class:"search-input",placeholder:n("uni.chooseLocation.search"),onFocus:()=>o.searching=!0,onInput:u},null,8,["value","placeholder","onFocus","onInput"]),o.searching&&createVNode("div",{class:"search-btn",onClick:()=>{o.searching=!1,o.keyword=""}},[n("uni.chooseLocation.cancel")],8,["onClick"])]),createVNode(ScrollView,{"scroll-y":!0,class:"list",onScrolltolower:a},_isSlot$1(e)?e:{default:()=>[e],_:2},8,["scroll-y","onScrolltolower"])])])}}});let state=null;const chooseLocation=defineAsyncApi(API_CHOOSE_LOCATION,((e,{resolve:t,reject:n})=>{state?n("cancel"):(state=reactive(e),nextTick((()=>{const e=createRootApp(LoctaionPicker,state,(o=>{state=null,nextTick((()=>{e.unmount()})),o?t(o):n("cancel")}));e.mount(ensureRoot("u-a-c"))})))})),navigateBack=defineAsyncApi(API_NAVIGATE_BACK,((e,{resolve:t,reject:n})=>{let o=!0;return!0===invokeHook(ON_BACK_PRESS,{from:e.from||"navigateBack"})&&(o=!1),o?(getApp$1().$router.go(-e.delta),t()):n(ON_BACK_PRESS)}),NavigateBackProtocol,NavigateBackOptions);function navigate({type:e,url:t,events:n},o){const r=getApp$1().$router,{path:i,query:a}=parseUrl(t);return new Promise(((t,s)=>{const l=createPageState(e,o);r["navigateTo"===e?"push":"replace"]({path:i,query:a,state:l,force:!0}).then((o=>{if(isNavigationFailure(o))return s(o.message);if("navigateTo"===e){const e=new EventChannel(l.__id__,n);return r.currentRoute.value.meta.eventChannel=e,t({eventChannel:e})}return t()}))}))}const navigateTo=defineAsyncApi(API_NAVIGATE_TO,(({url:e,events:t},{resolve:n,reject:o})=>navigate({type:API_NAVIGATE_TO,url:e,events:t}).then(n).catch(o)),NavigateToProtocol,NavigateToOptions);function removeLastPage(){const e=getCurrentPage();if(!e)return;const t=e.$page;removePage(normalizeRouteKey(t.path,t.id))}const redirectTo=defineAsyncApi(API_REDIRECT_TO,(({url:e},{resolve:t,reject:n})=>(removeLastPage(),navigate({type:API_REDIRECT_TO,url:e}).then(t).catch(n))),RedirectToProtocol,RedirectToOptions);function removeAllPages(){const e=getCurrentPagesMap().keys();for(const t of e)removePage(t)}const reLaunch=defineAsyncApi(API_RE_LAUNCH,(({url:e},{resolve:t,reject:n})=>(removeAllPages(),navigate({type:API_RE_LAUNCH,url:e}).then(t).catch(n))),ReLaunchProtocol,ReLaunchOptions);function removeNonTabBarPages(){const e=getCurrentPageVm();if(!e)return;const t=getCurrentPagesMap(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:removePage(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,invokeHook(e,ON_HIDE))}function isSamePage(e,t){return e===t.fullPath}function getTabBarPageId(e){const t=getCurrentPagesMap().values();for(const n of t){const t=n.$page;if(isSamePage(e,t))return n.$.__isActive=!0,t.id}}const switchTab=defineAsyncApi(API_SWITCH_TAB,(({url:e},{resolve:t,reject:n})=>(removeNonTabBarPages(),navigate({type:API_SWITCH_TAB,url:e},getTabBarPageId(e)).then(t).catch(n))),SwitchTabProtocol,SwitchTabOptions),props$6={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:""}};var modal=defineComponent({props:props$6,setup(e,{emit:t}){const n=ref(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=usePopup(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}});return()=>{const{title:t,content:o,showCancel:s,confirmText:l,confirmColor:c,editable:u,placeholderText:d}=e;return n.value=o,createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-modal",{onTouchmove:onEventPrevent},[VNODE_MASK,createVNode("div",{class:"uni-modal"},[t&&createVNode("div",{class:"uni-modal__hd"},[createVNode("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),u?createVNode("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):createVNode("div",{class:"uni-modal__bd",onTouchmovePassive:onEventStop,textContent:o},null,40,["onTouchmovePassive","textContent"]),createVNode("div",{class:"uni-modal__ft"},[s&&createVNode("div",{style:{color:e.cancelColor},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),createVNode("div",{style:{color:c},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[l],12,["onClick"])])])],40,["onTouchmove"]),[[vShow,a.value]])]})}}});let showModalState;const onHidePopupOnce$1=once((()=>{UniServiceJSBridge$1.on("onHidePopup",(()=>showModalState.visible=!1))}));let currentShowModalResolve;function onModalClose(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&showModalState.editable&&(o.content=t),currentShowModalResolve&&currentShowModalResolve(o)}const showModal=defineAsyncApi(API_SHOW_MODAL,((e,{resolve:t})=>{onHidePopupOnce$1(),currentShowModalResolve=t,showModalState?(extend$1(showModalState,e),showModalState.visible=!0):(showModalState=reactive(e),nextTick((()=>(createRootApp(modal,showModalState,onModalClose).mount(ensureRoot("u-a-m")),nextTick((()=>showModalState.visible=!0))))))}),ShowModalProtocol,ShowModalOptions),props$5={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==SHOW_TOAST_ICON.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ToastIconClassName="uni-toast__icon";var Toast=defineComponent({name:"Toast",props:props$5,setup(e){initI18nShowToastMsgsOnce(),initI18nShowLoadingMsgsOnce();const{Icon:t}=useToastIcon(e),n=usePopup(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-toast",{"data-duration":r},[o?createVNode("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:onEventPrevent},null,40,["onTouchmove"]):"",a||t.value?createVNode("div",{class:"uni-toast"},[a?createVNode("img",{src:a,class:ToastIconClassName},null,10,["src"]):t.value,createVNode("p",{class:"uni-toast__content"},[i])]):createVNode("div",{class:"uni-sample-toast"},[createVNode("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[vShow,n.value]])]})}}});function useToastIcon(e){return{Icon:computed$1((()=>{switch(e.icon){case"success":return createVNode(createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,"#fff",38),{class:ToastIconClassName});case"error":return createVNode(createSvgIconVNode(ICON_PATH_WARN,"#fff",38),{class:ToastIconClassName});case"loading":return createVNode("i",{class:[ToastIconClassName,"uni-loading"]},null,2);default:return null}}))}}let showToastState,showType="",timeoutId;const scope=effectScope();function watchVisible(){scope.run((()=>{watch([()=>showToastState.visible,()=>showToastState.duration],(([e,t])=>{if(e){if(timeoutId&&clearTimeout(timeoutId),"onShowLoading"===showType)return;timeoutId=setTimeout((()=>{hidePopup("onHideToast")}),t)}else timeoutId&&clearTimeout(timeoutId)}))}))}function createToast(e){showToastState?extend$1(showToastState,e):(showToastState=reactive(extend$1(e,{visible:!1})),nextTick((()=>{watchVisible(),UniServiceJSBridge$1.on("onHidePopup",(()=>hidePopup("onHidePopup"))),createRootApp(Toast,showToastState,(()=>{})).mount(ensureRoot("u-a-t"))}))),setTimeout((()=>{showToastState.visible=!0}),10)}const showToast=defineAsyncApi(API_SHOW_TOAST,((e,{resolve:t,reject:n})=>{createToast(e),showType="onShowToast",t()}),ShowToastProtocol,ShowToastOptions),showLoadingDefaultState={icon:"loading",duration:1e8,image:""},showLoading=defineAsyncApi(API_SHOW_LOADING,((e,{resolve:t,reject:n})=>{extend$1(e,showLoadingDefaultState),createToast(e),showType="onShowLoading",t()}),ShowLoadingProtocol,ShowLoadingOptions),hideLoading=defineAsyncApi(API_HIDE_LOADING,((e,{resolve:t,reject:n})=>{hidePopup("onHideLoading"),t()}));function hidePopup(e){const{t:t}=useI18n();if(!showType)return;let n="";if("onHideToast"===e&&"onShowToast"!==showType?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==showType&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);showType="",setTimeout((()=>{showToastState.visible=!1}),10)}function usePopupStyle(e){const t=ref(0),n=ref(0),o=computed$1((()=>t.value>=500&&n.value>=500)),r=computed$1((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},r=t.content,i=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(o.value&&a){extend$1(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width),o=s(a.top),l=s(a.height),c=e+t/2;r.transform="none !important";const u=Math.max(0,c-150);r.left=`${u}px`;let d=Math.max(12,c-u);d=Math.min(288,d),i.left=`${d}px`;const p=n.value/2;o+l-p>p-o?(r.top="auto",r.bottom=n.value-o+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(r.top=`${o+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return onMounted((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:r}=getSystemInfoSync();t.value=e,n.value=o+(r||0)};window.addEventListener("resize",e),e(),onUnmounted((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:r}}const props$4={title:{type:String,default:""},itemList:{type:Array,default:()=>[]},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}};var actionSheet=defineComponent({name:"ActionSheet",props:props$4,emits:["close"],setup(e,{emit:t}){initI18nShowActionSheetMsgsOnce();const n=ref(260),o=ref(0),r=ref(0),i=ref(0),a=ref(0),s=ref(null),l=ref(null),{t:c}=useI18n(),{_close:u}=useActionSheetLoader(e,t),{popupStyle:d}=usePopupStyle(e);let p;function f(e){const t=i.value+e.deltaY;Math.abs(t)>10?(a.value+=t/3,a.value=a.value>=o.value?o.value:a.value<=0?0:a.value,p.scrollTo(a.value)):i.value=t,e.preventDefault()}return onMounted((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=useScroller(s.value,{enableY:!0,friction:new Friction(1e-4),spring:new Spring(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});p=e,useTouchtrack(s.value,(r=>{if(e)switch(r.detail.state){case"start":t(r);break;case"move":n(r);break;case"end":case"cancel":o(r)}}),!0)})),watch((()=>e.visible),(()=>{nextTick((()=>{e.title&&(r.value=document.querySelector(".uni-actionsheet__title").offsetHeight),p.update(),s.value&&(o.value=s.value.clientHeight-n.value),document.querySelectorAll(".uni-actionsheet__cell").forEach((e=>{initClick(e)}))}))})),()=>createVNode("uni-actionsheet",{onTouchmove:onEventPrevent},[createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[vShow,e.visible]])]}),createVNode("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[createVNode("div",{ref:l,class:"uni-actionsheet__menu",onWheel:f},[e.title?createVNode(Fragment,null,[createVNode("div",{class:"uni-actionsheet__cell",style:{height:`${r.value}px`}},null),createVNode("div",{class:"uni-actionsheet__title"},[e.title])]):"",createVNode("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[createVNode("div",{ref:s},[e.itemList.map(((t,n)=>createVNode("div",{key:n,style:{color:e.itemColor},class:"uni-actionsheet__cell",onClick:()=>u(n)},[t],12,["onClick"])))],512)])],40,["onWheel"]),createVNode("div",{class:"uni-actionsheet__action"},[createVNode("div",{style:{color:e.itemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),createVNode("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});function useActionSheetLoader(e,t){function n(e){t("close",e)}const{key:o,disable:r}=useKeyboard();return watch((()=>e.visible),(e=>r.value=!e)),watchEffect((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}function initClick(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=e.target,n=e.currentTarget,r=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t,currentTarget:n});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{r[e]=o[e]})),e.target.dispatchEvent(r)}}))}let resolveAction,rejectAction,showActionSheetState;const onHidePopupOnce=once((()=>{UniServiceJSBridge$1.on("onHidePopup",(()=>showActionSheetState.visible=!1))}));function onActionSheetClose(e){-1===e?rejectAction&&rejectAction("cancel"):resolveAction&&resolveAction({tapIndex:e})}const showActionSheet=defineAsyncApi(API_SHOW_ACTION_SHEET,((e,{resolve:t,reject:n})=>{onHidePopupOnce(),resolveAction=t,rejectAction=n,showActionSheetState?(extend$1(showActionSheetState,e),showActionSheetState.visible=!0):(showActionSheetState=reactive(e),nextTick((()=>(createRootApp(actionSheet,showActionSheetState,onActionSheetClose).mount(ensureRoot("u-s-a-s")),nextTick((()=>showActionSheetState.visible=!0))))))}),ShowActionSheetProtocol,ShowActionSheetOptions),loadFontFace=defineAsyncApi(API_LOAD_FONT_FACE,(({family:e,source:t,desc:n},{resolve:o,reject:r})=>{addFont(e,t,n).then((()=>{o()})).catch((e=>{r(`loadFontFace:fail ${e}`)}))}));function updateDocumentTitle(e){document.title=e,UniServiceJSBridge$1.emit(ON_NAVIGATION_BAR_CHANGE,{titleText:e})}function useDocumentTitle(e){function t(){updateDocumentTitle(e.navigationBar.titleText)}watchEffect(t),onActivated(t)}function setNavigationBar(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case API_SET_NAVIGATION_BAR_COLOR:const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case API_SHOW_NAVIGATION_BAR_LOADING:i.loading=!0;break;case API_HIDE_NAVIGATION_BAR_LOADING:i.loading=!1;break;case API_SET_NAVIGATION_BAR_TITLE:const{title:s}=n;i.titleText=s}o()}const setNavigationBarTitle=defineAsyncApi(API_SET_NAVIGATION_BAR_TITLE,((e,{resolve:t,reject:n})=>{setNavigationBar(getCurrentPageMeta(),API_SET_NAVIGATION_BAR_TITLE,e,t,n)})),pageScrollTo=defineAsyncApi(API_PAGE_SCROLL_TO,(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{scrollTo(t||e||0,n,!0),o()}),PageScrollToProtocol,PageScrollToOptions),stopPullDownRefresh=defineAsyncApi(API_STOP_PULL_DOWN_REFRESH,((e,{resolve:t})=>{UniServiceJSBridge$1.invokeViewMethod(API_STOP_PULL_DOWN_REFRESH,{},getCurrentPageId()),t()})),setTabBarItemProps=["text","iconPath","iconfont","selectedIconPath","visible"],setTabBarStyleProps=["color","selectedColor","backgroundColor","borderStyle"],setTabBarBadgeProps=["badge","redDot"];function setProperties(e,t,n){t.forEach((function(t){hasOwn$1(n,t)&&(e[t]=n[t])}))}function setTabBar(e,t,n){const o=useTabBar();switch(e){case API_SHOW_TAB_BAR:o.shown=!0;break;case API_HIDE_TAB_BAR:o.shown=!1;break;case API_SET_TAB_BAR_ITEM:const{index:e}=t,n=o.list[e],r=n.pagePath;setProperties(n,setTabBarItemProps,t);const{pagePath:i}=t;if(i){const t=addLeadingSlash(i);t!==r&&normalizeTabBarRoute(e,r,t)}break;case API_SET_TAB_BAR_STYLE:setProperties(o,setTabBarStyleProps,t);break;case API_SHOW_TAB_BAR_RED_DOT:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!0});break;case API_SET_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:t.text,redDot:!0});break;case API_HIDE_TAB_BAR_RED_DOT:case API_REMOVE_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!1})}n()}const removeTabBarBadge=defineAsyncApi(API_REMOVE_TAB_BAR_BADGE,((e,{resolve:t})=>{setTabBar(API_REMOVE_TAB_BAR_BADGE,e,t)}),RemoveTabBarBadgeProtocol,RemoveTabBarBadgeOptions),setTabBarBadge=defineAsyncApi(API_SET_TAB_BAR_BADGE,((e,{resolve:t})=>{setTabBar(API_SET_TAB_BAR_BADGE,e,t)}),SetTabBarBadgeProtocol,SetTabBarBadgeOptions),UNI_TABBAR_ICON_FONT="UniTabbarIconFont";var TabBar=defineSystemComponent({name:"TabBar",setup(){const e=ref([]),t=useTabBar();useVisibleList(t,e),useTabBarCssVar(t);const n=useSwitchTab(useRoute(),t,e),{style:o,borderStyle:r,placeholderStyle:i}=useTabBarStyle(t);return onMounted((()=>{t.iconfontSrc&&loadFontFace({family:UNI_TABBAR_ICON_FONT,source:`url("${t.iconfontSrc}")`})})),()=>{const a=createTabBarItemsTsx(t,n,e);return createVNode("uni-tabbar",{class:"uni-tabbar-"+t.position},[createVNode("div",{class:"uni-tabbar",style:o.value},[createVNode("div",{class:"uni-tabbar-border",style:r.value},null,4),a],4),createVNode("div",{class:"uni-placeholder",style:i.value},null,4)],2)}}});function useTabBarCssVar(e){watch((()=>e.shown),(t=>{updatePageCssVar({"--window-bottom":normalizeWindowBottom(t?parseInt(e.height):0)})}))}function useVisibleList(e,t){watchEffect((function(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}))}function useSwitchTab(e,t,n){return watchEffect((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,r=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=r}})),(t,n)=>()=>{const{pagePath:o,text:r}=t;let i=addLeadingSlash(o);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?switchTab({from:"tabBar",url:i}):invokeHook("onTabItemTap",{index:n,text:r,pagePath:o})}}const DEFAULT_BG_COLOR="#f7f7fa",BLUR_EFFECT_COLOR_DARK="rgb(0, 0, 0, 0.8)",BLUR_EFFECT_COLOR_LIGHT="rgb(250, 250, 250, 0.8)",BLUR_EFFECT_COLORS={dark:BLUR_EFFECT_COLOR_DARK,light:BLUR_EFFECT_COLOR_LIGHT,extralight:BLUR_EFFECT_COLOR_LIGHT},BORDER_COLORS={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function useTabBarStyle(e){return{style:computed$1((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||cssBackdropFilter&&n&&"none"!==n&&(t=BLUR_EFFECT_COLORS[n]),{backgroundColor:t||DEFAULT_BG_COLOR,backdropFilter:"none"!==n?"blur(10px)":n}})),borderStyle:computed$1((()=>{const{borderStyle:t}=e;return{backgroundColor:BORDER_COLORS[t]||t}})),placeholderStyle:computed$1((()=>({height:e.height})))}}function createTabBarItemsTsx(e,t,n){const{selectedIndex:o,selectedColor:r,color:i}=e;return n.value.map(((n,a)=>{const s=o===a;return createTabBarItemTsx(s?r:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}function createTabBarItemTsx(e,t,n,o,r,i,a,s){return createVNode("div",{key:a,class:"uni-tabbar__item",onClick:s(r,a)},[createTabBarItemBdTsx(e,t||"",n,o,r,i)],8,["onClick"])}function createTabBarItemBdTsx(e,t,n,o,r,i){const{height:a}=i;return createVNode("div",{class:"uni-tabbar__bd",style:{height:a}},[n?createTabBarItemIconfontTsx(n,o||BLUR_EFFECT_COLOR_DARK,r,i):t&&createTabBarItemIconTsx(t,r,i),r.text&&createTabBarItemTextTsx(e,r,i)],4)}function createTabBarItemIconTsx(e,t,n){const{type:o,text:r,redDot:i}=t,{iconWidth:a}=n;return createVNode("div",{class:"uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),style:{width:a,height:a}},["midButton"!==o&&createVNode("img",{src:getRealPath(e)},null,8,["src"]),i&&createTabBarItemRedDotTsx(t.badge)],6)}function createTabBarItemIconfontTsx(e,t,n,o){var r;const{type:i,text:a,redDot:s}=n,{iconWidth:l}=o,c="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),u={width:l,height:l},d={fontSize:(null==(r=n.iconfont)?void 0:r.fontSize)||l,color:t};return createVNode("div",{class:c,style:u},["midButton"!==i&&createVNode("div",{class:"uni-tabbar__iconfont",style:d},[e],4),s&&createTabBarItemRedDotTsx(n.badge)],6)}function createTabBarItemTextTsx(e,t,n){const{redDot:o,iconPath:r,text:i}=t,{fontSize:a,spacing:s}=n;return createVNode("div",{class:"uni-tabbar__label",style:{color:e,fontSize:a,lineHeight:r?"normal":1.8,marginTop:r?s:"inherit"}},[i,o&&!r&&createTabBarItemRedDotTsx(t.badge)],4)}function createTabBarItemRedDotTsx(e){return createVNode("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const DEFAULT_CSS_VAR_VALUE="0px";var LayoutComponent=defineSystemComponent({name:"Layout",setup(e,{emit:t}){const n=ref(null);initCssVar();const o=useKeepAliveRoute(),{layoutState:r,windowState:i}=useState();useMaxWidth(r,n);const a=useShowTabBar(),s=useAppClass(a);return()=>{const e=createLayoutTsx(o),t=createTabBarTsx(a);return createVNode("uni-app",{ref:n,class:s.value},[e,t],2)}}});function useAppClass(e){const t=ref(!1);return computed$1((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}function initCssVar(){updateCssVar({"--status-bar-height":DEFAULT_CSS_VAR_VALUE,"--top-window-height":DEFAULT_CSS_VAR_VALUE,"--window-left":DEFAULT_CSS_VAR_VALUE,"--window-right":DEFAULT_CSS_VAR_VALUE,"--window-margin":DEFAULT_CSS_VAR_VALUE,"--tab-bar-height":DEFAULT_CSS_VAR_VALUE})}function useMaxWidth(e,t){const n=usePageRoute();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,nextTick((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+o+"px;margin:0 auto;")}))):(e.marginWidth=0,nextTick((()=>{const e=t.value;e&&e.removeAttribute("style")})))}watch([()=>n.path],o),onMounted((()=>{o(),window.addEventListener("resize",o)}))}function useState(){usePageRoute();{const e=reactive({marginWidth:0});return watch((()=>e.marginWidth),(e=>updateCssVar({"--window-margin":e+"px"}))),{layoutState:e,windowState:computed$1((()=>({})))}}}function createLayoutTsx(e,t,n,o,r,i){return createRouterViewVNode(e)}function useShowTabBar(e){const t=usePageRoute(),n=useTabBar(),o=computed$1((()=>t.meta.isTabBar&&n.shown));return updateCssVar({"--tab-bar-height":n.height}),o}function createTabBarTsx(e){return withDirectives(createVNode(TabBar,null,null,512),[[vShow,e.value]])}function createRouterViewVNode({routeKey:e,isTabBar:t,routeCache:n}){return createVNode(RouterView,null,{default:withCtx((({Component:o})=>[(openBlock(),createBlock(KeepAlive,{matchBy:"key",cache:n},[(openBlock(),createBlock(resolveDynamicComponent(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}const saveImageToPhotosAlbum=defineAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM,createUnsupportedAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM)),CONTEXT_ID="MAP_LOCATION";var MapLocation=defineSystemComponent({name:"MapLocation",setup(){const e=reactive({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){getLocation({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},o=function(){i&&clearTimeout(i),offCompassChange(t)};const r=inject("onMapReady");let i;onCompassChange(t),r(n),onUnmounted(o);const a=inject("addMapChidlContext"),s=inject("removeMapChidlContext"),l={id:CONTEXT_ID,state:e};a(l),onUnmounted((()=>s(l)))}return()=>e.latitude?createVNode(MapMarker,mergeProps({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:ICON_PATH_ORIGIN},e),null,16,["iconPath"]):null}}),props$3={dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},MapPolygon=defineSystemComponent({name:"MapPolygon",props:props$3,setup(e){let t;return inject("onMapReady")(((n,o,r)=>{function i(){const{points:r,strokeWidth:i,strokeColor:a,dashArray:s,fillColor:l,zIndex:c}=e,u=r.map((e=>{const{latitude:t,longitude:n}=e;return getIsAMap()?[n,t]:new o.LatLng(t,n)})),{r:d,g:p,b:f,a:h}=hexToRgba(l),{r:g,g:m,b:_,a:S}=hexToRgba(a),v={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:s.some((e=>e>0))?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};o.Color?(v.fillColor=new o.Color(d,p,f,h),v.strokeColor=new o.Color(g,m,_,S)):(v.fillColor=`rgb(${d}, ${p}, ${f})`,v.fillOpacity=h,v.strokeColor=`rgb(${g}, ${m}, ${_})`,v.strokeOpacity=S),t?t.setOptions(v):t=new o.Polygon(v)}i(),watch(e,i)})),onUnmounted((()=>{t.setMap(null)})),()=>null}});const props$2={id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}};function getPoints(e){const t=[];return isArray$1(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function getAMapPosition(e,t,n){return new e.LngLat(n,t)}function getGoogleOrQQMapPosition(e,t,n){return new e.LatLng(t,n)}function getMapPosition(e,t,n){return getIsAMap()?getAMapPosition(e,t,n):getGoogleOrQQMapPosition(e,t,n)}function getLat(e){return"getLat"in e?e.getLat():e.lat()}function getLng(e){return"getLng"in e?e.getLng():e.lng()}function useMap(e,t,n){const o=useCustomEvent(t,n),r=ref(null);let i,a;const s=reactive({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:getPoints(e.includePoints)}),l=[];let c,u;function d(e){c?e(a,i,o):l.push(e)}const p=[];function f(e){u?e():l.push(e)}const h={};function g(){const e=a.getCenter();return{scale:a.getZoom(),centerLocation:{latitude:getLat(e),longitude:getLng(e)}}}function m(){if(getIsAMap()){const e=[];s.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new i.Bounds(...e);a.setBounds(t)}else{const e=new i.LatLngBounds;s.includePoints.forEach((({latitude:t,longitude:n})=>{const o=new i.LatLng(t,n);e.extend(o)})),a.fitBounds(e)}}function _(){const t=r.value,l=getMapPosition(i,s.latitude,s.longitude),c=i.event||i.Event,d=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});watch((()=>e.scale),(e=>{d.setZoom(Number(e)||16)})),f((()=>{s.includePoints.length&&(m(),function(){const e=getMapPosition(i,s.latitude,s.longitude);a.setCenter(e)}())}));const h=c.addListener(d,"bounds_changed",(()=>{h.remove(),u=!0,p.forEach((e=>e())),p.length=0}));return c.addListener(d,"click",(()=>{o("tap",{},{}),o("click",{},{})})),c.addListener(d,"dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),c.addListener(d,"dragend",(()=>{o("regionchange",{},extend$1({type:"end",causedBy:"drag"},g()))})),c.addListener(d,"zoom_changed",(()=>{n("update:scale",d.getZoom()),o("regionchange",{},extend$1({type:"end",causedBy:"scale"},g()))})),c.addListener(d,"center_changed",(()=>{const e=d.getCenter(),t=getLat(e),o=getLng(e);n("update:latitude",t),n("update:longitude",o)})),d}watch([()=>e.latitude,()=>e.longitude],(([e,t])=>{const n=Number(e),o=Number(t);if((n!==s.latitude||o!==s.longitude)&&(s.latitude=n,s.longitude=o,a)){const e=getMapPosition(i,s.latitude,s.longitude);a.setCenter(e)}})),watch((()=>e.includePoints),(e=>{s.includePoints=getPoints(e),u&&m()}),{deep:!0});try{useSubscribe(((e,t={})=>{switch(e){case"getCenterLocation":d((()=>{const n=a.getCenter();callOptions(t,{latitude:getLat(n),longitude:getLng(n),errMsg:`${e}:ok`})}));break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=h[CONTEXT_ID];e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(s.latitude=n,s.longitude=o,a){const e=getMapPosition(i,n,o);a.setCenter(e)}d((()=>{callOptions(t,`${e}:ok`)}))}else callOptions(t,`${e}:fail`)}break;case"translateMarker":d((()=>{const n=h[t.markerId];if(n){try{n.translate(t)}catch(o){callOptions(t,`${e}:fail ${o.message}`)}callOptions(t,`${e}:ok`)}else callOptions(t,`${e}:fail not found`)}));break;case"includePoints":s.includePoints=getPoints(t.includePoints),u&&m(),f((()=>{callOptions(t,`${e}:ok`)}));break;case"getRegion":f((()=>{const n=a.getBounds(),o=n.getSouthWest(),r=n.getNorthEast();callOptions(t,{southwest:{latitude:getLat(o),longitude:getLng(o)},northeast:{latitude:getLat(r),longitude:getLng(r)},errMsg:`${e}:ok`})}));break;case"getScale":d((()=>{callOptions(t,{scale:a.getZoom(),errMsg:`${e}:ok`})}))}}),useContextInfo(),!0)}catch(S){}return onMounted((()=>{loadMaps(e.libraries,(e=>{i=e,a=_(),c=!0,l.forEach((e=>e(a,i,o))),l.length=0,o("updated",{},{})}))})),provide("onMapReady",d),provide("addMapChidlContext",(function(e){h[e.id]=e})),provide("removeMapChidlContext",(function(e){delete h[e.id]})),{state:s,mapRef:r}}var Map$1=defineBuiltInComponent({name:"Map",props:props$2,emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=ref(null),{mapRef:r}=useMap(e,o,t);return()=>createVNode("uni-map",{ref:o,id:e.id},[createVNode("div",{ref:r,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>createVNode(MapMarker,mergeProps({key:e.id},e),null,16))),e.polyline.map((e=>createVNode(MapPolyline,e,null,16))),e.circles.map((e=>createVNode(MapCircle,e,null,16))),e.controls.map((e=>createVNode(MapControl,mergeProps(e,{rootRef:o}),null,16,["rootRef"]))),e.showLocation&&createVNode(MapLocation,null,null),e.polygons.map((e=>createVNode(MapPolygon,e,null,16))),createVNode("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});const props$1={scrollTop:{type:[String,Number],default:0}};var index$b=defineBuiltInComponent({name:"CoverView",compatConfig:{MODE:3},props:props$1,setup(e,{slots:t}){const n=ref(null);function o(e){let t=n.value;"scroll"===getComputedStyle(t).overflowY&&(t.scrollTop=function(e){let t=String(e);/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(e=>String(upx2px(parseFloat(e)))));return parseFloat(t)||0}(e))}return watch((()=>e.scrollTop),(e=>{o(e)})),onMounted((()=>{o(e.scrollTop)})),()=>createVNode("uni-cover-view",{"scroll-top":e.scrollTop},[createVNode("div",{ref:n,class:"uni-cover-view"},[t.default&&t.default()],512)],8,["scroll-top"])}}),index$a=defineBuiltInComponent({name:"CoverImage",compatConfig:{MODE:3},props:{src:{type:String,default:""}},emits:["load","error"],setup(e,{emit:t}){const n=ref(null),o=useCustomEvent(n,t);function r(e){o("load",e)}function i(e){o("error",e)}return()=>{const{src:t}=e;return createVNode("uni-cover-image",{ref:n,src:t},[createVNode("div",{class:"uni-cover-image"},[t?createVNode("img",{src:getRealPath(t),onLoad:r,onError:i},null,40,["src","onLoad","onError"]):null])],8,["src"])}}});function _isSlot(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}function getDefaultStartValue(e){if(e.mode===mode.TIME)return"00:00";if(e.mode===mode.DATE){const t=(new Date).getFullYear()-100;switch(e.fields){case fields.YEAR:return t.toString();case fields.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function getDefaultEndValue(e){if(e.mode===mode.TIME)return"23:59";if(e.mode===mode.DATE){const t=(new Date).getFullYear()+100;switch(e.fields){case fields.YEAR:return t.toString();case fields.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function getDateValueArray(e,t,n,o){const r=e.mode===mode.DATE?"-":":",i=e.mode===mode.DATE?t.dateArray:t.timeArray;let a;if(e.mode===mode.TIME)a=2;else switch(e.fields){case fields.YEAR:a=1;break;case fields.MONTH:a=2;break;default:a=3}const s=String(n).split(r);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?getDateValueArray(e,t,o):l.map((()=>0))),l}const mode={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},fields={YEAR:"year",MONTH:"month",DAY:"day"},selectorType={PICKER:"picker",SELECT:"select"},props={name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:mode.SELECTOR,validator:e=>Object.values(mode).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>getDefaultStartValue(e)},end:{type:String,default:e=>getDefaultEndValue(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}};var index$9=defineBuiltInComponent({name:"Picker",compatConfig:{MODE:3},props:props,emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){initI18nPickerMsgsOnce();const{t:o}=useI18n(),r=ref(null),i=ref(null),a=ref(null),s=ref(null),l=ref(!1),{state:c,rangeArray:u}=usePickerState(e),d=useCustomEvent(r,t),{system:p,selectorTypeComputed:f,_show:h,_l10nColumn:g,_l10nItem:m,_input:_,_fixInputPosition:S,_pickerViewChange:v,_cancel:y,_change:T,_resetFormData:C,_getFormData:b,_createTime:L,_createDate:A,_setValueSync:P}=usePickerMethods(e,c,d,r,i,a,s);usePickerWatch(c,y,T),usePickerForm(C,b),L(),A(),P();const E=usePopupStyle(c);return watchEffect((()=>{c.isDesktop=E.isDesktop.value,c.popupStyle=E.popupStyle.value})),onBeforeUnmount((()=>{i.value&&i.value.remove()})),onMounted((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:C,valueArray:b,popupStyle:L,valueSync:A}=c,{rangeKey:P,mode:E,start:w,end:I}=e,M=useBooleanAttr(e,"disabled");return createVNode("uni-picker",mergeProps({ref:r},M,{onClick:withWebEvent(h)}),[l.value?createVNode("div",{ref:i,class:["uni-picker-container",`uni-${E}-${f.value}`],onWheel:onEventPrevent,onTouchmove:onEventPrevent},[createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("div",{class:"uni-mask uni-picker-mask",onClick:withWebEvent(y),onMousemove:S},null,40,["onClick","onMousemove"]),[[vShow,d]])]}),p.value?null:createVNode("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:L.content},[createVNode("div",{class:"uni-picker-header",onClick:onEventStop},[createVNode("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:withWebEvent(y)},[o("uni.picker.cancel")],8,["onClick"]),createVNode("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),C?createVNode(PickerView,{value:g(b),class:"uni-picker-content",onChange:v},_isSlot(t=renderList(g(u.value),((e,t)=>{let n;return createVNode(PickerViewColumn,{key:t},_isSlot(n=renderList(e,((e,n)=>createVNode("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[P]||"":m(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,createVNode("div",{ref:a,class:"uni-picker-select",onWheel:onEventStop,onTouchmove:onEventStop},[renderList(u.value[0],((e,t)=>createVNode("div",{key:t,class:["uni-picker-item",{selected:b[0]===t}],onClick:()=>{b[0]=t,T()}},["object"==typeof e?e[P]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),createVNode("div",{style:L.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,createVNode("div",null,[n.default&&n.default()]),p.value?createVNode("div",{class:"uni-picker-system",onMousemove:withWebEvent(S)},[createVNode("input",{class:["uni-picker-system_input",p.value],ref:s,value:A,type:E,tabindex:"-1",min:w,max:I,onChange:e=>{_(e),onEventStop(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});function usePickerState(e){const t=reactive({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=computed$1((()=>{let n=e.range;switch(e.mode){case mode.SELECTOR:return[n];case mode.MULTISELECTOR:return n;case mode.TIME:return t.timeArray;case mode.DATE:{const n=t.dateArray;switch(e.fields){case fields.YEAR:return[n[0]];case fields.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}const getiPadFlag=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;function useIsiPad(){const e=ref(!1);return e.value=getiPadFlag(),e}const getSystem=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};function useSystem(){const e=ref("");return e.value=getSystem(),e}let __contentVisibleDelay;function usePickerMethods(e,t,n,o,r,i,a){const s=useIsiPad(),l=useSystem(),c=computed$1((()=>{const t=e.selectorType;return Object.values(selectorType).includes(t)?t:s.value?selectorType.PICKER:selectorType.SELECT})),u=computed$1((()=>e.mode===mode.DATE&&!Object.values(fields).includes(e.fields)&&t.isDesktop?l.value:"")),d=computed$1((()=>getDateValueArray(e,t,e.start,getDefaultStartValue(e)))),p=computed$1((()=>getDateValueArray(e,t,e.end,getDefaultEndValue(e))));function f(e){return 60*e[0]+e[1]}function h(e){return 31*e[0]*12+31*(e[1]||0)+(e[2]||0)}function g(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function m(){let n=e.value;switch(e.mode){case mode.MULTISELECTOR:{isArray$1(n)||(n=t.valueArray),isArray$1(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let r=0;r<o;r++){const o=Number(n[r]),i=Number(t.valueSync[r]),a=isNaN(o)?isNaN(i)?0:i:o,s=e.range[r]?e.range[r].length-1:0;t.valueSync.splice(r,1,a<0||a>s?0:a)}}break;case mode.TIME:case mode.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function _(){S(),t.valueChangeSource="click";const o=function(){let n=t.valueArray;switch(e.mode){case mode.SELECTOR:return n[0];case mode.MULTISELECTOR:return n.map((e=>e));case mode.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case mode.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}();t.valueSync=isArray$1(o)?o.map((e=>e)):o,n("change",{},{value:o})}function S(){t.visible=!1,setTimeout((()=>{let e=r.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function v(t,n){const{getLocale:o}=useI18n();if(e.mode===mode.DATE){const r=o();if(!r.startsWith("zh"))switch(e.fields){case fields.YEAR:return t;case fields.MONTH:return[t[1],t[0]];default:switch(r){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}return watch((()=>t.visible),(n=>{n?(clearTimeout(__contentVisibleDelay),t.contentVisible=n,e.mode===mode.SELECTOR&&c.value===selectorType.SELECT&&(i.value.scrollTop=34*t.valueArray[0])):__contentVisibleDelay=setTimeout((()=>{t.contentVisible=n}),300)})),watch([()=>e.mode,()=>e.value,()=>e.range],m,{deep:!0}),watch((()=>t.valueSync),(function(){let n,o=t.valueSync;switch(e.mode){case mode.MULTISELECTOR:n=[...o];break;case mode.TIME:n=getDateValueArray(e,t,o,formatDateTime({mode:mode.TIME}));break;case mode.DATE:n=getDateValueArray(e,t,o,formatDateTime({mode:mode.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}),{deep:!0}),watch((()=>t.valueArray),(o=>{if(e.mode===mode.TIME||e.mode===mode.DATE){const n=e.mode===mode.TIME?f:h,o=t.valueArray,r=d.value,i=p.value;if(e.mode===mode.DATE){const e=t.dateArray,n=e[2].length,r=Number(e[2][o[2]])||1,i=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${r}`).getDate();i<r&&(o[2]-=i+n-r)}n(o)<n(r)?g(o,r):n(o)>n(i)&&g(o,i)}o.forEach(((o,r)=>{o!==t.oldValueArray[r]&&(t.oldValueArray[r]=o,e.mode===mode.MULTISELECTOR&&n("columnchange",{},{column:r,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:function(n){if(e.disabled)return;t.valueChangeSource="";let o=r.value,i=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const a=i.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout((()=>{t.visible=!0}),20)},_cancel:function(e){if("firefox"===u.value&&e){const{top:n,left:o,width:r,height:i}=t.popover,{pageX:a,pageY:s}=e;if(a>o&&a<o+r&&s>n&&s<n+i)return}S(),n("cancel",{},{})},_change:_,_l10nColumn:v,_l10nItem:function(t,n){const{getLocale:o}=useI18n();if(e.mode===mode.DATE){const r=o();if(r.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==fields.YEAR&&n===(e.fields===fields.MONTH||"es"!==r&&"fr"!==r?0:1)){let e;switch(r){case"es":e=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t},_input:function(e){const n=e.target;t.valueSync=n.value,nextTick((()=>{_()}))},_resetFormData:function(){switch(e.mode){case mode.SELECTOR:t.valueSync=0;break;case mode.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case mode.DATE:case mode.TIME:t.valueSync=""}},_getFormData:function(){return{value:t.valueSync,key:e.name}},_createTime:function(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)},_createDate:function(){let e=[],n=(new Date).getFullYear();for(let t=n-150,i=n+150;t<=i;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let r=[];for(let t=1;t<=31;t++)r.push((t<10?"0":"")+t);t.dateArray.push(e,o,r)},_setValueSync:m,_fixInputPosition:function(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}},_pickerViewChange:function(e){t.valueArray=v(e.detail.value,!0)}}}function usePickerWatch(e,t,n){const{key:o,disable:r}=useKeyboard();watchEffect((()=>{r.value=!e.visible})),watch(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}function usePickerForm(e,t){const n=inject(uniFormKey,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),onBeforeUnmount((()=>{n.removeField(o)}))}}const UniViewJSBridge$1=extend$1(ViewJSBridge,{publishHandler(e,t,n){UniServiceJSBridge$1.subscribeHandler(e,t,n)}}),UniServiceJSBridge$1=extend$1(ServiceJSBridge,{publishHandler(e,t,n){UniViewJSBridge$1.subscribeHandler(e,t,n)}});function usePageHeadTransparentBackgroundColor(e){const{r:t,g:n,b:o}=hexToRgba(e);return`rgba(${t},${n},${o},0)`}function usePageHeadTransparent(e,{id:t,navigationBar:{titleColor:n,coverage:o,backgroundColor:r}}){let i=0;const a=computed$1((()=>hexToRgba(r))),s=parseInt(o);let l,c;const u=[],d=[],p=[];onMounted((()=>{const t=e.value;c=t.style,l=t.querySelector(".uni-page-head__title");const n=t.querySelectorAll(".uni-page-head-btn"),o=t.querySelectorAll("svg path");for(let e=0;e<o.length;e++)u.push(o[e]);for(let e=0;e<n.length;e++){const t=n[e];p.push(getComputedStyle(t).backgroundColor),d.push(t.style)}})),useOn(t+".onPageScroll",(({scrollTop:e})=>{const t=Math.min(e/s,1);if(1===t&&1===i)return;t>.5&&i<=.5?u.forEach((function(e){e.setAttribute("fill",n)})):t<=.5&&i>.5&&u.forEach((function(e){e.setAttribute("fill","#fff")})),i=t,l&&(l.style.opacity=t);const o=a.value;c.backgroundColor=`rgba(${o.r},${o.g},${o.b},${t})`,d.forEach((function(e,n){const o=p[n].match(/[\d+\.]+/g);o[3]=(1-t)*(4===o.length?o[3]:1),e.backgroundColor=`rgba(${o})`}))}))}const ICON_PATHS={none:"",forward:"M11 7.844q-0.25-0.219-0.25-0.578t0.25-0.578q0.219-0.25 0.563-0.25t0.563 0.25l9.656 9.125q0.125 0.125 0.188 0.297t0.063 0.328q0 0.188-0.063 0.359t-0.188 0.297l-9.656 9.125q-0.219 0.25-0.563 0.25t-0.563-0.25q-0.25-0.219-0.25-0.578t0.25-0.609l9.063-8.594-9.063-8.594z",back:ICON_PATH_BACK,share:"M26.563 24.844q0 0.125-0.109 0.234t-0.234 0.109h-17.938q-0.125 0-0.219-0.109t-0.094-0.234v-13.25q0-0.156 0.094-0.25t0.219-0.094h5.5v-1.531h-6q-0.531 0-0.906 0.391t-0.375 0.922v14.375q0 0.531 0.375 0.922t0.906 0.391h18.969q0.531 0 0.891-0.391t0.359-0.953v-5.156h-1.438v4.625zM29.813 10.969l-5.125-5.375-1.031 1.094 3.438 3.594-3.719 0.031q-2.313 0.188-4.344 1.125t-3.578 2.422-2.5 3.453-1.109 4.188l-0.031 0.25h1.469v-0.219q0.156-1.875 1-3.594t2.25-3.063 3.234-2.125 3.828-0.906l0.188-0.031 3.313-0.031-3.438 3.625 1.031 1.063 5.125-5.375-0.031-0.063 0.031-0.063z",favorite:"M27.594 13.375q-0.063-0.188-0.219-0.313t-0.344-0.156l-7.094-0.969-3.219-6.406q-0.094-0.188-0.25-0.281t-0.375-0.094q-0.188 0-0.344 0.094t-0.25 0.281l-3.125 6.438-7.094 1.094q-0.188 0.031-0.344 0.156t-0.219 0.313q-0.031 0.188 0.016 0.375t0.172 0.313l5.156 4.969-1.156 7.063q-0.031 0.188 0.047 0.375t0.234 0.313q0.094 0.063 0.188 0.094t0.219 0.031q0.063 0 0.141-0.031t0.172-0.063l6.313-3.375 6.375 3.313q0.063 0.031 0.141 0.047t0.172 0.016q0.188 0 0.344-0.094t0.25-0.281q0.063-0.094 0.078-0.234t-0.016-0.234q0-0.031 0-0.063l-1.25-6.938 5.094-5.031q0.156-0.156 0.203-0.344t-0.016-0.375zM11.469 19.063q0.031-0.188-0.016-0.344t-0.172-0.281l-4.406-4.25 6.063-0.906q0.156-0.031 0.297-0.125t0.203-0.25l2.688-5.531 2.75 5.5q0.063 0.156 0.203 0.25t0.297 0.125l6.094 0.844-4.375 4.281q-0.125 0.125-0.172 0.297t-0.016 0.328l1.063 6.031-5.438-2.813q-0.156-0.094-0.328-0.078t-0.297 0.078l-5.438 2.875 1-6.031z",home:"M23.719 16.5q-0.313 0-0.531 0.219t-0.219 0.5v7.063q0 0.219-0.172 0.391t-0.391 0.172h-12.344q-0.25 0-0.422-0.172t-0.172-0.391v-7.063q0-0.281-0.219-0.5t-0.531-0.219q-0.281 0-0.516 0.219t-0.234 0.5v7.063q0.031 0.844 0.625 1.453t1.438 0.609h12.375q0.844 0 1.453-0.609t0.609-1.453v-7.063q0-0.125-0.063-0.266t-0.156-0.234q-0.094-0.125-0.234-0.172t-0.297-0.047zM26.5 14.875l-8.813-8.813q-0.313-0.313-0.688-0.453t-0.781-0.141-0.781 0.141-0.656 0.422l-8.813 8.844q-0.188 0.219-0.188 0.516t0.219 0.484q0.094 0.125 0.234 0.172t0.297 0.047q0.125 0 0.25-0.047t0.25-0.141l8.781-8.781q0.156-0.156 0.406-0.156t0.406 0.156l8.813 8.781q0.219 0.188 0.516 0.188t0.516-0.219q0.188-0.188 0.203-0.484t-0.172-0.516z",menu:"M8.938 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM16.188 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM23.469 18.313q0.844 0 1.453-0.609t0.609-1.453-0.609-1.453-1.453-0.609q-0.875 0-1.484 0.609t-0.609 1.453 0.609 1.453 1.484 0.609z",close:ICON_PATH_CLOSE};var PageHead=defineSystemComponent({name:"PageHead",setup(){const e=ref(null),t=usePageMeta(),n=t.navigationBar,{clazz:o,style:r}=usePageHead(n),i=usePageHeadButtons(t);return"transparent"===n.type&&usePageHeadTransparent(e,t),()=>{const a=createBackButtonTsx(t),s=createButtonsTsx(i.left),l=createButtonsTsx(i.right),c=n.type||"default",u="transparent"!==c&&"float"!==c&&createVNode("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return createVNode("uni-page-head",{"uni-page-head-type":c},[createVNode("div",{ref:e,class:o.value,style:r.value},[createVNode("div",{class:"uni-page-head-hd"},[a,...s]),createPageHeadBdTsx(n),createVNode("div",{class:"uni-page-head-ft"},[...l])],6),u],8,["uni-page-head-type"])}}});function createBackButtonTsx(e){const{navigationBar:t,isQuit:n}=e;if(!n)return createVNode("div",{class:"uni-page-head-btn",onClick:onPageHeadBackButton},[createSvgIconVNode(ICON_PATH_BACK,"transparent"===t.type?"#fff":t.titleColor,27)],8,["onClick"])}function createButtonsTsx(e){return e.map((({onClick:e,btnClass:t,btnStyle:n,btnText:o,btnIconPath:r,badgeText:i,iconStyle:a},s)=>createVNode("div",{key:s,class:t,style:n,onClick:e,"badge-text":i},[r?createSvgIconVNode(r,a.color,a.fontSize):createVNode("i",{class:"uni-btn-icon",style:a,innerHTML:o},null,12,["innerHTML"])],14,["onClick","badge-text"])))}function createPageHeadBdTsx(e,t){return createPageHeadTitleTextTsx(e)}function createPageHeadTitleTextTsx({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return createVNode("div",{class:"uni-page-head-bd"},[createVNode("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?createVNode("i",{class:"uni-loading"},null):r?createVNode("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}function onPageHeadBackButton(){1===getCurrentPages$1().length?reLaunch({url:"/"}):navigateBack({from:"backbutton",success(){}})}function usePageHead(e){return{clazz:computed$1((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r})),style:computed$1((()=>({backgroundColor:"transparent"===e.type?usePageHeadTransparentBackgroundColor(e.backgroundColor):e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})))}}function usePageHeadButtons({id:e,navigationBar:t}){const n=[],o=[],{buttons:r}=t;if(isArray$1(r)){const{type:i}=t,a="transparent"===i,s=Object.create(null);r.forEach(((t,r)=>{if(t.fontSrc&&!t.fontFamily){const e=getRealPath(t.fontSrc);let n=s[e];n||(n=`font${Date.now()}`,s[e]=n,onBeforeMount((()=>updateStyle("uni-btn-"+n,`@font-face{font-family: "${n}";src: url("${e}") format("truetype")}`)))),t.fontFamily=n}const i=usePageHeadButton(e,r,t,a);"left"===t.float?n.push(i):o.push(i)}))}return{left:n,right:o}}function usePageHeadButton(e,t,n,o){const r={color:n.color,fontSize:n.fontSize,fontWeight:n.fontWeight};return n.fontFamily&&(r.fontFamily=n.fontFamily),{btnClass:{"uni-page-head-btn":!0,"uni-page-head-btn-red-dot":!(!n.redDot&&!n.badgeText),"uni-page-head-btn-select":!!n.select},btnStyle:{backgroundColor:o?n.background:"transparent",width:n.width},btnText:n.fontSrc&&n.fontFamily?n.text.replace("\\u","&#x"):n.text,btnIconPath:ICON_PATHS[n.type],badgeText:n.badgeText,iconStyle:r,onClick(){invokeHook(e,ON_NAVIGATION_BAR_BUTTON_TAP,extend$1({index:t},n))}}}var _export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const _sfc_main$1={name:"PageRefresh",setup(){const{pullToRefresh:e}=usePageMeta();return{offset:e.offset,color:e.color}}},_hoisted_1={class:"uni-page-refresh-inner"},_hoisted_2=["fill"],_hoisted_3=createBaseVNode("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),_hoisted_4=createBaseVNode("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),_hoisted_5=[_hoisted_3,_hoisted_4],_hoisted_6={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},_hoisted_7=["stroke"];function _sfc_render(e,t,n,o,r,i){return openBlock(),createElementBlock("uni-page-refresh",null,[createBaseVNode("div",{style:normalizeStyle({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[createBaseVNode("div",_hoisted_1,[(openBlock(),createElementBlock("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},_hoisted_5,8,_hoisted_2)),(openBlock(),createElementBlock("svg",_hoisted_6,[createBaseVNode("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,_hoisted_7)]))])],4)])}var PageRefresh=_export_sfc(_sfc_main$1,[["render",_sfc_render]]);function processDeltaY(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const PULLING="pulling",REACHED="reached",ABORTING="aborting",REFRESHING="refreshing",RESTORING="restoring";function usePageRefresh(e){const{id:t,pullToRefresh:n}=usePageMeta(),{range:o,height:r}=n;let i,a,s,l,c,u,d,p;useSubscribe((()=>{p||(p=REFRESHING,m(),setTimeout((()=>{T()}),50))}),API_START_PULL_DOWN_REFRESH,!1,t),useSubscribe((()=>{p===REFRESHING&&(_(),p=RESTORING,m(),function(e){if(!a)return;s.transition="-webkit-transform 0.3s",s.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",s.transform="translate3d(-50%, 0, 0)",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{_(),p=f=h=null})))}),API_STOP_PULL_DOWN_REFRESH,!1,t),onMounted((()=>{i=e.value.$el,a=i.querySelector(".uni-page-refresh"),s=a.style,l=a.querySelector(".uni-page-refresh-inner").style}));let f=null,h=null;function g(e){p&&i&&i.classList[e]("uni-page-refresh--"+p)}function m(){g("add")}function _(){g("remove")}const S=withWebEvent((e=>{const t=e.changedTouches[0];c=t.identifier,u=t.pageY,d=!([ABORTING,REFRESHING,RESTORING].indexOf(p)>=0)})),v=withWebEvent((e=>{if(!d)return;if(!processDeltaY(e,c,u))return;let{deltaY:t}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(c=null);if(t<0&&!p)return;e.preventDefault(),null===f&&(h=t,p=PULLING,m()),t-=h,t<0&&(t=0),f=t;(t>=o&&p!==REACHED||t<o&&p!==PULLING)&&(_(),p=p===REACHED?PULLING:REACHED,m()),function(e){if(!a)return;let t=e/o;t>1?t=1:t*=t*t;const n=Math.round(e/(o/r))||0;l.transform="rotate("+360*t+"deg)",s.clip="rect("+(45-n)+"px,45px,45px,-5px)",s.transform="translate3d(-50%, "+n+"px, 0)"}(t)})),y=withWebEvent((e=>{processDeltaY(e,c,u)&&null!==p&&(p===PULLING?(_(),p=ABORTING,m(),function(e){if(!a)return;if(s.transform){s.transition="-webkit-transform 0.3s",s.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),a.removeEventListener("webkitTransitionEnd",t),s.transition="",e()};a.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{_(),p=f=h=null}))):p===REACHED&&(_(),p=REFRESHING,m(),T()))}));function T(){a&&(s.transition="-webkit-transform 0.2s",s.transform="translate3d(-50%, "+r+"px, 0)",invokeHook(t,ON_PULL_DOWN_REFRESH))}return{onTouchstartPassive:S,onTouchmove:v,onTouchend:y,onTouchcancel:y}}var PageBody=defineSystemComponent({name:"PageBody",setup(e,t){const n=usePageMeta(),o=ref(null),r=n.enablePullDownRefresh?usePageRefresh(o):null;return()=>{const e=createPageRefreshTsx(o,n);return createVNode(Fragment,null,[e,createVNode("uni-page-wrapper",r,[createVNode("uni-page-body",null,[renderSlot(t.slots,"default")])],16)])}}});function createPageRefreshTsx(e,t){return t.enablePullDownRefresh?createVNode(PageRefresh,{ref:e},null,512):null}var index$2=defineSystemComponent({name:"Page",setup(e,t){const n=providePageMeta(getStateId()),o=n.navigationBar;return useDocumentTitle(n),()=>createVNode("uni-page",{"data-page":n.route},"custom"!==o.style?[createVNode(PageHead),createPageBodyVNode(t)]:[createPageBodyVNode(t)])}});function createPageBodyVNode(e){return openBlock(),createBlock(PageBody,{key:0},{default:withCtx((()=>[renderSlot(e.slots,"page")])),_:3})}function reload(){window.location.reload()}var index$1=defineSystemComponent({name:"AsyncError",setup(){initI18nAsyncMsgsOnce();const{t:e}=useI18n();return()=>createVNode("div",{class:"uni-async-error",onClick:reload},[e("uni.async.error")],8,["onClick"])}});const clazz={class:"uni-async-loading"},loadingVNode=createVNode("i",{class:"uni-loading"},null,-1);var index=defineSystemComponent({name:"AsyncLoading",render:()=>(openBlock(),createBlock("div",clazz,[loadingVNode]))});const appId="__UNI__1A208D0",appName="IM",appVersion="1.2.1",appVersionCode=121,debug=!1,nvue={"flex-direction":"column"},networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},router={mode:"hash",base:"/",assets:"assets"},async$1={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},qqMapKey="3U7BZ-AZZKD-IXC4C-HZA7T-2PGKT-EZFER",googleMapKey=void 0,aMapKey=void 0,aMapSecurityJsCode=void 0,aMapServiceHost=void 0,sdkConfigs={maps:{qqmap:{key:"3U7BZ-AZZKD-IXC4C-HZA7T-2PGKT-EZFER"}}},locale="",fallbackLocale="";var base="",shadow="",async="",pageHead="",tabBar="",pageRefresh="";window.uni={},window.wx={},window.rpx2px=upx2px;const locales={},extend=Object.assign;window.__uniConfig=extend({globalStyle:{backgroundColor:"#F8F8F8",background:"#efeff4",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#999999",selectedColor:"#09C160",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",list:[{pagePath:"wx/tabbar1/index",iconPath:"/static/wx/n0.png",selectedIconPath:"/static/wx/n0_on.png",text:"消息"},{pagePath:"wx/tabbar2/index",iconPath:"/static/wx/n01.png",selectedIconPath:"/static/wx/n01_on.png",text:"通讯录"},{pagePath:"wx/tabbar3/index",iconPath:"/static/wx/n02.png",selectedIconPath:"/static/wx/n02_on.png",text:"发现"},{pagePath:"wx/tabbar4/index",iconPath:"/static/wx/n03.png",selectedIconPath:"/static/wx/n03_on.png",text:"我"}],selectedIndex:0,shown:!0},compilerVersion:"3.6.4"},{appId:appId,appName:appName,appVersion:appVersion,appVersionCode:appVersionCode,async:async$1,debug:debug,networkTimeout:networkTimeout,sdkConfigs:sdkConfigs,qqMapKey:qqMapKey,googleMapKey:googleMapKey,aMapKey:aMapKey,aMapSecurityJsCode:aMapSecurityJsCode,aMapServiceHost:aMapServiceHost,nvue:nvue,locale:locale,fallbackLocale:fallbackLocale,locales:Object.keys(locales).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return extend(e[n]||(e[n]={}),locales[t].default),e}),{}),router:router}),window.__uniLayout=window.__uniLayout||{};const AsyncComponentOptions={loadingComponent:index,errorComponent:index$1,delay:async$1.delay,timeout:async$1.timeout,suspensible:async$1.suspensible},PagesWxindexIndexLoader=()=>__vitePreload((()=>import("./pages-wxindex-index.0209a419.js")),["assets/pages-wxindex-index.0209a419.js","assets/index.c598e286.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesWxindexIndex=defineAsyncComponent(extend({loader:PagesWxindexIndexLoader},AsyncComponentOptions)),PagesAgreementIndexLoader=()=>__vitePreload((()=>import("./pages-agreement-index.f914070c.js")),["assets/pages-agreement-index.f914070c.js","assets/index.f039e5e6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesAgreementIndex=defineAsyncComponent(extend({loader:PagesAgreementIndexLoader},AsyncComponentOptions)),WxLoginIndexLoader=()=>__vitePreload((()=>import("./wx-login-index.b8ec0e14.js")),["assets/wx-login-index.b8ec0e14.js","assets/index.ebb7bacd.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/l04.b9c06f88.js"]).then((e=>setupPage(e.default||e))),WxLoginIndex=defineAsyncComponent(extend({loader:WxLoginIndexLoader},AsyncComponentOptions)),WxRegisterIndexLoader=()=>__vitePreload((()=>import("./wx-register-index.c1719b8f.js")),["assets/wx-register-index.c1719b8f.js","assets/index.3a12b7ad.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/l04.b9c06f88.js"]).then((e=>setupPage(e.default||e))),WxRegisterIndex=defineAsyncComponent(extend({loader:WxRegisterIndexLoader},AsyncComponentOptions)),WxForgetPassIndexLoader=()=>__vitePreload((()=>import("./wx-forgetPass-index.2f78dca4.js")),["assets/wx-forgetPass-index.2f78dca4.js","assets/index.895bcec2.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/l04.b9c06f88.js"]).then((e=>setupPage(e.default||e))),WxForgetPassIndex=defineAsyncComponent(extend({loader:WxForgetPassIndexLoader},AsyncComponentOptions)),WxChatWindowIndexLoader=()=>__vitePreload((()=>import("./wx-chatWindow-index.ed47485c.js")),["assets/wx-chatWindow-index.ed47485c.js","assets/index.f4bea9d9.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-list.b70fa0d7.js","assets/uni-list.97adfec2.css","assets/zmm-upload-image.f411d670.js","assets/zmm-upload-image.b7dadbd6.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/bf.ab99e8ff.js","assets/index.ec7ebebf.js","assets/index.ee40557b.css","assets/uni-load-more.3382b9b4.js","assets/uni-load-more.abbfa707.css","assets/uni-indexed-list-wx.eb8af6d1.js","assets/uni-indexed-list-wx.9f169714.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css"]).then((e=>setupPage(e.default||e))),WxChatWindowIndex=defineAsyncComponent(extend({loader:WxChatWindowIndexLoader},AsyncComponentOptions)),WxTabbar1IndexLoader=()=>__vitePreload((()=>import("./wx-tabbar1-index.d9bc59c3.js")),["assets/wx-tabbar1-index.d9bc59c3.js","assets/index.b53f1c7e.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/top-right-tool-wx.864c6806.js","assets/top-right-tool-wx.c81cd492.css"]).then((e=>setupPage(e.default||e))),WxTabbar1Index=defineAsyncComponent(extend({loader:WxTabbar1IndexLoader},AsyncComponentOptions)),WxTabbar2IndexLoader=()=>__vitePreload((()=>import("./wx-tabbar2-index.529a7941.js")),["assets/wx-tabbar2-index.529a7941.js","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-indexed-list-wx.eb8af6d1.js","assets/uni-indexed-list-wx.9f169714.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/top-right-tool-wx.864c6806.js","assets/top-right-tool-wx.c81cd492.css"]).then((e=>setupPage(e.default||e))),WxTabbar2Index=defineAsyncComponent(extend({loader:WxTabbar2IndexLoader},AsyncComponentOptions)),WxTabbar3IndexLoader=()=>__vitePreload((()=>import("./wx-tabbar3-index.95b4dd6d.js")),["assets/wx-tabbar3-index.95b4dd6d.js","assets/index.c7d9a2bb.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/top-right-tool-wx.864c6806.js","assets/top-right-tool-wx.c81cd492.css"]).then((e=>setupPage(e.default||e))),WxTabbar3Index=defineAsyncComponent(extend({loader:WxTabbar3IndexLoader},AsyncComponentOptions)),WxTabbar4IndexLoader=()=>__vitePreload((()=>import("./wx-tabbar4-index.4a01dcd5.js")),["assets/wx-tabbar4-index.4a01dcd5.js","assets/index.088e1463.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css"]).then((e=>setupPage(e.default||e))),WxTabbar4Index=defineAsyncComponent(extend({loader:WxTabbar4IndexLoader},AsyncComponentOptions)),WxGroupCreateGroupLoader=()=>__vitePreload((()=>import("./wx-group-createGroup.651817d2.js")),["assets/wx-group-createGroup.651817d2.js","assets/createGroup.7ab4c95d.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-indexed-list-wx.eb8af6d1.js","assets/uni-indexed-list-wx.9f169714.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxGroupCreateGroup=defineAsyncComponent(extend({loader:WxGroupCreateGroupLoader},AsyncComponentOptions)),WxShakeIndexLoader=()=>__vitePreload((()=>import("./wx-shake-index.3c016a08.js")),["assets/wx-shake-index.3c016a08.js","assets/index.6114e1a9.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxShakeIndex=defineAsyncComponent(extend({loader:WxShakeIndexLoader},AsyncComponentOptions)),WxNearbyIndexLoader=()=>__vitePreload((()=>import("./wx-nearby-index.0f47eec0.js")),["assets/wx-nearby-index.0f47eec0.js","assets/index.3ba795e7.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxNearbyIndex=defineAsyncComponent(extend({loader:WxNearbyIndexLoader},AsyncComponentOptions)),WxFriendsCircleMsglistLoader=()=>__vitePreload((()=>import("./wx-friendsCircle-msglist.45a2a53c.js")),["assets/wx-friendsCircle-msglist.45a2a53c.js","assets/msglist.8edab838.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/bf.ab99e8ff.js"]).then((e=>setupPage(e.default||e))),WxFriendsCircleMsglist=defineAsyncComponent(extend({loader:WxFriendsCircleMsglistLoader},AsyncComponentOptions)),WxSystemIndexLoader=()=>__vitePreload((()=>import("./wx-system-index.b387a6c1.js")),["assets/wx-system-index.b387a6c1.js","assets/index.85712ffc.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxSystemIndex=defineAsyncComponent(extend({loader:WxSystemIndexLoader},AsyncComponentOptions)),WxSearchIndexLoader=()=>__vitePreload((()=>import("./wx-search-index.ac03a04b.js")),["assets/wx-search-index.ac03a04b.js","assets/index.f929bce5.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxSearchIndex=defineAsyncComponent(extend({loader:WxSearchIndexLoader},AsyncComponentOptions)),WxSearchFriendsIndexLoader=()=>__vitePreload((()=>import("./wx-search-friends-index.6f0f5e82.js")),["assets/wx-search-friends-index.6f0f5e82.js","assets/index.8d134bce.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-load-more.3382b9b4.js","assets/uni-load-more.abbfa707.css"]).then((e=>setupPage(e.default||e))),WxSearchFriendsIndex=defineAsyncComponent(extend({loader:WxSearchFriendsIndexLoader},AsyncComponentOptions)),WxSearchFriendsAddLoader=()=>__vitePreload((()=>import("./wx-search-friends-add.b816c9a3.js")),["assets/wx-search-friends-add.b816c9a3.js","assets/add.c9993ae2.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxSearchFriendsAdd=defineAsyncComponent(extend({loader:WxSearchFriendsAddLoader},AsyncComponentOptions)),WxPersonDetailIndexLoader=()=>__vitePreload((()=>import("./wx-personDetail-index.b8345e1c.js")),["assets/wx-personDetail-index.b8345e1c.js","assets/index.a6cdf0f3.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxPersonDetailIndex=defineAsyncComponent(extend({loader:WxPersonDetailIndexLoader},AsyncComponentOptions)),WxPersonInfoAddFriendsDetailLoader=()=>__vitePreload((()=>import("./wx-personInfo-addFriendsDetail.070eb719.js")),["assets/wx-personInfo-addFriendsDetail.070eb719.js","assets/addFriendsDetail.8efb4547.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxPersonInfoAddFriendsDetail=defineAsyncComponent(extend({loader:WxPersonInfoAddFriendsDetailLoader},AsyncComponentOptions)),WxPersonInfoBeizhuLoader=()=>__vitePreload((()=>import("./wx-personInfo-beizhu.6f5e7432.js")),["assets/wx-personInfo-beizhu.6f5e7432.js","assets/beizhu.b1fc7df2.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonInfoBeizhu=defineAsyncComponent(extend({loader:WxPersonInfoBeizhuLoader},AsyncComponentOptions)),WxPersonDetailEditNikeNameLoader=()=>__vitePreload((()=>import("./wx-personDetail-editNikeName.6e353dce.js")),["assets/wx-personDetail-editNikeName.6e353dce.js","assets/editNikeName.63339abd.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditNikeName=defineAsyncComponent(extend({loader:WxPersonDetailEditNikeNameLoader},AsyncComponentOptions)),WxPersonDetailEditchatNoLoader=()=>__vitePreload((()=>import("./wx-personDetail-editchatNo.d82f9274.js")),["assets/wx-personDetail-editchatNo.d82f9274.js","assets/editchatNo.1de27208.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditchatNo=defineAsyncComponent(extend({loader:WxPersonDetailEditchatNoLoader},AsyncComponentOptions)),WxPersonDetailEditIntroLoader=()=>__vitePreload((()=>import("./wx-personDetail-editIntro.4c4bcddc.js")),["assets/wx-personDetail-editIntro.4c4bcddc.js","assets/editIntro.e31f6c13.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditIntro=defineAsyncComponent(extend({loader:WxPersonDetailEditIntroLoader},AsyncComponentOptions)),WxPersonDetailEditGenderLoader=()=>__vitePreload((()=>import("./wx-personDetail-editGender.f540011d.js")),["assets/wx-personDetail-editGender.f540011d.js","assets/editGender.62daa914.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditGender=defineAsyncComponent(extend({loader:WxPersonDetailEditGenderLoader},AsyncComponentOptions)),WxPersonDetailEditAddressLoader=()=>__vitePreload((()=>import("./wx-personDetail-editAddress.d8213dd8.js")),["assets/wx-personDetail-editAddress.d8213dd8.js","assets/editAddress.f6ee2286.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditAddress=defineAsyncComponent(extend({loader:WxPersonDetailEditAddressLoader},AsyncComponentOptions)),WxPersonDetailEditPassLoader=()=>__vitePreload((()=>import("./wx-personDetail-editPass.3ef5943e.js")),["assets/wx-personDetail-editPass.3ef5943e.js","assets/editPass.b180b19c.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailEditPass=defineAsyncComponent(extend({loader:WxPersonDetailEditPassLoader},AsyncComponentOptions)),WxPersonInfoDetailLoader=()=>__vitePreload((()=>import("./wx-personInfo-detail.c10a74b3.js")),["assets/wx-personInfo-detail.c10a74b3.js","assets/detail.ece0ec1b.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxPersonInfoDetail=defineAsyncComponent(extend({loader:WxPersonInfoDetailLoader},AsyncComponentOptions)),WxGroupInfoDetailLoader=()=>__vitePreload((()=>import("./wx-groupInfo-detail.5b2f8460.js")),["assets/wx-groupInfo-detail.5b2f8460.js","assets/detail.7f80bdf5.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxGroupInfoDetail=defineAsyncComponent(extend({loader:WxGroupInfoDetailLoader},AsyncComponentOptions)),WxGroupInfoQunAddLoader=()=>__vitePreload((()=>import("./wx-groupInfo-qunAdd.436631a0.js")),["assets/wx-groupInfo-qunAdd.436631a0.js","assets/qunAdd.444e7f23.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-indexed-list-wx.eb8af6d1.js","assets/uni-indexed-list-wx.9f169714.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxGroupInfoQunAdd=defineAsyncComponent(extend({loader:WxGroupInfoQunAddLoader},AsyncComponentOptions)),WxGroupInfoQunlessLoader=()=>__vitePreload((()=>import("./wx-groupInfo-qunless.9087bb75.js")),["assets/wx-groupInfo-qunless.9087bb75.js","assets/qunless.a87c5617.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-indexed-list-wx.eb8af6d1.js","assets/uni-indexed-list-wx.9f169714.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxGroupInfoQunless=defineAsyncComponent(extend({loader:WxGroupInfoQunlessLoader},AsyncComponentOptions)),WxGroupInfoEditGroupNameLoader=()=>__vitePreload((()=>import("./wx-groupInfo-editGroupName.3986679f.js")),["assets/wx-groupInfo-editGroupName.3986679f.js","assets/editGroupName.49585124.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxGroupInfoEditGroupName=defineAsyncComponent(extend({loader:WxGroupInfoEditGroupNameLoader},AsyncComponentOptions)),WxGroupInfoEditGroupNoticeLoader=()=>__vitePreload((()=>import("./wx-groupInfo-editGroupNotice.33f57dc3.js")),["assets/wx-groupInfo-editGroupNotice.33f57dc3.js","assets/editGroupNotice.55b41984.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxGroupInfoEditGroupNotice=defineAsyncComponent(extend({loader:WxGroupInfoEditGroupNoticeLoader},AsyncComponentOptions)),WxGroupInfoScanCodeDetailLoader=()=>__vitePreload((()=>import("./wx-groupInfo-scanCodeDetail.d93d7ba2.js")),["assets/wx-groupInfo-scanCodeDetail.d93d7ba2.js","assets/scanCodeDetail.c9248ece.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxGroupInfoScanCodeDetail=defineAsyncComponent(extend({loader:WxGroupInfoScanCodeDetailLoader},AsyncComponentOptions)),WxGroupInfoGrouplistLoader=()=>__vitePreload((()=>import("./wx-groupInfo-grouplist.0f533343.js")),["assets/wx-groupInfo-grouplist.0f533343.js","assets/grouplist.8cdcbff4.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxGroupInfoGrouplist=defineAsyncComponent(extend({loader:WxGroupInfoGrouplistLoader},AsyncComponentOptions)),WxPersonDetailQRcodeLoader=()=>__vitePreload((()=>import("./wx-personDetail-QRcode.295e6b0a.js")),["assets/wx-personDetail-QRcode.295e6b0a.js","assets/QRcode.e1caebad.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WxPersonDetailQRcode=defineAsyncComponent(extend({loader:WxPersonDetailQRcodeLoader},AsyncComponentOptions)),WxGroupInfoQRcodeLoader=()=>__vitePreload((()=>import("./wx-groupInfo-QRcode.2181d17e.js")),["assets/wx-groupInfo-QRcode.2181d17e.js","assets/QRcode.c833c90b.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-list.b70fa0d7.js","assets/uni-list.97adfec2.css"]).then((e=>setupPage(e.default||e))),WxGroupInfoQRcode=defineAsyncComponent(extend({loader:WxGroupInfoQRcodeLoader},AsyncComponentOptions)),WxPersonInfoEditLoader=()=>__vitePreload((()=>import("./wx-personInfo-edit.108a2f87.js")),["assets/wx-personInfo-edit.108a2f87.js","assets/edit.40358e7b.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tool-list-wx.55d0c6db.js","assets/tool-list-wx.9f4a9b10.css","assets/uni-badge.d91cbc89.js","assets/uni-badge.4197d935.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css"]).then((e=>setupPage(e.default||e))),WxPersonInfoEdit=defineAsyncComponent(extend({loader:WxPersonInfoEditLoader},AsyncComponentOptions)),WxFriendsCircleIndexLoader=()=>__vitePreload((()=>import("./wx-friendsCircle-index.5a7734e9.js")),["assets/wx-friendsCircle-index.5a7734e9.js","assets/index.6c1e8e36.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/friends-circle-top.d5489e8f.js","assets/friends-circle-top.9c5cb4ec.css","assets/bf.ab99e8ff.js","assets/uni-load-more.3382b9b4.js","assets/uni-load-more.abbfa707.css"]).then((e=>setupPage(e.default||e))),WxFriendsCircleIndex=defineAsyncComponent(extend({loader:WxFriendsCircleIndexLoader},AsyncComponentOptions)),WxFriendsCirclePersonLoader=()=>__vitePreload((()=>import("./wx-friendsCircle-person.467f90b6.js")),["assets/wx-friendsCircle-person.467f90b6.js","assets/person.d94a47fd.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/friends-circle-top.d5489e8f.js","assets/friends-circle-top.9c5cb4ec.css","assets/bf.ab99e8ff.js","assets/uni-load-more.3382b9b4.js","assets/uni-load-more.abbfa707.css"]).then((e=>setupPage(e.default||e))),WxFriendsCirclePerson=defineAsyncComponent(extend({loader:WxFriendsCirclePersonLoader},AsyncComponentOptions)),WxFriendsCircleSendMsgLoader=()=>__vitePreload((()=>import("./wx-friendsCircle-sendMsg.eccd179b.js")),["assets/wx-friendsCircle-sendMsg.eccd179b.js","assets/sendMsg.a52ce3d9.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/zmm-upload-image.f411d670.js","assets/zmm-upload-image.b7dadbd6.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/bf.ab99e8ff.js"]).then((e=>setupPage(e.default||e))),WxFriendsCircleSendMsg=defineAsyncComponent(extend({loader:WxFriendsCircleSendMsgLoader},AsyncComponentOptions)),WxFeedbackIndexLoader=()=>__vitePreload((()=>import("./wx-feedback-index.9a610e1d.js")),["assets/wx-feedback-index.9a610e1d.js","assets/index.e604c917.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/zmm-upload-image.f411d670.js","assets/zmm-upload-image.b7dadbd6.css","assets/uni-icons.9a92e175.js","assets/uni-icons.4a4ad276.css","assets/bf.ab99e8ff.js"]).then((e=>setupPage(e.default||e))),WxFeedbackIndex=defineAsyncComponent(extend({loader:WxFeedbackIndexLoader},AsyncComponentOptions)),WxFavoritesIndexLoader=()=>__vitePreload((()=>import("./index.ec7ebebf.js").then((function(e){return e.i}))),["assets/index.ec7ebebf.js","assets/index.ee40557b.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/uni-load-more.3382b9b4.js","assets/uni-load-more.abbfa707.css"]).then((e=>setupPage(e.default||e))),WxFavoritesIndex=defineAsyncComponent(extend({loader:WxFavoritesIndexLoader},AsyncComponentOptions)),WxFriendsCircleDetailLoader=()=>__vitePreload((()=>import("./wx-friendsCircle-detail.741476e6.js")),["assets/wx-friendsCircle-detail.741476e6.js","assets/detail.1a73aa23.css","assets/watermark.5346bec0.js","assets/watermark.1fdb55a6.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/bf.ab99e8ff.js"]).then((e=>setupPage(e.default||e))),WxFriendsCircleDetail=defineAsyncComponent(extend({loader:WxFriendsCircleDetailLoader},AsyncComponentOptions)),WlLoginIndexLoader=()=>__vitePreload((()=>import("./wl-login-index.6a8af3ce.js")),["assets/wl-login-index.6a8af3ce.js","assets/index.0b35bf5c.css","assets/l04.b9c06f88.js","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),WlLoginIndex=defineAsyncComponent(extend({loader:WlLoginIndexLoader},AsyncComponentOptions));function renderPage(e,t){return openBlock(),createBlock(index$2,null,{page:withCtx((()=>[createVNode(e,extend({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/wxindex/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesWxindexIndex,t)}},loader:PagesWxindexIndexLoader,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"微信首页",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/agreement/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesAgreementIndex,t)}},loader:PagesAgreementIndexLoader,meta:{navigationBar:{backgroundColor:"#ffffff",titleText:"隐私及服务协议",type:"default",titleColor:"#000000"},isNVue:!1}},{path:"/wx/login/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxLoginIndex,t)}},loader:WxLoginIndexLoader,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/wx/register/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxRegisterIndex,t)}},loader:WxRegisterIndexLoader,meta:{navigationBar:{titleText:"注册",type:"default"},isNVue:!1}},{path:"/wx/forgetPass/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxForgetPassIndex,t)}},loader:WxForgetPassIndexLoader,meta:{navigationBar:{titleText:"忘记密码",type:"default"},isNVue:!1}},{path:"/wx/chatWindow/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxChatWindowIndex,t)}},loader:WxChatWindowIndexLoader,meta:{navigationBar:{titleText:"聊天窗口",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"}]},isNVue:!1}},{path:"/wx/tabbar1/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxTabbar1Index,t)}},loader:WxTabbar1IndexLoader,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"消息",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"},{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"26px"}]},isNVue:!1}},{path:"/wx/tabbar2/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxTabbar2Index,t)}},loader:WxTabbar2IndexLoader,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"通讯录",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"},{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"26px"}]},isNVue:!1}},{path:"/wx/tabbar3/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxTabbar3Index,t)}},loader:WxTabbar3IndexLoader,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"发现",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"},{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"26px"}]},isNVue:!1}},{path:"/wx/tabbar4/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxTabbar4Index,t)}},loader:WxTabbar4IndexLoader,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{backgroundColor:"#ffffff",titleText:"我",type:"default"},isNVue:!1}},{path:"/wx/group/createGroup",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupCreateGroup,t)}},loader:WxGroupCreateGroupLoader,meta:{navigationBar:{titleText:"发起群聊",type:"default"},isNVue:!1}},{path:"/wx/shake/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxShakeIndex,t)}},loader:WxShakeIndexLoader,meta:{navigationBar:{backgroundColor:"#212121",titleText:"摇一摇",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/wx/nearby/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxNearbyIndex,t)}},loader:WxNearbyIndexLoader,meta:{navigationBar:{titleText:"附近的人",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"}]},isNVue:!1}},{path:"/wx/friendsCircle/msglist",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFriendsCircleMsglist,t)}},loader:WxFriendsCircleMsglistLoader,meta:{navigationBar:{titleText:"消息",type:"default",buttons:[{text:"清空",fontSize:"16px",width:"44px",fontWeight:"bold"}]},isNVue:!1}},{path:"/wx/system/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxSystemIndex,t)}},loader:WxSystemIndexLoader,meta:{navigationBar:{titleText:"设置",type:"default"},isNVue:!1}},{path:"/wx/search/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxSearchIndex,t)}},loader:WxSearchIndexLoader,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/wx/search-friends/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxSearchFriendsIndex,t)}},loader:WxSearchFriendsIndexLoader,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"新的朋友",type:"default",buttons:[{text:"添加",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/search-friends/add",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxSearchFriendsAdd,t)}},loader:WxSearchFriendsAddLoader,meta:{navigationBar:{titleText:"朋友验证",type:"default",buttons:[{text:"发送",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailIndex,t)}},loader:WxPersonDetailIndexLoader,meta:{navigationBar:{titleText:"个人信息",type:"default"},isNVue:!1}},{path:"/wx/personInfo/addFriendsDetail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonInfoAddFriendsDetail,t)}},loader:WxPersonInfoAddFriendsDetailLoader,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/wx/personInfo/beizhu",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonInfoBeizhu,t)}},loader:WxPersonInfoBeizhuLoader,meta:{navigationBar:{titleText:"设置备注",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editNikeName",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditNikeName,t)}},loader:WxPersonDetailEditNikeNameLoader,meta:{navigationBar:{titleText:"更改名称",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editchatNo",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditchatNo,t)}},loader:WxPersonDetailEditchatNoLoader,meta:{navigationBar:{titleText:"更改微聊号",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editIntro",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditIntro,t)}},loader:WxPersonDetailEditIntroLoader,meta:{navigationBar:{titleText:"更改个性签名",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editGender",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditGender,t)}},loader:WxPersonDetailEditGenderLoader,meta:{navigationBar:{titleText:"更改性别",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editAddress",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditAddress,t)}},loader:WxPersonDetailEditAddressLoader,meta:{navigationBar:{titleText:"更改地区",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personDetail/editPass",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailEditPass,t)}},loader:WxPersonDetailEditPassLoader,meta:{navigationBar:{titleText:"设置密码",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/personInfo/detail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonInfoDetail,t)}},loader:WxPersonInfoDetailLoader,meta:{navigationBar:{titleText:"信息",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"}]},isNVue:!1}},{path:"/wx/groupInfo/detail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoDetail,t)}},loader:WxGroupInfoDetailLoader,meta:{navigationBar:{titleText:"聊天信息",type:"default"},isNVue:!1}},{path:"/wx/groupInfo/qunAdd",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoQunAdd,t)}},loader:WxGroupInfoQunAddLoader,meta:{navigationBar:{titleText:"选择联系人",type:"default"},isNVue:!1}},{path:"/wx/groupInfo/qunless",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoQunless,t)}},loader:WxGroupInfoQunlessLoader,meta:{navigationBar:{titleText:"聊天成员",type:"default"},isNVue:!1}},{path:"/wx/groupInfo/editGroupName",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoEditGroupName,t)}},loader:WxGroupInfoEditGroupNameLoader,meta:{navigationBar:{titleText:"更改群聊名称",type:"default",buttons:[{text:"完成",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/groupInfo/editGroupNotice",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoEditGroupNotice,t)}},loader:WxGroupInfoEditGroupNoticeLoader,meta:{navigationBar:{titleText:"更改群公告",type:"default",buttons:[{text:"修改",fontSize:"16px"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/groupInfo/scanCodeDetail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoScanCodeDetail,t)}},loader:WxGroupInfoScanCodeDetailLoader,meta:{navigationBar:{titleText:"群聊信息",type:"default"},isNVue:!1}},{path:"/wx/groupInfo/grouplist",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoGrouplist,t)}},loader:WxGroupInfoGrouplistLoader,meta:{navigationBar:{titleText:"群聊",type:"default"},isNVue:!1}},{path:"/wx/personDetail/QRcode",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonDetailQRcode,t)}},loader:WxPersonDetailQRcodeLoader,meta:{navigationBar:{titleText:"二维码名片",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"}]},isNVue:!1}},{path:"/wx/groupInfo/QRcode",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxGroupInfoQRcode,t)}},loader:WxGroupInfoQRcodeLoader,meta:{navigationBar:{titleText:"群二维码",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"28px"}]},isNVue:!1}},{path:"/wx/personInfo/edit",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxPersonInfoEdit,t)}},loader:WxPersonInfoEditLoader,meta:{navigationBar:{titleText:"资料设置",type:"default"},isNVue:!1}},{path:"/wx/friendsCircle/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFriendsCircleIndex,t)}},loader:WxFriendsCircleIndexLoader,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"朋友圈",type:"transparent",titleColor:"#fff",backgroundColor:"#d1d1d1",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"24px",background:"rgba(0,0,0,0)",color:"#ffffff"}],backButton:{background:"rgba(0,0,0,0)"},coverage:"132px"},isNVue:!1}},{path:"/wx/friendsCircle/person",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFriendsCirclePerson,t)}},loader:WxFriendsCirclePersonLoader,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的相册",type:"transparent",titleColor:"#fff",backgroundColor:"#d1d1d1",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"24px",background:"rgba(0,0,0,0)",color:"#ffffff"}],backButton:{background:"rgba(0,0,0,0)"},coverage:"132px"},isNVue:!1}},{path:"/wx/friendsCircle/sendMsg",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFriendsCircleSendMsg,t)}},loader:WxFriendsCircleSendMsgLoader,meta:{navigationBar:{titleText:"发朋友圈",type:"default",buttons:[{color:"#09C160",text:"发表",fontSize:"16px",borderRadius:"0px",background:"#09C160"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/feedback/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFeedbackIndex,t)}},loader:WxFeedbackIndexLoader,meta:{navigationBar:{titleText:"建议反馈",type:"default",buttons:[{color:"#09C160",text:"发表",fontSize:"16px",borderRadius:"0px",background:"#09C160"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wx/favorites/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFavoritesIndex,t)}},loader:WxFavoritesIndexLoader,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"收藏",type:"default"},isNVue:!1}},{path:"/wx/friendsCircle/detail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WxFriendsCircleDetail,t)}},loader:WxFriendsCircleDetailLoader,meta:{navigationBar:{titleText:"详情",type:"default",buttons:[{text:"",fontSrc:"/static/wx_iconfont.ttf",fontSize:"24px",background:"rgba(0,0,0,0)"}],backButton:{background:"rgba(0,0,0,0)"}},isNVue:!1}},{path:"/wl/login/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(WlLoginIndex,t)}},loader:WlLoginIndexLoader,meta:{navigationBar:{titleText:"登录",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));class config{static getBaseApiUrl(){return"http://172.16.2.3:8989"}static getImApiUrl(){return"http://172.16.2.3:28000/v1"}static getImAppId(){return 1e4}}let http={setBaseUrl:e=>{"/"===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),http.baseUrl=e},header:{},beforeRequestFilter:e=>e,beforeResponseFilter:e=>e,afterResponseFilter:e=>{},get:get,delete:deletE,post:post,put:put,request:request,uploadFile:uploadFile,downloadFile:downloadFile};function init(e){let t=http.baseUrl;t&&e.url&&!e.url.match(/^(http|https):\/\/([\w.]+\/?)\S*$/)&&("/"!==e.url.charAt(0)&&(e.url="/"+e.url),e.url=t.concat(e.url)),null!=http.header&&null!=http.header&&(e.header?Object.keys(http.header).forEach((function(t){e.header[t]=http.header[t]})):e.header=http.header)}function request(e){init(e);let t={url:e.url?e.url:http.baseUrl,data:e.data,header:e.header,method:e.method?e.method:"GET",dataType:e.dataType?e.dataType:"json",responseType:e.responseType?e.responseType:"text",success:e.success?t=>{http.afterResponseFilter(e.success(http.beforeResponseFilter(t)))}:null,fail:e.fail?t=>{e.fail(t)}:()=>{showToast({title:"请检查网络",icon:"none"}),hideLoading()},complete:e.complete?t=>{e.complete(t)}:e=>{e.statusCode||(showToast({title:"请求失败",icon:"none"}),hideLoading()),200!==e.statusCode&&(showToast({title:"请求失败",icon:"none"}),hideLoading()),200==e.statusCode&&(401==e.data.code||e.data.code&&200!==e.data.code&&showToast({title:e.data.msg,icon:"none",position:"top"}),hideLoading()),stopPullDownRefresh()}};const n=["Authorization","device","version"];for(var o=0;o<n.length;o++)getStorageSync(n[o])&&(http.header[n[o]]=getStorageSync(n[o]));return request$1(http.beforeRequestFilter(t))}function get(e,t,n){let o={};return t&&"function"==typeof t?(n&&"object"==typeof n&&(o=n),o.success=t):(t&&"object"==typeof t&&(o=t),o.success=n),e&&(o.url=e),o.method="GET",request(o)}function deletE(e,t,n){let o={};return t&&"function"==typeof t?(n&&"object"==typeof n&&(o=n),o.success=t):(t&&"object"==typeof t&&(o=t),o.success=n),e&&(o.url=e),o.method="DELETE",request(o)}function post(e,t,n,o){let r={};return n&&"function"==typeof n?(o&&"object"==typeof o&&(r=o),r.success=n):(n&&"object"==typeof n&&(r=n),r.success=o),e&&(r.url=e),t&&(r.data=t),r.method="POST",request(r)}function put(e,t,n,o){let r={};return n&&"function"==typeof n?(o&&"object"==typeof o&&(r=o),r.success=n):(n&&"object"==typeof n&&(r=n),r.success=o),e&&(r.url=e),t&&(r.data=t),r.method="PUT",request(r)}function uploadFile(e){init(e);let t={url:e.url?e.url:http.baseUrl,files:e.files,filesType:e.filesType,filePath:e.filePath,name:e.name,header:e.header,formData:e.formData,success:e.success?t=>{http.afterResponseFilter(e.success(http.beforeResponseFilter(t)))}:null,fail:e.fail?t=>{e.fail(t)}:null,complete:e.complete?t=>{e.complete(t)}:null};const n=["Authorization","device","version"];for(var o=0;o<n.length;o++)getStorageSync(n[o])&&(http.header[n[o]]=getStorageSync(n[o]));return uploadFile$1(http.beforeRequestFilter(t))}function downloadFile(e){init(e);let t={url:e.url?e.url:http.baseUrl,header:e.header,success:e.success?t=>{http.afterResponseFilter(e.success(http.beforeResponseFilter(t)))}:null,fail:e.fail?t=>{e.fail(t)}:null,complete:e.complete?t=>{e.complete(t)}:null};return downloadFile$1(http.beforeRequestFilter(t))}http.setBaseUrl(config.getBaseApiUrl());let Pinyin=function(){var e=function(e){this.initialize(e)},t={checkPolyphone:!1,charcase:"default"};e.fn=e.prototype={init:function(e){this.options=n(t,e)},initialize:function(e){this.init(e),this.char_dict="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",this.full_dict={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},this.polyphone={19969:"DZ",19975:"WM",19988:"QJ",20048:"YL",20056:"SC",20060:"NM",20094:"QG",20127:"QJ",20167:"QC",20193:"YG",20250:"KH",20256:"ZC",20282:"SC",20285:"QJG",20291:"TD",20314:"YD",20340:"NE",20375:"TD",20389:"YJ",20391:"CZ",20415:"PB",20446:"YS",20447:"SQ",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF",20985:"AW",21032:"PB",21048:"XQ",21049:"SC",21089:"YS",21119:"JC",21242:"SB",21273:"SC",21305:"YP",21306:"QO",21330:"ZC",21333:"SDC",21345:"QK",21378:"CA",21397:"SC",21414:"XS",21442:"SC",21477:"JG",21480:"TD",21484:"ZS",21494:"YX",21505:"YX",21512:"HG",21523:"XH",21537:"PB",21542:"PF",21549:"KH",21571:"E",21574:"DA",21588:"TD",21589:"O",21618:"ZC",21621:"KHA",21632:"ZJ",21654:"KG",21679:"LKG",21683:"KH",21710:"A",21719:"YH",21734:"WOE",21769:"A",21780:"WN",21804:"XH",21834:"A",21899:"ZD",21903:"RN",21908:"WO",21939:"ZC",21956:"SA",21964:"YA",21970:"TD",22003:"A",22031:"JG",22040:"XS",22060:"ZC",22066:"ZC",22079:"MH",22129:"XJ",22179:"XA",22237:"NJ",22244:"TD",22280:"JQ",22300:"YH",22313:"XW",22331:"YQ",22343:"YJ",22351:"PH",22395:"DC",22412:"TD",22484:"PB",22500:"PB",22534:"ZD",22549:"DH",22561:"PB",22612:"TD",22771:"KQ",22831:"HB",22841:"JG",22855:"QJ",22865:"XQ",23013:"ML",23081:"WM",23487:"SX",23558:"QJ",23561:"YW",23586:"YW",23614:"YW",23615:"SN",23631:"PB",23646:"ZS",23663:"ZT",23673:"YG",23762:"TD",23769:"ZS",23780:"QJ",23884:"QK",24055:"XH",24113:"DC",24162:"ZC",24191:"GA",24273:"QJ",24324:"NL",24377:"TD",24378:"QJ",24439:"PF",24554:"ZS",24683:"TD",24694:"WE",24733:"LK",24925:"TN",25094:"ZG",25100:"XQ",25103:"XH",25153:"PB",25170:"PB",25179:"KG",25203:"PB",25240:"ZS",25282:"FB",25303:"NA",25324:"KG",25341:"ZY",25373:"WZ",25375:"XJ",25384:"A",25457:"A",25528:"SD",25530:"SC",25552:"TD",25774:"ZC",25874:"ZC",26044:"YW",26080:"WM",26292:"PB",26333:"PB",26355:"ZY",26366:"CZ",26397:"ZC",26399:"QJ",26415:"ZS",26451:"SB",26526:"ZC",26552:"JG",26561:"TD",26588:"JG",26597:"CZ",26629:"ZS",26638:"YL",26646:"XQ",26653:"KG",26657:"XJ",26727:"HG",26894:"ZC",26937:"ZS",26946:"ZC",26999:"KJ",27099:"KJ",27449:"YQ",27481:"XS",27542:"ZS",27663:"ZS",27748:"TS",27784:"SC",27788:"ZD",27795:"TD",27812:"O",27850:"PB",27852:"MB",27895:"SL",27898:"PL",27973:"QJ",27981:"KH",27986:"HX",27994:"XJ",28044:"YC",28065:"WG",28177:"SM",28267:"QJ",28291:"KH",28337:"ZQ",28463:"TL",28548:"DC",28601:"TD",28689:"PB",28805:"JG",28820:"QG",28846:"PB",28952:"TD",28975:"ZC",29100:"A",29325:"QJ",29575:"SL",29602:"FB",30010:"TD",30044:"CX",30058:"PF",30091:"YSP",30111:"YN",30229:"XJ",30427:"SC",30465:"SX",30631:"YQ",30655:"QJ",30684:"QJG",30707:"SD",30729:"XH",30796:"LG",30917:"PB",31074:"NM",31085:"JZ",31109:"SC",31181:"ZC",31192:"MLB",31293:"JQ",31400:"YX",31584:"YJ",31896:"ZN",31909:"ZY",31995:"XJ",32321:"PF",32327:"ZY",32418:"HG",32420:"XQ",32421:"HG",32438:"LG",32473:"GJ",32488:"TD",32521:"QJ",32527:"PB",32562:"ZSQ",32564:"JZ",32735:"ZD",32793:"PB",33071:"PF",33098:"XL",33100:"YA",33152:"PB",33261:"CX",33324:"BP",33333:"TD",33406:"YA",33426:"WM",33432:"PB",33445:"JG",33486:"ZN",33493:"TS",33507:"QJ",33540:"QJ",33544:"ZC",33564:"XQ",33617:"YT",33632:"QJ",33636:"XH",33637:"YX",33694:"WG",33705:"PF",33728:"YW",33882:"SR",34067:"WM",34074:"YW",34121:"QJ",34255:"ZC",34259:"XL",34425:"JH",34430:"XH",34485:"KH",34503:"YS",34532:"HG",34552:"XS",34558:"YE",34593:"ZL",34660:"YQ",34892:"XH",34928:"SC",34999:"QJ",35048:"PB",35059:"SC",35098:"ZC",35203:"TQ",35265:"JX",35299:"JX",35782:"SZ",35828:"YS",35830:"E",35843:"TD",35895:"YG",35977:"MH",36158:"JG",36228:"QJ",36426:"XQ",36466:"DC",36710:"JC",36711:"ZYG",36767:"PB",36866:"SK",36951:"YW",37034:"YX",37063:"XH",37218:"ZC",37325:"ZC",38063:"PB",38079:"TD",38085:"QY",38107:"DC",38116:"TD",38123:"YD",38224:"HG",38241:"XTC",38271:"ZC",38415:"YE",38426:"KH",38461:"YD",38463:"AE",38466:"PB",38477:"XJ",38518:"YT",38551:"WK",38585:"ZC",38704:"XS",38739:"LJ",38761:"GJ",38808:"SQ",39048:"JG",39049:"XJ",39052:"HG",39076:"CZ",39271:"XT",39534:"TD",39552:"TD",39584:"PB",39647:"SB",39730:"LG",39748:"TPB",40109:"ZQ",40479:"ND",40516:"HG",40536:"HG",40583:"QJ",40765:"YQ",40784:"QJ",40840:"YK",40863:"QJG"}},getFullChars:function(e){for(var t,n="",o=0,r=e.length;o<r;o++){var i=e.substr(o,1),a=i.charCodeAt(0);a>40869||a<19968?n+=i:!1!==(t=this._getFullChar(i))&&(n+=t)}return n},getCamelChars:function(e){if("string"!=typeof e)throw new Error(-1,"函数getFisrt需要字符串类型参数!");for(var t=[],n=0,o=e.length;n<o;n++){var r=e.charAt(n);t.push(this._getChar(r))}return this._getResult(t)},getCamelFistChar:function(e){if("string"!=typeof e)throw new Error(-1,"函数getFisrt需要字符串类型参数!");var t=[],n=e.charAt(0);return t.push(this._getChar(n)),this._getResult(t)},_getFullChar:function(e){for(var t in this.full_dict)if(-1!==this.full_dict[t].indexOf(e))return this._capitalize(t);return!1},_capitalize:function(e){if(e.length>0)return e.substr(0,1).toUpperCase()+e.substr(1,e.length)},_getChar:function(e){var t=e.charCodeAt(0);return t>40869||t<19968?e:this.options.checkPolyphone&&this.polyphone[t]?this.polyphone[t]:this.char_dict.charAt(t-19968)},_getResult:function(e){if(!this.options.checkPolyphone)return e.join("");for(var t=[""],n=0,o=e.length;n<o;n++){var r=e[n],i=r.length;if(1==i)for(var a=0;a<t.length;a++)t[c]+=r;else{var s=t.slice(0);t=[];for(a=0;a<i;a++){for(var l=s.slice(0),c=0;c<l.length;c++)l[c]+=r.charAt(a);t=t.concat(l)}}}return t}};var n=function(e,t){for(var n in t)e[n]=t[n];return e};return new e(arguments)}();var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},dayjs_min$1={exports:{}};dayjs_min$1.exports=function(){var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},_=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},S={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+_(o,2,"0")+":"+_(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,a=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-a:a-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:p,h:a,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",y={};y[v]=m;var T="$isDayjsObject",C=function(e){return e instanceof P||!(!e||!e[T])},b=function e(t,n,o){var r;if(!t)return v;if("string"==typeof t){var i=t.toLowerCase();y[i]&&(r=i),n&&(y[i]=n,r=i);var a=t.split("-");if(!r&&a.length>1)return e(a[0])}else{var s=t.name;y[s]=t,r=s}return!o&&r&&(v=r),r||!o&&v},L=function(e,t){if(C(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new P(n)},A=S;A.l=b,A.i=C,A.w=function(e,t){return L(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function m(e){this.$L=b(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[T]=!0}var _=m.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return A},_.isValid=function(){return!(this.$d.toString()===f)},_.isSame=function(e,t){var n=L(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return L(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<L(e)},_.$g=function(e,t,n){return A.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,o=!!A.u(t)||t,u=A.p(e),f=function(e,t){var r=A.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(s)},h=function(e,t){return A.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,m=this.$M,_=this.$D,S="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,m):f(0,m+1);case l:var v=this.$locale().weekStart||0,y=(g<v?g+7:g)-v;return f(o?_-y:_+(6-y),m);case s:case p:return h(S+"Hours",0);case a:return h(S+"Minutes",1);case i:return h(S+"Seconds",2);case r:return h(S+"Milliseconds",3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,l=A.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[s]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[l],h=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var g=this.clone().set(p,1);g.$d[f](h),g.init(),this.$d=g.set(p,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[A.p(e)]()},_.add=function(o,u){var p,f=this;o=Number(o);var h=A.p(u),g=function(e){var t=L(f);return A.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===s)return g(1);if(h===l)return g(7);var m=(p={},p[i]=t,p[a]=n,p[r]=e,p)[h]||1,_=this.$d.getTime()+o*m;return A.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var o=e||"YYYY-MM-DDTHH:mm:ssZ",r=A.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,r,i){return e&&(e[n]||e(t,o))||r[n].slice(0,i)},p=function(e){return A.s(i%12||12,e,"0")},h=u||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o};return o.replace(g,(function(e,o){return o||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return s+1;case"MM":return A.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return A.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(o,p,f){var h,g=this,m=A.p(p),_=L(o),S=(_.utcOffset()-this.utcOffset())*t,v=this-_,y=function(){return A.m(g,_)};switch(m){case d:h=y()/12;break;case c:h=y();break;case u:h=y()/3;break;case l:h=(v-S)/6048e5;break;case s:h=(v-S)/864e5;break;case a:h=v/n;break;case i:h=v/t;break;case r:h=v/e;break;default:h=v}return f?h:A.a(h)},_.daysInMonth=function(){return this.endOf(c).$D},_.$locale=function(){return y[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=b(e,t,!0);return o&&(n.$L=o),n},_.clone=function(){return A.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},m}(),E=P.prototype;return L.prototype=E,[["$ms",o],["$s",r],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",p]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),L.extend=function(e,t){return e.$i||(e(t,P,L),e.$i=!0),L},L.locale=b,L.isDayjs=C,L.unix=function(e){return L(1e3*e)},L.en=y[v],L.Ls=y,L.p={},L}();var dayjs_min=dayjs_min$1.exports,dayjs=Object.freeze(_mergeNamespaces({__proto__:null,[Symbol.toStringTag]:"Module",default:dayjs_min},[dayjs_min$1.exports])),publicFc={getdict:e=>new Promise(((t,n)=>{http.request({url:"/system/dict/data/type/"+e,success:e=>{if(200==e.data.code){for(var o=e.data.data,r=[],i=0;i<o.length;i++)r.push({label:o[i].dictLabel,value:o[i].dictValue});t(r)}else n(e)},fail:e=>{n(new Error(e.errMsg))}})})),returnParse:e=>JSON.parse(e),findLabel(e,t){for(var n=0;n<e.length;n++)if(e[n].value==t)return e[n].label},permissions(e){if(-1!==store.state.permissions.indexOf(e))return!0},hasRole(e){if(-1!==store.state.userRole.indexOf(e))return!0},hasRoles(e){var t=store.state.userRole;return function(e){for(var n=0;n<e.length;n++){if(-1!==t.indexOf(e[n]))return!0}return!1}(e)},previewImagesolo(e){previewImage({urls:[e]})},previewImages(e,t){previewImage({urls:e,current:t})},getFileType(e){let t="",n="";try{const n=e.split(".");t=n[n.length-1]}catch(o){t=""}if(!t)return!1;t=t.toLocaleLowerCase();if(n=["png","jpg","jpeg","bmp","gif"].find((e=>e===t)),n)return"image";if(n=["txt"].find((e=>e===t)),n)return"txt";if(n=["xls","xlsx"].find((e=>e===t)),n)return"excel";if(n=["doc","docx"].find((e=>e===t)),n)return"word";if(n=["pdf"].find((e=>e===t)),n)return"pdf";if(n=["ppt","pptx"].find((e=>e===t)),n)return"ppt";if(n=["mp4","m2v","mkv","rmvb","wmv","avi","flv","mov","m4v"].find((e=>e===t)),n)return"video";return n=["mp3","wav","wmv"].find((e=>e===t)),n?"radio":"other"},onOpenDoc(e){downloadFile$1({url:e,success:function(e){var t=e.tempFilePath;openDocument({filePath:t,success:function(e){console.log("打开文档成功")}})}})},openWebView(e){showToast({title:"仅手机端可打开",icon:"none"})},getNewDate(e,t,n){function o(e){return t&&e<=9?"0"+e:e}var r=new Date;n&&(r=Date.parse(new Date(n)));var i=r.getFullYear(),a=o(r.getMonth()+1),s=o(r.getDate()),l=o(r.getHours()),c=o(r.getMinutes()),u=o(r.getSeconds());switch(e){case"y":return i;case"m":return a;case"d":return s;case"h":return l;case"mm":return c;case"ss":return u;case"ymd":return i+"/"+a+"/"+s;case"hmmss":return l+":"+c+":"+u;default:return i+"/"+a+"/"+s+" "+l+":"+c+":"+u}},getKeyObjectStorage(e){try{var t=getStorageSync(e);return t=t?JSON.parse(t):new Object}catch(e2){return new Object}},loadMore:({url:e="xxx/list/",queryParams:t={refreshing:!1,pageNum:1,status:"more",pageSize:10},status:n="0"})=>new Promise(((n,o)=>{http.request({url:e+"&pageNum="+(t.refreshing?1:t.pageNum)+"&pageSize="+t.pageSize,success:e=>{if(200==e.data.code){let o=[],i=e.data.rows;if(t.refreshing&&""==e.data.rows||t.refreshing&&0==e.data.rows.length)return t.status="noMore",void n({queryParams:t,list:o,status:"3"});if(""==e.data.rows||0==e.data.rows.length)return t.status="noMore",void n({queryParams:t,list:o,status:"0"});for(let e=0,t=i.length;e<t;e++){var r=i[e];o.push(r)}t.refreshing?(t.refreshing=!1,t.pageNum=2,t.status="more",n({queryParams:t,list:o,status:"2"})):(t.pageNum+=1,t.status="more",n({queryParams:t,list:o,status:"1"}))}else o(e)},fail:e=>{o(e)}})})),getPush(e){console.log(e);var t=e.pushType;if("MSG"==t){var n=e.userId;return getStorageSync("userId"),void this.pushInMsg({type:"ALERT"==e.msgContent.msgType?3:1,msgContent:e.msgContent.content,msgType:e.msgContent.msgType,windowType:"SINGLE",time:e.createTime,fromInfo:e.fromInfo,groupInfo:e.groupInfo,userId:n,personId:e.fromInfo.userId,msgId:e.msgId,disturb:e.msgContent.disturb,top:e.msgContent.top})}if("NOTICE"==t&&(e.msgContent.topicReply.count&&store.commit("update_topicReply",e.msgContent.topicReply),e.msgContent.topicRed.portrait&&store.commit("update_topicRed",e.msgContent.topicRed),e.msgContent.friendApply.count&&store.commit("update_friendApply",e.msgContent.friendApply)),"BIG"!=t);else{var o=e.msgContent.content;http.request({url:"/chat/getBigMsg/"+o,success:e=>{if(200==e.data.code){var t=e.data.data,n=t.fromInfo.userId,o="SINGLE";t.groupInfo.userId&&(n=t.groupInfo.userId,o="GROUP"),this.pushInMsg({type:"ALERT"==t.msgContent.msgType?3:1,msgContent:t.msgContent.content,msgType:t.msgContent.msgType,windowType:o,time:t.createTime,fromInfo:t.fromInfo,groupInfo:t.groupInfo,userId:n,personId:t.fromInfo.userId,msgId:t.msgId,disturb:t.msgContent.disturb,top:t.msgContent.top})}}})}},pushInMsg({msgId:e,msgContent:t,msgType:n,windowType:o,userId:r,personId:i,time:a,type:s,fromInfo:l,groupInfo:c,disturb:u,top:d}){var p="";"TEXT"==n&&(p=t),"ALERT"==n&&(p=t),"IMAGE"==n&&(p="[图片]"),"VOICE"==n&&(p="[语音]"),"VIDEO"==n&&(p="[视频]"),"LOCATION"==n&&(p="[位置]"),"COLLECTION"==n&&(p="[收藏]"),"CARD"==n&&(p="[名片]"),"FILE"==n&&(p="[文件]"),"TRTC_VOICE_END"==n&&(p="[语音通话]"),"TRTC_VIDEO_END"==n&&(p="[视频通话]"),console.log(r),store.dispatch("createChatObj",{userId:r,windowType:o}).then((f=>{f.data,store.dispatch("getchatDatalist"),store.dispatch("getChatList");var h=store.state.chatDatalist[r].list,g=store.state.chatlist[r],m=this.getKeyObjectStorage(store.state.userInfo.userId+"_chatlistData");if(console.log("===========data2:",JSON.stringify(m[r])),!function({arr:e,object:t,key:n}){return e.find((e=>e[n]==t[n]))}({arr:h,object:{msgId:e},key:"msgId"})){var _={userId:r,personId:i,nickName:l.nickName,portrait:l.portrait,msgType:n,content:t,time:a,type:s,msgId:e,windowType:o},S={};"SINGLE"==o&&(S={userId:r,personId:i,nickName:l.nickName,portrait:l.portrait,content:p,time:dayjs(a).format("YYYY/MM/DD HH:mm:ss"),num:"Y"==u?"dot":g.num?g.num+1:1,windowType:o,disturb:"N",top:"N",userType:l.userType}),"GROUP"==o&&(S={userId:r,personId:i,nickName:c.nickName,portrait:c.portrait,content:p,time:a,num:"Y"==u?"dot":g.num?g.num+1:1,windowType:o,disturb:"N",top:d,userType:"GROUP"}),h.push(_),store.dispatch("updateChatById",{userId:r,data:h}),store.dispatch("updateChatListInfoById",{userId:r,data:S}),store.dispatch("tabBarpull"),store.dispatch("updateChatDataState",r)}}))},pushOutMsg({msgContent:e,msgType:t,windowType:n,userId:o}){var r="";"TEXT"==t&&(r=e),"ALERT"==t&&(r=e),"IMAGE"==t&&(r="[图片]"),"VOICE"==t&&(r="[语音]"),"VIDEO"==t&&(r="[视频]"),"LOCATION"==t&&(r="[位置]"),"COLLECTION"==t&&(r="[收藏]"),"CARD"==t&&(r="[名片]"),"FILE"==t&&(r="[文件]"),"TRTC_VOICE_END"==t&&(r="[语音通话]"),"TRTC_VIDEO_END"==t&&(r="[视频通话]");var i=store.state.userInfo;store.dispatch("createChatObj",{userId:o,windowType:n}).then((a=>{var s=a.data;store.dispatch("getchatDatalist"),store.dispatch("getChatList");var l=store.state.chatDatalist[o].list,c=store.state.chatlist[o],u=this.getNewDate("format",!0),d={},p={};"SINGLE"==n&&(d={userId:o,msgType:t,content:e},p={userId:o,personId:i.userId,nickName:s.fromInfo.nickName,portrait:s.fromInfo.portrait,content:r,time:u,num:"Y"==c.disturb?"dot":c.num?c.num:0,windowType:n,disturb:c.disturb?c.disturb:"N",top:c.top?c.top:"N",userType:s.fromInfo.userType}),"GROUP"==n&&(d={groupId:o,msgType:t,content:e},p={userId:o,personId:i.userId,nickName:s.groupInfo.nickName,portrait:s.groupInfo.portrait,content:r,time:u,num:"Y"==c.disturb?"dot":c.num?c.num:0,windowType:n,disturb:c.disturb?c.disturb:"N",top:c.top?c.top:"N",userType:"GROUP"});var f={userId:i.userId,personId:i.userId,nickName:i.nickName,portrait:i.portrait,msgType:t,content:e,time:u,type:2,msgId:"local",windowType:n};i.userId,i.portrait;return store.dispatch("sendMsg",{userId:o,data:d}),f.sendtype="wating",f.msgId="1231",p.content=d.content,l.push(f),store.dispatch("updateChatById",{userId:o,data:l}),store.dispatch("updateChatListInfoById",{userId:o,data:p}),store.dispatch("tabBarpull"),store.dispatch("updateChatDataState",o),!1}))},h5SaveBase64Img({base64:e}){var t=e.split(","),n=atob(t[1]);let o=new ArrayBuffer(n.length),r=new Uint8Array(o);for(let c=0;c<n.length;c++)r[c]=n.charCodeAt(c);var i=new Blob([o],{type:"application/octet-stream"}),a=URL.createObjectURL(i),s=document.createElement("a");s.href=a,s.download=(new Date).getTime()+".png";var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),s.dispatchEvent(l),URL.revokeObjectURL(a)},plusSaveBase64Img({base64:e}){const t=new plus.nativeObj.Bitmap("test");t.loadBase64Data(e,(function(){const e=(new Date).getTime()+".png";t.save(e,{overwrite:!0},(n=>{saveImageToPhotosAlbum({filePath:e,success:function(){showToast({title:"图片保存成功",icon:"none"}),t.clear()}})}),(e=>{showToast({title:"图片保存失败",icon:"none"}),t.clear()}))}),(e=>{showToast({title:"图片保存失败",icon:"none"}),t.clear()}))},arrFindkey:({arr:e,key:t,val:n})=>({item:e.find((function(e,o,r){return e[t]===n})),index:e.findIndex((function(e,o,r){return e[t]===n}))}),plusDownload:({onlinePath:e,savePath:t="file://storage/emulated/0/Documents/weiliao/"})=>new Promise(((e,t)=>{t("下载失败H5不支持plus")})),plusOpenFile({filePath:e}){"ios"==getSystemInfoSync().platform&&(e=encodeURI(e)),openDocument({filePath:e,success:e=>{},fail:e=>{console.log(e)}})},sortList({list:e,key:t}){var n=[];e.forEach((e=>{let o="";if(e[t]=e[t]?e[t].trim():"",e[t]){o=Pinyin.getCamelFistChar(e[t]).toUpperCase();/^\d+$/.test(o)&&(o="Z#"),e.sort=o,n.push(o)}})),n=[...new Set(n)],e.sort(((e,t)=>e.sort.localeCompare(t.sort,"zh"))),n.sort(((e,t)=>e.localeCompare(t,"zh")));for(var o=[],r=0;r<n.length;r++){var i=n[r];"Z#"==i&&(i="#"),o.push({letter:i,data:[]});for(var a=0;a<e.length;a++){var s=e[a];"Z#"==s.sort&&(s.sort="#"),s.sort==i&&o[r].data.push(s)}}return o},saoyisao(){showToast({title:"扫一扫",icon:"none"})},setTitleNViewBtns(e,t){getCurrentPages$1()},formatMessage(e){e.pushType="MSG";const t=JSON.parse(e.messageBody);return e.msgContent={msgType:"TEXT",content:t.content,disturb:!1,top:!1},e.windowType="SINGLE",e.createTime=e.messageTime,e.userId=e.fromId,e.fromInfo={userId:e.fromId,userType:1,nickName:e.fromId,portrait:"https://shudong2022.oss-cn-hangzhou.aliyuncs.com/common/user/logo.png"},e.groupInfo={},e.msgId=e.messageKey,e},debounce(e,t=1e3,n=!0){let o;return function(){let r=arguments;if(o&&(console.log("拦截"),clearTimeout(o)),n){let n=!o;o=setTimeout((()=>{o=null}),t),n&&e.apply(this,r)}else o=setTimeout((()=>{e.apply(this,r)}),t)}},throttle(e,t=1e3,n=1){let o,r=0;return function(){let i=this,a=arguments;if(1===n){let n=Date.now();n-r>t&&(e.apply(i,a),r=n)}else 2===n&&(o||(o=setTimeout((()=>{o=null,e.apply(i,a)}),t)))}}},t2,e2;function getIM(){if("undefined"!=typeof uni)return{im:uni.im,im_webtoolkit:uni.im_webtoolkit};throw Error(" Couldn't not fetch lim.")}t2=window,e2=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){var o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o};t.__esModule=!0;var r=function(){function e(){}return e.info=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.debug&&console.info.apply(console,o([(new Date).toISOString()+" : "+t],n))},e.infoTag=function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e.debug&&console.info.apply(console,o([(new Date).toISOString()+" "+t+" : "+n],r))},e.error=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.debug&&console.error.apply(console,o([(new Date).toISOString()+" : "+t],n))},e.errorTag=function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e.debug&&console.error.apply(console,o([(new Date).toISOString()+" "+t+" : "+n],r))},e.trace=function(t){e.debug&&(t instanceof Error?console.error(t.message+" \n "+(void 0!==t.stack?t.stack:"")):console.error(t))},e.debug=!1,e}();t.default=r},function(e,t,n){t.__esModule=!0;var o=function(){function e(){}return e.to=function(e){return JSON.parse(JSON.stringify(e))},e.bean=function(e){return JSON.parse(e)},e.copy=function(t){return e.to(t)},e.replace=function(t,n){var o=e.to(t);for(var r in n)o[r]=n[r];return o},e.toMapByKey=function(e,t){var n={};return e.forEach((function(e){e.hasOwnProperty(t)&&(n[t]=e)})),n},e.json=function(e){return JSON.stringify(e)},e.strEmpty=function(e){return!!e},e.strNotEmpty=function(e){return!e},e.isEmpty=function(e){return null===e||""===e||void 0===e||0===e.length},e.uuid=function(){return(36*Math.random()).toString(36).slice(2)+(new Date).getTime().toString()},e}();t.default=o},function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(t){i(t)}}function s(e){try{l(o.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};t.__esModule=!0,t.imClient=t.getLen=t.limLogin=t.ImClient=t.sleep=t.State=void 0;var i,a,s,l=n(0),c=n(5),u=n(6),d=n(7),p=n(10),f=n(14),h=n(15),g=n(16),m=n(1),_=n(18),S=n(19);(s=i=t.State||(t.State={}))[s.INIT=0]="INIT",s[s.CONNECTING=1]="CONNECTING",s[s.CONNECTED=2]="CONNECTED",s[s.RECONNECTING=3]="RECONNECTING",s[s.CLOSEING=4]="CLOSEING",s[s.CLOSED=5]="CLOSED",function(e){e[e.Second=1e3]="Second",e[e.Millisecond=1]="Millisecond"}(a||(a={})),t.sleep=function(e,t){return void 0===t&&(t=a.Second),o(void 0,void 0,void 0,(function(){return r(this,(function(n){return[2,new Promise((function(n,o){setTimeout((function(){n()}),e*t)}))]}))}))};var v=function(){function e(){this.url="",this.version=1,this.clientType=1,this.listeners=null,this.state=i.INIT,this.lastOfflineMessageSequence=0,this.offlineMessageList=new Array,this.httpUrl=""}return e.prototype.getRequestBase=function(){return new f.RequestBase(this.appId,this.clientType,this.imei)},e.prototype.isInit=function(){return this.state==i.CONNECTED},e.prototype.getRequestParams=function(){return new h.RequestParams(this.appId,this.userId,this.userSign)},e.prototype.init=function(e,n,a,s,p,f){return o(this,void 0,void 0,(function(){var o,h,S,v,y,T,C,b,L,A=this;return r(this,(function(r){switch(r.label){case 0:return(o=this).httpUrl=e,o.appId=n,o.listeners=p,o.imei=d.default.getDeviceInfo().system,o.imeiLength=t.getLen(o.imei),o.userId=a,this.userSign=s,this.imeiLength=o.imeiLength,m.default.isEmpty(this.url)?(l.default.info("获取im地址"),[4,new g.default(this.httpUrl).call("/user/login",{},{clientType:this.clientType,appId:this.appId,userId:this.userId})]):[3,2];case 1:if((h=r.sent()).isFailed())return l.default.info("登录失败获取im地址失败"),[2];S=h.data.ip,v=h.data.port,this.url="ws://"+S+":"+v+"/ws",r.label=2;case 2:return y=new u.LoginPack(o.appId,o.userId,1),[4,t.limLogin(o.url,y,o)];case 3:return T=r.sent(),C=T.success,b=T.err,L=T.conn,C?(L.onerror=function(e){l.default.info("websocket error: ",e),"function"==typeof t.imClient.listeners.onSocketErrorEvent&&t.imClient.listeners.onSocketErrorEvent(e),A.errorHandler(e,y)},L.onclose=function(e){l.default.info("event[onclose] fired"),o.state!=i.CLOSEING?("function"==typeof t.imClient.listeners.onSocketCloseEvent&&t.imClient.listeners.onSocketCloseEvent(),A.errorHandler(new Error(e.reason),y)):A.onclose("logout")},L.onmessage=function(e){var n=new c.default(e.data),o=n.int32().int32().unpack(),r=o[0],i=o[1],a=n.vstring(null,i).unpack()[2];console.log("sdk收到服务端数据 command"+r),console.log("sdk收到服务端数据"+a),r===_.MessageCommand.MSG_P2P?"function"==typeof t.imClient.listeners.onP2PMessage&&t.imClient.listeners.onP2PMessage(a):"function"==typeof t.imClient.listeners.onTestMessage&&t.imClient.listeners.onTestMessage(a)},this.conn=L,this.state=i.CONNECTED,this.loadOfflineMessage(),this.heartbeatLoop(this.conn),"function"==typeof t.imClient.listeners.onLogin&&t.imClient.listeners.onLogin(this.userId),f(o)):l.default.error(null==b?void 0:b.message),[2]}}))}))},e.prototype.buildMessagePack=function(e,n){var o=JSON.stringify(n),r=t.getLen(o),i=new c.default(null,0);return i.int32(e).int32(this.version).int32(this.clientType).int32(0).int32(this.appId).int32(this.imeiLength).int32(r).vstring(this.imei,this.imeiLength).vstring(o,r),i},e.prototype.errorHandler=function(e,n){return o(this,void 0,void 0,(function(){var e,o,a,s,c;return r(this,(function(r){switch(r.label){case 0:if(this.state==i.CLOSED||this.state==i.CLOSEING)return[2];this.state=i.RECONNECTING,"function"==typeof t.imClient.listeners.onSocketReConnectEvent&&t.imClient.listeners.onSocketReConnectEvent(),e=0,r.label=1;case 1:return e<10?[4,t.sleep(3)]:[3,7];case 2:r.sent(),r.label=3;case 3:return r.trys.push([3,5,,6]),l.default.info("try to relogin"),[4,t.limLogin(this.url,n,this)];case 4:return o=r.sent(),a=o.success,s=o.err,o.conn,a?("function"==typeof t.imClient.listeners.onSocketReConnectSuccessEvent&&t.imClient.listeners.onSocketReConnectSuccessEvent(),[2]):(l.default.info(s),[3,6]);case 5:return c=r.sent(),l.default.info(c),[3,6];case 6:return e++,[3,1];case 7:return this.onclose("reconnect timeout"),[2]}}))}))},e.prototype.onclose=function(e){this.state!=i.CLOSED&&(this.state=i.CLOSED,l.default.info("connection closed due to "+e),this.conn=void 0,this.userId="","function"==typeof t.imClient.listeners.onSocketErrorEvent&&t.imClient.listeners.onSocketCloseEvent())},e.prototype.getSingleUserInfo=function(e){var t=this;return new Promise((function(n,o){n(new g.default(t.httpUrl).call("/user/data/getSingleUserInfo",t.getRequestParams(),{userId:e}))}))},e.prototype.syncGetUserInfo=function(e){return o(this,void 0,void 0,(function(){return r(this,(function(t){return[2,new g.default(this.httpUrl).call("/user/data/getUserInfo",this.getRequestParams(),{userIds:e})]}))}))},e.prototype.getUserInfo=function(e){var t=this;return new Promise((function(n,o){n(new g.default(t.httpUrl).call("/user/data/getUserInfo",t.getRequestParams(),{userIds:e}))}))},e.prototype.getAllFriend=function(){var e=this;return new Promise((function(t,n){t(new g.default(e.httpUrl).call("/friendship/getAllFriendShip",e.getRequestParams(),{fromId:e.userId}))}))},e.prototype.getUserSequence=function(){var e=this;return new Promise((function(t,n){t(new g.default(e.httpUrl).call("/user/getUserSequence",e.getRequestParams(),{userId:e.userId}))}))},e.prototype.getUserConversationList=function(e){var t=this;return new Promise((function(n,o){n(new g.default(t.httpUrl).call("/conversation/syncConversationList",t.getRequestParams(),{userId:t.userId,appId:t.appId,maxLimit:100,lastSequence:e,operater:t.userId}))}))},e.prototype.heartbeatLoop=function(e){var n=this,o=Date.now(),r=function(){if(n.state==i.CONNECTED){if(Date.now()-o>=1e4){o=Date.now();var a=t.imClient.buildMessagePack(_.SystemCommand.PING,{});e.send(a.pack(!1))}setTimeout(r,500)}else l.default.error("heartbeatLoop exited")};setTimeout(r,500)},e.prototype.createP2PTextMessage=function(e,t){var n=new S.MessagePack(this.appId);return n.buildTextMessagePack(this.userId,e,t),n},e.prototype.sendP2PMessage=function(e){var n=t.imClient.buildMessagePack(_.MessageCommand.MSG_P2P,e);this.conn&&this.conn.send(n.pack(!1))},e.prototype.sendP2PMessageReciveAck=function(e){console.log("=============== sendP2PMessageReciveAck"),console.log(e),e.toId=e.fromId,e.fromId=this.userId,console.log(e);var n=t.imClient.buildMessagePack(_.MessageCommand.MSG_RECIVE_ACK,e);e.conversationType=0;var o=t.imClient.buildMessagePack(_.MessageCommand.MSG_READED,e),r=t.imClient.buildMessagePack(_.MessageCommand.MSG_READED_RECEIPT,e);this.conn&&(this.conn.send(n.pack(!1)),this.conn.send(o.pack(!1)),this.conn.send(r.pack(!1)))},e.prototype.sendP2PMessageReadedReceipt=function(e){console.log("=============== sendP2PMessageReadedRECEIPT"),console.log(e),e.toId=e.fromId,e.fromId=this.userId,console.log(e);var n=t.imClient.buildMessagePack(_.MessageCommand.MSG_READED_RECEIPT,e);this.conn&&(console.log("=============== sendP2PMessageReadedRECEIPT 正式开始发送已读回执"),this.conn.send(n.pack(!1)))},e.prototype.getUserId=function(){return this.userId},e.prototype.loadOfflineMessage=function(){return o(this,void 0,void 0,(function(){var e,n;return r(this,(function(o){switch(o.label){case 0:return l.default.info("loadOfflineMessage start"),[4,new g.default(this.httpUrl).call("/message/syncOfflineMessage",this.getRequestParams(),{clientType:this.clientType,operater:this.userId,appId:this.appId,lastSequence:this.lastOfflineMessageSequence,maxLimit:100})];case 1:return(e=o.sent()).isSucceed()?(this.lastOfflineMessageSequence=e.data.maxSequence,n=e.data.dataList,this.offlineMessageList.push(n),n.length>0&&"function"==typeof t.imClient.listeners.onOfflineMessage&&t.imClient.listeners.onOfflineMessage(n),console.log(e.data.completed),e.data.completed||this.loadOfflineMessage()):l.default.error("loadOfflineMessage - error"),[2]}}))}))},e}();t.ImClient=v,t.limLogin=function(e,t,n){return o(void 0,void 0,void 0,(function(){return r(this,(function(o){return[2,new Promise((function(o,r){var i=new p.w3cwebsocket(e);i.binaryType="arraybuffer",l.default.info("limLogin");var a=setTimeout((function(){clearTimeout(a),o({success:!1,err:new Error("timeout"),conn:i})}),1e4);i.onopen=function(){if(i.readyState==p.w3cwebsocket.OPEN){"function"==typeof n.listeners.onSocketConnectEvent&&n.listeners.onSocketConnectEvent(e,t),l.default.info("开启连接");var o={userId:t.userId},r=n.buildMessagePack(9e3,o);i.send(r.pack(!1))}},i.onerror=function(e){clearTimeout(a),l.default.error(e),o({success:!1,err:e,conn:i})},i.onmessage=function(e){if("string"!=typeof e.data){clearTimeout(a);var t=new c.default(e.data).int32().int32().unpack(),n=t[0];t[1],9001==n&&o({success:!0,conn:i})}else l.default.info("Received: '"+e.data+"'")}}))]}))}))},t.getLen=function(e){for(var t=0,n=0;n<e.length;n++){var o=e.charCodeAt(n);o>=1&&o<=126||65376<=o&&o<=65439?t++:t+=3}return t},t.imClient=new v},function(e,t,n){(function(e){t.__esModule=!0;var o=function(){function t(){}return t.getFetchToolkit=function(){return void 0!==e.fetch&&"function"==typeof e.fetch?e.fetch:"function"==typeof fetch?fetch:n(9).fetch},t}();t.default=o}).call(this,n(8))},function(e,t,n){t.__esModule=!0,t.im=void 0;var o=n(2);t.im=o.imClient,"undefined"!=typeof uni&&(uni.im=o.imClient)},function(e,t,n){t.__esModule=!0;var o=function(){function e(e,t){this.Type_Byte=1,this.Type_Short=2,this.Type_UShort=3,this.Type_Int32=4,this.Type_UInt32=5,this.Type_String=6,this.Type_VString=7,this.Type_Int64=8,this.Type_Float=9,this.Type_Double=10,this.Type_ByteArray=11,this._offset=0,this._list=[],this._littleEndian=!1,this._org_buf=e?e.constructor==DataView?e:e.constructor==Uint8Array?new DataView(e.buffer,t):new DataView(e,t):new DataView(new Uint8Array([]).buffer),this.arrayBuf=e,this.offset=t}return e.prototype.bigEndian=function(){return this._littleEndian=!1,this},e.prototype.littleEndianfunction=function(){return this._littleEndian=!0,this},e.prototype.utf8Write=function(e,t,n){for(var o=0,r=0,i=n.length;r<i;r++)(o=n.charCodeAt(r))<128?e.setUint8(t++,o):o<2048?(e.setUint8(t++,192|o>>6),e.setUint8(t++,128|63&o)):o<55296||o>=57344?(e.setUint8(t++,224|o>>12),e.setUint8(t++,128|o>>6&63),e.setUint8(t++,128|63&o)):(r++,o=65536+((1023&o)<<10|1023&n.charCodeAt(r)),e.setUint8(t++,240|o>>18),e.setUint8(t++,128|o>>12&63),e.setUint8(t++,128|o>>6&63),e.setUint8(t++,128|63&o))},e.prototype.int32=function(e,t){return 0==arguments.length?(this._list.push(this._org_buf.getInt32(this._offset,this._littleEndian)),this._offset+=4):(this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_Int32,d:e,l:4}),this._offset+=4),this},e.prototype.uint32=function(e,t){return 0==arguments.length?(this._list.push(this._org_buf.getUint32(this._offset,this._littleEndian)),this._offset+=4):(this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_UInt32,d:e,l:4}),this._offset+=4),this},e.prototype.blength=function(){return this._offset},e.prototype.string=function(e,t){if(0==arguments.length){var n=this._org_buf.getInt32(this._offset,this._littleEndian);this._offset+=4,this._list.push(this.utf8Read(this._org_buf,this._offset,n)),this._offset+=n}else n=0,e&&(n=this.utf8Length(e)),this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_String,d:e,l:n}),this._offset+=n+4;return this},e.prototype.utf8Length=function(e){for(var t=0,n=0,o=0,r=e.length;o<r;o++)(t=e.charCodeAt(o))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(o++,n+=4);return n},e.prototype.utf8Read=function(e,t,n){for(var o="",r=0,i=t,a=t+n;i<a;i++){var s=e.getUint8(i);if(0!=(128&s))if(192!=(224&s))if(224!=(240&s)){if(240!=(248&s))throw new Error("Invalid byte "+s.toString(16));(r=(7&s)<<18|(63&e.getUint8(++i))<<12|(63&e.getUint8(++i))<<6|(63&e.getUint8(++i))<<0)>=65536?(r-=65536,o+=String.fromCharCode(55296+(r>>>10),56320+(1023&r))):o+=String.fromCharCode(r)}else o+=String.fromCharCode((15&s)<<12|(63&e.getUint8(++i))<<6|(63&e.getUint8(++i))<<0);else o+=String.fromCharCode((15&s)<<6|63&e.getUint8(++i));else o+=String.fromCharCode(s)}return o},e.prototype.vstring=function(e,t,n){if(!t)throw new Error("vstring must got len argument");if(null==e||null==e){for(var o=0,r=this._offset;r<this._offset+t;r++)this._org_buf.getUint8(r)>0&&o++;this._list.push(this.utf8Read(this._org_buf,this._offset,o)),this._offset+=t}else this._list.splice(null!=n?n:this._list.length,0,{t:this.Type_VString,d:e,l:t}),this._offset+=t;return this},e.prototype.int64=function(e,t){return 0==arguments.length?(this._list.push(this._org_buf.getFloat64(this._offset,this._littleEndian)),this._offset+=8):(this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_Int64,d:e,l:8}),this._offset+=8),this},e.prototype.float=function(e,t){return 0==arguments.length?(this._list.push(this._org_buf.getFloat32(this._offset,this._littleEndian)),this._offset+=4):(this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_Float,d:e,l:4}),this._offset+=4),this},e.prototype.double=function(e,t){return 0==arguments.length?(this._list.push(this._org_buf.getFloat64(this._offset,this._littleEndian)),this._offset+=8):(this._list.splice(null!=t?t:this._list.length,0,{t:this.Type_Double,d:e,l:8}),this._offset+=8),this},e.prototype.byteArray=function(e,t,n){if(!t)throw new Error("byteArray must got len argument");if(null==e||null==e){var o=new Uint8Array(this._org_buf.buffer.slice(this._offset,this._offset+t));this._list.push(o),this._offset+=t}else this._list.splice(null!=n?n:this._list.length,0,{t:this.Type_ByteArray,d:e,l:t}),this._offset+=t;return this},e.prototype.unpack=function(){return this._list},e.prototype.packWithHead=function(){return this.pack(!0)},e.prototype.pack=function(e){this._org_buf=new DataView(new ArrayBuffer(e?this._offset+4:this._offset));var t=0;e&&(this._org_buf.setUint32(t,this._offset,this._littleEndian),t+=4);for(var n=0;n<this._list.length;n++)switch(this._list[n].t){case this.Type_Byte:this._org_buf.setInt8(t,this._list[n].d),t+=this._list[n].l;break;case this.Type_Short:this._org_buf.setInt16(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_UShort:this._org_buf.setUint16(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_Int32:this._org_buf.setInt32(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_UInt32:this._org_buf.setUint32(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_String:this._org_buf.setUint32(t,this._list[n].l,this._littleEndian),t+=4,this.utf8Write(this._org_buf,t,this._list[n].d),t+=this._list[n].l;break;case this.Type_VString:this.utf8Write(this._org_buf,t,this._list[n].d);for(var o=t+this.utf8Length(this._list[n].d);o<t+this._list[n].l;o++)this._org_buf.setUint8(o,0);t+=this._list[n].l;break;case this.Type_Int64:this._org_buf.setFloat64(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_Float:this._org_buf.setFloat32(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_Double:this._org_buf.setFloat64(t,this._list[n].d,this._littleEndian),t+=this._list[n].l;break;case this.Type_ByteArray:var r=0;for(o=t;o<t+this._list[n].l;o++)r<this._list[n].d.length?this._org_buf.setUint8(o,this._list[n].d[r]):this._org_buf.setUint8(o,0),r++;t+=this._list[n].l}return this._org_buf.buffer},e.prototype.getAvailable=function(){return this._org_buf?this._org_buf.buffer.byteLength-this._offset:this._offset},e}();t.default=o},function(e,t,n){t.__esModule=!0,t.LoginPack=void 0,t.LoginPack=function(e,t,n){this.userId=t,this.clientType=n,this.appId=e}},function(module,exports,__webpack_require__){exports.__esModule=!0;var Fetch_1=__webpack_require__(3),Logger_1=__webpack_require__(0),Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t,n,o,r,i,a,s,l="",c=0;for(e=Base64._utf8_encode(e);c<e.length;)r=(t=e.charCodeAt(c++))>>2,i=(3&t)<<4|(n=e.charCodeAt(c++))>>4,a=(15&n)<<2|(o=e.charCodeAt(c++))>>6,s=63&o,isNaN(n)?a=s=64:isNaN(o)&&(s=64),l=l+this._keyStr.charAt(r)+this._keyStr.charAt(i)+this._keyStr.charAt(a)+this._keyStr.charAt(s);return l},decode:function(e){var t,n,o,r,i,a,s="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l<e.length;)t=this._keyStr.indexOf(e.charAt(l++))<<2|(r=this._keyStr.indexOf(e.charAt(l++)))>>4,n=(15&r)<<4|(i=this._keyStr.indexOf(e.charAt(l++)))>>2,o=(3&i)<<6|(a=this._keyStr.indexOf(e.charAt(l++))),s+=String.fromCharCode(t),64!=i&&(s+=String.fromCharCode(n)),64!=a&&(s+=String.fromCharCode(o));return Base64._utf8_decode(s)},_utf8_encode:function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var o=e.charCodeAt(n);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},_utf8_decode:function(e){for(var t="",n=0,o=0,r=0;n<e.length;)if((o=e.charCodeAt(n))<128)t+=String.fromCharCode(o),n++;else if(o>191&&o<224)r=e.charCodeAt(n+1),t+=String.fromCharCode((31&o)<<6|63&r),n+=2;else{r=e.charCodeAt(n+1);var i=e.charCodeAt(n+2);t+=String.fromCharCode((15&o)<<12|(63&r)<<6|63&i),n+=3}return t}},WebToolkit=function(){function WebToolkit(){}return WebToolkit.getBrowserInfo=function(){var e=navigator.userAgent.toLowerCase(),t=/edge\/[\d.]+/gi,n=/trident\/[\d.]+/gi,o=/msie\s[\d.]+/gi,r=/firefox\/[\d.]+/gi,i=/chrome\/[\d.]+/gi,a=/safari\/[\d.]+/gi,s=/opr\/[\d.]+/gi,l={code:0,system:e.split(" ")[1].split(" ")[0].split("(")[1],browser:"",browserVersion:""};return e.indexOf("trident")>0?(l.browser=e.match(n)[0].split("/")[0],l.browserVersion=e.match(n)[0].split("/")[1],l):e.indexOf("msie")>0?(l.browser=e.match(o)[0].split(" ")[0],l.browserVersion=e.match(o)[0].split(" ")[1],l):e.indexOf("edge")>0?(l.browser=e.match(t)[0].split("/")[0],l.browserVersion=e.match(t)[0].split("/")[1],l):e.indexOf("firefox")>0?(l.browser=e.match(r)[0].split("/")[0],l.browserVersion=e.match(r)[0].split("/")[1],l):e.indexOf("opr")>0?(l.browser=e.match(s)[0].split("/")[0],l.browserVersion=e.match(s)[0].split("/")[1],l):e.indexOf("safari")>0&&e.indexOf("chrome")<0?(l.browser=e.match(a)[0].split("/")[0],l.browserVersion=e.match(a)[0].split("/")[1],l):e.indexOf("chrome")>0?(l.browser=e.match(i)[0].split("/")[0],l.browserVersion=e.match(i)[0].split("/")[1],l):(l.code=-1,l)},WebToolkit.getWxappInfo=function(){return{system:"WXAPP",browser:"WXAPP",browserVersion:"1.0"}},WebToolkit.getReactNativeInfo=function(){return{system:"RNNative",browser:"RNNative",browserVersion:"1.0"}},WebToolkit.getUniAppInfo=function(){return{system:"UNIAPP",browser:"UNIAPP",browserVersion:"1.0"}},WebToolkit.loadJS=function(e,t){var n=document.createElement("script"),o=t||function(){};n.type="text/javascript";var r=!1;for(var i in document.getElementsByTagName("head")[0].children){var a=document.getElementsByTagName("head")[0].children[i];void 0!==a.outerHTML&&a.outerHTML.indexOf(e)>=0&&(r=!0)}r?o():(n.readyState?n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,o())}:n.onload=function(){o()},n.src=e,document.getElementsByTagName("head")[0].appendChild(n))},WebToolkit.getIpInfoByFetch=function(callback){var url="http://pv.sohu.com/cityjson?ie=utf-8",fetch=Fetch_1.default.getFetchToolkit(),request={method:"GET",mode:"cors",headers:{"Content-Type":"application/json"}};return fetch(url,request).then((function(e){return e.text()})).then((function(res){if("function"==typeof callback){var currentCity=eval("_current_city="+res.replace("var returnCitySN = ",""));callback(currentCity)}})).catch((function(e){Logger_1.default.trace(e)}))},WebToolkit.getIpInfoByInsertScript=function(e){WebToolkit.loadJS("http://pv.sohu.com/cityjson?ie=utf-8",(function(){e(window.returnCitySN)}))},WebToolkit.getIpInfo=function(e){WebToolkit.getIpInfoByFetch(e)},WebToolkit.getDeviceInfo=function(){return WebToolkit.getUniAppInfo()},WebToolkit.base64Encode=function(e){return Base64.encode(e)},WebToolkit.base64Decode=function(e){return Base64.decode(e)},WebToolkit}();exports.default=WebToolkit},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){n.r(t),n.d(t,"Headers",(function(){return h})),n.d(t,"Request",(function(){return T})),n.d(t,"Response",(function(){return L})),n.d(t,"DOMException",(function(){return P})),n.d(t,"fetch",(function(){return E}));var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in o,l="ArrayBuffer"in o;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e}function p(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function g(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function _(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function S(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&a&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=S(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=S(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("Content-Type")||("string"==typeof e?this.headers.set("Content-Type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("Content-Type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?g(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(_)}),this.text=function(){var e,t,n,o=g(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,n=m(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(C)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[d(e)]},h.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},h.prototype.set=function(e,t){this.map[d(e)]=p(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},i&&(h.prototype[Symbol.iterator]=h.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function T(e,t){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof T){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(o=(n=t.method||this.method||"GET").toUpperCase(),y.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function C(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function b(e){var t=new h;for(var n in e)t.append(n,e[n]);return t}function L(e,t){if(!(this instanceof L))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},v.call(T.prototype),v.call(L.prototype),L.prototype.clone=function(){return new L(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},L.error=function(){var e=new L(null,{status:0,statusText:""});return e.type="error",e};var A=[301,302,303,307,308];L.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new L(null,{status:t,headers:{location:e}})};var P=o.DOMException;try{new P}catch(w){(P=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),P.prototype.constructor=P}function E(e,t){return new Promise((function(n,r){var i=new T(e,t);if(i.signal&&i.signal.aborted)return r(new P("Aborted","AbortError"));function a(e){try{if("object"==typeof e)return JSON.stringify(e);if("string"==typeof e)return e}catch(t){}return e.toString()}let s=void 0===i._bodyInit?null:i._bodyInit;i.headers.hasOwnProperty("Content-Type")&&i.headers["Content-Type"].indexOf("application/json")>=0&&"POST"===i.method.toUpperCase()&&(s=JSON.parse(s));const l=request$1({url:function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(i.url),method:i.method,data:s,header:i.headers.map,complete:e=>{if(i.signal&&i.signal.removeEventListener("abort",c),e.errMsg.indexOf("fail")>=0)setTimeout((function(){r(new TypeError("Network request failed"))}),0);else{var t={status:e.statusCode,statusText:e.data?a(e.data):"",headers:b(e.header||{})};t.url=t.headers.get("X-Request-URL");var o=t.statusText;setTimeout((function(){n(new L(o,t))}),0)}}});function c(){l.abort()}i.signal&&i.signal.addEventListener("abort",c)}))}E.polyfill=!0,o.fetch||(o.fetch=E,o.Headers=h,o.Request=T,o.Response=L)},function(e,t,n){var o;if("object"==typeof globalThis)o=globalThis;else try{o=n(11)}catch(s){}finally{if(o||"undefined"==typeof window||(o=window),!o)throw new Error("Could not determine global this")}var r=o.WebSocket||o.MozWebSocket,i=n(12);function a(e,t){return t?new r(e,t):new r(e)}r&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach((function(e){Object.defineProperty(a,e,{get:function(){return r[e]}})})),e.exports={w3cwebsocket:r?a:null,version:i}},function(e,t){var n=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;if("object"==typeof globalThis&&globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return n()}try{return __global__||n()}finally{delete Object.prototype.__global__}}()},function(e,t,n){e.exports=n(13).version},function(e){e.exports=JSON.parse('{"name":"websocket","description":"Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.","keywords":["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],"author":"Brian McKelvey <theturtle32@gmail.com> (https://github.com/theturtle32)","contributors":["Iñaki Baz Castillo <ibc@aliax.net> (http://dev.sipdoc.net)"],"version":"1.0.34","repository":{"type":"git","url":"https://github.com/theturtle32/WebSocket-Node.git"},"homepage":"https://github.com/theturtle32/WebSocket-Node","engines":{"node":">=4.0.0"},"dependencies":{"bufferutil":"^4.0.1","debug":"^2.2.0","es5-ext":"^0.10.50","typedarray-to-buffer":"^3.1.5","utf-8-validate":"^5.0.2","yaeti":"^0.0.6"},"devDependencies":{"buffer-equal":"^1.0.0","gulp":"^4.0.2","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1","jshint":"^2.0.0","tape":"^4.9.1"},"config":{"verbose":false},"scripts":{"test":"tape test/unit/*.js","gulp":"gulp"},"main":"index","directories":{"lib":"./lib"},"browser":"lib/browser.js","license":"Apache-2.0"}')},function(e,t,n){t.__esModule=!0,t.RequestBase=void 0,t.RequestBase=function(e,t,n){this.appId=e,this.clientType=t,this.imei=n}},function(e,t,n){t.__esModule=!0,t.RequestParams=void 0,t.RequestParams=function(e,t,n){this.appId=e,this.identifier=t,this.userSign=n}},function(e,t,n){t.__esModule=!0;var o=n(0),r=n(2),i=n(17),a=n(1),s=n(3),l=function(){function e(e){this.url="",this.url=e}return e.prototype.call=function(e,t,n){var i=r.imClient.userId;o.default.info(i);var s=this.url+e;null!=t&&(s+=this.setQueryConfig(t)),n=this.setQueryToBody(t,n);var l={method:"POST",headers:{"Content-Type":"application/json"},mode:"cors",body:a.default.json(n)};return this.httpFetch(s,l)},e.prototype.setQueryToBody=function(e,t){for(var n in e)t[n]=e[n];return t},e.prototype.setQueryConfig=function(e){var t="?";for(var n in e)t+=n+"="+e[n]+"&";return t.substring(0,t.length-1)},e.prototype.httpFetch=function(e,t){var n=this;return console.log("httpFetch"),s.default.getFetchToolkit()(e,t).then((function(e){return e.json()})).then((function(r){o.default.info("==> ["+t.method+"] "+e+" back:"+a.default.json(r));var i=n.response2ApiResponse(r);return i.isFailed()?Promise.reject(i):Promise.resolve(i)}))},e.prototype.response2ApiResponse=function(e){var t=new i.default(!0);return t.data=e.data,t.msg=e.msg,t.code=e.code,t},e}();t.default=l},function(e,t,n){t.__esModule=!0;var o=function(){function e(e){void 0===e&&(e=!1),this.msg="",this.data=null,e&&(this.code=200)}return e.prototype.isSucceed=function(){return 200===this.code},e.prototype.isFailed=function(){return!this.isSucceed()},e}();t.default=o},function(e,t,n){var o,r,i,a,s,l,c;t.__esModule=!0,t.ConversationEventCommand=t.UserEventCommand=t.SystemCommand=t.GroupCommand=t.FriendShipCommand=t.MessageCommand=void 0,(c=o||(o={}))[c.MSG_P2P=1103]="MSG_P2P",c[c.MSG_P2P_SYNC=1108]="MSG_P2P_SYNC",c[c.MSG_READED=1106]="MSG_READED",c[c.MSG_RECIVE_ACK=1107]="MSG_RECIVE_ACK",c[c.MSG_ACK=1046]="MSG_ACK",c[c.MSG_RECALL=1050]="MSG_RECALL",c[c.MSG_RECALL_NOTIFY=1052]="MSG_RECALL_NOTIFY",c[c.MSG_RECALL_ACK=1051]="MSG_RECALL_ACK",c[c.MSG_READED_NOTIFY=1053]="MSG_READED_NOTIFY",c[c.MSG_READED_RECEIPT=1054]="MSG_READED_RECEIPT",t.MessageCommand=o,function(e){e[e.FRIEND_ADD=3e3]="FRIEND_ADD",e[e.FRIEND_UPDATE=3001]="FRIEND_UPDATE",e[e.FRIEND_DELETE=3002]="FRIEND_DELETE",e[e.FRIEND_REQUEST=3003]="FRIEND_REQUEST",e[e.FRIEND_REQUEST_READ=3004]="FRIEND_REQUEST_READ",e[e.FRIEND_REQUEST_APPROVER=3005]="FRIEND_REQUEST_APPROVER",e[e.FRIEND_BLACK_ADD=3010]="FRIEND_BLACK_ADD",e[e.FRIEND_BLACK_DELETE=3011]="FRIEND_BLACK_DELETE",e[e.FRIEND_GROUP_ADD=3012]="FRIEND_GROUP_ADD",e[e.FRIEND_GROUP_DELETE=3013]="FRIEND_GROUP_DELETE",e[e.FRIEND_GROUP_MEMBER_ADD=3014]="FRIEND_GROUP_MEMBER_ADD",e[e.FRIEND_GROUP_MEMBER_DELETE=3015]="FRIEND_GROUP_MEMBER_DELETE"}(r||(r={})),t.FriendShipCommand=r,function(e){e[e.JOIN_GROUP=2e3]="JOIN_GROUP",e[e.ADDED_MEMBER=2001]="ADDED_MEMBER",e[e.CREATED_GROUP=2002]="CREATED_GROUP",e[e.UPDATED_GROUP=2003]="UPDATED_GROUP",e[e.EXIT_GROUP=2004]="EXIT_GROUP",e[e.UPDATED_MEMBER=2005]="UPDATED_MEMBER",e[e.DELETED_MEMBER=2006]="DELETED_MEMBER",e[e.DESTROY_GROUP=2007]="DESTROY_GROUP",e[e.TRANSFER_GROUP=2008]="TRANSFER_GROUP",e[e.MUTE_GROUP=2009]="MUTE_GROUP",e[e.SPEAK_GOUP_MEMBER=2010]="SPEAK_GOUP_MEMBER",e[e.MSG_GROUP=2104]="MSG_GROUP",e[e.MSG_GROUP_SYNC=2105]="MSG_GROUP_SYNC",e[e.GROUP_MSG_ACK=2047]="GROUP_MSG_ACK"}(i||(i={})),t.GroupCommand=i,function(e){e[e.PING=9999]="PING",e[e.LOGIN=9e3]="LOGIN",e[e.LOGINACK=9001]="LOGINACK",e[e.MUTUALLOGIN=9002]="MUTUALLOGIN",e[e.LOGOUT=9003]="LOGOUT"}(a||(a={})),t.SystemCommand=a,function(e){e[e.USER_MODIFY=4e3]="USER_MODIFY",e[e.USER_ONLINE_STATUS_CHANGE=4001]="USER_ONLINE_STATUS_CHANGE",e[e.USER_ONLINE_STATUS_SUBSCRIBE=4002]="USER_ONLINE_STATUS_SUBSCRIBE",e[e.PULL_USER_ONLINE_STATUS=4003]="PULL_USER_ONLINE_STATUS",e[e.USER_ONLINE_STATUS_CHANGE_NOTIFY=4004]="USER_ONLINE_STATUS_CHANGE_NOTIFY"}(s||(s={})),t.UserEventCommand=s,function(e){e[e.CONVERSATION_DELETE=5e3]="CONVERSATION_DELETE",e[e.CONVERSATION_UPDATE=5001]="CONVERSATION_UPDATE"}(l||(l={})),t.ConversationEventCommand=l},function(e,t,n){t.__esModule=!0,t.MessagePack=void 0;var o=n(1),r=function(){function e(e){this.messageId=o.default.uuid(),this.appId=e,this.messageRandom=this.RangeInteger(0,1e4),this.messageTime=Date.parse((new Date).toString())}return e.prototype.RangeInteger=function(e,t){var n=t-e;return Math.floor(Math.random()*n)+e},e.prototype.buildTextMessagePack=function(e,t,n){this.fromId=e,this.toId=t;var r={type:1,content:n};this.messageBody=o.default.json(r)},e.prototype.buildCustomerMessagePack=function(e,t,n,r){this.fromId=e,this.toId=t;var i={type:n,content:r};this.messageBody=o.default.json(i)},e}();t.MessagePack=r}])},"object"==typeof exports&&"object"==typeof module?module.exports=e2():"function"==typeof define&&define.amd?define([],e2):"object"==typeof exports?exports.imsdk=e2():t2.imsdk=e2();const lim={im:getIM().im};var lim$1={lim:lim};function getDevtoolsGlobalHook(){return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__}function getTarget(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}const isProxyAvailable="function"==typeof Proxy,HOOK_SETUP="devtools-plugin:setup",HOOK_PLUGIN_SETTINGS_SET="plugin:settings:set";class ApiProxy{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const i in e.settings){const t=e.settings[i];n[i]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=__spreadValues({},n);try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(r,t)}catch(e2){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(e2){}r=e}},t.on(HOOK_PLUGIN_SETTINGS_SET,((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function setupDevtoolsPlugin(e,t){const n=getTarget(),o=getDevtoolsGlobalHook(),r=isProxyAvailable&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const i=r?new ApiProxy(e,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}else o.emit(HOOK_SETUP,e,t)}
/*!
* vuex v4.0.2
* (c) 2021 Evan You
* @license MIT
*/var storeKey="store";function forEachValue(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function isObject(e){return null!==e&&"object"==typeof e}function isPromise(e){return e&&"function"==typeof e.then}function partial(e,t){return function(){return e(t)}}function genericSubscribe(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function resetStore(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;installModule(e,n,[],e._modules.root,!0),resetStoreState(e,n,t)}function resetStoreState(e,t,n){var o=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={};forEachValue(r,(function(t,n){i[n]=partial(t,e),Object.defineProperty(e.getters,n,{get:function(){return i[n]()},enumerable:!0})})),e._state=reactive({data:t}),e.strict&&enableStrictMode(e),o&&n&&e._withCommit((function(){o.data=null}))}function installModule(e,t,n,o,r){var i=!n.length,a=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=o),!i&&!r){var s=getNestedState(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=o.state}))}var c=o.context=makeLocalContext(e,a,n);o.forEachMutation((function(t,n){registerMutation(e,a+n,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:a+n,r=t.handler||t;registerAction(e,o,r,c)})),o.forEachGetter((function(t,n){registerGetter(e,a+n,t,c)})),o.forEachChild((function(o,i){installModule(e,t,n.concat(i),o,r)}))}function makeLocalContext(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var i=unifyObjectStyle(n,o,r),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:o?e.commit:function(n,o,r){var i=unifyObjectStyle(n,o,r),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return makeLocalGetters(e,t)}},state:{get:function(){return getNestedState(e.state,n)}}}),r}function makeLocalGetters(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function registerMutation(e,t,n,o){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,o.state,t)}))}function registerAction(e,t,n,o){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return isPromise(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function registerGetter(e,t,n,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)})}function enableStrictMode(e){watch((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}function getNestedState(e,t){return t.reduce((function(e,t){return e[t]}),e)}function unifyObjectStyle(e,t,n){return isObject(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var LABEL_VUEX_BINDINGS="vuex bindings",MUTATIONS_LAYER_ID="vuex:mutations",ACTIONS_LAYER_ID="vuex:actions",INSPECTOR_ID="vuex",actionId=0;function addDevtools(e,t){setupDevtoolsPlugin({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[LABEL_VUEX_BINDINGS]},(function(n){n.addTimelineLayer({id:MUTATIONS_LAYER_ID,label:"Vuex Mutations",color:COLOR_LIME_500}),n.addTimelineLayer({id:ACTIONS_LAYER_ID,label:"Vuex Actions",color:COLOR_LIME_500}),n.addInspector({id:INSPECTOR_ID,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===INSPECTOR_ID)if(n.filter){var o=[];flattenStoreForInspectorTree(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[formatStoreForInspectorTree(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===INSPECTOR_ID){var o=n.nodeId;makeLocalGetters(t,o),n.state=formatStoreForInspectorState(getStoreModule(t._modules,o),"root"===o?t.getters:t._makeLocalGettersCache,o)}})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===INSPECTOR_ID){var o=n.nodeId,r=n.path;"root"!==o&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit((function(){n.set(t._state.data,r,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(INSPECTOR_ID),n.sendInspectorState(INSPECTOR_ID),n.addTimelineEvent({layerId:MUTATIONS_LAYER_ID,event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=actionId++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:ACTIONS_LAYER_ID,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},r=Date.now()-e._time;o.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:ACTIONS_LAYER_ID,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var COLOR_LIME_500=8702998,COLOR_DARK=6710886,COLOR_WHITE=16777215,TAG_NAMESPACED={label:"namespaced",textColor:COLOR_WHITE,backgroundColor:COLOR_DARK};function extractNameFromPath(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function formatStoreForInspectorTree(e,t){return{id:t||"root",label:extractNameFromPath(t),tags:e.namespaced?[TAG_NAMESPACED]:[],children:Object.keys(e._children).map((function(n){return formatStoreForInspectorTree(e._children[n],t+n+"/")}))}}function flattenStoreForInspectorTree(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[TAG_NAMESPACED]:[]}),Object.keys(t._children).forEach((function(r){flattenStoreForInspectorTree(e,t._children[r],n,o+r+"/")}))}function formatStoreForInspectorState(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),r={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var i=transformPathsToObjectTree(t);r.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?extractNameFromPath(e):e,editable:!1,value:canThrow((function(){return i[e]}))}}))}return r}function transformPathsToObjectTree(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var r=t,i=o.pop();o.forEach((function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value})),r[i]=canThrow((function(){return e[n]}))}else t[n]=canThrow((function(){return e[n]}))})),t}function getStoreModule(e,t){var n=t.split("/").filter((function(e){return e}));return n.reduce((function(e,o,r){var i=e[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return r===n.length-1?i:i._children}),"root"===t?e:e.root._children)}function canThrow(e){try{return e()}catch(e2){return e2}}var Module=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},prototypeAccessors$1={namespaced:{configurable:!0}};prototypeAccessors$1.namespaced.get=function(){return!!this._rawModule.namespaced},Module.prototype.addChild=function(e,t){this._children[e]=t},Module.prototype.removeChild=function(e){delete this._children[e]},Module.prototype.getChild=function(e){return this._children[e]},Module.prototype.hasChild=function(e){return e in this._children},Module.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Module.prototype.forEachChild=function(e){forEachValue(this._children,e)},Module.prototype.forEachGetter=function(e){this._rawModule.getters&&forEachValue(this._rawModule.getters,e)},Module.prototype.forEachAction=function(e){this._rawModule.actions&&forEachValue(this._rawModule.actions,e)},Module.prototype.forEachMutation=function(e){this._rawModule.mutations&&forEachValue(this._rawModule.mutations,e)},Object.defineProperties(Module.prototype,prototypeAccessors$1);var ModuleCollection=function(e){this.register([],e,!1)};function update(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;update(e.concat(o),t.getChild(o),n.modules[o])}}function createStore(e){return new Store(e)}ModuleCollection.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},ModuleCollection.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},ModuleCollection.prototype.update=function(e){update([],this.root,e)},ModuleCollection.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new Module(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&forEachValue(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},ModuleCollection.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},ModuleCollection.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var Store=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ModuleCollection(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return s.call(i,e,t,n)},this.strict=o;var l=this._modules.root.state;installModule(this,l,[],this._modules.root),resetStoreState(this,l),n.forEach((function(e){return e(t)}))},prototypeAccessors={state:{configurable:!0}};Store.prototype.install=function(e,t){e.provide(t||storeKey,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&addDevtools(e,this)},prototypeAccessors.state.get=function(){return this._state.data},prototypeAccessors.state.set=function(e){},Store.prototype.commit=function(e,t,n){var o=this,r=unifyObjectStyle(e,t,n),i=r.type,a=r.payload,s={type:i,payload:a},l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},Store.prototype.dispatch=function(e,t){var n=this,o=unifyObjectStyle(e,t),r=o.type,i=o.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(e2){}var l=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(e2){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(e2){}t(e)}))}))}},Store.prototype.subscribe=function(e,t){return genericSubscribe(e,this._subscribers,t)},Store.prototype.subscribeAction=function(e,t){return genericSubscribe("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Store.prototype.watch=function(e,t,n){var o=this;return watch((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},Store.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},Store.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),installModule(this,this.state,e,this._modules.get(e),n.preserveState),resetStoreState(this,this.state)},Store.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete getNestedState(t.state,e.slice(0,-1))[e[e.length-1]]})),resetStore(this)},Store.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Store.prototype.hotUpdate=function(e){this._modules.update(e),resetStore(this,!0)},Store.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Store.prototype,prototypeAccessors);const _im=lim$1.lim.im;function sortBy(e){return(t,n)=>t[e]-n[e]}const store=createStore({state:{watermark:"HS-IM",userInfo:"",chatlist:[],chatDatalist:[],chatListNum:0,chatDataState:1,chatDataUserId:"",topicReply:{},topicRed:{},friendApply:{}},mutations:{update_UserInfo(e,t){e.userInfo=JSON.parse(t)},update_ChatList(e,t){e.chatlist=t},update_chatDatalist(e,t){e.chatDatalist=t},update_topicReply(e,t){e.topicReply=t,setStorageSync("topicReply",JSON.stringify(t))},update_topicRed(e,t){e.topicRed=t,setStorageSync("topicRed",JSON.stringify(t))},update_friendApply(e,t){e.friendApply=t,setStorageSync("friendApply",JSON.stringify(t))}},actions:{onP2PMessage(e,t){console.log("========================store 收到信息"),console.log(t),publicFc.getPush(t)},sendMsg(e,t){console.log("========================"),_im.sendP2PMessage(_im.createP2PTextMessage(t.userId,t.data.content))},sendP2PMessageReciveAck(e,t){_im.sendP2PMessageReciveAck(t)},sendMsgReadedReceipt(e,t){_im.sendP2PMessageReadedReceipt(t)},updateChatDataState(e,t){e.state.chatDataState++,e.state.chatDataUserId=t},tabBarpull(e){e.dispatch("get_UserInfo").then((t=>{e.dispatch("getChatList");var n=publicFc.getKeyObjectStorage("topicReply");e.state.topicReply=n;var o=publicFc.getKeyObjectStorage("topicRed");e.state.topicRed=o;var r=publicFc.getKeyObjectStorage("friendApply");e.state.friendApply=r,e.state.chatListNum&&e.state.chatListNum,n.count&&n.count,r.count&&r.count}))},get_UserInfo:e=>new Promise(((t,n)=>{const o=getStorageSync("userId");lim$1.lim.im.getSingleUserInfo(o).then((o=>{200==o.code?(e.commit("update_UserInfo",JSON.stringify(o.data)),t(o.data)):n(o.data)}))})),getchatDatalist(e){var t=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatData");e.commit("update_chatDatalist",t)},updateChatById(e,t){var n=t.userId,o=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatData");t.data=t.data.sort(sortBy("time")),o[n].list=t.data,setStorageSync(e.state.userInfo.userId+"_chatData",JSON.stringify(o))},updateChatObjById(e,t){var n=t.userId,o=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatData");t.data=t.data.sort(sortBy("time")),o[n]=t.data,setStorageSync(e.state.userInfo.userId+"_chatData",JSON.stringify(o))},getChatList(e){var t=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatlistData"),n=0;for(var o in t)n+=t[o].num;e.state.chatListNum=n,e.commit("update_ChatList",t)},updateChatListInfoById(e,t){console.log("*********************** 修改聊天记录 2 ********************"),console.log("*********************** 修改聊天记录 2 ********************"),console.log("*********************** 修改聊天记录 2 ********************"),console.log(t);var n=t.userId,o=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatlistData");console.log(o[n]),o[n]=t.data,setStorageSync(e.state.userInfo.userId+"_chatlistData",JSON.stringify(o))},createChatObj(e,t){console.log("初始化聊天记录");var n=t.userId,o=t.windowType,r=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatlistData");console.error(r[n]),r[n]?console.warn(r[n].num):r[n]=new Object,setStorageSync(e.state.userInfo.userId+"_chatlistData",JSON.stringify(r));var i=publicFc.getKeyObjectStorage(e.state.userInfo.userId+"_chatData");return new Promise(((t,r)=>{if(i[n])t({msg:"已存在",data:i[n]});else switch(console.log("初始化聊天"),o){case"SINGLE":_im.getSingleUserInfo(n).then((o=>{if(200==o.code){var a=o.data;i[n]={fromInfo:{nickName:a.nickName,portrait:a.photo,userId:a.userId,userType:a.userType},groupInfo:{},list:[]},setStorageSync(e.state.userInfo.userId+"_chatData",JSON.stringify(i)),console.log("============= 创建记录 ");var s={userId:a.userId,personId:e.state.userInfo.userId,nickName:a.nickName,portrait:a.photo,content:"",time:publicFc.getNewDate("format",!0),num:0,windowType:"SINGLE",disturb:"N",top:"N",userType:"SINGLE"};e.dispatch("updateChatListInfoById",{userId:a.userId,data:s}),t({msg:"创建成功",data:i[n]})}else r({msg:"创建失败"})}));break;case"GROUP":http.request({url:"/group/getInfo/"+n,complete:o=>{if(200==o.data.code){for(var a=o.data.data,s=[],l=0;l<a.user.length;l++)s.push(a.user[l].portrait);i[n]={fromInfo:{},groupInfo:{nickName:a.group.name,portrait:JSON.stringify(s),userId:a.group.groupId},list:[]},setStorageSync(e.state.userInfo.userId+"_chatData",JSON.stringify(i));var c={userId:a.group.groupId,personId:e.state.userInfo.userId,nickName:a.group.name,portrait:JSON.stringify(s),content:"",time:publicFc.getNewDate("format",!0),num:0,windowType:"GROUP",disturb:"N",top:"N",userType:"GROUP"};e.dispatch("updateChatListInfoById",{userId:a.group.groupId,data:c}),t({msg:"创建成功",data:i[n]})}else r({msg:"创建失败"})}})}}))},createChat(e,t){}}});var chrsz=8;function hex_md5(e){return binl2hex(core_md5(str2binl(e),e.length*chrsz))}function core_md5(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,o=-271733879,r=-1732584194,i=271733878,a=0;a<e.length;a+=16){var s=n,l=o,c=r,u=i;n=md5_ff(n,o,r,i,e[a+0],7,-680876936),i=md5_ff(i,n,o,r,e[a+1],12,-389564586),r=md5_ff(r,i,n,o,e[a+2],17,606105819),o=md5_ff(o,r,i,n,e[a+3],22,-1044525330),n=md5_ff(n,o,r,i,e[a+4],7,-176418897),i=md5_ff(i,n,o,r,e[a+5],12,1200080426),r=md5_ff(r,i,n,o,e[a+6],17,-1473231341),o=md5_ff(o,r,i,n,e[a+7],22,-45705983),n=md5_ff(n,o,r,i,e[a+8],7,1770035416),i=md5_ff(i,n,o,r,e[a+9],12,-1958414417),r=md5_ff(r,i,n,o,e[a+10],17,-42063),o=md5_ff(o,r,i,n,e[a+11],22,-1990404162),n=md5_ff(n,o,r,i,e[a+12],7,1804603682),i=md5_ff(i,n,o,r,e[a+13],12,-40341101),r=md5_ff(r,i,n,o,e[a+14],17,-1502002290),n=md5_gg(n,o=md5_ff(o,r,i,n,e[a+15],22,1236535329),r,i,e[a+1],5,-165796510),i=md5_gg(i,n,o,r,e[a+6],9,-1069501632),r=md5_gg(r,i,n,o,e[a+11],14,643717713),o=md5_gg(o,r,i,n,e[a+0],20,-373897302),n=md5_gg(n,o,r,i,e[a+5],5,-701558691),i=md5_gg(i,n,o,r,e[a+10],9,38016083),r=md5_gg(r,i,n,o,e[a+15],14,-660478335),o=md5_gg(o,r,i,n,e[a+4],20,-405537848),n=md5_gg(n,o,r,i,e[a+9],5,568446438),i=md5_gg(i,n,o,r,e[a+14],9,-1019803690),r=md5_gg(r,i,n,o,e[a+3],14,-187363961),o=md5_gg(o,r,i,n,e[a+8],20,1163531501),n=md5_gg(n,o,r,i,e[a+13],5,-1444681467),i=md5_gg(i,n,o,r,e[a+2],9,-51403784),r=md5_gg(r,i,n,o,e[a+7],14,1735328473),n=md5_hh(n,o=md5_gg(o,r,i,n,e[a+12],20,-1926607734),r,i,e[a+5],4,-378558),i=md5_hh(i,n,o,r,e[a+8],11,-2022574463),r=md5_hh(r,i,n,o,e[a+11],16,1839030562),o=md5_hh(o,r,i,n,e[a+14],23,-35309556),n=md5_hh(n,o,r,i,e[a+1],4,-1530992060),i=md5_hh(i,n,o,r,e[a+4],11,1272893353),r=md5_hh(r,i,n,o,e[a+7],16,-155497632),o=md5_hh(o,r,i,n,e[a+10],23,-1094730640),n=md5_hh(n,o,r,i,e[a+13],4,681279174),i=md5_hh(i,n,o,r,e[a+0],11,-358537222),r=md5_hh(r,i,n,o,e[a+3],16,-722521979),o=md5_hh(o,r,i,n,e[a+6],23,76029189),n=md5_hh(n,o,r,i,e[a+9],4,-640364487),i=md5_hh(i,n,o,r,e[a+12],11,-421815835),r=md5_hh(r,i,n,o,e[a+15],16,530742520),n=md5_ii(n,o=md5_hh(o,r,i,n,e[a+2],23,-995338651),r,i,e[a+0],6,-198630844),i=md5_ii(i,n,o,r,e[a+7],10,1126891415),r=md5_ii(r,i,n,o,e[a+14],15,-1416354905),o=md5_ii(o,r,i,n,e[a+5],21,-57434055),n=md5_ii(n,o,r,i,e[a+12],6,1700485571),i=md5_ii(i,n,o,r,e[a+3],10,-1894986606),r=md5_ii(r,i,n,o,e[a+10],15,-1051523),o=md5_ii(o,r,i,n,e[a+1],21,-2054922799),n=md5_ii(n,o,r,i,e[a+8],6,1873313359),i=md5_ii(i,n,o,r,e[a+15],10,-30611744),r=md5_ii(r,i,n,o,e[a+6],15,-1560198380),o=md5_ii(o,r,i,n,e[a+13],21,1309151649),n=md5_ii(n,o,r,i,e[a+4],6,-145523070),i=md5_ii(i,n,o,r,e[a+11],10,-1120210379),r=md5_ii(r,i,n,o,e[a+2],15,718787259),o=md5_ii(o,r,i,n,e[a+9],21,-343485551),n=safe_add(n,s),o=safe_add(o,l),r=safe_add(r,c),i=safe_add(i,u)}return Array(n,o,r,i)}function md5_cmn(e,t,n,o,r,i){return safe_add(bit_rol(safe_add(safe_add(t,e),safe_add(o,i)),r),n)}function md5_ff(e,t,n,o,r,i,a){return md5_cmn(t&n|~t&o,e,t,r,i,a)}function md5_gg(e,t,n,o,r,i,a){return md5_cmn(t&o|n&~o,e,t,r,i,a)}function md5_hh(e,t,n,o,r,i,a){return md5_cmn(t^n^o,e,t,r,i,a)}function md5_ii(e,t,n,o,r,i,a){return md5_cmn(n^(t|~o),e,t,r,i,a)}function safe_add(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function bit_rol(e,t){return e<<t|e>>>32-t}function str2binl(e){for(var t=Array(),n=(1<<chrsz)-1,o=0;o<e.length*chrsz;o+=chrsz)t[o>>5]|=(e.charCodeAt(o/chrsz)&n)<<o%32;return t}function binl2hex(e){for(var t="0123456789abcdef",n="",o=0;o<4*e.length;o++)n+=t.charAt(e[o>>2]>>o%4*8+4&15)+t.charAt(e[o>>2]>>o%4*8&15);return n}var md5={hex_md5:hex_md5};let timer=null,retimer=null;var socketTask={socketTask:null,connectSocket(){const e={onSocketConnectEvent:(e,t,n)=>{console.log("已建立连接:"+JSON.stringify(t))},onSocketErrorEvent:e=>{console.log("连接出现错误:"+t)},onSocketReConnectEvent:()=>{console.log("正在重连:")},onSocketCloseEvent:()=>{console.log("连接关闭:")},onSocketReConnectSuccessEvent:()=>{console.log("重连成功")},onOfflineMessage:e=>{console.log("====================拉取到离线消息"),console.log(e),setTimeout((function(){e.length>0&&e.map((e=>{console.log(e),setTimeout((()=>{const t=publicFc.formatMessage(e);$emit("onP2PMessage",t),store.dispatch("onP2PMessage",t)}),500)}))}),2e3)},onTestMessage:e=>{console.log("onTestMessage "),store.dispatch("onP2PMessage",e)},onP2PMessage:e=>{console.log("onP2PMessag e :::"),console.log(JSON.parse(e)),e=JSON.parse(e);const t=publicFc.formatMessage(e.data);$emit("onP2PMessage",t),store.dispatch("onP2PMessage",t)},onLogin:e=>{console.log("用户"+e+"登陆sdk成功")}},t=getStorageSync("userId"),n=getStorageSync("imUserSign");var o={};for(const r in e)o[r]=e[r];if(console.log(lim$1),null!=this.socketTask)return!1;lim$1.lim.im.init(config.getImApiUrl(),config.getImAppId(),t,n,o,(e=>{if(e)return console.warn("===================="),this.socketTask=e,console.log(this.socketTask),console.log("sdk 成功连接的回调, 可以使用 sdk 请求数据了."),e.getUserConversationList(0).then((e=>{console.warn(e)})),switchTab({url:"/pages/tabbar/index/index"});console.log("sdk 初始化失败.")}))},socketTaskClose(){this.socketTask&&(this.socketTask.close(),clearInterval(timer),clearTimeout(retimer),console.log("关闭WebSocket"))}},zmmFormCheck={error:"",check:function(e,t){for(var n=Object.keys(e),o=0;o<n.length;o++){var r=n[o];if(t[r])for(var i=t[r].rules,a=e[r],s=0;s<i.length;s++){var l=i[s];switch(l.checkType){case"required":if(!a)return this.error=l.errorMsg,!1;break;case"phone":if(!/^1[0-9]{10,10}$/.test(a))return this.error=l.errorMsg,!1;break;case"email":if(!/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(a))return this.error=l.errorMsg,!1;break;case"idcard":if(!/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/.test(a))return this.error=l.errorMsg,!1;break;case"url":if(!/^((ht|f)tps?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?$/.test(a))return this.error=l.errorMsg,!1;break;case"reg":if(!l.checkRule)return this.error=r+" 校验失败",console.warn(r+" checkRule规则未填写"),!1;if(!l.checkRule.test(a))return this.error=l.errorMsg,!1;break;case"number":if(!/^\d+$/.test(a))return this.error=l.errorMsg,!1;break;case"same":if(!l.checkRule)return this.error=r+" 校验失败",console.warn(r+" checkRule规则未填写"),!1;if(a!==e[l.checkRule])return this.error=l.errorMsg,!1;break;case"string":if(!l.checkRule)return this.error=r+" 校验失败",console.warn(r+" checkRule规则未填写"),!1;if(!new RegExp("^.{"+l.checkRule+"}$").test(a))return this.error=l.errorMsg,!1}}}return!0}};const name="微聊",version="1.1.0",versionName="1.2.1";var consoleImgs={fz:" ......................阿弥陀佛......................\n _oo0oo_ \n o8888888o \n 88\" . \"88 \n (| -_- |) \n 0\\ = /0 \n ___/---\\___ \n .' \\| |/ '. \n / \\\\||| : |||// \\ \n / _||||| -卍-|||||_ \\ \n | | \\\\\\ - /// | | \n | \\_| ''\\---/'' |_/ | \n \\ .-\\__ '-' ___/-. / \n ___'. .' /--.--\\ '. .'___ \n .\"\" < .___\\_<|>_/___.> \"\". \n | | : - \\.;\\ _ /;./ - : | | \n \\ \\ _. \\_ __\\ /__ _/ .- / / \n =====-.____.___ \\_____/___.-___.-===== \n =---= \n \n....................佛祖保佑 ,永无BUG..................."},App_vue_vue_type_style_index_0_lang="";const _sfc_main={onLaunch:function(){console.log(`%c 考拉Team ${name} %c v${version} `,"background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#007aff ;padding: 1px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;"),console.log(consoleImgs.fz),setStorageSync("device","H5"),setStorageSync("version",versionName),console.log("App Launch"),getStorageSync("imUserSign")&&(this.$socketTask.connectSocket(),this.$store.dispatch("get_UserInfo").then((e=>{})),reLaunch({url:"wx/tabbar1/index"}).then((e=>{})))},onShow:function(){console.log("App Show"),getStorage({key:"call",success:e=>{var t=e.data;if(t){let e=function(e){if(!e)return"0秒";var t=(new Date).getTime()-e;return t<0?"0秒":t/1e3<60?Math.floor(t/1e3)+"秒":Math.floor(t/1e3/60)+"分"};var n=JSON.parse(t),o="";"audio"==n.type&&(o="TRTC_VOICE_END"),"video"==n.type&&(o="TRTC_VIDEO_END"),this.$fc.pushOutMsg({msgContent:e(n.startTime),msgType:o,windowType:"SINGLE",userId:n.userId}),removeStorageSync("call")}}})},onHide:function(){console.log("App Hide")}};setupApp(_sfc_main);const sys=getSystemInfoSync(),STAT_VERSION="3.6.4",STAT_URL="https://tongji.dcloud.io/uni/stat",STAT_H5_URL="https://tongji.dcloud.io/uni/stat.gif",PAGE_PVER_TIME=1800,APP_PVER_TIME=300,OPERATING_TIME=10,DIFF_TIME=864e5,uniStatisticsConfig={enable:!0,version:"1"};let statConfig={appid:"__UNI__1A208D0"},titleJsons={};titleJsons={"pages/wxindex/index":"微信首页","pages/agreement/index":"隐私及服务协议","wx/login/index":"登录","wx/register/index":"注册","wx/forgetPass/index":"忘记密码","wx/chatWindow/index":"聊天窗口","wx/tabbar1/index":"消息","wx/tabbar2/index":"通讯录","wx/tabbar3/index":"发现","wx/tabbar4/index":"我","wx/group/createGroup":"发起群聊","wx/shake/index":"摇一摇","wx/nearby/index":"附近的人","wx/friendsCircle/msglist":"消息","wx/system/index":"设置","wx/search/index":"搜索","wx/search-friends/index":"新的朋友","wx/search-friends/add":"朋友验证","wx/personDetail/index":"个人信息","wx/personInfo/beizhu":"设置备注","wx/personDetail/editNikeName":"更改名称","wx/personDetail/editchatNo":"更改微聊号","wx/personDetail/editIntro":"更改个性签名","wx/personDetail/editGender":"更改性别","wx/personDetail/editAddress":"更改地区","wx/personDetail/editPass":"设置密码","wx/personInfo/detail":"信息","wx/groupInfo/detail":"聊天信息","wx/groupInfo/qunAdd":"选择联系人","wx/groupInfo/qunless":"聊天成员","wx/groupInfo/editGroupName":"更改群聊名称","wx/groupInfo/editGroupNotice":"更改群公告","wx/groupInfo/scanCodeDetail":"群聊信息","wx/groupInfo/grouplist":"群聊","wx/personDetail/QRcode":"二维码名片","wx/groupInfo/QRcode":"群二维码","wx/personInfo/edit":"资料设置","wx/friendsCircle/index":"朋友圈","wx/friendsCircle/person":"我的相册","wx/friendsCircle/sendMsg":"发朋友圈","wx/feedback/index":"建议反馈","wx/favorites/index":"收藏","wx/friendsCircle/detail":"详情","wl/login/index":"登录"};const UUID_KEY="__DC_STAT_UUID",UUID_VALUE="__DC_UUID_VALUE";function getUuid(){let e="";if("n"===get_platform_name()){try{e=plus.runtime.getDCloudId()}catch(e2){e=""}return e}try{e=getStorageSync(UUID_KEY)}catch(e2){e=UUID_VALUE}if(!e){e=Date.now()+""+Math.floor(1e7*Math.random());try{setStorageSync(UUID_KEY,e)}catch(e2){setStorageSync(UUID_KEY,UUID_VALUE)}}return e}const get_uuid=e=>sys.deviceId||getUuid(),stat_config=statConfig,get_sgin=e=>{let t=Object.keys(e).sort(),n={},o="";for(var r in t)n[t[r]]=e[t[r]],o+=t[r]+"="+e[t[r]]+"&";return{sign:"",options:o.substr(0,o.length-1)}},get_encodeURIComponent_options=e=>{let t={};for(let n in e)t[n]=encodeURIComponent(e[n]);return t},get_platform_name=()=>{const e={app:"n","app-plus":"n",h5:"h5","mp-weixin":"wx",[["y","a","p","mp-ali"].reverse().join("")]:"ali","mp-baidu":"bd","mp-toutiao":"tt","mp-qq":"qq","quickapp-native":"qn","mp-kuaishou":"ks","mp-lark":"lark","quickapp-webview":"qw"};if("ali"===e.h5&&my&&my.env){const e=my.env.clientName;if("ap"===e)return"ali";if("dingtalk"===e)return"dt"}return e.h5},get_pack_name=()=>{let e="";return"wx"!==get_platform_name()&&"qq"!==get_platform_name()||canIUse("getAccountInfoSync")&&(e=uni.getAccountInfoSync().miniProgram.appId||""),get_platform_name(),e},get_version=()=>"n"===get_platform_name()?plus.runtime.version:"",get_channel=()=>{let e="";return"n"===get_platform_name()&&(e=plus.runtime.channel),e},get_scene=e=>{const t=get_platform_name();let n="";return e||("wx"===t&&(n=getLaunchOptionsSync().scene),n)},get_splicing=e=>{let t="";for(var n in e)t+=n+"="+e[n]+"&";return t.substr(0,t.length-1)},get_route$1=e=>{let t=e||get_page_vm();if("bd"===get_platform_name()){let e=t.$mp&&t.$mp.page&&t.$mp.page.is,n=t.$scope&&t.$scope.is;return e||n||""}return t.route||t.$scope&&t.$scope.route||t.$mp&&t.$mp.page.route},get_page_route=e=>{let t=e&&(e.$page||e.$scope&&e.$scope.$page),n=getStorageSync("_STAT_LAST_PAGE_ROUTE");return t?"/"===t.fullPath?t.route:t.fullPath||t.route:n||""},get_page_vm=()=>{let e=getCurrentPages$1(),t=e[e.length-1];return t?t.$vm:null},get_page_types=e=>"page"===e.mpType||"page"===e.$mpType||e.$mp&&"page"===e.$mp.mpType||"page"===e.$options.mpType?"page":"app"===e.mpType||"app"===e.$mpType||e.$mp&&"app"===e.$mp.mpType||"app"===e.$options.mpType?"app":null,handle_data=e=>{let t=[],n=[],o=[];for(let r in e){e[r].forEach((e=>{let i="";i=get_splicing(e),0===r?t.push(i):3===r?o.push(i):n.push(i)}))}return t.push(...n,...o),JSON.stringify(t)},calibration=(e,t)=>e?"string"!=typeof e?(console.error("uni.report [eventName] Parameter type error, it can only be of type String"),!0):e.length>255?(console.error("uni.report [eventName] Parameter length cannot be greater than 255"),!0):"string"!=typeof t&&"object"!=typeof t?(console.error("uni.report [options] Parameter type error, Only supports String or Object type"),!0):"string"==typeof t&&t.length>255?(console.error("uni.report [options] Parameter length cannot be greater than 255"),!0):"title"===e&&"string"!=typeof t?(console.error("uni.report [eventName] When the parameter is title, the [options] parameter can only be of type String"),!0):void 0:(console.error("uni.report Missing [eventName] parameter"),!0),get_page_name=e=>titleJsons&&titleJsons[e]||"",Report_Data_Time="Report_Data_Time",Report_Status="Report_Status",is_report_data=()=>new Promise(((e,t)=>{let n="",o=(new Date).getTime(),r=DIFF_TIME,i=1;try{n=getStorageSync(Report_Data_Time),i=getStorageSync(Report_Status)}catch(e2){n="",i=1}""!==i?(1===i&&e(),n||(setStorageSync(Report_Data_Time,o),n=o),o-n>r&&requestData((({enable:e})=>{setStorageSync(Report_Data_Time,o),setStorageSync(Report_Status,e)}))):requestData((({enable:t})=>{setStorageSync(Report_Data_Time,o),setStorageSync(Report_Status,t),1===t&&e()}))})),requestData=e=>{let t={usv:STAT_VERSION,conf:JSON.stringify({ak:"__UNI__1A208D0"})};request$1({url:STAT_URL,method:"GET",data:t,success:t=>{const{data:n}=t;0===n.ret&&"function"==typeof e&&e({enable:n.enable})},fail:t=>{let n=1;try{n=getStorageSync(Report_Status)}catch(o){n=1}""===n&&(n=1),"function"==typeof e&&e({enable:n})}})},get_report_Interval=e=>{let t=uniStatisticsConfig.reportInterval;if(0===Number(t))return 0;t=t||e;return/(^[1-9]\d*$)/.test(t)?Number(t):e},is_push_clientid=()=>!1,appid="__UNI__1A208D0",dbSet=(e,t)=>{let n=getStorageSync("$$STAT__DBDATA:"+appid)||{};n||(n={}),n[e]=t,setStorageSync("$$STAT__DBDATA:"+appid,n)},dbGet=e=>{let t=getStorageSync("$$STAT__DBDATA:"+appid)||{};if(!t[e]){let n=getStorageSync("$$STAT__DBDATA:"+appid);if(n||(n={}),!n[e])return;t[e]=n[e]}return t[e]},dbRemove=e=>{let t=getStorageSync("$$STAT__DBDATA:"+appid)||{};t[e]?(delete t[e],setStorageSync("$$STAT__DBDATA:"+appid,t)):(t=getStorageSync("$$STAT__DBDATA:"+appid),t[e]&&(delete t[e],setStorageSync("$$STAT__DBDATA:"+appid,t)))},FIRST_VISIT_TIME_KEY="__first__visit__time",LAST_VISIT_TIME_KEY="__last__visit__time",get_time=()=>parseInt((new Date).getTime()/1e3),get_first_visit_time=()=>{const e=dbGet(FIRST_VISIT_TIME_KEY);let t=0;return e?t=e:(t=get_time(),dbSet(FIRST_VISIT_TIME_KEY,t),dbRemove(LAST_VISIT_TIME_KEY)),t},get_last_visit_time=()=>{const e=dbGet(LAST_VISIT_TIME_KEY);let t=0;return e&&(t=e),dbSet(LAST_VISIT_TIME_KEY,get_time()),t},PAGE_RESIDENCE_TIME="__page__residence__time";let First_Page_Residence_Time=0,Last_Page_Residence_Time=0;const set_page_residence_time=()=>(First_Page_Residence_Time=get_time(),dbSet(PAGE_RESIDENCE_TIME,First_Page_Residence_Time),First_Page_Residence_Time),get_page_residence_time=()=>(Last_Page_Residence_Time=get_time(),First_Page_Residence_Time=dbGet(PAGE_RESIDENCE_TIME),Last_Page_Residence_Time-First_Page_Residence_Time),TOTAL_VISIT_COUNT="__total__visit__count",get_total_visit_count=()=>{const e=dbGet(TOTAL_VISIT_COUNT);let t=1;return e&&(t=e,t++),dbSet(TOTAL_VISIT_COUNT,t),t},FIRST_TIME="__first_time",set_first_time=()=>{const e=(new Date).getTime();return dbSet(FIRST_TIME,e)},get_residence_time=e=>{let t=0;const n=dbGet(FIRST_TIME),o=get_time();if(0!==n&&(t=o-n),t=parseInt(t/1e3),t=t<1?1:t,"app"===e){return{residenceTime:t,overtime:t>APP_PVER_TIME}}if("page"===e){return{residenceTime:t,overtime:t>PAGE_PVER_TIME}}return{residenceTime:t}},eport_Interval=get_report_Interval(OPERATING_TIME);let statData={uuid:get_uuid(),ak:stat_config.appid,p:"android"===sys.platform?"a":"i",ut:get_platform_name(),mpn:get_pack_name(),usv:STAT_VERSION,v:get_version(),ch:get_channel(),cn:"",pn:"",ct:"",t:get_time(),tt:"",brand:sys.brand||"",md:sys.model,sv:sys.system.replace(/(Android|iOS)\s/,""),mpsdk:sys.SDKVersion||"",mpv:sys.version||"",lang:sys.language,pr:sys.pixelRatio,ww:sys.windowWidth,wh:sys.windowHeight,sw:sys.screenWidth,sh:sys.screenHeight};class Report{constructor(){this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=statData,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={},"function"==typeof addInterceptor&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}addInterceptorInit(){let e=this;addInterceptor("setNavigationBarTitle",{invoke(t){e._navigationBarTitle.page=t.title}})}interceptLogin(){let e=this;addInterceptor("login",{complete(){e._login()}})}interceptShare(e){let t=this;e?addInterceptor("share",{success(){t._share()},fail(){t._share()}}):t._share()}interceptRequestPayment(){let e=this;addInterceptor("requestPayment",{success(){e._payment("pay_success")},fail(){e._payment("pay_fail")}})}_login(){this.sendEventRequest({key:"login"},0)}_share(){this.sendEventRequest({key:"share"},0)}_payment(e){this.sendEventRequest({key:e},0)}applicationShow(){if(this.__licationHide){if(get_residence_time("app").overtime){let e={path:getStorageSync("_STAT_LAST_PAGE_ROUTE"),scene:this.statData.sc,cst:2};this.sendReportRequest(e)}this.__licationHide=!1}}applicationHide(e,t){e||(e=get_page_vm()),this.__licationHide=!0;const n=get_residence_time(),o=get_page_route(e);setStorageSync("_STAT_LAST_PAGE_ROUTE",o),this.sendHideRequest({urlref:o,urlref_ts:n.residenceTime},t),set_first_time()}pageShow(e){this._navigationBarTitle={config:"",page:"",report:"",lt:""};const t=get_page_route(e),n=get_route$1(e);if(this._navigationBarTitle.config=get_page_name(n),this.__licationShow)return set_first_time(),setStorageSync("_STAT_LAST_PAGE_ROUTE",t),void(this.__licationShow=!1);if(get_residence_time("page").overtime){let e={path:t,scene:this.statData.sc,cst:3};this.sendReportRequest(e)}set_first_time()}pageHide(e){if(!this.__licationHide){const t=get_residence_time("page");let n=get_page_route(e),o=getStorageSync("_STAT_LAST_PAGE_ROUTE");return o||(o=n),setStorageSync("_STAT_LAST_PAGE_ROUTE",n),void this.sendPageRequest({url:n,urlref:o,urlref_ts:t.residenceTime})}}sendReportRequest(e,t){this._navigationBarTitle.lt="1",this._navigationBarTitle.config=get_page_name(e.path);let n=e.query&&"{}"!==JSON.stringify(e.query)?"?"+JSON.stringify(e.query):"";Object.assign(this.statData,{lt:"1",url:e.path+n||"",t:get_time(),sc:get_scene(e.scene),fvts:get_first_visit_time(),lvts:get_last_visit_time(),tvc:get_total_visit_count(),cst:e.cst||1}),"n"===get_platform_name()?this.getProperty(t):this.getNetworkInfo(t)}sendPageRequest(e){let{url:t,urlref:n,urlref_ts:o}=e;this._navigationBarTitle.lt="11";let r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"11",ut:this.statData.ut,url:t,tt:this.statData.tt,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:get_time()};this.request(r)}sendHideRequest(e,t){let{urlref:n,urlref_ts:o}=e,r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:get_time()};this.request(r,t)}sendEventRequest({key:e="",value:t=""}={}){let n="";try{n=get_route$1()}catch(r){n=dbGet("__launch_options").path}this._navigationBarTitle.config=get_page_name(n),this._navigationBarTitle.lt="21";let o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"21",ut:this.statData.ut,url:n,ch:this.statData.ch,e_n:e,e_v:"object"==typeof t?JSON.stringify(t):t.toString(),usv:this.statData.usv,t:get_time()};this.request(o)}sendPushRequest(e,t){let n=get_time();const o={lt:"101",cid:t,t:n,ut:this.statData.ut},r=handle_data({101:[o]});let i={usv:STAT_VERSION,t:n,requests:r};"h5"!==o.ut?"n"!==get_platform_name()||"a"!==this.statData.p?this.sendRequest(i):setTimeout((()=>{this.sendRequest(i)}),200):this.imageRequest(i)}getProperty(e){plus.runtime.getProperty(plus.runtime.appid,(t=>{this.statData.v=t.version||"",this.getNetworkInfo(e)}))}getNetworkInfo(e){getNetworkType({success:t=>{this.statData.net=t.networkType,this.getLocation(e)}})}getLocation(e){this.statData.lat=0,this.statData.lng=0,this.request(this.statData,e)}request(e,t){let n=get_time();const o=this._navigationBarTitle;Object.assign(e,{ttn:o.page,ttpj:o.config,ttc:o.report});let r=dbGet("__UNI__STAT__DATA")||{};if(r[e.lt]||(r[e.lt]=[]),r[e.lt].push(e),dbSet("__UNI__STAT__DATA",r),get_page_residence_time()<eport_Interval&&!t)return;set_page_residence_time();const i=handle_data(r);let a={usv:STAT_VERSION,t:n,requests:i};dbRemove("__UNI__STAT__DATA"),"h5"!==e.ut?"n"!==get_platform_name()||"a"!==this.statData.p?this.sendRequest(a):setTimeout((()=>{this.sendRequest(a)}),200):this.imageRequest(a)}getIsReportData(){return is_report_data()}sendRequest(e){this.getIsReportData().then((()=>{request$1({url:STAT_URL,method:"POST",data:e,success:()=>{},fail:t=>{++this._retry<3&&setTimeout((()=>{this.sendRequest(e)}),1e3)}})}))}imageRequest(e){this.getIsReportData().then((()=>{let t=new Image,n=get_sgin(get_encodeURIComponent_options(e)).options;t.src=STAT_H5_URL+"?"+n}))}sendEvent(e,t){calibration(e,t)||("title"!==e?this.sendEventRequest({key:e,value:"object"==typeof t?JSON.stringify(t):t},1):this._navigationBarTitle.report=t)}}class Stat extends Report{static getInstance(){return uni.__stat_instance||(uni.__stat_instance=new Stat),uni.__stat_instance}constructor(){super()}pushEvent(e){const t=is_push_clientid();getPushClientId&&t&&getPushClientId({success:t=>{const n=t.cid||!1;n&&this.sendPushRequest(e,n)}})}launch(e,t){set_page_residence_time(),this.__licationShow=!0,dbSet("__launch_options",e),e.cst=1,this.sendReportRequest(e,!0)}load(e,t){this.self=t,this._query=e}appHide(e){this.applicationHide(e,!0)}appShow(e){this.applicationShow(e)}show(e){this.self=e,"page"===get_page_types(e)&&this.pageShow(e),"h5"!==get_platform_name()&&"n"!==get_platform_name()||"app"===get_page_types(e)&&this.appShow()}hide(e){this.self=e,"page"===get_page_types(e)&&this.pageHide(e),"h5"!==get_platform_name()&&"n"!==get_platform_name()||"app"===get_page_types(e)&&this.appHide()}error(e){let t="";t=e.message?e.stack:JSON.stringify(e);let n="";try{n=get_route()}catch(e2){n=""}let o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"31",url:n,ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:t,usv:this.statData.usv,t:parseInt((new Date).getTime()/1e3)};this.request(o)}}var Stat$1=Stat;const stat=Stat$1.getInstance();let isHide=!1;const lifecycle={onLaunch(e){stat.launch(e,this),stat.pushEvent(e)},onLoad(e){if(stat.load(e,this),this.$scope&&this.$scope.onShareAppMessage){let e=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(t){return stat.interceptShare(!1),e.call(this,t)}}},onShow(){isHide=!1,stat.show(this)},onHide(){isHide=!0,stat.hide(this)},onUnload(){isHide?isHide=!1:stat.hide(this)},onError(e){stat.error(e)}};function load_stat(){onCreateVueApp((e=>{e.mixin(lifecycle),uni.report=function(e,t){stat.sendEvent(e,t)}})),"h5"!==get_platform_name()&&"n"!==get_platform_name()&&(onAppHide((()=>{stat.appHide(get_page_vm())})),onAppShow((()=>{stat.appShow(get_page_vm())})))}function main(){load_stat()}function createApp(){const e=createApp$1(_sfc_main);return e.config.globalProperties.$socketTask=socketTask,e.config.globalProperties.$http=http,e.config.globalProperties.$fc=publicFc,e.config.globalProperties.$md5=md5,e.config.globalProperties.$zmmFormCheck=zmmFormCheck,e.config.globalProperties.$pinyin=Pinyin,e.use(store),{app:e}}main(),createApp().app.use(index$g).mount("#app");export{$on as $,normalizeClass as A,redirectTo as B,index$A as C,createAnimation$1 as D,renderSlot as E,Fragment as F,resolveComponent as G,setClipboardData as H,Input as I,withModifiers as J,setStorage as K,createInnerAudioContext as L,openLocation as M,setNavigationBarTitle as N,createIntersectionObserver as O,getSystemInfo as P,showActionSheet as Q,chooseLocation as R,pageScrollTo as S,ScrollView as T,index$j as U,upx2px as V,MovableView as W,MovableArea as X,http as Y,getStorageSync as Z,chooseImage as _,createVNode as a,uploadFile$1 as a0,chooseVideo as a1,hideLoading as a2,previewImage as a3,showModal as a4,withDirectives as a5,vShow as a6,initVueI18n as a7,createBaseVNode as a8,setTabBarBadge as a9,removeTabBarBadge as aa,navigateBack as ab,startAccelerometer as ac,onAccelerometerChange as ad,getLocation as ae,stopAccelerometer as af,removeStorageSync as ag,versionName as ah,getStorageInfoSync as ai,getStorageInfo as aj,index$o as ak,index$p as al,index$9 as am,index$l as an,createVideoContext as ao,index$a as ap,index$b as aq,index$f as ar,createTextVNode as b,createBlock as c,index$i as d,index$n as e,setStorageSync as f,showLoading as g,createCommentVNode as h,index$s as i,resolveDynamicComponent as j,index$k as k,index$z as l,index$v as m,navigateTo as n,openBlock as o,index$B as p,getSystemInfoSync as q,reLaunch as r,showToast as s,toDisplayString as t,createSelectorQuery as u,normalizeStyle as v,withCtx as w,createElementBlock as x,renderList as y,isString as z};