function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.LTrfAB3w.js","assets/uni-icons.SM4XIXQc.js","assets/uni-icons-DLnnJ5ic.css","assets/screening-job-requirements.VARaWRaI.js","assets/screening-job-requirements-DfX-680r.css","assets/matchingDegree.DIUzxusN.js","assets/dict-Label.Dsm7GAlr.js","assets/expected-station.Gn1MaF4X.js","assets/expected-station-5atizwok.css","assets/custom-popup.BbPG3zRM.js","assets/custom-popup-DODor7Fl.css","assets/BaseDBStore.DnB5hDlq.js","assets/index-BfLqlKNq.css","assets/pages-mine-mine.9PCOKIku.js","assets/uni-popup.i3WJKIJ9.js","assets/uni-popup-DKXgkXnf.css","assets/mine-CZyhxTjL.css","assets/pages-msglog-msglog.tuNSWP3b.js","assets/msglog-DJLrHl-q.css","assets/pages-careerfair-careerfair.DP3Hzfd9.js","assets/careerfair-DDd70XO3.css","assets/pages-login-login.D61W0GsX.js","assets/login-BDMuo9Uw.css","assets/pages-nearby-nearby.OgzanY0W.js","assets/nearby-CDDRkk0z.css","assets/pages-chat-chat.DLvC_0WD.js","assets/chat-0QPbbYDZ.css","assets/packageA-pages-choiceness-choiceness.BPovu6jQ.js","assets/choiceness-C5sJ1hCp.css","assets/packageA-pages-post-post.BjvbBnVn.js","assets/post-DThTcaRL.css","assets/packageA-pages-UnitDetails-UnitDetails.CbVzUTlV.js","assets/UnitDetails-DrwcEIyg.css","assets/packageA-pages-exhibitors-exhibitors.D5Ed1D1G.js","assets/exhibitors-CCnow3bU.css","assets/packageA-pages-myResume-myResume.bMxWTwX3.js","assets/myResume-BOqQmwxw.css","assets/packageA-pages-Intendedposition-Intendedposition.Dd5sshob.js","assets/Intendedposition-12LmX0sN.css","assets/packageA-pages-collection-collection.Pv-V5WiH.js","assets/collection-DPmoEXrP.css","assets/packageA-pages-browseJob-browseJob.CL6AzOXI.js","assets/browseJob-D0KQJnJU.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r})(t,"symbol"!=typeof n?n+"":n,r),r);!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const n={},r=function(e,t,r){let o=Promise.resolve();if(t&&t.length>0){const e=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));o=Promise.all(t.map((t=>{if((t=function(e){return"/app/"+e}(t))in n)return;n[t]=!0;const o=t.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(!!r)for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.href===t&&(!o||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;const a=document.createElement("link");return a.rel=o?"stylesheet":"modulepreload",o||(a.as="script",a.crossOrigin=""),a.href=t,s&&a.setAttribute("nonce",s),document.head.appendChild(a),o?new Promise(((e,n)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return o.then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; /** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function o(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const i={},s=[],a=()=>{},l=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),d=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),g=Array.isArray,m=e=>"[object Map]"===E(e),v=e=>"[object Set]"===E(e),y=e=>"function"==typeof e,b=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,S=e=>(w(e)||y(e))&&y(e.then)&&y(e.catch),x=Object.prototype.toString,E=e=>x.call(e),T=e=>"[object Object]"===E(e),C=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},A=/-(\w)/g,D=k((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,I=k((e=>e.replace(O,"-$1").toLowerCase())),P=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),B=k((e=>e?`on${P(e)}`:"")),R=(e,t)=>!Object.is(e,t),L=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let z;const j=()=>z||(z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(g(e)){const t={};for(let n=0;n{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(b(e))t=e;else if(g(e))for(let n=0;nb(e)?e:null==e?"":g(e)||w(e)&&(e.toString===x||!y(e.toString))?JSON.stringify(e,G,2):String(e),G=(e,t)=>t&&t.__v_isRef?G(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[J(t,r)+" =>"]=n,e)),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>J(e)))}:_(t)?J(t):!w(t)||g(t)||T(t)?t:String(t),J=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},Z=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Q=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),ee=["list-item"].map((e=>"uni-"+e));function te(e){if(-1!==ee.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==Z.indexOf(t)||-1!==Q.indexOf(t)}const ne=["%","%"],re=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/;function ie(e){return 0===e.indexOf("/")}function se(e){return ie(e)?e:"/"+e}function ae(e,t=null){let n;return(...r)=>(e&&(n=e.apply(t,r),e=null),n)}const le=e=>e>9?e:"0"+e;function ce({date:e=new Date,mode:t="date"}){return"time"===t?le(e.getHours())+":"+le(e.getMinutes()):e.getFullYear()+"-"+le(e.getMonth()+1)+"-"+le(e.getDate())}function ue(e,t){e=e||{},b(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?y(e.success)&&e.success(t):y(e.fail)&&e.fail(t),y(e.complete)&&e.complete(t)}let de;function he(){return de||(de=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),de)}function fe(e){return e&&(e.appContext?e.proxy:e)}function pe(e){if(!e)return;let t=e.type.name;for(;t&&te(I(t));)t=(e=e.parent).type.name;return e.proxy}function ge(e){return 1===e.nodeType}function me(e){const t=he();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),V(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(b(e))return U(e);if(g(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(g(e))for(let r=0;r{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,r){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[be(t)]=r}n.call(this,t,r)};const r=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[be(t)],r.call(this,t)}}));function we(e){return d({},e.dataset,e.__uniDataset)}const Se=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function xe(e){return{passive:e}}function Ee(e){const{id:t,offsetTop:n,offsetLeft:r}=e;return{id:t,dataset:we(e),offsetTop:n,offsetLeft:r}}function Te(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ce(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Te(e[n])}catch(C_){t[n]=e[n]}})),t}const Me=/\+/g;function ke(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;re.apply(this,arguments);o=r(i,t)};return i.cancel=function(){n(o)},i}class De{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let r=0;rt(e))),Re=function(){};Re.prototype={_id:1,on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r=0;i--)if(r[i].fn===t||r[i].fn._===t||r[i]._id===t){r.splice(i,1);break}o=r}return o.length?n[e]=o:delete n[e],this}};var Le=Re;const Ne={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function $e(e,t,n){if(b(t)&&t.startsWith("@")){let o=e[t.replace("@","")]||t;switch(n){case"titleColor":o="black"===o?"#000000":"#ffffff";break;case"borderStyle":o=(r=o)&&r in Ne?Ne[r]:r}return o}var r;return t}function ze(e,t={},n="light"){const r=t[n],o={};return void 0!==r&&e?(Object.keys(e).forEach((i=>{const s=e[i];o[i]=T(s)?ze(s,t,n):g(s)?s.map((e=>"object"==typeof e?ze(e,t,n):$e(r,e))):$e(r,s,i)})),o):e} /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let je,Ve;class He{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!e&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=je;try{return je=this,e()}finally{je=t}}}on(){je=this}off(){je=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Qe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xe,t=Ve;try{return Xe=!0,Ve=this,this._runnings++,We(this),this.fn()}finally{Ke(this),this._runnings--,Ve=t,Xe=e}}stop(){var e;this.active&&(We(this),Ke(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function We(e){e._trackId++,e._depsLength=0}function Ke(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},at=new WeakMap,lt=Symbol(""),ct=Symbol("");function ut(e,t,n){if(Xe&&Ve){let t=at.get(e);t||at.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=st((()=>t.delete(n)))),rt(Ve,r)}}function dt(e,t,n,r,o,i){const s=at.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&g(e)){const e=Number(r);s.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":g(e)?C(n)&&a.push(s.get("length")):(a.push(s.get(lt)),m(e)&&a.push(s.get(ct)));break;case"delete":g(e)||(a.push(s.get(lt)),m(e)&&a.push(s.get(ct)));break;case"set":m(e)&&a.push(s.get(lt))}et();for(const l of a)l&&it(l,4);nt()}const ht=o("__proto__,__v_isRef,__isVue"),ft=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),pt=gt();function gt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=rn(this);for(let t=0,o=this.length;t{e[t]=function(...e){Ze(),et();const n=rn(this)[t].apply(this,e);return nt(),Qe(),n}})),e}function mt(e){const t=rn(this);return ut(t,0,e),t.hasOwnProperty(e)}class vt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Kt:Wt:o?Ut:qt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=g(e);if(!r){if(i&&p(pt,t))return Reflect.get(pt,t,n);if("hasOwnProperty"===t)return mt}const s=Reflect.get(e,t,n);return(_(t)?ft.has(t):ht(t))?s:(r||ut(e,0,t),o?s:dn(s)?i&&C(t)?s:s.value:w(s)?r?Jt(s):Xt(s):s)}}class yt extends vt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=en(o);if(tn(n)||en(n)||(o=rn(o),n=rn(n)),!g(e)&&dn(o)&&!dn(n))return!t&&(o.value=n,!0)}const i=g(e)&&C(t)?Number(t)e,Et=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,r=!1){const o=rn(e=e.__v_raw),i=rn(t);n||(R(t,i)&&ut(o,0,t),ut(o,0,i));const{has:s}=Et(o),a=r?xt:n?an:sn;return s.call(o,t)?a(e.get(t)):s.call(o,i)?a(e.get(i)):void(e!==o&&e.get(t))}function Ct(e,t=!1){const n=this.__v_raw,r=rn(n),o=rn(e);return t||(R(e,o)&&ut(r,0,e),ut(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Mt(e,t=!1){return e=e.__v_raw,!t&&ut(rn(e),0,lt),Reflect.get(e,"size",e)}function kt(e){e=rn(e);const t=rn(this);return Et(t).has.call(t,e)||(t.add(e),dt(t,"add",e,e)),this}function At(e,t){t=rn(t);const n=rn(this),{has:r,get:o}=Et(n);let i=r.call(n,e);i||(e=rn(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?R(t,s)&&dt(n,"set",e,t):dt(n,"add",e,t),this}function Dt(e){const t=rn(this),{has:n,get:r}=Et(t);let o=n.call(t,e);o||(e=rn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&dt(t,"delete",e,void 0),i}function Ot(){const e=rn(this),t=0!==e.size,n=e.clear();return t&&dt(e,"clear",void 0,void 0),n}function It(e,t){return function(n,r){const o=this,i=o.__v_raw,s=rn(i),a=t?xt:e?an:sn;return!e&&ut(s,0,lt),i.forEach(((e,t)=>n.call(r,a(e),a(t),o)))}}function Pt(e,t,n){return function(...r){const o=this.__v_raw,i=rn(o),s=m(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=o[e](...r),u=n?xt:t?an:sn;return!t&&ut(i,0,l?ct:lt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Rt(){const e={get(e){return Tt(this,e)},get size(){return Mt(this)},has:Ct,add:kt,set:At,delete:Dt,clear:Ot,forEach:It(!1,!1)},t={get(e){return Tt(this,e,!1,!0)},get size(){return Mt(this)},has:Ct,add:kt,set:At,delete:Dt,clear:Ot,forEach:It(!1,!0)},n={get(e){return Tt(this,e,!0)},get size(){return Mt(this,!0)},has(e){return Ct.call(this,e,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:It(!0,!1)},r={get(e){return Tt(this,e,!0,!0)},get size(){return Mt(this,!0)},has(e){return Ct.call(this,e,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:It(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Pt(o,!1,!1),n[o]=Pt(o,!0,!1),t[o]=Pt(o,!1,!0),r[o]=Pt(o,!0,!0)})),[e,n,t,r]}const[Lt,Nt,$t,zt]=Rt();function jt(e,t){const n=t?e?zt:$t:e?Nt:Lt;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(p(n,r)&&r in t?n:t,r,o)}const Vt={get:jt(!1,!1)},Ht={get:jt(!1,!0)},Ft={get:jt(!0,!1)},qt=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Kt=new WeakMap;function Yt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>E(e).slice(8,-1))(e))}function Xt(e){return en(e)?e:Zt(e,!1,_t,Vt,qt)}function Gt(e){return Zt(e,!1,St,Ht,Ut)}function Jt(e){return Zt(e,!0,wt,Ft,Wt)}function Zt(e,t,n,r,o){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=Yt(e);if(0===s)return e;const a=new Proxy(e,2===s?r:n);return o.set(e,a),a}function Qt(e){return en(e)?Qt(e.__v_raw):!(!e||!e.__v_isReactive)}function en(e){return!(!e||!e.__v_isReadonly)}function tn(e){return!(!e||!e.__v_isShallow)}function nn(e){return Qt(e)||en(e)}function rn(e){const t=e&&e.__v_raw;return t?rn(t):e}function on(e){return Object.isExtensible(e)&&N(e,"__v_skip",!0),e}const sn=e=>w(e)?Xt(e):e,an=e=>w(e)?Jt(e):e;class ln{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ue((()=>e(this._value)),(()=>un(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=rn(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||un(e,4),cn(e),e.effect._dirtyLevel>=2&&un(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function cn(e){var t;Xe&&Ve&&(e=rn(e),rt(Ve,null!=(t=e.dep)?t:e.dep=st((()=>e.dep=void 0),e instanceof ln?e:void 0)))}function un(e,t=4,n){const r=(e=rn(e)).dep;r&&it(r,t)}function dn(e){return!(!e||!0!==e.__v_isRef)}function hn(e){return pn(e,!1)}function fn(e){return pn(e,!0)}function pn(e,t){return dn(e)?e:new gn(e,t)}class gn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:rn(e),this._value=t?e:sn(e)}get value(){return cn(this),this._value}set value(e){const t=this.__v_isShallow||tn(e)||en(e);e=t?e:rn(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:sn(e),un(this,4))}}function mn(e){return dn(e)?e.value:e}const vn={get:(e,t,n)=>mn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return dn(o)&&!dn(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function yn(e){return Qt(e)?e:new Proxy(e,vn)}class bn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=rn(this._object),t=this._key,null==(n=at.get(e))?void 0:n.get(t);var e,t,n}}class _n{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function wn(e,t,n){return dn(e)?e:y(e)?new _n(e):w(e)&&arguments.length>1?Sn(e,t,n):hn(e)}function Sn(e,t,n){const r=e[t];return dn(r)?r:new bn(e,t,n)}function xn(e,t,n,r){try{return r?e(...r):e()}catch(o){Tn(o,t,n)}}function En(e,t,n,r){if(y(e)){const o=xn(e,t,n,r);return o&&S(o)&&o.catch((e=>{Tn(e,t,n)})),o}const o=[];for(let i=0;i>>1,o=An[r],i=Vn(o);iVn(e)-Vn(t)));if(On.length=0,In)return void In.push(...e);for(In=e,Pn=0;Pnnull==e.id?1/0:e.id,Hn=(e,t)=>{const n=Vn(e)-Vn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fn(e){kn=!1,Mn=!0,An.sort(Hn);try{for(Dn=0;Dnb(e)?e.trim():e))),t&&(o=n.map($))}let l,c=r[l=B(t)]||r[l=B(D(t))];!c&&s&&(c=r[l=B(I(t))]),c&&En(c,e,6,Un(e,c,o));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,En(u,e,6,Un(e,u,o))}}function Un(e,t,n){if(1!==n.length)return n;if(y(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const r=n[0];if(r&&p(r,"type")&&p(r,"timeStamp")&&p(r,"target")&&p(r,"currentTarget")&&p(r,"detail")){const t=e.proxy,r=t.$gcd(t,!0);r&&n.push(r)}return n}function Wn(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!y(e)){const r=e=>{const n=Wn(e,t,!0);n&&(a=!0,d(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(g(i)?i.forEach((e=>s[e]=null)):d(s,i),w(e)&&r.set(e,s),s):(w(e)&&r.set(e,null),null)}function Kn(e,t){return!(!e||!c(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,I(t))||p(e,t))}let Yn=null,Xn=null;function Gn(e){const t=Yn;return Yn=e,Xn=e&&e.type.__scopeId||null,t}function Jn(e,t=Yn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&ii(-1);const o=Gn(t);let i;try{i=e(...n)}finally{Gn(o),r._d&&ii(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zn(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:d,renderCache:h,data:f,setupState:p,ctx:g,inheritAttrs:m}=e;let v,y;const b=Gn(e);try{if(4&n.shapeFlag){const e=o||r,t=e;v=_i(d.call(t,e,h,i,p,f,g)),y=l}else{const e=t;0,v=_i(e.length>1?e(i,{attrs:l,slots:a,emit:c}):e(i,null)),y=t.props?l:Qn(l)}}catch(w){ti.length=0,Tn(w,e,1),v=gi(Qo)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(u)&&(y=er(y,s)),_=vi(_,y))}return n.dirs&&(_=vi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Gn(b),v}const Qn=e=>{let t;for(const n in e)("class"===n||"style"===n||c(n))&&((t||(t={}))[n]=e[n]);return t},er=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function tr(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;const lr=Symbol.for("v-scx");function cr(e,t){return hr(e,null,t)}const ur={};function dr(e,t,n){return hr(e,t,n)}function hr(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:c}=i){if(t&&s){const e=t;t=(...t)=>{e(...t),C()}}const u=Mi,d=e=>!0===r?e:gr(e,!1===r?1:void 0);let f,p,m=!1,v=!1;if(dn(e)?(f=()=>e.value,m=tn(e)):Qt(e)?(f=()=>d(e),m=!0):g(e)?(v=!0,m=e.some((e=>Qt(e)||tn(e))),f=()=>e.map((e=>dn(e)?e.value:Qt(e)?d(e):y(e)?xn(e,u,2):void 0))):f=y(e)?t?()=>xn(e,u,2):()=>(p&&p(),En(e,u,3,[_])):a,t&&r){const e=f;f=()=>gr(e())}let b,_=e=>{p=E.onStop=()=>{xn(e,u,4),p=E.onStop=void 0}};if(Bi){if(_=a,t?n&&En(t,u,3,[f(),v?[]:void 0,_]):f(),"sync"!==o)return a;{const e=Do(lr);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=v?new Array(e.length).fill(ur):ur;const S=()=>{if(E.active&&E.dirty)if(t){const e=E.run();(r||m||(v?e.some(((e,t)=>R(e,w[t]))):R(e,w)))&&(p&&p(),En(t,u,3,[e,w===ur?void 0:v&&w[0]===ur?[]:w,_]),w=e)}else E.run()};let x;S.allowRecurse=!!t,"sync"===o?x=S:"post"===o?x=()=>Uo(S,u&&u.suspense):(S.pre=!0,u&&(S.id=u.uid),x=()=>Nn(S));const E=new Ue(f,a,x),T=qe(),C=()=>{E.stop(),T&&h(T.effects,E)};return t?n?S():w=E.run():"post"===o?Uo(E.run.bind(E),u&&u.suspense):E.run(),b&&b.push(C),C}function fr(e,t,n){const r=this.proxy,o=b(e)?e.includes(".")?pr(r,e):()=>r[e]:e.bind(r,r);let i;y(t)?i=t:(i=t.handler,n=t);const s=Oi(this),a=hr(o,i.bind(r),n);return s(),a}function pr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((r=r||new Set).has(e))return e;if(r.add(e),dn(e))gr(e.value,t,n,r);else if(g(e))for(let o=0;o{gr(e,t,n,r)}));else if(T(e))for(const o in e)gr(e[o],t,n,r);return e}function mr(e,t){if(null===Yn)return e;const n=Ni(Yn)||Yn.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0})),Zr((()=>{e.isUnmounting=!0})),e}();return()=>{const o=t.default&&kr(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1)for(const e of o)if(e.type!==Qo){i=e;break}const s=rn(e),{mode:a}=s;if(r.isLeaving)return Tr(i);const l=Cr(i);if(!l)return Tr(i);const c=Er(l,s,r,n);Mr(l,c);const u=n.subTree,d=u&&Cr(u);if(d&&d.type!==Qo&&!ui(l,d)){const e=Er(d,s,r,n);if(Mr(d,e),"out-in"===a)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Tr(i);"in-out"===a&&l.type!==Qo&&(e.delayLeave=(e,t,n)=>{xr(r,d)[String(d.key)]=d,e[yr]=()=>{t(),e[yr]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function xr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Er(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=xr(n,e),S=(e,t)=>{e&&En(e,r,9,t)},x=(e,t)=>{const n=t[1];S(e,t),g(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:i,persisted:s,beforeEnter(t){let r=a;if(!n.isMounted){if(!o)return;r=m||a}t[yr]&&t[yr](!0);const i=w[_];i&&ui(e,i)&&i.el[yr]&&i.el[yr](),S(r,[t])},enter(e){let t=l,r=c,i=u;if(!n.isMounted){if(!o)return;t=v||l,r=y||c,i=b||u}let s=!1;const a=e[br]=t=>{s||(s=!0,S(t?i:r,[e]),E.delayedLeave&&E.delayedLeave(),e[br]=void 0)};t?x(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t[br]&&t[br](!0),n.isUnmounting)return r();S(d,[t]);let i=!1;const s=t[yr]=n=>{i||(i=!0,r(),S(n?p:f,[t]),t[yr]=void 0,w[o]===e&&delete w[o])};w[o]=e,h?x(h,[t,s]):s()},clone:e=>Er(e,t,n,r)};return E}function Tr(e){if(Pr(e))return(e=vi(e)).children=null,e}function Cr(e){return Pr(e)?e.children?e.children[0]:void 0:e}function Mr(e,t){6&e.shapeFlag&&e.component?Mr(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 kr(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;id({name:e.name},t,{setup:e}))():e}const Dr=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function Or(e){y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Ar({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Mi;if(l)return()=>Ir(l,e);const t=t=>{c=null,Tn(t,e,13,!r)};if(s&&e.suspense||Bi)return d().then((t=>()=>Ir(t,e))).catch((e=>(t(e),()=>r?gi(r,{error:e}):null)));const a=hn(!1),u=hn(),h=hn(!!o);return o&&setTimeout((()=>{h.value=!1}),o),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&Pr(e.parent.vnode)&&(e.parent.effect.dirty=!0,Nn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?Ir(l,e):u.value&&r?gi(r,{error:u.value}):n&&!h.value?gi(n):void 0}})}function Ir(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=gi(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Pr=e=>e.type.__isKeepAlive;class Br{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:r}=this,o=t.get(e);if(o)n.delete(e),n.add(e);else if(n.add(e),r&&n.size>r){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return o}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 Rr={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=ki(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=e.cache||new Br(e.max);o.pruneCacheEntry=s;let i=null;function s(t){var r;!i||!ui(t,i)||"key"===e.matchBy&&t.key!==i.key?(Hr(r=t),u(r,n,a,!0)):i&&Hr(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,h=d("div");function f(t){o.forEach(((n,r)=>{const i=qr(n,e.matchBy);!i||t&&t(i)||(o.delete(r),s(n))}))}r.activate=(e,t,n,r,o)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,L(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,r,e.slotScopeIds,o),Uo((()=>{i.isDeactivated=!1,i.a&&L(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Ei(t,i.parent,e)}),a)},r.deactivate=e=>{const t=e.component;t.bda&&Ur(t.bda),c(e,h,null,1,a),Uo((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&L(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ei(n,t.parent,e),t.isDeactivated=!0}),a)},dr((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Nr(e,t))),t&&f((e=>!Nr(t,e)))}),{flush:"post",deep:!0});let p=null;const g=()=>{null!=p&&o.set(p,Fr(n.subTree))};return Xr(g),Jr(g),Zr((()=>{o.forEach(((t,r)=>{o.delete(r),s(t);const{subTree:i,suspense:a}=n,l=Fr(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&L(l.component.bda),Hr(l);const e=l.component.da;e&&Uo(e,a)}}))})),()=>{if(p=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!ci(r)||!(4&r.shapeFlag)&&!ar(r.type))return i=null,r;let s=Fr(r);const a=s.type,l=qr(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Nr(c,l))||u&&l&&Nr(u,l))return i=s,r;const d=null==s.key?a:s.key,h=o.get(d);return s.el&&(s=vi(s),ar(r.type)&&(r.ssContent=s)),p=d,h&&(s.el=h.el,s.component=h.component,s.transition&&Mr(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,ar(r.type)?r:s}}},Lr=Rr;function Nr(e,t){return g(e)?e.some((e=>Nr(e,t))):b(e)?e.split(",").includes(t):"[object RegExp]"===E(e)&&e.test(t)}function $r(e,t){jr(e,"a",t)}function zr(e,t){jr(e,"da",t)}function jr(e,t,n=Mi){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(r.__called=!1,Wr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Pr(e.parent.vnode)&&Vr(r,t,n,e),e=e.parent}}function Vr(e,t,n,r){const o=Wr(t,e,r,!0);Qr((()=>{h(r[t],o)}),n)}function Hr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Fr(e){return ar(e.type)?e.ssContent:e}function qr(e,t){if("name"===t){const t=e.type;return $i(Dr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Ur(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const r=n.proxy;En(t.bind(r),n,e,"onLoad"===e?[r.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Ze();const o=Oi(n),i=En(t,n,e,r);return o(),Qe(),i});return r?i.unshift(s):i.push(s),s}var o}const Kr=e=>(t,n=Mi)=>(!Bi||"sp"===e)&&Wr(e,((...e)=>t(...e)),n),Yr=Kr("bm"),Xr=Kr("m"),Gr=Kr("bu"),Jr=Kr("u"),Zr=Kr("bum"),Qr=Kr("um"),eo=Kr("sp"),to=Kr("rtg"),no=Kr("rtc");function ro(e,t=Mi){Wr("ec",e,t)}function oo(e,t,n,r){let o;const i=n&&n[r];if(g(e)||b(e)){o=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r!ci(e)||e.type!==Qo&&!(e.type===Jo&&!so(e.children))))?e:null}const ao=e=>{if(!e)return null;if(Pi(e)){return Ni(e)||e.proxy}return ao(e.parent)},lo=d(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=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>vo(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Nn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>fr.bind(e)}),co=(e,t)=>e!==i&&!e.__isScriptSetup&&p(e,t),uo={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(co(r,t))return a[t]=1,r[t];if(o!==i&&p(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&p(u,t))return a[t]=3,s[t];if(n!==i&&p(n,t))return a[t]=4,n[t];fo&&(a[t]=0)}}const d=lo[t];let h,f;return d?("$attrs"===t&&ut(e,0,t),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==i&&p(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,p(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return co(o,t)?(o[t]=n,!0):r!==i&&p(r,t)?(r[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},a){let l;return!!n[a]||e!==i&&p(e,a)||co(t,a)||(l=s[0])&&p(l,a)||p(r,a)||p(lo,a)||p(o.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ho(e){return g(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let fo=!0;function po(e){const t=vo(e),n=e.proxy,r=e.ctx;fo=!1,t.beforeCreate&&go(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:f,beforeUpdate:p,updated:m,activated:v,deactivated:b,beforeDestroy:_,beforeUnmount:S,destroyed:x,unmounted:E,render:T,renderTracked:C,renderTriggered:M,errorCaptured:k,serverPrefetch:A,expose:D,inheritAttrs:O,components:I,directives:P,filters:B}=t;if(u&&function(e,t,n=a){g(e)&&(e=wo(e));for(const r in e){const n=e[r];let o;o=w(n)?"default"in n?Do(n.from||r,n.default,!0):Do(n.from||r):Do(n),dn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(u,r,null),s)for(const a in s){const e=s[a];y(e)&&(r[a]=e.bind(n))}if(o){const t=o.call(n,n);w(t)&&(e.data=Xt(t))}if(fo=!0,i)for(const g in i){const e=i[g],t=y(e)?e.bind(n,n):y(e.get)?e.get.bind(n,n):a,o=!y(e)&&y(e.set)?e.set.bind(n):a,s=zi({get:t,set:o});Object.defineProperty(r,g,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)mo(l[a],r,n,a);if(c){const e=y(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Ao(t,e[t])}))}function R(e,t){g(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&go(d,e,"c"),R(Yr,h),R(Xr,f),R(Gr,p),R(Jr,m),R($r,v),R(zr,b),R(ro,k),R(no,C),R(to,M),R(Zr,S),R(Qr,E),R(eo,A),g(D))if(D.length){const t=e.exposed||(e.exposed={});D.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===a&&(e.render=T),null!=O&&(e.inheritAttrs=O),I&&(e.components=I),P&&(e.directives=P);const L=e.appContext.config.globalProperties.$applyOptions;L&&L(t,e,n)}function go(e,t,n){En(g(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function mo(e,t,n,r){const o=r.includes(".")?pr(n,r):()=>n[r];if(b(e)){const n=t[e];y(n)&&dr(o,n)}else if(y(e))dr(o,e.bind(n));else if(w(e))if(g(e))e.forEach((e=>mo(e,t,n,r)));else{const r=y(e.handler)?e.handler.bind(n):t[e.handler];y(r)&&dr(o,r,e)}}function vo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||r?(l={},o.length&&o.forEach((e=>yo(l,e,s,!0))),yo(l,t,s)):l=t,w(t)&&i.set(t,l),l}function yo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&yo(e,i,n,!0),o&&o.forEach((t=>yo(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=bo[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const bo={data:_o,props:Eo,emits:Eo,methods:xo,computed:xo,beforeCreate:So,created:So,beforeMount:So,mounted:So,beforeUpdate:So,updated:So,beforeDestroy:So,beforeUnmount:So,destroyed:So,unmounted:So,activated:So,deactivated:So,errorCaptured:So,serverPrefetch:So,components:xo,directives:xo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=d(Object.create(null),e);for(const r in t)n[r]=So(e[r],t[r]);return n},provide:_o,inject:function(e,t){return xo(wo(e),wo(t))}};function _o(e,t){return t?e?function(){return d(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function wo(e){if(g(e)){const t={};for(let n=0;n(i.has(e)||(e&&y(e.install)?(i.add(e),e.install(a,...t)):y(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),a),component:(e,t)=>t?(o.components[e]=t,a):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,a):o.directives[e],mount(i,l,c){if(!s){const u=gi(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Ni(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,a),runWithContext(e){const t=ko;ko=a;try{return e()}finally{ko=t}}};return a}}let ko=null;function Ao(e,t){if(Mi){let n=Mi.provides;const r=Mi.parent&&Mi.parent.provides;r===n&&(n=Mi.provides=Object.create(r)),n[e]=t,"app"===Mi.type.mpType&&Mi.appContext.app.provide(e,t)}else;}function Do(e,t,n=!1){const r=Mi||Yn;if(r||ko){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ko._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&y(t)?t.call(r&&r.proxy):t}}function Oo(){return!!(Mi||Yn||ko)}function Io(e,t,n,r){const[o,s]=e.propsOptions;let a,l=!1;if(t)for(let i in t){if(M(i))continue;const c=t[i];let u;o&&p(o,u=D(i))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Kn(e.emitsOptions,i)||i in r&&c===r[i]||(r[i]=c,l=!0)}if(s){const t=rn(n),r=a||i;for(let i=0;i{u=!0;const[n,r]=Bo(e,t,!0);d(l,n),r&&c.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!u)return w(e)&&r.set(e,s),s;if(g(a))for(let s=0;s-1,n[1]=r<0||t-1||p(n,"default"))&&c.push(e)}}}const h=[l,c];return w(e)&&r.set(e,h),h}function Ro(e){return"$"!==e[0]&&!M(e)}function Lo(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function No(e,t){return Lo(e)===Lo(t)}function $o(e,t){return g(t)?t.findIndex((t=>No(t,e))):y(t)&&No(t,e)?0:-1}const zo=e=>"_"===e[0]||"$stable"===e,jo=e=>g(e)?e.map(_i):[_i(e)],Vo=(e,t,n)=>{if(t._n)return t;const r=Jn(((...e)=>jo(t(...e))),n);return r._c=!1,r},Ho=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zo(o))continue;const n=e[o];if(y(n))t[o]=Vo(0,n,r);else if(null!=n){const e=jo(n);t[o]=()=>e}}},Fo=(e,t)=>{const n=jo(t);e.slots.default=()=>n};function qo(e,t,n,r,o=!1){if(g(e))return void e.forEach(((e,i)=>qo(e,t&&(g(t)?t[i]:t),n,r,o)));if(Dr(r)&&!o)return;const s=4&r.shapeFlag?Ni(r.component)||r.component.proxy:r.el,a=o?null:s,{i:l,r:c}=e,u=t&&t.r,d=l.refs===i?l.refs={}:l.refs,f=l.setupState;if(null!=u&&u!==c&&(b(u)?(d[u]=null,p(f,u)&&(f[u]=null)):dn(u)&&(u.value=null)),y(c))xn(c,l,12,[a,d]);else{const t=b(c),r=dn(c);if(t||r){const i=()=>{if(e.f){const n=t?p(f,c)?f[c]:d[c]:c.value;o?g(n)&&h(n,s):g(n)?n.includes(s)||n.push(s):t?(d[c]=[s],p(f,c)&&(f[c]=d[c])):(c.value=[s],e.k&&(d[e.k]=c.value))}else t?(d[c]=a,p(f,c)&&(f[c]=a)):r&&(c.value=a,e.k&&(d[e.k]=a))};a?(i.id=-1,Uo(i,n)):i()}}}const Uo=function(e,t){var n;t&&t.pendingBranch?g(e)?t.effects.push(...e):t.effects.push(e):(g(n=e)?On.push(...n):In&&In.includes(n,n.allowRecurse?Pn+1:Pn)||On.push(n),$n())};function Wo(e){return function(e,t){j().__VUE__=!0;const{insert:n,remove:r,patchProp:o,forcePatchProp:l,createElement:c,createText:u,createComment:h,setText:f,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=a,insertStaticContent:b}=e,_=(e,t,n,r=null,o=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ui(e,t)&&(r=te(e),G(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Zo:w(e,t,n,r);break;case Qo:x(e,t,n,r);break;case ei:null==e&&E(t,n,r,s);break;case Jo:z(e,t,n,r,o,i,s,a,l);break;default:1&d?k(e,t,n,r,o,i,s,a,l):6&d?V(e,t,n,r,o,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,s,a,l,oe)}null!=u&&o&&qo(u,e&&e.ref,i,t||e,!t)},w=(e,t,r,o)=>{if(null==e)n(t.el=u(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},x=(e,t,r,o)=>{null==e?n(t.el=h(t.children||""),r,o):t.el=e.el},E=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r,e.el,e.anchor)},T=({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=v(e),n(e,r,o),e=i;n(t,r,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),r(e),e=n;r(t)},k=(e,t,n,r,o,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,r,o,i,s,a,l):B(e,t,o,i,s,a,l)},A=(e,t,r,i,s,a,l,u)=>{let d,h;const{props:f,shapeFlag:p,transition:m,dirs:v}=e;if(d=e.el=c(e.type,a,f&&f.is,f),8&p?g(d,e.children):16&p&&P(e.children,d,null,i,s,Ko(e,a),l,u),v&&vr(e,null,i,"created"),O(d,e,e.scopeId,l,i),f){for(const t in f)"value"===t||M(t)||o(d,t,null,f[t],a,e.children,i,s,ee);"value"in f&&o(d,"value",null,f.value,a),(h=f.onVnodeBeforeMount)&&Ei(h,i,e)}Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),v&&vr(e,null,i,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,m);y&&m.beforeEnter(d),n(d,t,r),((h=f&&f.onVnodeMounted)||y||v)&&Uo((()=>{h&&Ei(h,i,e),y&&m.enter(d),v&&vr(e,null,i,"mounted")}),s)},O=(e,t,n,r,o)=>{if(n&&y(e,n),r)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:h,dirs:f}=t;d|=16&e.patchFlag;const p=e.props||i,m=t.props||i;let v;if(n&&Yo(n,!1),(v=m.onVnodeBeforeUpdate)&&Ei(v,n,t,e),f&&vr(t,e,n,"beforeUpdate"),n&&Yo(n,!0),h?R(e.dynamicChildren,h,u,n,r,Ko(t,s),a):c||W(e,t,u,null,n,r,Ko(t,s),a,!1),d>0){if(16&d)$(u,t,p,m,n,r,s);else if(2&d&&p.class!==m.class&&o(u,"class",null,m.class,s),4&d&&o(u,"style",p.style,m.style,s),8&d){const i=t.dynamicProps;for(let t=0;t{v&&Ei(v,n,t,e),f&&vr(t,e,n,"updated")}),r)},R=(e,t,n,r,o,i,s)=>{for(let a=0;a{if(n!==r){if(n!==i)for(const i in n)M(i)||i in r||o(e,i,n[i],null,c,t.children,s,a,ee);for(const i in r){if(M(i))continue;const u=r[i],d=n[i];(u!==d&&"value"!==i||l&&l(e,i))&&o(e,i,d,u,c,t.children,s,a,ee)}"value"in r&&o(e,"value",n.value,r.value,c)}},z=(e,t,r,o,i,s,a,l,c)=>{const d=t.el=e?e.el:u(""),h=t.anchor=e?e.anchor:u("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(d,r,o),n(h,r,o),P(t.children||[],r,h,i,s,a,l,c)):f>0&&64&f&&p&&e.dynamicChildren?(R(e.dynamicChildren,p,r,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Xo(e,t,!0)):W(e,t,r,h,i,s,a,l,c)},V=(e,t,n,r,o,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):H(t,n,r,o,i,s,l):F(e,t,l)},H=(e,t,n,r,o,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ti,s={uid:Ci++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new He(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bo(r,o),emitsOptions:Wn(r,o),emit:null,emitted:null,propsDefaults:i,inheritAttrs:r.inheritAttrs,ctx:i,data:i,props:i,attrs:i,slots:i,refs:i,setupState:i,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=qn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,o);if(Pr(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&Di(t);const{props:n,children:r}=e.vnode,o=Pi(e);(function(e,t,n,r=!1){const o={},i={};N(i,di,1),e.propsDefaults=Object.create(null),Io(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Gt(o):e.type.props?e.props=o:e.props=i,e.attrs=i})(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=rn(t),N(t,"_",n)):Ho(t,e.slots={})}else e.slots={},t&&Fo(e,t);N(e.slots,di,1)})(e,r);const i=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=on(new Proxy(e.ctx,uo));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(ut(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,o=Oi(e);Ze();const i=xn(r,e,0,[e.props,n]);if(Qe(),o(),S(i)){if(i.then(Ii,Ii),t)return i.then((n=>{Ri(e,n,t)})).catch((t=>{Tn(t,e,0)}));e.asyncDep=i}else Ri(e,i,t)}else Li(e,t)}(e,t):void 0;t&&Di(!1)}(l),l.asyncDep){if(o&&o.registerDep(l,q),!e.el){const e=l.subTree=gi(Qo);x(null,e,t,n)}}else q(l,e,t,n,o,s,a)},F=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||tr(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?tr(r,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tDn&&An.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},q=(e,t,n,r,o,i,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:a,vnode:c}=e;{const n=Go(e);if(n)return t&&(t.el=c.el,U(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Yo(e,!1),t?(t.el=c.el,U(e,t,s)):t=c,n&&L(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Ei(u,a,t,c),Yo(e,!0);const h=Zn(e),f=e.subTree;e.subTree=h,_(f,h,m(f.el),te(f),e,o,i),t.el=h.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,h.el),r&&Uo(r,o),(u=t.props&&t.props.onVnodeUpdated)&&Uo((()=>Ei(u,a,t,c)),o)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,h=Dr(t);if(Yo(e,!1),c&&L(c),!h&&(s=l&&l.onVnodeBeforeMount)&&Ei(s,d,t),Yo(e,!0),a&&se){const n=()=>{e.subTree=Zn(e),se(a,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const s=e.subTree=Zn(e);_(null,s,n,r,e,o,i),t.el=s.el}if(u&&Uo(u,o),!h&&(s=l&&l.onVnodeMounted)){const e=t;Uo((()=>Ei(s,d,e)),o)}(256&t.shapeFlag||d&&Dr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Ur(e.ba),e.a&&Uo(e.a,o)),e.isMounted=!0,t=n=r=null}},c=e.effect=new Ue(l,a,(()=>Nn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Yo(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=rn(o),[l]=e.propsOptions;let c=!1;if(!(r||s>0)||16&s){let r;Io(e,t,o,i)&&(c=!0);for(const i in a)t&&(p(t,i)||(r=I(i))!==i&&p(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=Po(l,a,i,void 0,e,!0)):delete o[i]);if(i!==a)for(const e in i)t&&p(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:o}=e;let s=!0,a=i;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(d(o,t),n||1!==e||delete o._):(s=!t.$stable,Ho(t,o)),a=t}else t&&(Fo(e,t),a={default:1});if(s)for(const i in o)zo(i)||null!=a[i]||delete o[i]})(e,t.children,n),Ze(),zn(e),Qe()},W=(e,t,n,r,o,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void Y(c,d,n,r,o,i,s,a,l);if(256&h)return void K(c,d,n,r,o,i,s,a,l)}8&f?(16&u&&ee(c,o,i),d!==c&&g(n,d)):16&u?16&f?Y(c,d,n,r,o,i,s,a,l):ee(c,o,i,!0):(8&u&&g(n,""),16&f&&P(d,n,r,o,i,s,a,l))},K=(e,t,n,r,o,i,a,l,c)=>{t=t||s;const u=(e=e||s).length,d=t.length,h=Math.min(u,d);let f;for(f=0;fd?ee(e,o,i,!0,!1,h):P(t,n,r,o,i,a,l,c,h)},Y=(e,t,n,r,o,i,a,l,c)=>{let u=0;const d=t.length;let h=e.length-1,f=d-1;for(;u<=h&&u<=f;){const r=e[u],s=t[u]=c?wi(t[u]):_i(t[u]);if(!ui(r,s))break;_(r,s,n,null,o,i,a,l,c),u++}for(;u<=h&&u<=f;){const r=e[h],s=t[f]=c?wi(t[f]):_i(t[f]);if(!ui(r,s))break;_(r,s,n,null,o,i,a,l,c),h--,f--}if(u>h){if(u<=f){const e=f+1,s=ef)for(;u<=h;)G(e[u],o,i,!0),u++;else{const p=u,g=u,m=new Map;for(u=g;u<=f;u++){const e=t[u]=c?wi(t[u]):_i(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=f-g+1;let w=!1,S=0;const x=new Array(b);for(u=0;u=b){G(r,o,i,!0);continue}let s;if(null!=r.key)s=m.get(r.key);else for(v=g;v<=f;v++)if(0===x[v-g]&&ui(r,t[v])){s=v;break}void 0===s?G(r,o,i,!0):(x[s-g]=u+1,s>=S?S=s:w=!0,_(r,t[s],n,null,o,i,a,l,c),y++)}const E=w?function(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(x):s;for(v=E.length-1,u=b-1;u>=0;u--){const e=g+u,s=t[e],h=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void a.move(e,t,r,oe);if(a===Jo){n(s,t,r);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,a=()=>n(s,t,r),c=()=>{e(s,(()=>{a(),i&&i()}))};o?o(s,a,c):c()}else n(s,t,r)},G=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=a&&qo(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&h,p=!Dr(e);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&Ei(g,t,e),6&u)Q(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);f&&vr(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,oe,r):c&&(i!==Jo||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Jo&&384&d||!o&&16&u)&&ee(l,t,n),r&&J(e)}(p&&(g=s&&s.onVnodeUnmounted)||f)&&Uo((()=>{g&&Ei(g,t,e),f&&vr(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===Jo)return void Z(n,o);if(t===ei)return void C(e);const s=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,s);r?r(e.el,s,o):o()}else s()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),r(e),e=n;r(t)},Q=(e,t,n)=>{const{bum:r,scope:o,update:i,subTree:s,um:a}=e;r&&L(r),o.stop(),i&&(i.active=!1,G(s,e,t,n)),a&&Uo(a,t),Uo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const re=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,zn(),jn(),ne=!1),t._vnode=e},oe={p:_,um:G,m:X,r:J,mt:H,mc:P,pc:W,pbc:R,n:te,o:e};let ie,se;t&&([ie,se]=t(oe));return{render:re,hydrate:ie,createApp:Mo(re,ie)}}(e)}function Ko({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Yo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Xo(e,t,n=!1){const r=e.children,o=t.children;if(g(r)&&g(o))for(let i=0;i0?ni||s:null,ti.pop(),ni=ti[ti.length-1]||null,oi>0&&ni&&ni.push(e),e}function ai(e,t,n,r,o,i){return si(pi(e,t,n,r,o,i,!0))}function li(e,t,n,r,o){return si(gi(e,t,n,r,o,!0))}function ci(e){return!!e&&!0===e.__v_isVNode}function ui(e,t){return e.type===t.type&&e.key===t.key}const di="__vInternal",hi=({key:e})=>null!=e?e:null,fi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||dn(e)||y(e)?{i:Yn,r:e,k:t,f:!!n}:e:null);function pi(e,t=null,n=null,r=0,o=null,i=(e===Jo?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&fi(t),scopeId:Xn,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Yn};return a?(Si(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),oi>0&&!s&&ni&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&ni.push(l),l}const gi=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==rr||(e=Qo);if(ci(e)){const r=vi(e,t,!0);return n&&Si(r,n),oi>0&&!i&&ni&&(6&r.shapeFlag?ni[ni.indexOf(e)]=r:ni.push(r)),r.patchFlag|=-2,r}s=e,y(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=mi(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=ve(e)),w(n)&&(nn(n)&&!g(n)&&(n=d({},n)),t.style=me(n))}const a=b(e)?1:ar(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:y(e)?2:0;return pi(e,t,n,r,o,a,i,!0)};function mi(e){return e?nn(e)||di in e?d({},e):e:null}function vi(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?xi(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&hi(a),ref:t&&t.ref?n&&o?g(o)?o.concat(fi(t)):[o,fi(t)]:fi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Jo?-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&&vi(e.ssContent),ssFallback:e.ssFallback&&vi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function yi(e=" ",t=0){return gi(Zo,null,e,t)}function bi(e="",t=!1){return t?(ri(),li(Qo,null,e)):gi(Qo,null,e)}function _i(e){return null==e||"boolean"==typeof e?gi(Qo):g(e)?gi(Jo,null,e.slice()):"object"==typeof e?wi(e):gi(Zo,null,String(e))}function wi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:vi(e)}function Si(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(g(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Si(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||di in t?3===r&&Yn&&(1===Yn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Yn}}else y(t)?(t={default:t,_ctx:Yn},n=32):(t=String(t),64&r?(n=16,t=[yi(t)]):n=8);e.children=t,e.shapeFlag|=n}function xi(...e){const t={};for(let n=0;nMi||Yn;let Ai,Di;{const e=j(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Ai=t("__VUE_INSTANCE_SETTERS__",(e=>Mi=e)),Di=t("__VUE_SSR_SETTERS__",(e=>Bi=e))}const Oi=e=>{const t=Mi;return Ai(e),e.scope.on(),()=>{e.scope.off(),Ai(t)}},Ii=()=>{Mi&&Mi.scope.off(),Ai(null)};function Pi(e){return 4&e.vnode.shapeFlag}let Bi=!1;function Ri(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=yn(t)),Li(e,n)}function Li(e,t,n){const r=e.type;e.render||(e.render=r.render||a);{const t=Oi(e);Ze();try{po(e)}finally{Qe(),t()}}}function Ni(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yn(on(e.exposed)),{get:(t,n)=>n in t?t[n]:n in lo?lo[n](e):void 0,has:(e,t)=>t in e||t in lo}))}function $i(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}const zi=(e,t)=>{const n=function(e,t,n=!1){let r,o;const i=y(e);return i?(r=e,o=a):(r=e.get,o=e.set),new ln(r,o,i||!o,n)}(e,0,Bi);return n};function ji(e,t,n){const r=arguments.length;return 2===r?w(t)&&!g(t)?ci(t)?gi(e,null,[t]):gi(e,t):gi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ci(n)&&(n=[n]),gi(e,t,n))}const Vi="3.4.21",Hi="undefined"!=typeof document?document:null,Fi=Hi&&Hi.createElement("template"),qi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?Hi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Hi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Hi.createElement(e,{is:n}):Hi.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Hi.createTextNode(e),createComment:e=>Hi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{Fi.innerHTML="svg"===r?`${e}`:"mathml"===r?`${e}`:e;const o=Fi.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ui="transition",Wi=Symbol("_vtc"),Ki=(e,{slots:t})=>ji(Sr,function(e){const t={};for(const d in e)d in Yi||(t[d]=e[d]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(w(e))return[Ji(e.enter),Ji(e.leave)];{const t=Ji(e);return[t,t]}}(o),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:S,onLeaveCancelled:x,onBeforeAppear:E=y,onAppear:T=b,onAppearCancelled:C=_}=t,M=(e,t,n)=>{Qi(e,t?u:a),Qi(e,t?c:s),n&&n()},k=(e,t)=>{e._isLeaving=!1,Qi(e,h),Qi(e,p),Qi(e,f),t&&t()},A=e=>(t,n)=>{const o=e?T:b,s=()=>M(t,e,n);Xi(o,[t,s]),es((()=>{Qi(t,e?l:i),Zi(t,e?u:a),Gi(o)||ns(t,r,m,s)}))};return d(t,{onBeforeEnter(e){Xi(y,[e]),Zi(e,i),Zi(e,s)},onBeforeAppear(e){Xi(E,[e]),Zi(e,l),Zi(e,c)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);Zi(e,h),document.body.offsetHeight,Zi(e,f),es((()=>{e._isLeaving&&(Qi(e,h),Zi(e,p),Gi(S)||ns(e,r,v,n))})),Xi(S,[e,n])},onEnterCancelled(e){M(e,!1),Xi(_,[e])},onAppearCancelled(e){M(e,!0),Xi(C,[e])},onLeaveCancelled(e){k(e),Xi(x,[e])}})}(e),t);Ki.displayName="Transition";const Yi={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};Ki.props=d({},wr,Yi);const Xi=(e,t=[])=>{g(e)?e.forEach((e=>e(...t))):e&&e(...t)},Gi=e=>!!e&&(g(e)?e.some((e=>e.length>1)):e.length>1);function Ji(e){const t=(e=>{const t=b(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Zi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Wi]||(e[Wi]=new Set)).add(t)}function Qi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Wi];n&&(n.delete(t),n.size||(e[Wi]=void 0))}function es(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ts=0;function ns(e,t,n,r){const o=e._endId=++ts,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),i=r("transitionDuration"),s=rs(o,i),a=r("animationDelay"),l=r("animationDuration"),c=rs(a,l);let u=null,d=0,h=0;t===Ui?s>0&&(u=Ui,d=s,h=i.length):"animation"===t?c>0&&(u="animation",d=c,h=l.length):(d=Math.max(s,c),u=d>0?s>c?Ui:"animation":null,h=u?u===Ui?i.length:l.length:0);const f=u===Ui&&/\b(transform|all)(,|$)/.test(r("transitionProperty").toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),i()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uos(t)+os(e[n]))))}function os(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const is=Symbol("_vod"),ss=Symbol("_vsh"),as={beforeMount(e,{value:t},{transition:n}){e[is]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ls(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ls(e,!0),r.enter(e)):r.leave(e,(()=>{ls(e,!1)})):ls(e,t))},beforeUnmount(e,{value:t}){ls(e,t)}};function ls(e,t){e.style.display=t?e[is]:"none",e[ss]=!t}const cs=Symbol(""),us=/(^|;)\s*display\s*:/;const ds=/\s*!important$/;function hs(e,t,n){if(g(n))n.forEach((n=>hs(e,t,n)));else if(null==n&&(n=""),n=Ss(n),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=ps[t];if(n)return n;let r=D(t);if("filter"!==r&&r in e)return ps[t]=r;r=P(r);for(let o=0;oe.replace(Se,((e,t)=>{if(!t)return e;if(1===_s)return`${t}${bs}`;const n=function(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return 10*Math.round(r/10)/n}(parseFloat(t)*_s,ws);return 0===n?"0":`${n}${bs}`})));var bs,_s,ws;const Ss=e=>b(e)?ys(e):e,xs="http://www.w3.org/1999/xlink";const Es=Symbol("_vei");function Ts(e,t,n,r,o=null){const i=e[Es]||(e[Es]={}),s=i[t];if(r&&s)s.value=r;else{const[n,a]=function(e){let t;if(Cs.test(e)){let n;for(t={};n=e.match(Cs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):I(e.slice(2)),t]}(t);if(r){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const r=t&&t.proxy,o=r&&r.$nne,{value:i}=n;if(o&&g(i)){const n=As(e,i);for(let r=0;rMs||(ks.then((()=>Ms=0)),Ms=Date.now()))(),n}(r,o);!function(e,t,n,r){e.addEventListener(t,n,r)}(e,n,s,a)}else s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),i[t]=void 0)}}const Cs=/(?:Once|Passive|Capture)$/;let Ms=0;const ks=Promise.resolve();function As(e,t){if(g(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const Ds=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Os=["ctrl","shift","alt","meta"],Is={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)=>Os.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ps=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,r=null){if(!n||!r)return;const o=t.replace("change:",""),{attrs:i}=r,s=i[o],a=(e.__wxsProps||(e.__wxsProps={}))[o];if(a===s)return;e.__wxsProps[o]=s;const l=r.proxy;Ln((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,r,s);const d="svg"===o;"class"===t?function(e,t,n){const{__wxsAddClass:r,__wxsRemoveClass:o}=e;o&&o.length&&(t=(t||"").split(/\s+/).filter((e=>-1===o.indexOf(e))).join(" "),o.length=0),r&&r.length&&(t=(t||"")+" "+r.join(" "));const i=e[Wi];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,d):"style"===t?function(e,t,n){const r=e.style,o=b(n);let i=!1;if(n&&!o){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&hs(r,t,"")}else for(const e in t)null==n[e]&&hs(r,e,"");for(const e in n)"display"===e&&(i=!0),hs(r,e,n[e])}else if(o){if(t!==n){const e=r[cs];e&&(n+=";"+e),r.cssText=n,i=us.test(n)}}else t&&e.removeAttribute("style");is in e&&(e[is]=i?r.display:"",e[ss]&&(r.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)hs(r,a,s[a])}(e,n,r):c(t)?u(t)||Ts(e,t,0,r,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ds(t)&&y(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ds(t)&&b(n))return!1;return t in e}(e,t,r,d))?function(e,t,n,r,o,i,s){if("innerHTML"===t||"textContent"===t)return r&&s(r,o,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const r=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=Y(n):null==n&&"string"===r?(n="",l=!0):"number"===r&&(n=0,l=!0)}try{e[t]=n}catch(C_){}l&&e.removeAttribute(t)}(e,t,r,i,s,a,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(xs,t.slice(6,t.length)):e.setAttributeNS(xs,t,n);else{const r=K(t);null==n||r&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},qi);let Rs;const Ls=(...e)=>{const t=(Rs||(Rs=Wo(Bs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(b(e)){return document.querySelector(e)}return e} /*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */(e);if(!r)return;const o=t._component;y(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};const Ns="undefined"!=typeof document;const $s=Object.assign;function zs(e,t){const n={};for(const r in t){const o=t[r];n[r]=Vs(o)?o.map(e):e(o)}return n}const js=()=>{},Vs=Array.isArray,Hs=/#/g,Fs=/&/g,qs=/\//g,Us=/=/g,Ws=/\?/g,Ks=/\+/g,Ys=/%5B/g,Xs=/%5D/g,Gs=/%5E/g,Js=/%60/g,Zs=/%7B/g,Qs=/%7C/g,ea=/%7D/g,ta=/%20/g;function na(e){return encodeURI(""+e).replace(Qs,"|").replace(Ys,"[").replace(Xs,"]")}function ra(e){return na(e).replace(Ks,"%2B").replace(ta,"+").replace(Hs,"%23").replace(Fs,"%26").replace(Js,"`").replace(Zs,"{").replace(ea,"}").replace(Gs,"^")}function oa(e){return null==e?"":function(e){return na(e).replace(Hs,"%23").replace(Ws,"%3F")}(e).replace(qs,"%2F")}function ia(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const sa=/\/$/;function aa(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:ia(s)}}function la(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ca(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ua(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!da(e[n],t[n]))return!1;return!0}function da(e,t){return Vs(e)?ha(e,t):Vs(t)?ha(t,e):e===t}function ha(e,t){return Vs(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var fa,pa,ga,ma;function va(e){if(!e)if(Ns){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(sa,"")}(pa=fa||(fa={})).pop="pop",pa.push="push",(ma=ga||(ga={})).back="back",ma.forward="forward",ma.unknown="";const ya=/^[^#]+#/;function ba(e,t){return e.replace(ya,"#")+t}const _a=()=>({left:window.scrollX,top:window.scrollY});function wa(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Sa(e,t){return(history.state?history.state.position-t:-1)+e}const xa=new Map;function Ea(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),la(n,"")}return la(n,e)+r+o}function Ta(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_a():null}}function Ca(e){const{history:t,location:n}=window,r={value:Ea(e,n)},o={value:t.state};function i(r,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:location.protocol+"//"+location.host+e+r;try{t[s?"replaceState":"pushState"](i,"",l),o.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const s=$s({},o.value,t.state,{forward:e,scroll:_a()});i(s.current,s,!0),i(e,$s({},Ta(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){i(e,$s({},t.state,Ta(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}function Ma(e){const t=Ca(e=va(e)),n=function(e,t,n,r){let o=[],i=[],s=null;const a=({state:i})=>{const a=Ea(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else r(a);o.forEach((e=>{e(n.value,l,{delta:u,type:fa.pop,direction:u?u>0?ga.forward:ga.back:ga.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState($s({},e.state,{scroll:_a()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const r=$s({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ba.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ka(e){return"string"==typeof e||"symbol"==typeof e}const Aa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Da=Symbol("");var Oa,Ia;function Pa(e,t){return $s(new Error,{type:e,[Da]:!0},t)}function Ba(e,t){return e instanceof Error&&Da in e&&(null==t||!!(e.type&t))}(Ia=Oa||(Oa={}))[Ia.aborted=4]="aborted",Ia[Ia.cancelled=8]="cancelled",Ia[Ia.duplicated=16]="duplicated";const Ra={sensitive:!1,strict:!1,start:!0,end:!0},La=/[.+*?^${}()[\]/\\]/g;function Na(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function $a(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const ja={type:0,value:""},Va=/[a-zA-Z0-9_]/;function Ha(e,t,n){const r=function(e,t){const n=$s({},Ra,t),r=[];let o=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l{i(h)}:js}function i(e){if(ka(e)){const t=r.get(e);t&&(r.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&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Xa(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Wa(e)&&r.set(e.record.name,e)}return t=Ya({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,s,a={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw Pa(1,{location:e});s=o.record.name,a=$s(qa(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&qa(e.params,o.keys.map((e=>e.name)))),i=o.stringify(a)}else if(null!=e.path)i=e.path,o=n.find((e=>e.re.test(i))),o&&(a=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw Pa(1,{location:e,currentLocation:t});s=o.record.name,a=$s({},t.params,e.params),i=o.stringify(a)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ka(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function qa(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ua(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function Wa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ka(e){return e.reduce(((e,t)=>$s(e,t.meta)),{})}function Ya(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xa(e,t){return t.children.some((t=>t===e||Xa(e,t)))}function Ga(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;re&&ra(e))):[r&&ra(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Za(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Vs(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const Qa=Symbol(""),el=Symbol(""),tl=Symbol(""),nl=Symbol(""),rl=Symbol("");function ol(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function il(e,t,n,r,o,i=(e=>e())){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(Pa(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(Pa(2,{from:t,to:e})):(s&&r.enterCallbacks[o]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(r&&r.instances[o],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function sl(e,t,n,r,o=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(il(s,n,r,a,e,o))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&il(c,n,r,a,e,o)()}))))}}var s;return i}function al(e){const t=Do(tl),n=Do(nl),r=zi((()=>t.resolve(mn(e.to)))),o=zi((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const s=i.findIndex(ca.bind(null,o));if(s>-1)return s;const a=cl(e[t-2]);return t>1&&cl(o)===a&&i[i.length-1].path!==a?i.findIndex(ca.bind(null,e[t-2])):s})),i=zi((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!Vs(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),s=zi((()=>o.value>-1&&o.value===n.matched.length-1&&ua(n.params,r.value.params)));return{route:r,href:zi((()=>r.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[mn(e.replace)?"replace":"push"](mn(e.to)).catch(js):Promise.resolve()}}}const ll=Ar({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:al,setup(e,{slots:t}){const n=Xt(al(e)),{options:r}=Do(tl),o=zi((()=>({[ul(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ul(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:ji("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function cl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ul=(e,t,n)=>null!=e?e:null!=t?t:n;function dl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const hl=Ar({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Do(rl),o=zi((()=>e.route||r.value)),i=Do(el,0),s=zi((()=>{let e=mn(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=zi((()=>o.value.matched[s.value]));Ao(el,zi((()=>s.value+1))),Ao(Qa,a),Ao(rl,o);const l=hn();return dr((()=>[l.value,a.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&ca(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return dl(n.default,{Component:c,route:r});const u=s.props[i],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,h=ji(c,$s({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return dl(n.default,{Component:h,route:r})||h}}});function fl(e){const t=Fa(e.routes,e),n=e.parseQuery||Ga,r=e.stringifyQuery||Ja,o=e.history,i=ol(),s=ol(),a=ol(),l=fn(Aa);let c=Aa;Ns&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=zs.bind(null,(e=>""+e)),d=zs.bind(null,oa),h=zs.bind(null,ia);function f(e,i){if(i=$s({},i||l.value),"string"==typeof e){const r=aa(n,e,i.path),s=t.resolve({path:r.path},i),a=o.createHref(r.fullPath);return $s(r,s,{params:h(s.params),hash:ia(r.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=$s({},e,{path:aa(n,e.path,i.path).path});else{const t=$s({},e.params);for(const e in t)null==t[e]&&delete t[e];s=$s({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(h(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,$s({},e,{hash:(p=c,na(p).replace(Zs,"{").replace(ea,"}").replace(Gs,"^")),path:a.path}));var p;const g=o.createHref(f);return $s({fullPath:f,hash:c,query:r===Ja?Za(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function p(e){return"string"==typeof e?aa(n,e,l.value.path):$s({},e)}function g(e,t){if(c!==e)return Pa(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=p(r):{path:r},r.params={}),$s({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function y(e,t){const n=c=f(e),o=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y($s(p(u),{state:"object"==typeof u?$s({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let h;return d.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ca(t.matched[r],n.matched[o])&&ua(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(h=Pa(16,{to:d,from:o}),O(o,o,!0,!1)),(h?Promise.resolve(h):w(d,o)).catch((e=>Ba(e)?Ba(e,2)?e:D(e):A(e,d,o))).then((e=>{if(e){if(Ba(e,2))return y($s({replace:a},p(e.to),{state:"object"==typeof e.to?$s({},i,e.to.state):i,force:s}),t||d)}else e=x(d,o,!0,a,i);return S(d,o,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=B.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[r,o,a]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sca(e,i)))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>ca(e,a)))||o.push(a))}return[n,r,o]}(e,t);n=sl(r.reverse(),"beforeRouteLeave",e,t);for(const i of r)i.leaveGuards.forEach((r=>{n.push(il(r,e,t))}));const l=b.bind(null,e,t);return n.push(l),L(n).then((()=>{n=[];for(const r of i.list())n.push(il(r,e,t));return n.push(l),L(n)})).then((()=>{n=sl(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(il(r,e,t))}));return n.push(l),L(n)})).then((()=>{n=[];for(const r of a)if(r.beforeEnter)if(Vs(r.beforeEnter))for(const o of r.beforeEnter)n.push(il(o,e,t));else n.push(il(r.beforeEnter,e,t));return n.push(l),L(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=sl(a,"beforeRouteEnter",e,t,_),n.push(l),L(n)))).then((()=>{n=[];for(const r of s.list())n.push(il(r,e,t));return n.push(l),L(n)})).catch((e=>Ba(e,8)?e:Promise.reject(e)))}function S(e,t,n){a.list().forEach((r=>_((()=>r(e,t,n)))))}function x(e,t,n,r,i){const s=g(e,t);if(s)return s;const a=t===Aa,c=Ns?history.state:{};n&&(r||a?o.replace(e.fullPath,$s({scroll:a&&c&&c.scroll},i)):o.push(e.fullPath,i)),l.value=e,O(e,t,n,a),D()}let E;function T(){E||(E=o.listen(((e,t,n)=>{if(!R.listening)return;const r=f(e),i=v(r);if(i)return void y($s(i,{replace:!0}),r).catch(js);c=r;const s=l.value;var a,u;Ns&&(a=Sa(s.fullPath,n.delta),u=_a(),xa.set(a,u)),w(r,s).catch((e=>Ba(e,12)?e:Ba(e,2)?(y(e.to,r).then((e=>{Ba(e,20)&&!n.delta&&n.type===fa.pop&&o.go(-1,!1)})).catch(js),Promise.reject()):(n.delta&&o.go(-n.delta,!1),A(e,r,s)))).then((e=>{(e=e||x(r,s,!1))&&(n.delta&&!Ba(e,8)?o.go(-n.delta,!1):n.type===fa.pop&&Ba(e,20)&&o.go(-1,!1)),S(r,s,e)})).catch(js)})))}let C,M=ol(),k=ol();function A(e,t,n){D(e);const r=k.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function D(e){return C||(C=!e,T(),M.list().forEach((([t,n])=>e?n(e):t())),M.reset()),e}function O(t,n,r,o){const{scrollBehavior:i}=e;if(!Ns||!i)return Promise.resolve();const s=!r&&function(e){const t=xa.get(e);return xa.delete(e),t}(Sa(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return Ln().then((()=>i(t,n,s))).then((e=>e&&wa(e))).catch((e=>A(e,t,n)))}const I=e=>o.go(e);let P;const B=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let r,o;return ka(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},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($s(p(e),{replace:!0}))},go:I,back:()=>I(-1),forward:()=>I(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:k.add,isReady:function(){return C&&l.value!==Aa?Promise.resolve():new Promise(((e,t)=>{M.add([e,t])}))},install(e){e.component("RouterLink",ll),e.component("RouterView",hl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>mn(l)}),Ns&&!P&&l.value===Aa&&(P=!0,m(o.location).catch((e=>{})));const t={};for(const r in Aa)Object.defineProperty(t,r,{get:()=>l.value[r],enumerable:!0});e.provide(tl,this),e.provide(nl,Gt(t)),e.provide(rl,l);const n=e.unmount;B.add(e),e.unmount=function(){B.delete(e),B.size<1&&(c=Aa,E&&E(),E=null,l.value=Aa,P=!1,C=!1),n()}}};function L(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function pl(){return Do(nl)}const gl=["{","}"];const ml=/^(?:\d)+/,vl=/^(?:\w)+/;const yl=Object.prototype.hasOwnProperty,bl=(e,t)=>yl.call(e,t),_l=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=gl){if(!t)return[e];let r=this._caches[e];return r||(r=function(e,[t,n]){const r=[];let o=0,i="";for(;o-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let r=["en","fr","es"];t&&Object.keys(t).length>0&&(r=Object.keys(t));const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,r);return o||void 0}class Sl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:r,formater:o}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||_l,this.messages=n||{},this.setLocale(e||"en"),r&&this.watchLocale(r)}setLocale(e){const t=this.locale;this.locale=wl(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 r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{bl(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let r=this.message;return"string"==typeof t?(t=wl(t,this.messages))&&(r=this.messages[t]):n=t,bl(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function xl(e,t={},n,r){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&Yd?Yd():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const o=new Sl({locale:e,fallbackLocale:n,messages:t,watcher:r});let i=(e,t)=>{{let e=!1;i=function(t,n){const r=Yg().$vm;return r&&(r.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(r,o))),o.t(t,n)}}return i(e,t)};return{i18n:o,f:(e,t,n)=>o.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>o.add(e,t,n),watch:e=>o.watchLocale(e),getLocale:()=>o.getLocale(),setLocale:e=>o.setLocale(e)}}function El(e,t){return e.indexOf(t[0])>-1}const Tl=ae((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Cl;function Ml(e){return El(e,ne)?Dl().f(e,function(){const e=Yd(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ne):e}function kl(e,t){if(1===t.length){if(e){const n=e=>b(e)&&El(e,ne),r=t[0];let o=[];if(g(e)&&(o=e.filter((e=>n(e[r])))).length)return o;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return kl(e&&e[n],t)}function Al(e,t){const n=kl(e,t);if(!n)return!1;const r=t[t.length-1];if(g(n))n.forEach((e=>Al(e,[r])));else{let e=n[r];Object.defineProperty(n,r,{get:()=>Ml(e),set(t){e=t}})}return!0}function Dl(){if(!Cl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Cl=xl(e),Tl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Cl.add(e,__uniConfig.locales[e]))),Cl.setLocale(e)}}return Cl}function Ol(e,t,n){return t.reduce(((t,r,o)=>(t[e+r]=n[o],t)),{})}const Il=ae((()=>{const e="uni.async.",t=["error"];Dl().add("en",Ol(e,t,["The connection timed out, click the screen to try again."]),!1),Dl().add("es",Ol(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Dl().add("fr",Ol(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Dl().add("zh-Hans",Ol(e,t,["连接服务器超时,点击屏幕重试"]),!1),Dl().add("zh-Hant",Ol(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Pl=ae((()=>{const e="uni.showToast.",t=["unpaired"];Dl().add("en",Ol(e,t,["Please note showToast must be paired with hideToast"]),!1),Dl().add("es",Ol(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Dl().add("fr",Ol(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Dl().add("zh-Hans",Ol(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Dl().add("zh-Hant",Ol(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Bl=ae((()=>{const e="uni.showLoading.",t=["unpaired"];Dl().add("en",Ol(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Dl().add("es",Ol(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Dl().add("fr",Ol(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Dl().add("zh-Hans",Ol(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Dl().add("zh-Hant",Ol(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Rl=ae((()=>{const e="uni.showModal.",t=["cancel","confirm"];Dl().add("en",Ol(e,t,["Cancel","OK"]),!1),Dl().add("es",Ol(e,t,["Cancelar","OK"]),!1),Dl().add("fr",Ol(e,t,["Annuler","OK"]),!1),Dl().add("zh-Hans",Ol(e,t,["取消","确定"]),!1),Dl().add("zh-Hant",Ol(e,t,["取消","確定"]),!1)})),Ll=ae((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Dl().add("en",Ol(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Dl().add("es",Ol(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Dl().add("fr",Ol(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),Dl().add("zh-Hans",Ol(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Dl().add("zh-Hant",Ol(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Nl=ae((()=>{const e="uni.setClipboardData.",t=["success","fail"];Dl().add("en",Ol(e,t,["Content copied","Copy failed, please copy manually"]),!1),Dl().add("es",Ol(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Dl().add("fr",Ol(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Dl().add("zh-Hans",Ol(e,t,["内容已复制","复制失败,请手动复制"]),!1),Dl().add("zh-Hant",Ol(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),$l=ae((()=>{const e="uni.picker.",t=["done","cancel"];Dl().add("en",Ol(e,t,["Done","Cancel"]),!1),Dl().add("es",Ol(e,t,["OK","Cancelar"]),!1),Dl().add("fr",Ol(e,t,["OK","Annuler"]),!1),Dl().add("zh-Hans",Ol(e,t,["完成","取消"]),!1),Dl().add("zh-Hant",Ol(e,t,["完成","取消"]),!1)}));function zl(e){const t=new Le;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,r,o=!1){t[o?"once":"on"](`${e}.${n}`,r)},unsubscribe(n,r){t.off(`${e}.${n}`,r)},subscribeHandler(n,r,o){t.emit(`${e}.${n}`,r,o)}}}let jl=1;const Vl=Object.create(null);function Hl(e,t){return e+"."+t}function Fl(e,t,n){t=Hl(e,t),Vl[t]||(Vl[t]=n)}function ql({id:e,name:t,args:n},r){t=Hl(r,t);const o=t=>{e&&Cy.publishHandler("invokeViewApi."+e,t)},i=Vl[t];i?i(n,o):o({})}const Ul=d(zl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:r,publishHandler:o}=Cy,i=n?jl++:0;n&&r("invokeServiceApi."+i,n,!0),o("invokeServiceApi",{id:i,name:e,args:t})}}),Wl=xe(!0);let Kl;function Yl(){Kl&&(clearTimeout(Kl),Kl=null)}let Xl=0,Gl=0;function Jl(e){if(Yl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Xl=t,Gl=n,Kl=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Zl(e){if(!Kl)return;if(1!==e.touches.length)return Yl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Xl)>10||Math.abs(n-Gl)>10?Yl():void 0}function Ql(e,t){const n=Number(e);return isNaN(n)?t:n}function ec(){const e=__uniConfig.globalStyle||{},t=Ql(e.rpxCalcMaxDeviceWidth,960),n=Ql(e.rpxCalcBaseDeviceWidth,375);function r(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function tc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nc,rc,oc=["top","left","right","bottom"],ic={};function sc(){return rc="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 ac(){if(rc="string"==typeof rc?rc:sc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(C_){}var r=document.createElement("div");o(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),oc.forEach((function(e){s(r,e)})),document.body.appendChild(r),i(),nc=!0}else oc.forEach((function(e){ic[e]=0}));function o(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var r=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:rc+"(safe-area-inset-"+n+")"};o(r,c),o(s,c),o(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),o(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(a),s.appendChild(l),e.appendChild(r),e.appendChild(s),i((function(){r.scrollTop=s.scrollTop=1e4;var e=r.scrollTop,o=s.scrollTop;function i(){this.scrollTop!==(this===r?e:o)&&(r.scrollTop=s.scrollTop=1e4,e=r.scrollTop,o=s.scrollTop,function(e){cc.length||setTimeout((function(){var e={};cc.forEach((function(t){e[t]=ic[t]})),cc.length=0,uc.forEach((function(t){t(e)}))}),0);cc.push(e)}(n))}r.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(r);Object.defineProperty(ic,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function lc(e){return nc||ac(),ic[e]}var cc=[];var uc=[];const dc=tc({get support(){return 0!=("string"==typeof rc?rc:sc()).length},get top(){return lc("top")},get left(){return lc("left")},get right(){return lc("right")},get bottom(){return lc("bottom")},onChange:function(e){sc()&&(nc||ac(),"function"==typeof e&&uc.push(e))},offChange:function(e){var t=uc.indexOf(e);t>=0&&uc.splice(t,1)}}),hc=Ps((()=>{}),["prevent"]),fc=Ps((e=>{}),["stop"]);function pc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function gc(){const e=pc(document.documentElement.style,"--window-top");return e?e+dc.top:0}function mc(){const e=document.documentElement.style,t=gc(),n=pc(e,"--window-bottom"),r=pc(e,"--window-left"),o=pc(e,"--window-right"),i=pc(e,"--top-window-height");return{top:t,bottom:n?n+dc.bottom:0,left:r?r+dc.left:0,right:o?o+dc.right:0,topWindowHeight:i||0}}function vc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function yc(e){return vc(e)}function bc(e){return Symbol(e)}function _c(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function wc(e,t=!1){if(t)return function(e){if(!_c(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Md(parseFloat(t))+"px"))}(e);if(b(e)){const t=parseInt(e)||0;return _c(e)?Md(t):t}return e}function Sc(e){return e.$page}function xc(e){return 0===e.tagName.indexOf("UNI-")}const Ec="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",Tc="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",Cc="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";function Mc(e,t="#000",n=27){return gi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[gi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function kc(){{const{$pageInstance:e}=ki();return e&&Rc(e.proxy)}}function Ac(){const e=rf(),t=e.length;if(t)return e[t-1]}function Dc(){var e;const t=null==(e=Ac())?void 0:e.$page;if(t)return t.meta}function Oc(){const e=Dc();return e?e.id:-1}function Ic(){const e=Ac();if(e)return e.$vm}const Pc=["navigationBar","pullToRefresh"];function Bc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),r=d({id:t},n,e);Pc.forEach((t=>{r[t]=d({},n[t],e[t])}));const{navigationBar:o}=r;return o.titleText&&o.titleImage&&(o.titleText=""),r}function Rc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Lc(e,t,n){if(b(e))n=t,t=e,e=Ic();else if("number"==typeof e){const t=rf().find((t=>Sc(t).id===e));e=t?t.$vm:Ic()}if(!e)return;const r=e.$[t];return r&&((e,t)=>{let n;for(let r=0;r{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,r=window.scrollY,i=r>0&&e>t&&r+t+n>=e,s=Math.abs(e-zc)>n;return!i||o&&!s?(!i&&o&&(o=!1),!1):(zc=e,o=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||($c=setTimeout(s,300))),r=!1};return function(){clearTimeout($c),r||requestAnimationFrame(s),r=!0}}function Vc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Vc(e,t.slice(2));const n=t.split("/"),r=n.length;let o=0;for(;o0?e.split("/"):[];return i.splice(i.length-o-1,o+1),se(i.concat(n).join("/"))}function Hc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Fc(){ec(),_e(xc),window.addEventListener("touchstart",Jl,Wl),window.addEventListener("touchmove",Zl,Wl),window.addEventListener("touchend",Yl,Wl),window.addEventListener("touchcancel",Yl,Wl)}class qc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ge(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:r}=e;if(16&r.shapeFlag){const e=r.children.filter((e=>e.el&&ge(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Yc(this.$el.querySelector(e));return t?Uc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let r=0;r-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];y(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Cy.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Uc(e,t=!0){if(t&&e&&(e=pe(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new qc(e)),e.$el.__wxsComponentDescriptor}function Wc(e,t){return Uc(e,t)}function Kc(e,t,n,r=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Wc(n.proxy,!1)}));const o=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const r=pe(t);if(!r)return!1;const o=r.$.type;return!(!o.$wxs&&!o.$renderjs)&&r}(t,n,r);if(o)return[e,Wc(o,!1)]}}function Yc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Xc(e,t=!1){const{type:n,timeStamp:r,target:o,currentTarget:i}=e;let s,a;s=Ee(t?o:function(e){for(;!xc(e);)e=e.parentElement;return e}(o)),a=Ee(i);const l={type:n,timeStamp:r,target:s,detail:{},currentTarget:a};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){d(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Gc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Jc(e,t){const n=[];for(let r=0;r0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=gc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Gc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=gc();i.touches=Jc(e.touches,t),i.changedTouches=Jc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return Kc(i,t,n)||[i]},createNativeEvent:Xc},Symbol.toStringTag,{value:"Module"});function Qc(e){!function(e){const t=e.globalProperties;d(t,Zc),t.$gcd=Wc}(e._context.config)}let eu=1;function tu(e){return(e||Oc())+".invokeViewApi"}const nu=d(zl("view"),{invokeOnCallback:(e,t)=>My.emit("api."+e,t),invokeViewMethod:(e,t,n,r)=>{const{subscribe:o,publishHandler:i}=My,s=r?eu++:0;r&&o("invokeViewApi."+s,r,!0),i(tu(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,r)=>{const{subscribe:o,unsubscribe:i,publishHandler:s}=My,a=eu++,l="invokeViewApi."+a;return o(l,n),s(tu(r),{id:a,name:e,args:t},r),()=>{i(l)}}});function ru(e){Lc(Ac(),"onResize",e),My.invokeOnCallback("onWindowResize",e)}function ou(e){const t=Ac();Lc(Yg(),"onShow",e),Lc(t,"onShow")}function iu(){Lc(Yg(),"onHide"),Lc(Ac(),"onHide")}const su=["onPageScroll","onReachBottom"];function au(){su.forEach((e=>My.subscribe(e,function(e){return(t,n)=>{Lc(parseInt(n),e,t)}}(e))))}function lu(){!function(){const{on:e}=My;e("onResize",ru),e("onAppEnterForeground",ou),e("onAppEnterBackground",iu)}(),au()}function cu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new De(this.$page.id)),e.eventChannel}}function uu(e){e._context.config.globalProperties.getOpenerEventChannel=cu}function du(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function hu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Md(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function fu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const r=t.actions,o=t.actions.length;function i(){const t=r[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","background-color"],o=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(hu)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(r.concat(o).includes(s[0])){i=s[0];const e=s[1];l[i]=o.includes(i)?hu(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const pu={props:["animation"],watch:{animation:{deep:!0,handler(){fu(this)}}},mounted(){fu(this)}},gu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(pu),mu(e)},mu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Ar(e));function vu(e){return e.__wwe=!0,e}function yu(e,t){return(n,r,o)=>{e.value&&t(n,function(e,t,n,r){let o;return o=Ee(n),{type:r.type||e,timeStamp:t.timeStamp||0,target:o,currentTarget:o,detail:r}}(n,r,e.value,o||{}))}}const bu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function _u(e){const t=hn(!1);let n,r,o=!1;function i(){requestAnimationFrame((()=>{clearTimeout(r),r=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(r){r._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(r._hoverPropagationStopped=!0),o=!0,n=setTimeout((()=>{t.value=!0,o||i()}),parseInt(e.hoverStartTime)))}function a(){o=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:vu((function(e){e.touches.length>1||s(e)})),onMousedown:vu((function(e){o||(s(e),window.addEventListener("mouseup",l))})),onTouchend:vu((function(){a()})),onMouseup:vu((function(){o&&l()})),onTouchcancel:vu((function(){o=!1,t.value=!1,clearTimeout(n)}))}}}function wu(e,t){return b(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Su=bc("uf"),xu={for:{type:String,default:""}},Eu=bc("ul");const Tu=gu({name:"Label",props:xu,setup(e,{slots:t}){const n=hn(null),r=kc(),o=function(){const e=[];return Ao(Eu,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=zi((()=>e.for||t.default&&t.default.length)),s=vu((t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?Cy.emit("uni-label-click-"+r+"-"+e.for,t,!0):o.length&&o[0](t,!0))}));return()=>gi("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:s},[t.default&&t.default()],10,["onClick"])}});function Cu(e,t){Mu(e.id,t),dr((()=>e.id),((e,n)=>{ku(n,t,!0),Mu(e,t,!0)})),Qr((()=>{ku(e.id,t)}))}function Mu(e,t,n){const r=kc();n&&!e||T(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&Cy.on(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?Cy.on(o,t[o]):e&&Cy.on(`uni-${o}-${r}-${e}`,t[o])}))}function ku(e,t,n){const r=kc();n&&!e||T(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&Cy.off(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?Cy.off(o,t[o]):e&&Cy.off(`uni-${o}-${r}-${e}`,t[o])}))}const Au=gu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=hn(null),r=Do(Su,!1),{hovering:o,binding:i}=_u(e),s=vu(((t,o)=>{if(e.disabled)return t.stopImmediatePropagation();o&&n.value.click();const i=e.formType;if(i){if(!r)return;"submit"===i?r.submit(t):"reset"===i&&r.reset(t)}else;})),a=Do(Eu,!1);return a&&(a.addHandler(s),Zr((()=>{a.removeHandler(s)}))),Cu(e,{"label-click":s}),()=>{const r=e.hoverClass,a=wu(e,"disabled"),l=wu(e,"loading"),c=wu(e,"plain"),u=r&&"none"!==r;return gi("uni-button",xi({ref:n,onClick:s,id:e.id,class:u&&o.value?r:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Du=bc("upm");function Ou(){return Do(Du)}function Iu(e){const t=function(e){return Xt(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:r,backgroundColor:o}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=r||"#000000",t.backgroundColor=o||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==rf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Bc(pl().meta,e)))))}(e);return Ao(Du,t),t}function Pu(){return pl()}function Bu(){return history.state&&history.state.__id__||1}const Ru=["original","compressed"],Lu=["album","camera"],Nu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function $u(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function zu(e,t){return!g(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function ju(e){return function(){try{return e.apply(e,arguments)}catch(C_){console.error(C_)}}}let Vu=1;const Hu={};function Fu(e,t,n,r=!1){return Hu[e]={name:t,keepAlive:r,callback:n},e}function qu(e,t,n){if("number"==typeof e){const r=Hu[e];if(r)return r.keepAlive||delete Hu[e],r.callback(t,n)}return t}function Uu(e){for(const t in Hu)if(Hu[t].name===e)return!0;return!1}const Wu="success",Ku="fail",Yu="complete";function Xu(e,t={},{beforeAll:n,beforeSuccess:r}={}){T(t)||(t={});const{success:o,fail:i,complete:s}=function(e){const t={};for(const n in e){const r=e[n];y(r)&&(t[n]=ju(r),delete e[n])}return t}(t),a=y(o),l=y(i),c=y(s),u=Vu++;return Fu(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),y(n)&&n(u),u.errMsg===e+":ok"?(y(r)&&r(u,t),a&&o(u)):l&&i(u),c&&s(u)})),u}const Gu="success",Ju="fail",Zu="complete",Qu={},ed={};function td(e,t){return function(n){return e(n,t)||n}}function nd(e,t,n){let r=!1;for(let o=0;oe(t),catch(){}}}function rd(e,t={}){return[Gu,Ju,Zu].forEach((n=>{const r=e[n];if(!g(r))return;const o=t[n];t[n]=function(e){nd(r,e,t).then((e=>y(o)&&o(e)||e))}})),t}function od(e,t){const n=[];g(Qu.returnValue)&&n.push(...Qu.returnValue);const r=ed[e];return r&&g(r.returnValue)&&n.push(...r.returnValue),n.forEach((e=>{t=e(t)||t})),t}function id(e){const t=Object.create(null);Object.keys(Qu).forEach((e=>{"returnValue"!==e&&(t[e]=Qu[e].slice())}));const n=ed[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function sd(e,t,n,r){const o=id(e);if(o&&Object.keys(o).length){if(g(o.invoke)){return nd(o.invoke,n).then((n=>t(rd(id(e),n),...r)))}return t(rd(o,n),...r)}return t(n,...r)}function ad(e,t){return(n={},...r)=>function(e){return!(!T(e)||![Wu,Ku,Yu].find((t=>y(e[t]))))}(n)?od(e,sd(e,t,n,r)):od(e,new Promise(((o,i)=>{sd(e,t,d(n,{success:o,fail:i}),r)})))}function ld(e,t,n,r={}){const o=t+":fail";let i="";return i=n?0===n.indexOf(o)?n:o+" "+n:o,delete r.errCode,qu(e,d({errMsg:i},r))}function cd(e,t,n,r){if(r&&r.beforeInvoke){const e=r.beforeInvoke(t);if(b(e))return e}const o=function(e,t){const n=e[0];if(!t||!t.formatArgs||!T(t.formatArgs)&&T(n))return;const r=t.formatArgs,o=Object.keys(r);for(let i=0;i{ud(r);const o=cd(0,[r],0,n);if(o)throw new Error(o);const i=!Uu(e);!function(e,t){Fu(Vu++,e,t,!0)}(e,r),i&&(!function(e){My.on("api."+e,(t=>{for(const n in Hu){const r=Hu[n];r.name===e&&r.callback(t)}}))}(e),t())}}function hd(e,t,n){return r=>{ud(r);const o=cd(0,[r],0,n);if(o)throw new Error(o);!function(e,t){for(const n in Hu){const r=Hu[n];r.callback===t&&r.name===e&&delete Hu[n]}}(e=e.replace("off","on"),r);Uu(e)||(!function(e){My.off("api."+e)}(e),t())}}function fd(e,t,n,r){return n=>{const o=Xu(e,n,r),i=cd(0,[n],0,r);return i?ld(o,e,i):t(n,{resolve:t=>function(e,t,n){return qu(e,d(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>ld(o,e,function(e){return!e||b(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function pd(e,t,n){return dd(e,t,n)}function gd(e,t,n){return hd(e,t,n)}function md(e,t,n,r){return ad(e,fd(e,t,0,r))}function vd(e,t,n,r){return function(e,t,n,r){return(...e)=>{const n=cd(0,e,0,r);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,r)}function yd(e,t,n,r){return ad(e,function(e,t,n,r){return fd(e,t,0,r)}(e,t,0,r))}let bd=!1,_d=0,wd=0,Sd=960,xd=375,Ed=750;function Td(){const{windowWidth:e,pixelRatio:t,platform:n}=function(){const e=kf(),t=Of(Df(e,Af(e)));return{platform:xf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();_d=e,wd=t,bd="ios"===n}function Cd(e,t){const n=Number(e);return isNaN(n)?t:n}const Md=vd(0,((e,t)=>{if(0===_d&&(Td(),function(){const e=__uniConfig.globalStyle||{};Sd=Cd(e.rpxCalcMaxDeviceWidth,960),xd=Cd(e.rpxCalcBaseDeviceWidth,375),Ed=Cd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||_d;n=e===Ed||n<=Sd?n:xd;let r=e/750*n;return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==wd&&bd?.5:1),e<0?-r:r})),kd=[.5,.8,1,1.25,1.5,2];const Ad=(e,t,n,r)=>{!function(e,t,n,r,o){My.invokeViewMethod("map."+e,{type:n,data:r},t,o)}(e,t,n,r,(e=>{r&&((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)})(r,e)}))};const Dd={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 Od(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),r=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),r=parseInt(r+r,16),[e,n,r,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(p(Dd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Dd[n]);const e=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),o=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,r,o,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class Id{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Od(t)])}}class Pd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Bd{constructor(e){this.width=e}}let Rd=0,Ld={};const Nd={canvas:class{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,r){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,r){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,r,o,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,r){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,r,o,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,r,o){My.invokeViewMethod(`canvas.${e}`,{type:n,data:r},t,(e=>{o&&o(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,r){return new Id("linear",[e,t,n,r])}createCircularGradient(e,t,n){return new Id("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 Pd(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Bd(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}bezierCurveTo(e,t,n,r,o,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,i]}),this.subpath.push([o,i])}arc(e,t,n,r,o,i=!1){this.path.push({method:"arc",data:[e,t,n,r,o,i]}),this.subpath.push([e,t])}rect(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]]}arcTo(e,t,n,r,o){this.path.push({method:"arcTo",data:[e,t,n,r,o]}),this.subpath.push([n,r])}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 r=n[1].trim().split(/\s/),o=parseFloat(n[3]),i=n[7],s=[];r.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===r.length&&a(),r=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${r} ${o}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Ad(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Ad(this.id,this.pageId,"moveToLocation",e)}getScale(e){Ad(this.id,this.pageId,"getScale",e)}getRegion(e){Ad(this.id,this.pageId,"getRegion",e)}includePoints(e){Ad(this.id,this.pageId,"includePoints",e)}translateMarker(e){Ad(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Ad(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Ad(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Ad(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Ad(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Ad(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Ad(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Ad(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Ad(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Ad(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Ad(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Ad(this.id,this.pageId,"openMapApp",e)}on(e,t){Ad(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){If(this.id,this.pageId,"play")}pause(){If(this.id,this.pageId,"pause")}stop(){If(this.id,this.pageId,"stop")}seek(e){If(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){If(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~kd.indexOf(e)||(e=1),If(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){If(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){If(this.id,this.pageId,"exitFullScreen")}showStatusBar(){If(this.id,this.pageId,"showStatusBar")}hideStatusBar(){If(this.id,this.pageId,"hideStatusBar")}},editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,r){const o={options:r},i=r&&("success"in r||"fail"in r||"complete"in r);if(i){const e=String(Rd++);o.callbackId=e,Ld[e]=r}My.invokeViewMethod(`editor.${e}`,{type:n,data:o},t,(({callbackId:e,data:t})=>{i&&(ue(Ld[e],t),delete Ld[e])}))}(this.id,this.pageId,e,t)}}};function $d(e){if(e&&e.contextInfo){const{id:t,type:n,page:r}=e.contextInfo,o=Nd[n];e.context=new o(t,r),delete e.contextInfo}}class zd{constructor(e,t,n,r){this._selectorQuery=e,this._component=t,this._selector=n,this._single=r}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class jd{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const r=[];t.forEach((({component:t,selector:n,single:o,fields:i})=>{null===t?r.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):r.push(function(e,t,n,r,o){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return r?null:[];const{nodeType:a}=i,l=3===a||8===a;if(r){const e=l?s.querySelector(n):Bf(i,n)?i:i.querySelector(n);return e?Pf(e,o):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Pf(t,o))})),!l&&Bf(i,n)&&e.unshift(Pf(i,o)),e}}(e,t,n,o,i))})),n(r)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{g(e)?e.forEach($d):$d(e);const r=n[t];y(r)&&r.call(this,e)})),y(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=fe(e),this}select(e){return this._nodesRef=new zd(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new zd(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new zd(this,null,"",!0)}_push(e,t,n,r,o){this._queue.push({component:t,selector:e,single:n,fields:r}),this._queueCb.push(o)}}const Vd=vd(0,(e=>((e=fe(e))&&!function(e){const t=fe(e);if(t.$page)return Rc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Rc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Rc(n):void 0}(e)&&(e=null),new jd(e||Ic())))),Hd={formatArgs:{}},Fd={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class qd{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=d({},Fd,e)}_getOption(e){const t={transition:d({},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 Ud=ae((()=>{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=>{qd.prototype[n]=function(...r){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(r[0]):r[0]]):this._pushAnimates(n,r),this}}))})),Wd=vd(0,(e=>(Ud(),new qd(e))),0,Hd),Kd=pd("onTabBarMidButtonTap",(()=>{})),Yd=vd(0,(()=>{const e=Yg();return e&&e.$vm?e.$vm.$locale:Dl().getLocale()})),Xd={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};let Gd;function Jd(e){try{return JSON.parse(e)}catch(C_){}return e}function Zd(e){if("enabled"===e.type);else if("clientId"===e.type)Gd=e.cid,e.errMsg,t=Gd,n=e.errMsg,Qd.forEach((e=>{e(t,n)})),Qd.length=0;else if("pushMsg"===e.type){const t={type:"receive",data:Jd(e.message)};for(let e=0;e{t({type:"click",data:Jd(e.message)})}));var t,n}const Qd=[];const eh=[],th={formatArgs:{showToast:!0},beforeInvoke(){Nl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Dl(),r=n("uni.setClipboardData.success");r&&qv({title:r,icon:"success",mask:!1})}},nh=(Boolean,["wgs84","gcj02"]),rh={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===nh.indexOf(e)?t.type=nh[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},oh=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=zu(e,Ru)},sourceType(e,t){t.sourceType=zu(e,Lu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),ih=["all","image","video"],sh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=zu(e,Lu)},type(e,t){t.type=$u(e,ih)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},ah={formatArgs:{src(e,t){t.src=_f(e)}}},lh="json",ch=["text","arraybuffer"],uh=encodeURIComponent;ArrayBuffer,Boolean;const dh={formatArgs:{method(e,t){t.method=$u((e||"").toUpperCase(),Nu)},data(e,t){t.data=e||""},url(e,t){t.method===Nu[0]&&T(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const r=n[1]||"";n=n[0].split("?");let o=n[1]||"";e=n[0];const i=o.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(p(t,a)){let e=t[a];null==e?e="":T(e)&&(e=JSON.stringify(e)),s[uh(a)]=uh(e)}return o=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(o?"?"+o:"")+(r?"#"+r:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Nu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||lh).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===ch.indexOf(t.responseType)&&(t.responseType="text")}}},hh={formatArgs:{filePath(e,t){e&&(t.filePath=_f(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},fh={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=$u((e||"").toUpperCase(),Nu)},protocols(e,t){b(e)&&(t.protocols=[e])}}};const ph={url:{type:String,required:!0}},gh=(bh(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),bh(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Sh("navigateTo")),mh=Sh("redirectTo"),vh=Sh("reLaunch"),yh={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(rf().length-1,e)}}};function bh(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 _h;function wh(){_h=""}function Sh(e){return{formatArgs:{url:xh(e)},beforeAll:wh}}function xh(e){return function(t,n){if(!t)return'Missing required args: "url"';const r=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=rf();return n.length&&(t=Sc(n[n.length-1]).route),Vc(t,e)}(t)).split("?")[0],o=Hc(r,!0);if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===n.openType||(t=r),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if(!b(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const r=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),o=t.length>0?t.join("="):"";r.push(n+"="+encodeURIComponent(o))})),r.length?e+"?"+r.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(_h===t&&"appLaunch"!==n.openType)return`${_h} locked`;__uniConfig.ready&&(_h=t)}else if(o.meta.isTabBar){const e=rf(),t=o.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const Eh={formatArgs:{title:"",mask:!1}},Th=(Boolean,{beforeInvoke(){Rl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=Dl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=Dl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Ch=["success","loading","none","error"],Mh=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=$u(e,Ch)},image(e,t){t.image=e?_f(e):""},duration:1500,mask:!1}});function kh(){const e=Ic();if(!e)return;const t=nf(),n=t.keys();for(const r of n){const e=t.get(r);e.$.__isTabBar?e.$.__isActive=!1:sf(r)}e.$.__isTabBar&&(e.$.__isVisible=!1,Lc(e,"onHide"))}function Ah(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Dh(e){const t=nf().values();for(const n of t){const t=Gh(n);if(Ah(e,t))return n.$.__isActive=!0,t.id}}const Oh=yd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:r,reject:o})=>{if(Jh.handledBeforeEntryPageRoutes)return kh(),Lh({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},Dh(e)).then(r).catch(o);Qh.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:r,reject:o})}),0,Sh("switchTab"));function Ih(){const e=Ac();if(!e)return;const t=Gh(e);sf(uf(t.path,t.id))}const Ph=yd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>{if(Jh.handledBeforeEntryPageRoutes)return Ih(),Lh({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(r);ef.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:r})}),0,mh);function Bh(){const e=nf().keys();for(const t of e)sf(t)}const Rh=yd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>{if(Jh.handledBeforeEntryPageRoutes)return Bh(),Lh({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(r);tf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:r})}),0,vh);function Lh({type:e,url:t,tabBarText:n,events:r,isAutomatedTesting:o},i){const s=Yg().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:ke(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++af,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(Ba(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?r&&(Object.keys(r).forEach((t=>{e.eventChannel._addListener(t,"on",r[t])})),e.eventChannel._clearCache()):e.eventChannel=new De(u.__id__,r),t(o?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return o?t({__id__:u.__id__}):t()}))}))}function Nh(){if(Jh.handledBeforeEntryPageRoutes)return;Jh.handledBeforeEntryPageRoutes=!0;const e=[...Zh];Zh.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Lh(e).then(t).catch(n)));const t=[...Qh];Qh.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(kh(),Lh(e,Dh(e.url)).then(t).catch(n))));const n=[...ef];ef.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(Ih(),Lh(e).then(t).catch(n))));const r=[...tf];tf.length=0,r.forEach((({args:e,resolve:t,reject:n})=>(Bh(),Lh(e).then(t).catch(n))))}let $h;function zh(){var e;return $h||($h=__uniConfig.tabBar&&Xt((e=__uniConfig.tabBar,Tl()&&e.list&&e.list.forEach((e=>{Al(e,["text"])})),e))),$h}function jh(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Vh=jh("--a:0"),Hh=jh("top:env(a)"),Fh=jh("top:constant(a)"),qh=jh("backdrop-filter:blur(10px)"),Uh={"css.var":Vh,"css.env":Hh,"css.constant":Fh,"css.backdrop-filter":qh},Wh=vd(0,(e=>!p(Uh,e)||Uh[e])),Kh=(()=>Hh?"env":Fh?"constant":"")();function Yh(e){return Kh?`calc(${e}px + ${Kh}(safe-area-inset-bottom))`:`${e}px`}const Xh=new Map;function Gh(e){return e.$page}const Jh={handledBeforeEntryPageRoutes:!1},Zh=[],Qh=[],ef=[],tf=[];function nf(){return Xh}function rf(){return of()}function of(){const e=[],t=Xh.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function sf(e,t=!0){const n=Xh.get(e);n.$.__isUnload=!0,Lc(n,"onUnload"),Xh.delete(e),t&&function(e){const t=df.get(e);t&&(df.delete(e),hf.pruneCacheEntry(t))}(e)}let af=Bu();function lf(e){const t=Ou();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,r,o,i){const{id:s,route:a}=r,l=ze(r.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:se(a),route:a,fullPath:t,options:n,meta:r,openType:e,eventChannel:o,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function cf(e){const t=lf(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Xh.set(uf(t.path,t.id),e),1===Xh.size&&setTimeout((()=>{Nh()}),0)}function uf(e,t){return e+"$$"+t}const df=new Map,hf={get:e=>df.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;hf.forEach(((e,n)=>{const r=parseInt(n.split("$$")[1]);if(r&&r>t){if(function(e){return"tabBar"===e.props.type}(e))return;hf.delete(n),hf.pruneCacheEntry(e),Ln((()=>{Xh.forEach(((e,t)=>{e.$.isUnmounted&&Xh.delete(t)}))}))}}))}(e),df.set(e,t)},delete(e){df.get(e)&&df.delete(e)},forEach(e){df.forEach(e)}};function ff(e,t){!function(e){const t=gf(e),{body:n}=document;mf&&n.removeAttribute(mf),t&&n.setAttribute(t,""),mf=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=zh();e.shown&&(n=parseInt(e.height))}var r;yc({"--window-top":(r=t,Kh?`calc(${r}px + ${Kh}(safe-area-inset-top))`:`${r}px`),"--window-bottom":Yh(n)})}(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),yf(e,t)}function pf(e){const t=gf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function gf(e){return e.type.__scopeId}let mf,vf;function yf(e,t){if(document.removeEventListener("touchmove",Nc),vf&&document.removeEventListener("scroll",vf),t.disableScroll)return document.addEventListener("touchmove",Nc);const{onPageScroll:n,onReachBottom:r}=e,o="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==r?void 0:r.length)&&!o)return;const i={},s=Gh(e.proxy).id;(n||o)&&(i.onPageScroll=function(e,t,n){return r=>{t&&Cy.publishHandler("onPageScroll",{scrollTop:r},e),n&&Cy.emit(e+".onPageScroll",{scrollTop:r})}}(s,n,o)),(null==r?void 0:r.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>Cy.publishHandler("onReachBottom",{},s)),vf=jc(i),requestAnimationFrame((()=>document.addEventListener("scroll",vf)))}function bf(e){const{base:t}=__uniConfig.router;return 0===se(e).indexOf(t)?se(e):t+e}function _f(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return bf(e.slice(1));e="https:"+e}if(re.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const r=of();return r.length?bf(Vc(Gh(r[r.length-1]).route,e).slice(1)):e}const wf=navigator.userAgent,Sf=/android/i.test(wf),xf=/iphone|ipad|ipod/i.test(wf),Ef=wf.match(/Windows NT ([\d|\d.\d]*)/i),Tf=/Macintosh|Mac/i.test(wf),Cf=/Linux|X11/i.test(wf),Mf=Tf&&navigator.maxTouchPoints>0;function kf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Af(e){return e&&90===Math.abs(window.orientation)}function Df(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Of(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function If(e,t,n,r){My.invokeViewMethod("video."+e,{videoId:e,type:n,data:r},t)}function Pf(e,t){const n={},{top:r,topWindowHeight:o}=mc();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=we(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-r-o,n.bottom=i.bottom-r-o),t.size&&(n.width=i.width,n.height=i.height)}if(g(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(g(t.computedStyle)){const r=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=r[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Bf(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)}const Rf={};function Lf(e,t){const n=Rf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),r=n?n[1]:"",o=atob(t[1]);let i=o.length;const s=new Uint8Array(i);for(;i--;)s[i]=o.charCodeAt(i);return Nf(s,r)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onload=function(){t(this.response)},r.onerror=n,r.send()}))}function Nf(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],o,{type:t})}catch(r){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||o}}return n}function $f(e){for(const n in Rf)if(p(Rf,n)){if(Rf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Rf[t]=e,t}const zf=du(),jf=du();const Vf=gu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=hn(null),r=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),o=function(e,t,n){const r=Xt({width:-1,height:-1});return dr((()=>d({},r)),(e=>t("resize",e))),()=>{const t=e.value;t&&(r.width=t.offsetWidth,r.height=t.offsetHeight,n())}}(n,t,r);return function(e,t,n,r){$r(r),Xr((()=>{t.initial&&Ln(n);const o=e.value;o.offsetParent!==o.parentElement&&(o.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(n,e,o,r),()=>gi("uni-resize-sensor",{ref:n,onAnimationstartOnce:o},[gi("div",{onScroll:o},[gi("div",null,null)],40,["onScroll"]),gi("div",{onScroll:o},[gi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Hf=bc("ucg"),Ff=gu({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,{emit:t,slots:n}){const r=hn(null);return function(e,t){const n=[],r=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);Ao(Hf,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:r()})}});const o=Do(Su,!1);o&&o.addField({submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}})}(e,yu(r,t)),()=>gi("uni-checkbox-group",{ref:r},[n.default&&n.default()],512)}});const qf=gu({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""},foreColor:{type:String,default:""}},setup(e,{slots:t}){const n=hn(null),r=hn(e.checked),o=zi((()=>"true"===r.value||!0===r.value)),i=hn(e.value);const s=zi((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(o.value)));dr([()=>e.checked,()=>e.value],(([e,t])=>{r.value=e,i.value=t}));const{uniCheckGroup:a,uniLabel:l}=function(e,t,n){const r=zi((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),o={reset:n},i=Do(Hf,!1);i&&i.addField(r);const s=Do(Su,!1);s&&s.addField(o);const a=Do(Eu,!1);return Zr((()=>{i&&i.removeField(r),s&&s.removeField(o)})),{uniCheckGroup:i,uniForm:s,uniLabel:a}}(r,i,(()=>{r.value=!1})),c=t=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Zr((()=>{l.removeHandler(c)}))),Cu(e,{"label-click":c}),()=>{const o=wu(e,"disabled");let i;return i=r.value,gi("uni-checkbox",xi(o,{id:e.id,onClick:c,ref:n}),[gi("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[gi("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:s.value},[i?Mc(Ec,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Uf(){}const Wf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function Kf(e,t,n){function r(e){const t=zi((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Uf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Uf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}dr((()=>t.value),(e=>e&&r(e)))}var Yf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Xf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Gf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Jf=rp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Zf=rp("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"),Qf=rp("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"),ep=rp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),tp=rp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),np=rp("script,style");function rp(e){for(var t={},n=e.split(","),r=0;re/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},sp={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"]},ap=gu({name:"Image",props:op,setup(e,{emit:t}){const n=hn(null),r=function(e,t){const n=hn(""),r=zi((()=>{let e="auto",r="";const o=sp[t.mode];return o?(o[0]&&(r=o[0]),o[1]&&(e=o[1])):(r="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${r};background-size:${e};`})),o=Xt({rootEl:e,src:zi((()=>t.src?_f(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return Xr((()=>{const t=e.value;o.origWidth=t.clientWidth||0,o.origHeight=t.clientHeight||0})),o}(n,e),o=yu(n,t),{fixSize:i}=function(e,t,n){const r=()=>{const{mode:r}=t,o=ip[r];if(!o)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[o[0]];c&&(l.style[o[1]]=function(e){lp&&e>10&&(e=2*Math.round(e/2));return e}(o[2](c,a))+"px")},o=()=>{const{style:t}=e.value,{origStyle:{width:r,height:o}}=n;t.width=r,t.height=o};return dr((()=>t.mode),((e,t)=>{ip[t]&&o(),ip[e]&&r()})),{fixSize:r,resetSize:o}}(n,e,r);return function(e,t,n,r,o){let i,s;const a=(t=0,n=0,r="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),Ln((()=>{r()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),o("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),o("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};dr((()=>e.src),(e=>l(e))),dr((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Xr((()=>l(e.src))),Zr((()=>c()))}(r,e,n,i,o),()=>gi("uni-image",{ref:n},[gi("div",{style:r.modeStyle},null,4),ip[e.mode]?gi(Vf,{onResize:i},null,8,["onResize"]):gi("span",null,null)],512)}});const lp="Google Inc."===navigator.vendor;const cp=xe(!0),up=[];let dp=0,hp=!1;const fp=e=>up.forEach((t=>t.userAction=e));function pp(e={userAction:!1}){if(!hp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!dp&&fp(!0),dp++,setTimeout((()=>{!--dp&&fp(!1)}),0)}),cp)})),hp=!0}up.push(e)}const gp=()=>!!dp;function mp(){const e=Xt({userAction:!1});return Xr((()=>{pp(e)})),Zr((()=>{!function(e){const t=up.indexOf(e);t>=0&&up.splice(t,1)}(e)})),{state:e}}function vp(){const e=Xt({attrs:{}});return Xr((()=>{let t=ki();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function yp(e,t){const n=document.activeElement;if(!n)return t({});const r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}function bp(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const _p=["none","text","decimal","numeric","tel","search","email","url"],wp=d({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~_p.indexOf(e)},cursorColor:{type:String,default:""}},Wf),Sp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function xp(e,t,n,r){let o=null;o=Ae((n=>{t.value=bp(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),dr((()=>e.modelValue),o),dr((()=>e.value),o);const i=function(e,t){let n,r,o=0;const i=function(...i){const s=Date.now();clearTimeout(n),r=()=>{r=null,o=s,e.apply(this,i)},s-o{o.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Yr((()=>{o.cancel(),i.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{o.cancel(),i(e,t),n&&i.flush()}}}function Ep(e,t){mp();const n=zi((()=>e.autoFocus||e.focus));function r(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(r,100)}dr((()=>e.focus),(e=>{e?r():function(){const e=t.value;e&&e.blur()}()})),Xr((()=>{n.value&&Ln(r)}))}function Tp(e,t,n,r){Fl(Oc(),"getSelectedTextRange",yp);const{fieldRef:o,state:i,trigger:s}=function(e,t,n){const r=hn(null),o=yu(t,n),i=zi((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=zi((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=zi((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=zi((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=bp(e.modelValue,e.type)||bp(e.value,e.type);const u=Xt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return dr((()=>u.focus),(e=>n("update:focus",e))),dr((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:r,state:u,trigger:o}}(e,t,n),{triggerInput:a}=xp(e,i,n,s);Ep(e,o),Kf(0,o);const{state:l}=vp();!function(e,t){const n=Do(Su,!1);if(!n)return;const r=ki(),o={submit(){const n=r.proxy;return[n[e],b(t)?n[t]:t.value]},reset(){b(t)?r.proxy[t]="":t.value=""}};n.addField(o),Zr((()=>{n.removeField(o)}))}("name",i),function(e,t,n,r,o,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}dr([()=>t.selectionStart,()=>t.selectionEnd],s),dr((()=>t.cursor),a),dr((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,r){e.stopPropagation(),y(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||o(e,{value:c.value,cursor:l(c)},r))};function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,r("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)}))}(o,i,e,s,a,r);return{fieldRef:o,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Cp=d({},wp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Mp=ae((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function kp(e,t,n,r,o){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=r.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",o&&(o.fn=()=>{n.value=r.value=t.value=t.value.slice(0,-1),r.removeEventListener("blur",o.fn)},r.addEventListener("blur",o.fn)),!1}else if("deleteContentBackward"===e.inputType&&Mp()&&"."===t.value.slice(-2,-1))return t.value=n.value=r.value=t.value.slice(0,-2),!0}const Ap=gu({name:"Input",props:Cp,emits:["confirm",...Sp],setup(e,{emit:t,expose:n}){const r=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],i=zi((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=r.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=zi((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(I(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=hn(null!=t?t.toLocaleString():"");return dr((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),dr((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return hn("")}(e,i),l={fn:null};const c=hn(null),{fieldRef:u,state:d,scopedAttrsState:h,fixDisabledColor:f,trigger:p}=Tp(e,c,t,((t,n)=>{const r=t.target;if("number"===i.value){if(l.fn&&(r.removeEventListener("blur",l.fn),l.fn=null),r.validity&&!r.validity.valid){if((!a.value||!r.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=r.value=""},r.addEventListener("blur",l.fn),!1;const e=kp(t,a,n,r,l);return"boolean"==typeof e?e:(a.value=n.value=r.value="-"===a.value?"":a.value,!1)}{const e=kp(t,a,n,r,l);if("boolean"==typeof e)return e;a.value=r.value}const o=n.maxlength;if(o>0&&r.value.length>o){r.value=r.value.slice(0,o),n.value=r.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==r.value}}}));dr((()=>d.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=zi((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&f?gi("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):gi("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return gi("uni-input",{ref:c},[gi("div",{class:"uni-input-wrapper"},[mr(gi("div",xi(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[as,!(d.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?gi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Dp=["class","style"],Op=/^on[A-Z]+/,Ip=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=ki(),o=fn({}),i=fn({}),s=fn({}),a=n.concat(Dp);return r.attrs=Xt(r.attrs),cr((()=>{const e=(n=r.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,r])=>(a.includes(n)?e.exclude[n]=r:Op.test(n)?(t||(e.attrs[n]=r),e.listeners[n]=r):e.attrs[n]=r,e)),{exclude:{},attrs:{},listeners:{}});var n;o.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:o,$listeners:i,$excludeAttrs:s}};function Pp(e){const t=[];return g(e)&&e.forEach((e=>{ci(e)?e.type===Jo?t.push(...Pp(e.children)):t.push(e):g(e)&&t.push(...Pp(e))})),t}const Bp=gu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=hn(null),r=hn(!1);let{setContexts:o,events:i}=function(e,t){const n=hn(0),r=hn(0),o=Xt({x:null,y:null}),i=hn(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach((function(e){e._setScale(t)})):s&&s._setScale(t))}function c(e,n=a){let r=t.value;function o(e){for(let t=0;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=Rp(t),o.x=t.x,o.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=vu((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==o.x&&i.value&&i.value>0){l(Rp(n)/i.value)}o.x=n.x,o.y=n.y}})),h=vu((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(o.x=0,o.y=0,i.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function f(){p(),a.forEach((function(e,t){e.setParent()}))}function p(){let e=window.getComputedStyle(t.value),o=t.value.getBoundingClientRect();n.value=o.width-["Left","Right"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=o.height-["Top","Bottom"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return Ao("movableAreaWidth",n),Ao("movableAreaHeight",r),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Ip(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),Xr((()=>{i._resize(),r.value=!0}));let u=[];const d=[];function h(){const e=[];for(let t=0;tn===e.rootRef.value));r&&e.push(on(r))}o(e)}return Ao("_isMounted",r),Ao("movableAreaRootRef",n),Ao("addMovableViewContext",(e=>{d.push(e),h()})),Ao("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())})),()=>{const e=t.default&&t.default();return u=Pp(e),gi("uni-movable-area",xi({ref:n},a.value,l.value,c),[gi(Vf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Rp(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Lp=function(e,t,n,r){e.addEventListener(t,(e=>{y(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Np,$p;function zp(e,t,n){Zr((()=>{document.removeEventListener("mousemove",Np),document.removeEventListener("mouseup",$p)}));let r=0,o=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-r,dy:l-o,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Lp(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,r=i=e.touches[0].pageX,o=s=e.touches[0].pageY,a(e,"start",r,o)})),Lp(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,r=i=e.pageX,o=s=e.pageY,a(e,"start",r,o)})),Lp(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=Np=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),Lp(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const h=$p=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Lp(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function jp(e,t,n){return e>t-n&&ethis._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&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Fp.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}},Fp.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}},Fp.prototype.dt=function(){return-this._x_v/this._x_a},Fp.prototype.done=function(){const e=jp(this.s().x,this._endPositionX)||jp(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Fp.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Fp.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},qp.prototype._solve=function(e,t){const n=this._c,r=this._m,o=this._k,i=n*n-4*r*o;if(0===i){const o=-n/(2*r),i=e,s=t/(o*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(i+s*e)*t+s*t}}}if(i>0){const o=(-n-Math.sqrt(i))/(2*r),s=(-n+Math.sqrt(i))/(2*r),a=(t-o*e)/(s-o),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*o*t+a*s*n}}}const s=Math.sqrt(4*r*o-n*n)/(2*r),a=-n/2*r,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),r=Math.sin(s*e);return t*(c*s*n-l*s*r)+a*t*(c*r+l*n)}}},qp.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qp.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qp.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Vp(t,.1)){t=t||0;let r=this._endPosition;this._solution&&(Vp(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Vp(t,.1)&&(t=0),Vp(r,.1)&&(r=0),r+=this._endPosition),this._solution&&Vp(r-e,.1)&&Vp(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},qp.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qp.prototype.done=function(e){return e||(e=(new Date).getTime()),jp(this.x(),this._endPosition,.1)&&Vp(this.dx(),.1)},qp.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())},qp.prototype.springConstant=function(){return this._k},qp.prototype.damping=function(){return this._c},qp.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}]},Up.prototype.setEnd=function(e,t,n,r){const o=(new Date).getTime();this._springX.setEnd(e,r,o),this._springY.setEnd(t,r,o),this._springScale.setEnd(n,r,o),this._startTime=o},Up.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)}},Up.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Up.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Wp(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Kp=gu({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const r=hn(null),o=yu(r,n),{setParent:i}=function(e,t,n){const r=Do("_isMounted",hn(!1)),o=Do("addMovableViewContext",(()=>{})),i=Do("removeMovableViewContext",(()=>{}));let s,a,l=hn(1),c=hn(1),u=hn(!1),d=hn(0),h=hn(0),f=null,p=null,g=!1,m=null,v=null;const y=new Hp,b=new Hp,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=zi((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),S=new Fp(1,w.value);dr((()=>e.disabled),(()=>{U()}));const{_updateOldScale:x,_endScale:E,_setScale:T,scaleValueSync:C,_updateBoundary:M,_updateOffset:k,_updateWH:A,_scaleOffset:D,minX:O,minY:I,maxX:P,maxY:B,FAandSFACancel:R,_getLimitXY:L,_setTransform:N,_revise:$,dampingNumber:z,xMove:j,yMove:V,xSync:H,ySync:F,_STD:q}=function(e,t,n,r,o,i,s,a,l,c){const u=zi((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=zi((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),h=hn(Number(e.scaleValue)||1);dr(h,(e=>{N(e)})),dr(u,(()=>{L()})),dr(d,(()=>{L()})),dr((()=>e.scaleValue),(e=>{h.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:p,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const r=Do("movableAreaWidth",hn(0)),o=Do("movableAreaHeight",hn(0)),i=Do("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=hn(0),c=hn(0),u=hn(0),d=hn(0),h=hn(0),f=hn(0);function p(){let e=0-s.x+a.x,t=r.value-l.value-s.x-a.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-s.y+a.y,i=o.value-c.value-s.y-a.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function g(){s.x=Gp(e.value,i.value),s.y=Jp(e.value,i.value)}function m(r){r=r||t.value,r=n(r);let o=e.value.getBoundingClientRect();c.value=o.height/t.value,l.value=o.width/t.value;let i=c.value*r,s=l.value*r;a.x=(s-l.value)/2,a.y=(i-c.value)/2}return{_updateBoundary:p,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:h,maxY:f}}(t,r,R),{FAandSFACancel:w,_getLimitXY:S,_animationTo:x,_setTransform:E,_revise:T,dampingNumber:C,xMove:M,yMove:k,xSync:A,ySync:D,_STD:O}=function(e,t,n,r,o,i,s,a,l,c,u,d,h,f){const p=zi((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=zi((()=>"all"===t.direction||"horizontal"===t.direction)),m=zi((()=>"all"===t.direction||"vertical"===t.direction)),v=hn(Qp(t.x)),y=hn(Qp(t.y));dr((()=>t.x),(e=>{v.value=Qp(e)})),dr((()=>t.y),(e=>{y.value=Qp(e)})),dr(v,(e=>{T(e)})),dr(y,(e=>{C(e)}));const b=new Up(1,9*Math.pow(p.value,2)/40,p.value);function _(e,t){let n=!1;return e>o.value?(e=o.value,n=!0):ei.value?(t=i.value,n=!0):t1?"htouchmove":"vtouchmove"),j.value&&(n=t.detail.dx+s,_.historyX.shift(),_.historyX.push(n),V.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),V.value&&(r=t.detail.dy+a,_.historyY.shift(),_.historyY.push(r),j.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let o="touch";nP.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=P.value+y.x(n-P.value)):n=P.value),rB.value&&(e.outOfBounds?(o="touch-out-of-bounds",r=B.value+b.x(r-B.value)):r=B.value),Xp((function(){N(n,r,l.value,o)}))}}}function K(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!$("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,r=h.value;S.setV(e,t),S.setS(n,r);const o=S.delta().x,i=S.delta().y;let s=o+n,a=i+r;sP.value&&(s=P.value,a=r+(P.value-n)*i/o),aB.value&&(a=B.value,s=n+(B.value-r)*o/i),S.setEnd(s,a),p=Zp(S,(function(){let e=S.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")}),(function(){p.cancel()}))}e.outOfBounds||e.inertia||R()}function Y(){if(!r.value)return;R();let t=e.scale?C.value:1;k(),A(t),M();let n=L(H.value+D.x,F.value+D.y),o=n.x,i=n.y;N(o,i,t,"",!0),x(t)}return Xr((()=>{zp(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":W(e);break;case"end":K()}})),Y(),S.reconfigure(1,w.value),q.reconfigure(1,9*Math.pow(z.value,2)/40,z.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:E,_setScale:T};o(e),Qr((()=>{i(e)}))})),Qr((()=>{R()})),{setParent:Y}}(e,o,r);return()=>gi("uni-movable-view",{ref:r},[gi(Vf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Yp=!1;function Xp(e){Yp||(Yp=!0,requestAnimationFrame((function(){e(),Yp=!1})))}function Gp(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Gp(e.offsetParent,t):0}function Jp(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Jp(e.offsetParent,t):0}function Zp(e,t,n){let r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function Qp(e){return/\d+[ur]px$/i.test(e)?Md(parseFloat(e)):Number(e)||0}const eg=gu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return g(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const r=hn(null),o=hn(null),i=yu(r,n),s=function(e){const t=Xt([...e.value]),n=Xt({value:t,height:34});return dr((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),a=hn(null);Xr((()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)}));let l=hn([]),c=hn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Qo));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Ao("getPickerViewColumn",(function(e){return zi({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const r=u(e.vnode);if(r<0)return;if(s.value[r]!==t){s.value[r]=t;const e=s.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),Ao("pickerViewProps",e),Ao("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=Pp(e);l.value=t,Ln((()=>{c.value=t}))}return gi("uni-picker-view",{ref:r},[gi(Vf,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),gi("div",{ref:o,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class tg{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 ng(e,t,n){return e>t-n&&e0){const o=(-n-Math.sqrt(i))/(2*r),s=(-n+Math.sqrt(i))/(2*r),a=(t-o*e)/(s-o),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*o*t+a*s*n}}}const s=Math.sqrt(4*r*o-n*n)/(2*r),a=-n/2*r,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),r=Math.sin(s*e);return t*(c*s*n-l*s*r)+a*t*(c*r+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||!rg(t,.4)){t=t||0;let r=this._endPosition;this._solution&&(rg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),rg(t,.4)&&(t=0),rg(r,.4)&&(r=0),r+=this._endPosition),this._solution&&rg(r-e,.4)&&rg(t,.4)||(this._endPosition=e,this._solution=this._solve(r-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()),ng(this.x(),this._endPosition,.4)&&rg(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 ig{constructor(e,t,n){this._extent=e,this._friction=t||new tg(.01),this._spring=n||new og(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class sg{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 ig(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/2?e-(this._itemSize-Math.abs(t)):e-t,r<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(y(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let r=0;const o=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),o!==this._position&&(this.dispatchScroll(),y(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}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}}const ag=gu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const r=hn(null),o=hn(null),i=Do("getPickerViewColumn"),s=ki(),a=i?i(s):hn(0),l=Do("pickerViewProps"),c=Do("pickerViewState"),u=hn(34),d=hn(null);Xr((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const h=zi((()=>(c.height-u.value)/2)),{state:f}=vp();let p;const g=Xt({current:a.value,length:0});let m;function v(){p&&!m&&(m=!0,Ln((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),p.update(e*u.value,void 0,u.value)})))}dr((()=>a.value),(e=>{e!==g.current&&(g.current=e,v())})),dr((()=>g.current),(e=>a.value=e)),dr([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),p.scrollTo(e*u.value)}else y=t;e.preventDefault()}function _({clientY:e}){const t=r.value;if(!p.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,r=u.value/2;if(!(Math.abs(n)<=r)){const e=Math.ceil((Math.abs(n)-r)/u.value),t=n<0?-e:e;let o=Math.min(g.current+t,g.length-1);g.current=o=Math.max(o,0),p.scrollTo(o*u.value)}}}const w=()=>{const e=r.value,t=o.value,{scroller:n,handleTouchStart:i,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},r=new sg(e,t);function o(e){const t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){const t=e,o=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=o.screenX,n.y=o.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||o.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=o(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||r.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=o(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const r={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,o=n.historyTime[t],i=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=o-n.historyTime[t];if(e>30&&e<50){r.x=(i-n.historyX[t])/(e/1e3),r.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,r)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new tg(1e-4),spring:new og(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});p=n,zp(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const r=e.changedTouches[0];t=r.clientX,n=r.clientY})),e.addEventListener("touchend",(e=>{const r=e.changedTouches[0];if(Math.abs(r.clientX-t)<20&&Math.abs(r.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]=r[e]})),e.target.dispatchEvent(n)}}))}(e),v()};return Xr(w),()=>{const e=t.default&&t.default();g.length=Pp(e).length;const n=`${h.value}px 0`;return gi("uni-picker-view-column",{ref:r},[gi("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[gi("div",xi(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),gi("div",xi(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[gi(Vf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),gi("div",{ref:o,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),lg={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:""},cg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const ug=(e,t,n)=>!n||g(n)&&!n.length?[]:n.map((n=>{var r;if(T(n)){if(!p(n,"type")||"node"===n.type){let o={[e]:""};const i=null==(r=n.name)?void 0:r.toLowerCase();if(!p(lg,i))return;return function(e,t){if(T(t))for(const n in t)if(p(t,n)){const r=t[n];"img"===e&&"src"===n&&(t[n]=_f(r))}}(i,n.attrs),o=d(o,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ji(n.name,o,ug(e,t,n.children))}return"text"===n.type&&b(n.text)&&""!==n.text?yi((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return p(cg,t)&&cg[t]?cg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function dg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,r,o,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(r=!0,i.last()&&np[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/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),r=!1):0==e.indexOf("=0&&i[r]!=n;r--);else var r=0;if(r>=0){for(var o=i.length-1;o>=r;o--)t.end&&t.end(i[o]);i.length=r}}c()}(e,{start:function(e,r,o){const i={name:e};if(0!==r.length&&(i.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),o){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},chars:function(e){const r={type:"text",text:e};if(0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},comment:function(e){const n={node:"comment",text:e},r=t[0];r&&(r.children||(r.children=[]),r.children.push(n))}}),n.children}const hg=gu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=ki(),r=n&&n.vnode.scopeId||"",o=hn(null),i=hn([]),s=yu(o,t);function a(e,t={}){s("itemclick",e,t)}return dr((()=>e.nodes),(function(){let t=e.nodes;b(t)&&(t=dg(e.nodes)),i.value=ug(r,a,t)}),{immediate:!0}),()=>ji("uni-rich-text",{ref:o},ji("div",{},i.value))}}),fg=gu({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=hn(null),r=zi((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),o=zi((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return gi("div",{ref:n,style:r.value,class:"uni-scroll-view-refresher"},["none"!==s?gi("div",{class:"uni-scroll-view-refresh"},[gi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?gi("svg",{key:"refresh__icon",style:{transform:"rotate("+o.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[gi("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),gi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?gi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[gi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?gi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),pg=xe(!0),gg=gu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:r}){const o=hn(null),i=hn(null),s=hn(null),a=hn(null),l=yu(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=zi((()=>Number(e.scrollTop)||0)),n=zi((()=>Number(e.scrollLeft)||0));return{state:Xt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:f,_scrollLeftChanged:p,_scrollTopChanged:g}=function(e,t,n,r,o,i,s,a,l){let c=!1,u=0,d=!1,h=()=>{};const f=zi((()=>e.scrollX)),p=zi((()=>e.scrollY)),g=zi((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=zi((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let r=0,o="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0===r)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?o="translateX("+r+"px) translateZ(0)":"y"===t&&(o="translateY("+r+"px) translateZ(0)"),i.removeEventListener("transitionend",h),i.removeEventListener("webkitTransitionEnd",h),h=()=>S(e,t),i.addEventListener("transitionend",h),i.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=o,i.style.webkitTransform=o}function y(e){const n=e.target;o("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(o("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(o("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),f.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(o("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(o("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){p.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){f.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),r=n.getBoundingClientRect();if(f.value){let n=r.left-t.left,o=s.value.scrollLeft+n;e.scrollWithAnimation?v(o,"x"):s.value.scrollLeft=o}if(p.value){let n=r.top-t.top,o=s.value.scrollTop+n;e.scrollWithAnimation?v(o,"y"):s.value.scrollTop=o}}}}function S(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=f.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",h),a.value.removeEventListener("webkitTransitionEnd",h)}function x(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,o("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),o("refresherrefresh",{},{dy:T.y-E.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,o("refresherrestore",{},{dy:T.y-E.y})),"refresherabort"===n&&d&&(d=!1,o("refresherabort",{},{dy:T.y-E.y}))}t.refreshState=n}}let E={x:0,y:0},T={x:0,y:e.refresherThreshold};return Xr((()=>{Ln((()=>{b(n.value),_(r.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===E)return;let r=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(r-E.x)>Math.abs(i-E.y))if(f.value){if(0===l.scrollLeft&&r>E.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&rE.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,o("refresherpulling",n,{deltaY:r,dy:r})))}},h=function(e){1===e.touches.length&&(E={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){T={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),E={x:0,y:0},T={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",h,pg),s.value.addEventListener("touchmove",l,xe(!1)),s.value.addEventListener("scroll",i,xe(!1)),s.value.addEventListener("touchend",g,pg),Zr((()=>{s.value.removeEventListener("touchstart",h),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),$r((()=>{p.value&&(s.value.scrollTop=t.lastScrollTop),f.value&&(s.value.scrollLeft=t.lastScrollLeft)})),dr(n,(e=>{b(e)})),dr(r,(e=>{_(e)})),dr((()=>e.scrollIntoView),(e=>{w(e)})),dr((()=>e.refresherTriggered),(e=>{!0===e?x("refreshing"):!1===e&&x("restore")})),{realScrollX:f,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,o,i,a,t),m=zi((()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",f.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=zi((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return r({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:r,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:h}=c;return gi("uni-scroll-view",{ref:o},[gi("div",{ref:s,class:"uni-scroll-view"},[gi("div",{ref:i,style:m.value,class:v.value},[t?gi(fg,{refreshState:h,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:r},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,gi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function mg(e,t,n,r,o,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,h=1,f=null,p=!1,g=0,m="";const v=zi((()=>n.value.length>t.displayMultipleItems)),y=zi((()=>e.circular&&v.value));function b(o){Math.floor(2*d)===Math.floor(2*o)&&Math.ceil(2*d)===Math.ceil(2*o)||y.value&&function(r){if(!u)for(let o=n.value,i=o.length,s=r+t.displayMultipleItems,a=0;a=c.length&&(o-=c.length),o=a%1>.5||a<0?o-1:o,i("transition",{},{dx:e.vertical?0:o*l.offsetWidth,dy:e.vertical?o*l.offsetHeight:0})}function _(e){const r=n.value.length;if(!r)return-1;const o=(Math.round(e)%r+r)%r;if(y.value){if(r<=t.displayMultipleItems)return 0}else if(o>r-t.displayMultipleItems)return r-t.displayMultipleItems;return o}function w(){f=null}function S(){if(!f)return void(p=!1);const e=f,r=e.toPos,o=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(r),f=null,p=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(r+o*u*u/2),l=requestAnimationFrame(S)}function x(e,r,o){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(o<0){for(;ae;)a-=s}else if(o>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let r=-1;if(e.currentItemId)for(let t=0,o=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),f&&(b(f.toPos),f=null);const o=n.value;for(let t=0;t0&&h<1||(h=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&E())):(u=!0,b(-t.displayMultipleItems-1))})),dr((()=>t.interval),(()=>{c&&(s(),E())})),dr((()=>t.current),((e,r)=>{!function(e,r){const o=m;m="";const s=n.value;if(!o){const t=s.length;x(e,"",y.value&&r+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:o})}}(e,r),o("update:current",e)})),dr((()=>t.currentItemId),(e=>{o("update:currentItemId",e)})),dr((()=>e.autoplay&&!t.userTracking),T),T(e.autoplay&&!t.userTracking),Xr((()=>{let o=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let r=0;!e&&Math.abs(i)>.2&&(r=.5*n);const o=_(d+r);e?b(g):(m="touch",t.current=o,x(o,"touch",0!==r?r:0===o&&y.value&&d>=1?1:0))}zp(r.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,o=!1,s(),g=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!o){o=!0;const n=Math.abs(c.detail.dx),r=Math.abs(c.detail.dy);if((n>=r&&e.vertical||n<=r&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&E())}return function(o){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,h=r.value;e.vertical?u(-o.dy/h.offsetHeight,-o.ddy/d):u(-o.dx/h.offsetWidth,-o.ddx/d)}(c.detail),!1}}}))})),Qr((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){x(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const vg=gu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const r=hn(null),o=yu(r,n),i=hn(null),s=hn(null),a=function(e){return Xt({interval:zi((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:zi((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:zi((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=zi((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:wc(e.previousMargin,!0),bottom:wc(e.nextMargin,!0)}:{top:0,bottom:0,left:wc(e.previousMargin,!0),right:wc(e.nextMargin,!0)}),t})),c=zi((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],h=hn([]);function f(){const e=[];for(let t=0;tn===e.rootRef.value));r&&e.push(on(r))}h.value=e}Ao("addSwiperContext",(function(e){d.push(e),f()}));Ao("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:p,circularEnabled:g,swiperEnabled:m}=mg(e,a,h,s,n,o);let v=()=>null;return v=yg(r,e,a,p,h,g,m),()=>{const n=t.default&&t.default();return u=Pp(n),gi("uni-swiper",{ref:r},[gi("div",{ref:i,class:"uni-swiper-wrapper"},[gi("div",{class:"uni-swiper-slides",style:l.value},[gi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&gi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map(((t,n,r)=>gi("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,l=!1,c=!1,u=hn(!1);function h(e,n){const r=e.currentTarget;r&&(r.style.backgroundColor="over"===n?t.navigationActiveColor:"")}cr((()=>{a="auto"===t.navigation,u.value=!0!==t.navigation||a,b()})),cr((()=>{const e=o.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,c=!0,a&&(u.value=!0))}));const f={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function p(e,t,s){if(e.stopPropagation(),s)return;const a=o.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}r(l)}const g=()=>Mc(Cc,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:r,clientY:o}=n,{left:i,right:s,top:a,bottom:l,width:c,height:d}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(o-a{u.value=h}),300);u.value=h},y=()=>{u.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Xr(b),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?gi(Jo,null,[gi("div",xi({class:["uni-swiper-navigation uni-swiper-navigation-prev",d({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},f),[g()],16,["onClick"]),gi("div",xi({class:["uni-swiper-navigation uni-swiper-navigation-next",d({"uni-swiper-navigation-disabled":c},e)],onClick:e=>p(e,"next",c)},f),[g()],16,["onClick"])]):null}},bg=gu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=hn(null),r={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const r=t?"0":100*e+"%",o=t?100*e+"%":"0",i=n.value,s=`translate(${r},${o}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return Xr((()=>{const e=Do("addSwiperContext");e&&e(r)})),Qr((()=>{const e=Do("removeSwiperContext");e&&e(r)})),()=>gi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),_g={ensp:" ",emsp:" ",nbsp:" "};function wg(e,t){return function(e,{space:t,decode:n}){let r="",o=!1;for(let i of e)t&&_g[t]&&" "===i&&(i=_g[t]),o?(r+="n"===i?"\n":"\\"===i?"\\":"\\"+i,o=!1):"\\"===i?o=!0:r+=i;return n?r.replace(/ /g,_g.nbsp).replace(/ /g,_g.ensp).replace(/ /g,_g.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):r}(e,t).split("\n")}const Sg=gu({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=hn(null);return()=>{const r=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Qo){const n=wg(t.children,{space:e.space,decode:e.decode}),o=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&r.push(yi(e)),t!==o&&r.push(gi("br"))}))}else r.push(t)})),gi("uni-text",{ref:n,selectable:!!e.selectable||null},[gi("span",null,r)],8,["selectable"])}}}),xg=gu({name:"View",props:d({},bu),setup(e,{slots:t}){const n=hn(null),{hovering:r,binding:o}=_u(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?gi("uni-view",xi({class:r.value?i:"",ref:n},o),[io(t,"default")],16):gi("uni-view",{ref:n},[io(t,"default")],512)}}});function Eg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Tg(e,t,n){e&&Fl(n||Oc(),e,(({type:e,data:n},r)=>{t(e,n,r)}))}function Cg(e,t){e&&function(e,t){t=Hl(e,t),delete Vl[t]}(t||Oc(),e)}let Mg=0;function kg(e,t,n,r){y(t)&&Wr(e,t.bind(n),r)}function Ag(e,t,n){const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((r=>{if(function(e,t,n=!0){return!(n&&!y(t))&&(Ie.indexOf(e)>-1||0===e.indexOf("on"))}(r,e[r],!1)){const o=e[r];g(o)?o.forEach((e=>kg(r,e,n,t))):kg(r,o,n,t)}})),"page"===r)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Lc(n,"onLoad",e),delete t.attrs.__pageQuery;const r=n.$page;"preloadPage"!==(null==r?void 0:r.openType)&&Lc(n,"onShow")}catch(C_){console.error(C_.message+"\n"+C_.stack)}}}function Dg(e,t,n){Ag(e,t,n)}function Og(e,t,n){return e[t]=n}function Ig(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Pg(e){const t=e.config.errorHandler;return function(n,r,o){t&&t(n,r,o);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?Lc(i.proxy,"onError",n):Cn(n,0,r&&r.$.vnode,!1)}}function Bg(e,t){return e?[...new Set([].concat(e,t))]:t}function Rg(e){const t=e.config;var n;t.errorHandler=Be(e,Pg),n=t.optionMergeStrategies,Ie.forEach((e=>{n[e]=Bg}));const r=t.globalProperties;r.$set=Og,r.$applyOptions=Dg,r.$callMethod=Ig,function(e){Pe.forEach((t=>t(e)))}(e)}function Lg(e){const t=fl({history:zg(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:$g});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ng[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Ng=Object.create(null);const $g=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(r=e.meta.tabBarIndex,Ng[r]);if(t)return t}return{left:0,top:0};var r};function zg(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ma(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=of(),n=t.length-1,r=n-e;for(let o=n;o>r;o--){const e=Gh(t[o]);sf(uf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const jg={install(e){Rg(e),Qc(e),uu(e),e.config.warnHandler||(e.config.warnHandler=Vg),Lg(e)}};function Vg(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const r=[`[Vue warn]: ${e}`];n.length&&r.push("\n",n),console.warn(...r)}const Hg={class:"uni-async-loading"},Fg=gi("i",{class:"uni-loading"},null,-1),qg=mu({name:"AsyncLoading",render:()=>(ri(),li("div",Hg,[Fg]))});function Ug(){window.location.reload()}const Wg=mu({name:"AsyncError",setup(){Il();const{t:e}=Dl();return()=>gi("div",{class:"uni-async-error",onClick:Ug},[e("uni.async.error")],8,["onClick"])}});let Kg;function Yg(){return Kg}function Xg(e){Kg=e,Object.defineProperty(Kg.$.ctx,"$children",{get:()=>of().map((e=>e.$vm))});const t=Kg.$.appContext.app;t.component(qg.name)||t.component(qg.name,qg),t.component(Wg.name)||t.component(Wg.name,Wg),function(e){e.$vm=e,e.$mpType="app";const t=hn(Dl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Kg),function(e,t){const n=e.$options||{};n.globalData=d(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Kg),lu(),Fc()}function Gg(e,{clone:t,init:n,setup:r,before:o}){t&&(e=d({},e)),o&&o(e);const i=e.setup;return e.setup=(e,t)=>{const o=ki();if(n(o.proxy),r(o),i)return i(e,t)},e}function Jg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Gg(e.default,t):Gg(e,t)}function Zg(e){return Jg(e,{clone:!0,init:cf,setup(e){e.$pageInstance=e;const t=Pu(),n=Ce(t.query);e.attrs.__pageQuery=n,Gh(e.proxy).options=n,e.proxy.options=n;const r=Ou();var o,i;return e.onReachBottom=Xt([]),e.onPageScroll=Xt([]),dr([e.onReachBottom,e.onPageScroll],(()=>{const t=Ac();e.proxy===t&&yf(e,r)}),{once:!0}),Yr((()=>{ff(e,r)})),Xr((()=>{pf(e);const{onReady:n}=e;n&&L(n),nm(t)})),jr((()=>{if(!e.__isVisible){ff(e,r),e.__isVisible=!0;const{onShow:n}=e;n&&L(n),Ln((()=>{nm(t)}))}}),"ba",o),function(e,t){jr(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&L(t)}}})),i=r.id,Cy.subscribe(Hl(i,"invokeViewApi"),ql),Zr((()=>{!function(e){Cy.unsubscribe(Hl(e,"invokeViewApi")),Object.keys(Vl).forEach((t=>{0===t.indexOf(e+".")&&delete Vl[t]}))}(r.id)})),n}})}function Qg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}=Bm(),o=90===Math.abs(Number(window.orientation))?"landscape":"portrait";My.emit("onResize",{deviceOrientation:o,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}})}function em(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&My.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function tm(){const{emit:e}=My;"visible"===document.visibilityState?e("onAppEnterForeground",d({},jf)):e("onAppEnterBackground")}function nm(e){const{tabBarText:t,tabBarIndex:n,route:r}=e.meta;t&&Lc("onTabItemTap",{index:n,text:t,pagePath:r})}let rm,om=0;function im(e,t,n,r){var o,i=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+om++,l=t.timeout||3e4;function c(){clearTimeout(o),delete window[a],i.remove()}window[a]=e=>{y(n)&&n(e),c()},i.onerror=()=>{y(r)&&r(),c()},o=setTimeout((function(){y(r)&&r(),c()}),l),i.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(i)}function sm(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 r(){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 o(){}function i(){this.Text&&this.option.map.remove(this.Text)}function s(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(e={},a){this.createAMapText=r,this.removeAMapText=i,this.createBMapText=o,this.removeBMapText=s,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(pm())this.callback=a,this.visible&&this.createAMapText();else if(gm())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),r=n.style;r.position="absolute",r.whiteSpace="nowrap",r.transform="translateX(-50%) translateY(-100%)",r.zIndex="1",r.boxShadow=e.boxShadow||"none",r.display=l?"block":"none";const o=this.triangle=document.createElement("div");o.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(o),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,pm()?this.visible&&this.createAMapText():gm()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!pm()&&!gm()){const t=new(e.OverlayView||e.Overlay);a.prototype.setMap=t.setMap,a.prototype.getMap=t.getMap,a.prototype.getPanes=t.getPanes,a.prototype.getProjection=t.getProjection,a.prototype.map_changed=t.map_changed,a.prototype.set=t.set,a.prototype.get=t.get,a.prototype.setOptions=t.setValues,a.prototype.bindTo=t.bindTo,a.prototype.bindsTo=t.bindsTo,a.prototype.notify=t.notify,a.prototype.setValues=t.setValues,a.prototype.unbind=t.unbind,a.prototype.unbindAll=t.unbindAll,a.prototype.addListener=t.addListener}return a}const am={};function lm(e,t){const n=dm();if(!n.key)return void console.error("Map key not configured.");const r=am[n.type]=am[n.type]||[];if(rm)t(rm);else if(window[n.type]&&window[n.type].maps)rm=pm()||gm()?window[n.type]:window[n.type].maps,rm.Callout=rm.Callout||sm(rm),t(rm);else if(r.length)r.push(t);else{r.push(t);const o=window,i="__map_callback__"+n.type;o[i]=function(){delete o[i],rm=pm()||gm()?window[n.type]:window[n.type].maps,rm.Callout=sm(rm),r.forEach((e=>e(rm))),r.length=0},pm()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=cm(n.type);n.type===um.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===um.BMAP?s.src=`${a}ak=${n.key}&callback=${i}`:s.src=`${a}key=${n.key}&callback=${i}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const cm=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var um=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(um||{});function dm(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let hm=!1,fm=!1;const pm=()=>fm?hm:(fm=!0,hm="AMap"===dm().type),gm=()=>"BMapGL"===dm().type;const mm=mu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Do("onMapReady"),r=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),Qr((()=>{n.remove()})),function(e){const r=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),o=document.createElement("div");return Object.keys(r).forEach((e=>{o.style[e]=r[e]||""})),n.innerText=`.${t}{${o.getAttribute("style")}}`,t}}(t);let o;function i(e){pm()?e.removeAMapText():e.setMap(null)}if(n(((n,s,a)=>{function l(e){const l=e.title;let c;c=pm()?new s.LngLat(e.longitude,e.latitude):gm()?new s.Point(e.longitude,e.latitude):new s.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const h=e.anchor||{};let f,p,g,m,v="number"==typeof h.x?h.x:.5,y="number"==typeof h.y?h.y:1;e.iconPath&&(e.width||e.height)?(p=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(p=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),f="MarkerImage"in s?new s.MarkerImage(u.src,null,null,new s.Point(v*p,y*g),new s.Size(p,g)):"Icon"in s?new s.Icon({image:u.src,size:new s.Size(p,g),imageSize:new s.Size(p,g),imageOffset:new s.Pixel(v*p,y*g)}):{url:u.src,anchor:new s.Point(v,y),size:new s.Size(p,g)},gm()?(o=new s.Marker(new s.Point(c.lng,c.lat)),n.addOverlay(o)):(o.setPosition(c),o.setIcon(f)),"setRotation"in o&&o.setRotation(e.rotate||0);const b=e.label||{};let _;if("label"in o&&(o.label.setMap(null),delete o.label),b.content){const e={borderColor:b.borderColor,borderWidth:(Number(b.borderWidth)||0)+"px",padding:(Number(b.padding)||0)+"px",borderRadius:(Number(b.borderRadius)||0)+"px",backgroundColor:b.bgColor,color:b.color,fontSize:(b.fontSize||14)+"px",lineHeight:(b.fontSize||14)+"px",marginLeft:(Number(b.anchorX||b.x)||0)+"px",marginTop:(Number(b.anchorY||b.y)||0)+"px"};if("Label"in s)_=new s.Label({position:c,map:n,clickable:!1,content:b.content,style:e}),o.label=_;else if("setLabel"in o)if(pm()){const t=`
\n ${b.content}\n
`;o.setLabel({content:t,direction:"bottom-right"})}else{const t=r(e);o.setLabel({text:b.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let S,x=o.callout;if(w.content||l){pm()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const r="0px 0px 3px 1px rgba(0,0,0,0.5)";let i=-d/2;if((e.width||e.height)&&(i+=14-d/2),S=w.content?{position:c,map:n,top:m,offsetY:i,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||r,display:w.display}:{position:c,map:n,top:m,offsetY:i,content:l,boxShadow:r},x)x.setOption(S);else if(pm()){const e=()=>{""!==t&&a("callouttap",{},{markerId:Number(t)})};x=o.callout=new s.Callout(S,e)}else x=o.callout=new s.Callout(S),x.div.onclick=function(e){""!==t&&a("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},dm().type===um.GOOGLE&&(x.div.ontouchstart=function(e){e.stopPropagation()},x.div.onpointerdown=function(e){e.stopPropagation()})}else x&&(i(x),delete o.callout)},e.iconPath?u.src=_f(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){gm()||(o=new s.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const r=s.event||s.Event;gm()||r.addListener(o,"click",(()=>{const n=o.callout;if(n&&!n.alwaysVisible)if(pm())n.visible=!n.visible,n.visible?o.callout.createAMapText():o.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&a("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})}))}(e),dr(e,l)})),t){const e=Do("addMapChidlContext"),r=Do("removeMapChidlContext"),i={id:t,translate(e){n(((t,n,r)=>{const i=e.destination,s=e.duration,a=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in o&&(c=o.getRotation());const u=o.getPosition(),d=new n.LatLng(i.latitude,i.longitude),h=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof s?s:1e3)/36e5),f=n.event||n.Event,p=f.addListener(o,"moving",(e=>{const t=e.latLng,n=o.label;n&&n.setPosition(t);const r=o.callout;r&&r.setPosition(t)})),g=f.addListener(o,"moveend",(()=>{g.remove(),p.remove(),o.lastPosition=u,o.setPosition(d);const t=o.label;t&&t.setPosition(d);const n=o.callout;n&&n.setPosition(d);const r=e.animationEnd;y(r)&&r()}));let m=0;a&&(o.lastPosition&&(m=n.geometry.spherical.computeHeading(o.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-m),"setRotation"in o&&o.setRotation(c+l),"moveTo"in o?o.moveTo(d,h):(o.setPosition(d),f.trigger(o,"moveend",{}))}))}};e(i),Qr((()=>r(i)))}return Qr((function(){o&&(o.label&&"setMap"in o.label&&o.label.setMap(null),o.callout&&i(o.callout),o.setMap(null))})),()=>null}});function vm(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[r,o,i,s]=t.match(/(\w{2})/g);const a=parseInt(r,16),l=parseInt(o,16),c=parseInt(i,16);return s?{r:a,g:l,b:c,a:(`0x100${s}`-65536)/255}:{r:a,g:l,b:c,a:1}}const ym={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:""}},bm=mu({name:"MapPolyline",props:ym,setup(e){let t,n;function r(){t&&t.setMap(null),n&&n.setMap(null)}return Do("onMapReady")(((o,i)=>{function s(e){const r=[];e.points.forEach((e=>{let t;t=pm()?[e.longitude,e.latitude]:gm()?new i.Point(e.longitude,e.latitude):new i.LatLng(e.latitude,e.longitude),r.push(t)}));const s=Number(e.width)||1,{r:a,g:l,b:c,a:u}=vm(e.color),{r:d,g:h,b:f,a:p}=vm(e.borderColor),g={map:o,clickable:!1,path:r,strokeWeight:s,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:o,clickable:!1,path:r,strokeWeight:s+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in i?(g.strokeColor=new i.Color(a,l,c,u),v.strokeColor=new i.Color(d,h,f,p)):(g.strokeColor=`rgb(${a}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${h}, ${f})`,v.strokeOpacity=p),m&&(n=new i.Polyline(v)),gm()?(t=new i.Polyline(g.path,g),o.addOverlay(t)):t=new i.Polyline(g)}s(e),dr(e,(function(e){r(),s(e)}))})),Qr(r),()=>null}}),_m=mu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Do("onMapReady")(((r,o)=>{function i(e){const n=pm()||gm()?[e.longitude,e.latitude]:new o.LatLng(e.latitude,e.longitude),i={map:r,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(gm())i.strokeColor=e.color,i.fillColor=e.fillColor||"#000",i.fillOpacity=1;else{const{r:t,g:n,b:r,a:s}=vm(e.fillColor),{r:a,g:l,b:c,a:u}=vm(e.color);"Color"in o?(i.fillColor=new o.Color(t,n,r,s),i.strokeColor=new o.Color(a,l,c,u)):(i.fillColor=`rgb(${t}, ${n}, ${r})`,i.fillOpacity=s,i.strokeColor=`rgb(${a}, ${l}, ${c})`,i.strokeOpacity=u)}if(gm()){let e=new o.Point(i.center[0],i.center[1]);t=new o.Circle(e,i.radius,i),r.addOverlay(t)}else t=new o.Circle(i),pm()&&r.add(t)}i(e),dr(e,(function(e){n(),i(e)}))})),Qr(n),()=>null}}),wm={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},Sm=mu({name:"MapControl",props:wm,setup(e){const t=zi((()=>_f(e.iconPath))),n=zi((()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t})),r=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>gi("div",{class:"uni-map-control"},[gi("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:r},null,12,["src","onClick"])])}}),xm=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Em;function Tm(){if(Em=Em||xm.__DC_STAT_UUID,!Em){Em=Date.now()+""+Math.floor(1e7*Math.random());try{xm.__DC_STAT_UUID=Em}catch(e){}}return Em}function Cm(){if(!0!==__uniConfig.darkmode)return b(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Mm(){let e,t="0",n="",r="phone";const o=navigator.language;if(xf){e="iOS";const r=wf.match(/OS\s([\w_]+)\slike/);r&&(t=r[1].replace(/_/g,"."));const o=wf.match(/\(([a-zA-Z]+);/);o&&(n=o[1])}else if(Sf){e="Android";const r=wf.match(/Android[\s/]([\w\.]+)[;\s]/);r&&(t=r[1]);const o=wf.match(/\((.+?)\)/),i=o?o[1].split(";"):wf.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let r;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,r=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:r?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=kf(),n=Af(t),r=Df(t,n),o=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Of(r);let s=window.innerHeight;const a=dc.top,l={left:dc.left,right:i-dc.right,top:dc.top,bottom:s-dc.bottom,width:i-dc.left-dc.right,height:s-dc.top-dc.bottom},{top:c,bottom:u}=mc();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:r,screenHeight:o,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:dc.top,right:dc.right,bottom:dc.bottom,left:dc.left},screenTop:o-s}}));let Am,Dm=!0;function Om(){Dm&&(Am=Mm())}const Im=vd(0,(()=>{Om();const{deviceBrand:e,deviceModel:t,brand:n,model:r,platform:o,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:c}=Am;return d({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Tm(),deviceOrientation:s,deviceType:a,model:r,platform:o,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:c})})),Pm=vd(0,(()=>{Om();const{theme:e,language:t,browserName:n,browserVersion:r}=Am;return d({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Yd?Yd():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:r,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Bm=vd(0,(()=>{Dm=!0,Om(),Dm=!1;const e=km(),t=Im(),n=Pm();Dm=!0;const{ua:r,browserName:o,browserVersion:i,osname:s,osversion:a}=Am,l=d(e,t,n,{ua:r,browserName:o,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return T(e)&&Object.keys(e).sort().forEach((n=>{const r=n;t[r]=e[r]})),Object.keys(t)?t:e}(l)})),Rm=yd("getSystemInfo",((e,{resolve:t})=>t(Bm())));function Lm(){zm().then((({networkType:e})=>{My.invokeOnCallback("onNetworkStatusChange",{isConnected:"none"!==e,networkType:e})}))}function Nm(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const $m=pd("onNetworkStatusChange",(()=>{const e=Nm();e?e.addEventListener("change",Lm):(window.addEventListener("offline",Lm),window.addEventListener("online",Lm))})),zm=yd("getNetworkType",((e,{resolve:t})=>{const n=Nm();let r="unknown";return n?(r=n.type,"cellular"===r&&n.effectiveType?r=n.effectiveType.replace("slow-",""):!r&&n.effectiveType?r=n.effectiveType:["none","wifi"].includes(r)||(r="unknown")):!1===navigator.onLine&&(r="none"),t({networkType:r})}));let jm=null;const Vm=pd("onCompass",(()=>{Fm()})),Hm=gd("offCompass",(()=>{qm()})),Fm=yd("startCompass",((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!jm){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((e=>{"granted"===e?(r(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));r()}t()}else n();function r(){jm=function(e){const t=360-(null!==e.alpha?e.alpha:360);My.invokeOnCallback("onCompass",{direction:t})},window.addEventListener("deviceorientation",jm,!1)}})),qm=yd("stopCompass",((e,{resolve:t})=>{jm&&(window.removeEventListener("deviceorientation",jm,!1),jm=null),t()}));const Um=yd("setClipboardData",((e,t)=>{return n=void 0,r=[e,t],o=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(r){!function(e,t,n){const r=document.getElementById("#clipboard");r&&r.remove();const o=document.createElement("textarea");o.setAttribute("inputmode","none"),o.id="#clipboard",o.style.position="fixed",o.style.top="-9999px",o.style.zIndex="-9999",document.body.appendChild(o),o.value=e,o.select(),o.setSelectionRange(0,o.value.length);const i=document.execCommand("Copy",!1);o.blur(),i?t():n()}(e,t,n)}},new Promise(((e,t)=>{var i=e=>{try{a(o.next(e))}catch(C_){t(C_)}},s=e=>{try{a(o.throw(e))}catch(C_){t(C_)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,s);a((o=o.apply(n,r)).next())}));var n,r,o}),0,th);const Wm=vd(0,((e,t)=>{const n=typeof t,r="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,r)})),Km=yd("setStorage",(({key:e,data:t},{resolve:n,reject:r})=>{try{Wm(e,t),n()}catch(o){r(o.message)}}));function Ym(e){const t=localStorage&&localStorage.getItem(e);if(!b(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=b(e)?JSON.parse(e):e,r=n.type;if(t.indexOf(r)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===r)return n.data;if("object"===r&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(r){}return n}const Xm=vd(0,(e=>{try{return Ym(e)}catch(t){return""}})),Gm=yd("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:Ym(e)})}catch(r){n(r.message)}})),Jm=vd(0,(()=>{localStorage&&localStorage.clear()}));const Zm=yd("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const r=new Image;r.onload=function(){t({width:r.naturalWidth,height:r.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},r.onerror=function(){n()},r.src=e}),0,ah),Qm={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function ev({count:e,sourceType:t,type:n,extension:r}){pp();const o=document.createElement("input");return o.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(o,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),o.accept=r.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Qm[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(o.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&o.setAttribute("capture","camera"),o}let tv=null;const nv=yd("chooseFile",(({count:e,sourceType:t,type:n,extension:r},{resolve:o,reject:i})=>{Ll();const{t:s}=Dl();tv&&(document.body.removeChild(tv),tv=null),tv=ev({count:e,sourceType:t,type:n,extension:r}),document.body.appendChild(tv),tv.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||$f(t),i)}),oe))},tempFiles:r})})),tv.click(),gp()||console.warn(s("uni.chooseFile.notUserActivation"))}),0,sh);let rv=null;const ov=yd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:r,reject:o})=>{Ll();const{t:i}=Dl();rv&&(document.body.removeChild(rv),rv=null),rv=ev({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(rv),rv.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r(i=i||$f(t),i)}),re))},tempFiles:o})})),rv.click(),gp()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,oh),iv={esc:["Esc","Escape"],enter:["Enter"]},sv=Object.keys(iv);function av(){const e=hn(""),t=hn(!1),n=n=>{if(t.value)return;const r=sv.find((e=>-1!==iv[e].indexOf(n.key)));r&&(e.value=r),Ln((()=>e.value=""))};return Xr((()=>{document.addEventListener("keyup",n)})),Zr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const lv=gi("div",{class:"uni-mask"},null,-1);function cv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ls(Ar({setup:()=>()=>(ri(),li(e,t,null,16))}))}function uv(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function dv(e,{onEsc:t,onEnter:n}){const r=hn(e.visible),{key:o,disable:i}=av();return dr((()=>e.visible),(e=>r.value=e)),dr((()=>r.value),(e=>i.value=!e)),cr((()=>{const{value:e}=o;"esc"===e?t&&t():"enter"===e&&n&&n()})),r}const hv=md("request",(({url:e,data:t,header:n={},method:r,dataType:o,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==r)if(b(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,f=new fv(h);h.open(r,e);for(const v in n)p(n,v)&&h.setRequestHeader(v,n[v]);const g=setTimeout((function(){h.onload=h.onabort=h.onerror=null,f.abort(),c("timeout",{errCode:5})}),a);return h.responseType=i,h.onload=function(){clearTimeout(g);const e=h.status;let t="text"===i?h.responseText:h.response;if("text"===i&&"json"===o)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:pv(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},h.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},h.withCredentials=s,h.send(u),f}),0,dh);class fv{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 pv(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class gv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){y(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const mv=md("uploadFile",(({url:e,file:t,filePath:n,name:r,files:o,header:i={},formData:s={},timeout:a=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new gv;return g(o)&&o.length||(o=[{name:r,file:t,uri:n}]),Promise.all(o.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Nf(e)):Lf(t)))).then((function(t){var n,r=new XMLHttpRequest,d=new FormData;Object.keys(s).forEach((e=>{d.append(e,s[e])})),Object.values(o).forEach((({name:e},n)=>{const r=t[n];d.append(e||"file",r,r.name||`file-${Date.now()}`)})),r.open("POST",e),Object.keys(i).forEach((e=>{r.setRequestHeader(e,i[e])})),r.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,r=e.total;t({progress:Math.round(n/r*100),totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(n),c("",{errCode:602001})},r.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},r.onload=function(){clearTimeout(n);const e=r.status;l({statusCode:e,data:r.responseText||r.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,u.abort(),c("timeout",{errCode:5})}),a),r.send(d),u._xhr=r)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,hh),vv=[],yv={open:"",close:"",error:"",message:""};class bv{constructor(e,t,n){let r;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:r,reason:o}=t,i="message"===e?{data:n}:"close"===e?{code:r,reason:o}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(C_){console.error(`thirdScriptError\n${C_};at socketTask.on${P(e)} callback function\n`,C_)}})),this===vv[0]&&yv[e]&&My.invokeOnCallback(yv[e],i),"error"===e||"close"===e){const e=vv.indexOf(this);e>=0&&vv.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(C_){r=C_}n&&n(r,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw ue(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),ue(e,"sendSocketMessage:ok")}catch(r){ue(e,{errMsg:`sendSocketMessage:fail ${r}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,r=e.reason;b(r)?t.close(n,r):t.close(n),ue(e,"closeSocket:ok")}catch(n){ue(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const _v=md("connectSocket",(({url:e,protocols:t},{resolve:n,reject:r})=>new bv(e,t,((e,t)=>{e?r(e.toString(),{errCode:600009}):(vv.push(t),n())}))),0,fh),wv=yd("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:r},{resolve:o,reject:i})=>{const s=dm();new Promise(((e,o)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition((t=>e({coords:t.coords})),o,{enableHighAccuracy:r||t,timeout:n||1e5}):o(new Error("device nonsupport geolocation"))})).catch((e=>new Promise(((t,n)=>{s.type===um.QQ?im(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${s.key}`,{callback:"callback"},(e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))}),(()=>n(new Error("network error")))):s.type===um.GOOGLE?hv({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${s.key}`,success(e){const r=e.data;"location"in r?t({coords:{latitude:r.location.lat,longitude:r.location.lng,accuracy:r.accuracy},skip:!0}):n(new Error(r.error&&r.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):s.type===um.AMAP?lm([],(()=>{window.AMap.plugin("AMap.Geolocation",(()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition(((e,r)=>{"complete"===e?t({coords:{latitude:r.position.lat,longitude:r.position.lng,accuracy:r.accuracy},skip:!0}):n(new Error(r.message))}))}))})):n(e)})))).then((({coords:t,skip:n})=>{(function(e,t,n){const r=dm();return e&&"WGS84"===e.toUpperCase()||["google"].includes(r.type)||n?Promise.resolve(t):"qq"===r.type?new Promise((e=>{im(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${r.key}&output=jsonp`,{callback:"callback"},(n=>{if("locations"in n&&n.locations.length){const{lng:r,lat:o}=n.locations[0];e({longitude:r,latitude:o,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}),(()=>e(t)))})):"AMap"===r.type?new Promise((e=>{lm([],(()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",((n,r)=>{if("ok"===r.info&&r.locations.length){const{lat:n,lng:o}=r.locations[0];e({longitude:o,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}))}))})):Promise.reject(new Error("translate coordinate system faild"))})(e,t,n).then((e=>{o({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})})).catch((e=>{i(e.message)}))})).catch((e=>{i(e.message||JSON.stringify(e))}))}),0,rh),Sv=yd("navigateBack",((e,{resolve:t,reject:n})=>{let r=!0;return!0===Lc("onBackPress",{from:e.from||"navigateBack"})&&(r=!1),r?(Yg().$router.go(-e.delta),t()):n("onBackPress")}),0,yh),xv=yd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:r,reject:o})=>{if(Jh.handledBeforeEntryPageRoutes)return Lh({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(r).catch(o);Zh.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:r,reject:o})}),0,gh);function Ev(e){__uniConfig.darkmode&&My.on("onThemeChange",e)}function Tv(e){My.off("onThemeChange",e)}function Cv(e){let t={};return __uniConfig.darkmode&&(t=ze(e,__uniConfig.themeConfig,Cm())),__uniConfig.darkmode?t:e}function Mv(e,t){const n=Qt(e),r=n?Xt(Cv(e)):Cv(e);return __uniConfig.darkmode&&n&&dr(e,(e=>{const t=Cv(e);for(const n in t)r[n]=t[n]})),t&&Ev(t),r}const kv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Av=Ar({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=hn(""),r=()=>s.value=!1,o=()=>(r(),t("close","cancel")),i=()=>(r(),t("close","confirm",n.value)),s=dv(e,{onEsc:o,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=hn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=kv[e].cancelColor})(e,t)};return cr((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Cm()&&n({theme:"dark"}),Ev(n))):Tv(n)})),t}(e);return()=>{const{title:t,content:r,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=r,gi(Ki,{name:"uni-fade"},{default:()=>[mr(gi("uni-modal",{onTouchmove:hc},[lv,gi("div",{class:"uni-modal"},[t?gi("div",{class:"uni-modal__hd"},[gi("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?gi("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:r,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):gi("div",{class:"uni-modal__bd",onTouchmovePassive:fc,textContent:r},null,40,["onTouchmovePassive","textContent"]),gi("div",{class:"uni-modal__ft"},[l&&gi("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:o},[e.cancelText],12,["onClick"]),gi("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[as,s.value]])]})}}});let Dv;const Ov=ae((()=>{My.on("onHidePopup",(()=>Dv.visible=!1))}));let Iv;function Pv(e,t){const n="confirm"===e,r={confirm:n,cancel:"cancel"===e};n&&Dv.editable&&(r.content=t),Iv&&Iv(r)}const Bv=yd("showModal",((e,{resolve:t})=>{Ov(),Iv=t,Dv?(d(Dv,e),Dv.visible=!0):(Dv=Xt(e),Ln((()=>(cv(Av,Dv,Pv).mount(uv("u-a-m")),Ln((()=>Dv.visible=!0))))))}),0,Th),Rv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Ch.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Lv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Nv=e=>Lv[e],$v=Ar({name:"Toast",props:Rv,setup(e){Pl(),Bl();const{Icon:t}=function(e){const t=hn(Nv(Cm())),n=({theme:e})=>t.value=Nv(e);cr((()=>{e.visible?Ev(n):Tv(n)}));return{Icon:zi((()=>{switch(e.icon){case"success":return gi(Mc(Ec,t.value,38),{class:"uni-toast__icon"});case"error":return gi(Mc(Tc,t.value,38),{class:"uni-toast__icon"});case"loading":return gi("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=dv(e,{});return()=>{const{mask:r,duration:o,title:i,image:s}=e;return gi(Ki,{name:"uni-fade"},{default:()=>[mr(gi("uni-toast",{"data-duration":o},[r?gi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:hc},null,40,["onTouchmove"]):"",s||t.value?gi("div",{class:"uni-toast"},[s?gi("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,gi("p",{class:"uni-toast__content"},[i])]):gi("div",{class:"uni-sample-toast"},[gi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[as,n.value]])]})}}});let zv,jv,Vv="";const Hv=Fe();function Fv(e){zv?d(zv,e):(zv=Xt(d(e,{visible:!1})),Ln((()=>{Hv.run((()=>{dr([()=>zv.visible,()=>zv.duration],(([e,t])=>{if(e){if(jv&&clearTimeout(jv),"onShowLoading"===Vv)return;jv=setTimeout((()=>{Yv("onHideToast")}),t)}else jv&&clearTimeout(jv)}))})),My.on("onHidePopup",(()=>Yv("onHidePopup"))),cv($v,zv,(()=>{})).mount(uv("u-a-t"))}))),setTimeout((()=>{zv.visible=!0}),10)}const qv=yd("showToast",((e,{resolve:t,reject:n})=>{Fv(e),Vv="onShowToast",t()}),0,Mh),Uv={icon:"loading",duration:1e8,image:""},Wv=yd("showLoading",((e,{resolve:t,reject:n})=>{d(e,Uv),Fv(e),Vv="onShowLoading",t()}),0,Eh),Kv=yd("hideLoading",((e,{resolve:t,reject:n})=>{Yv("onHideLoading"),t()}));function Yv(e){const{t:t}=Dl();if(!Vv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Vv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Vv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Vv="",setTimeout((()=>{zv.visible=!1}),10)}const Xv=yd("loadFontFace",(({family:e,source:t,desc:n},{resolve:r,reject:o})=>{(function(e,t,n){const r=document.fonts;if(r){const o=new FontFace(e,t,n);return o.load().then((()=>{r.add&&r.add(o)}))}return new Promise((r=>{const o=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:r,unicodeRange:o,variant:s,featureSettings:a}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),r&&i.push(`font-stretch:${r}`),o&&i.push(`unicode-range:${o}`),s&&i.push(`font-variant:${s}`),a&&i.push(`font-feature-settings:${a}`)}o.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(o),r()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${_f(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${_f(t.substring(4,t.length-1))}')`:_f(t),n).then((()=>{r()})).catch((e=>{o(`loadFontFace:fail ${e}`)}))}));function Gv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,My.emit("onNavigationBarChange",{titleText:t})}cr(t),$r(t)}const Jv={width:"50px",height:"50px",iconWidth:"24px"},Zv=mu({name:"TabBar",setup(){const e=hn([]),t=zh(),n=Mv(t,(()=>{const e=Cv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){const n=hn(d({type:"midButton"},e.midButton));function r(){let r=[];r=e.list.filter((e=>!1!==e.visible)),e.midButton&&(n.value=d({},Jv,n.value,e.midButton),r=r.filter((e=>!ty(e))),r.length%2==0&&r.splice(Math.floor(r.length/2),0,n.value)),t.value=r}cr(r)}(n,e),function(e){dr((()=>e.shown),(t=>{yc({"--window-bottom":Yh(t?parseInt(e.height):0)})}))}(n);const r=function(e,t,n){return cr((()=>{const r=e.meta;if(r.isTabBar){const e=r.route,o=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=o}})),(t,n)=>{const{type:r}=t;return()=>{if("midButton"===r)return My.invokeOnCallback("onTabBarMidButtonTap");const{pagePath:o,text:i}=t;let s=se(o);s===__uniRoutes[0].alias&&(s="/"),e.path!==s?Oh({from:"tabBar",url:s,tabBarText:i}):Lc("onTabItemTap",{index:n,text:i,pagePath:o})}}}(pl(),n,e),{style:o,borderStyle:i,placeholderStyle:s}=function(e){const t=zi((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||qh&&n&&"none"!==n&&(t=Qv[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=zi((()=>{const{borderStyle:t,borderColor:n}=e;return n&&b(n)?{backgroundColor:n}:{backgroundColor:ey[t]||ey.black}})),r=zi((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:r}}(n);return Xr((()=>{n.iconfontSrc&&Xv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:r,selectedColor:o,color:i}=e;return n.value.map(((n,s)=>{const a=r===s,l=a?o:i,c=a&&n.selectedIconPath||n.iconPath||"",u=n.iconfont?a&&n.iconfont.selectedText||n.iconfont.text:void 0,d=n.iconfont?a&&n.iconfont.selectedColor||n.iconfont.color:void 0;return ty(n)?function(e,t,n,r,o,i,s,a){const{width:l,height:c,backgroundImage:u,iconWidth:d}=o;return gi("div",{key:"midButton",class:"uni-tabbar__item",style:{flex:"0 0 "+l,position:"relative"},onClick:a(o,s)},[gi("div",{class:"uni-tabbar__mid",style:{width:l,height:c,backgroundImage:u?"url('"+_f(u)+"')":"none"}},[t&&gi("img",{style:{width:d,height:d},src:_f(t)},null,12,["src"])],4),ny(e,t,n,r,o,i)],12,["onClick"])}(l,c,u,d,n,e,s,t):function(e,t,n,r,o,i,s,a){return gi("div",{key:s,class:"uni-tabbar__item",onClick:a(o,s)},[ny(e,t||"",n,r,o,i)],8,["onClick"])}(l,c,u,d,n,e,s,t)}))}(n,r,e);return gi("uni-tabbar",{class:"uni-tabbar-"+n.position},[gi("div",{class:"uni-tabbar",style:o.value},[gi("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),gi("div",{class:"uni-placeholder",style:s.value},null,4)],2)}}});const Qv={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},ey={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function ty(e){return"midButton"===e.type}function ny(e,t,n,r,o,i){const{height:s}=i;return gi("div",{class:"uni-tabbar__bd",style:{height:s}},[n?oy(n,r||"rgb(0, 0, 0, 0.8)",o,i):t&&ry(t,o,i),o.text&&iy(e,o,i),o.redDot&&sy(o.badge)],4)}function ry(e,t,n){const{type:r,text:o}=t,{iconWidth:i}=n;return gi("div",{class:"uni-tabbar__icon"+(o?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==r&&gi("img",{src:_f(e)},null,8,["src"])],6)}function oy(e,t,n,r){var o;const{type:i,text:s}=n,{iconWidth:a}=r,l="uni-tabbar__icon"+(s?" uni-tabbar__icon__diff":""),c={width:a,height:a},u={fontSize:(null==(o=n.iconfont)?void 0:o.fontSize)||a,color:t};return gi("div",{class:l,style:c},["midButton"!==i&&gi("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function iy(e,t,n){const{iconPath:r,text:o}=t,{fontSize:i,spacing:s}=n;return gi("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:r?"normal":1.8,marginTop:r?s:"inherit"}},[o],4)}function sy(e){return gi("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const ay=mu({name:"Layout",setup(e,{emit:t}){const n=hn(null);vc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const r=function(){const e=pl();return{routeKey:zi((()=>uf("/"+e.meta.route,Bu()))),isTabBar:zi((()=>e.meta.isTabBar)),routeCache:hf}}(),{layoutState:o,windowState:i}=function(){Pu();{const e=Xt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return dr((()=>e.marginWidth),(e=>vc({"--window-margin":e+"px"}))),dr((()=>e.leftWindowWidth+e.marginWidth),(e=>{vc({"--window-left":e+"px"})})),dr((()=>e.rightWindowWidth+e.marginWidth),(e=>{vc({"--window-right":e+"px"})})),{layoutState:e,windowState:zi((()=>({})))}}}();!function(e,t){const n=Pu();function r(){const r=document.body.clientWidth,o=of();let i={};if(o.length>0){i=Gh(o[o.length-1]).meta}else{const e=Hc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((p(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=r>s,a&&s?(e.marginWidth=(r-s)/2,Ln((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Ln((()=>{const e=t.value;e&&e.removeAttribute("style")})))}dr([()=>n.path],r),Xr((()=>{r(),window.addEventListener("resize",r)}))}(o,n);const s=function(e){const t=Pu(),n=zh(),r=zi((()=>t.meta.isTabBar&&n.shown));return vc({"--tab-bar-height":n.height}),r}(),a=function(e){const t=hn(!1);return zi((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(s);return()=>{const e=function(e,t,n,r,o,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return gi(hl,null,{default:Jn((({Component:r})=>[(ri(),li(Lr,{matchBy:"key",cache:n},[(ri(),li(or(r),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(r),t=function(e){return mr(gi(Zv,null,null,512),[[as,e.value]])}(s);return gi("uni-app",{ref:n,class:a.value},[e,t],2)}}});const ly=mu({name:"MapLocation",setup(){const e=Xt({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){wv({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{i=setTimeout(n,3e4)}})},r=function(){i&&clearTimeout(i),Hm(t)};const o=Do("onMapReady");let i;Vm(t),o(n),Qr(r);const s=Do("addMapChidlContext"),a=Do("removeMapChidlContext"),l={id:"MAP_LOCATION",state:e};s(l),Qr((()=>a(l)))}return()=>e.latitude?gi(mm,xi({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:"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="},e),null,16,["iconPath"]):null}}),cy=mu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Do("onMapReady")(((n,r,o)=>{function i(){const{points:o,strokeWidth:i,strokeColor:s,dashArray:a,fillColor:l,zIndex:c}=e,u=o.map((e=>{const{latitude:t,longitude:n}=e;return pm()?[n,t]:gm()?new r.Point(n,t):new r.LatLng(t,n)})),{r:d,g:h,b:f,a:p}=vm(l),{r:g,g:m,b:v,a:y}=vm(s),b={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:a.some((e=>e>0))?"dash":"solid",strokeWeight:i,visible:!0,zIndex:c};r.Color?(b.fillColor=new r.Color(d,h,f,p),b.strokeColor=new r.Color(g,m,v,y)):(b.fillColor=`rgb(${d}, ${h}, ${f})`,b.fillOpacity=p,b.strokeColor=`rgb(${g}, ${m}, ${v})`,b.strokeOpacity=y),t?t.setOptions(b):gm()?(t=new r.Polygon(b.path,b),n.addOverlay(t)):t=new r.Polygon(b)}i(),dr(e,i)})),Qr((()=>{t.setMap(null)})),()=>null}});function uy(e){const t=[];return g(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function dy(e,t,n){return gm()?function(e,t,n){return new e.Point(n,t)}(e,t,n):pm()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function hy(e){return"getLat"in e?e.getLat():gm()?e.lat:e.lat()}function fy(e){return"getLng"in e?e.getLng():gm()?e.lng:e.lng()}function py(e,t,n){const r=yu(t,n),o=hn(null);let i,s;const a=Xt({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:uy(e.includePoints)}),l=[];let c,u;function h(e){c?e(s,i,r):l.push(e)}const f=[];function p(e){u?e():l.push(e)}const g={};function m(){const e=s.getCenter();return{scale:s.getZoom(),centerLocation:{latitude:hy(e),longitude:fy(e)}}}function v(){if(pm()){const e=[];a.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new i.Bounds(...e);s.setBounds(t)}else if(gm());else{const e=new i.LatLngBounds;a.includePoints.forEach((({latitude:t,longitude:n})=>{const r=new i.LatLng(t,n);e.extend(r)})),s.fitBounds(e)}}function y(){const t=o.value,l=dy(i,a.latitude,a.longitude),c=i.event||i.Event,h=new i.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(gm()&&(h.centerAndZoom(l,Number(e.scale)),h.enableScrollWheelZoom(),h._printLog&&h._printLog("uniapp")),dr((()=>e.scale),(e=>{h.setZoom(Number(e)||16)})),p((()=>{a.includePoints.length&&(v(),function(){const e=dy(i,a.latitude,a.longitude);s.setCenter(e)}())})),gm())h.addEventListener("click",(()=>{r("tap",{},{}),r("click",{},{})})),h.addEventListener("dragstart",(()=>{r("regionchange",{},{type:"begin",causedBy:"gesture"})})),h.addEventListener("dragend",(()=>{r("regionchange",{},d({type:"end",causedBy:"drag"},m()))}));else{const e=c.addListener(h,"bounds_changed",(()=>{e.remove(),u=!0,f.forEach((e=>e())),f.length=0}));c.addListener(h,"click",(()=>{r("tap",{},{}),r("click",{},{})})),c.addListener(h,"dragstart",(()=>{r("regionchange",{},{type:"begin",causedBy:"gesture"})})),c.addListener(h,"dragend",(()=>{r("regionchange",{},d({type:"end",causedBy:"drag"},m()))}));const t=()=>{n("update:scale",h.getZoom()),r("regionchange",{},d({type:"end",causedBy:"scale"},m()))};c.addListener(h,"zoom_changed",t),c.addListener(h,"zoomend",t),c.addListener(h,"center_changed",(()=>{const e=h.getCenter(),t=hy(e),r=fy(e);n("update:latitude",t),n("update:longitude",r)}))}return h}dr([()=>e.latitude,()=>e.longitude],(([e,t])=>{const n=Number(e),r=Number(t);if((n!==a.latitude||r!==a.longitude)&&(a.latitude=n,a.longitude=r,s)){const e=dy(i,a.latitude,a.longitude);s.setCenter(e)}})),dr((()=>e.includePoints),(e=>{a.includePoints=uy(e),u&&v()}),{deep:!0});try{!function(e,t,n,r){const o=ki().proxy;Xr((()=>{Tg(t||Eg(o),e,r),!n&&t||dr((()=>o.id),((t,n)=>{Tg(Eg(o,t),e,r),Cg(n&&Eg(o,n))}))})),Zr((()=>{Cg(t||Eg(o),r)}))}(((e,t={})=>{switch(e){case"getCenterLocation":h((()=>{const n=s.getCenter();ue(t,{latitude:hy(n),longitude:fy(n),errMsg:`${e}:ok`})}));break;case"moveToLocation":{let n=Number(t.latitude),r=Number(t.longitude);if(!n||!r){const e=g.MAP_LOCATION;e&&(n=e.state.latitude,r=e.state.longitude)}if(n&&r){if(a.latitude=n,a.longitude=r,s){const e=dy(i,n,r);s.setCenter(e)}h((()=>{ue(t,`${e}:ok`)}))}else ue(t,`${e}:fail`)}break;case"translateMarker":h((()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(r){ue(t,`${e}:fail ${r.message}`)}ue(t,`${e}:ok`)}else ue(t,`${e}:fail not found`)}));break;case"includePoints":a.includePoints=uy(t.includePoints),(u||pm())&&v(),p((()=>{ue(t,`${e}:ok`)}));break;case"getRegion":p((()=>{const n=s.getBounds(),r=n.getSouthWest(),o=n.getNorthEast();ue(t,{southwest:{latitude:hy(r),longitude:fy(r)},northeast:{latitude:hy(o),longitude:fy(o)},errMsg:`${e}:ok`})}));break;case"getScale":h((()=>{ue(t,{scale:s.getZoom(),errMsg:`${e}:ok`})}))}}),function(e){const t=kc(),n=ki().proxy,r=n.$options.name.toLowerCase(),o=e||n.id||"context"+Mg++;return Xr((()=>{n.$el.__uniContextInfo={id:o,type:r,page:t}})),`${r}.${o}`}(),!0)}catch(b){}return Xr((()=>{lm(e.libraries,(e=>{i=e,s=y(),c=!0,l.forEach((e=>e(s,i,r))),l.length=0,r("updated",{},{})}))})),Ao("onMapReady",h),Ao("addMapChidlContext",(function(e){g[e.id]=e})),Ao("removeMapChidlContext",(function(e){delete g[e.id]})),{state:a,mapRef:o,trigger:r}}const gy=gu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const r=hn(null),{mapRef:o,trigger:i}=py(e,r,t);return()=>gi("uni-map",{ref:r,id:e.id},[gi("div",{ref:o,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>gi(mm,xi({key:e.id},e),null,16))),e.polyline.map((e=>gi(bm,e,null,16))),e.circles.map((e=>gi(_m,e,null,16))),e.controls.map((e=>gi(Sm,xi(e,{trigger:i}),null,16,["trigger"]))),e.showLocation&&gi(ly,null,null),e.polygons.map((e=>gi(cy,e,null,16))),gi("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}});function vy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ci(e)}function yy(e){if(e.mode===wy.TIME)return"00:00";if(e.mode===wy.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function by(e){if(e.mode===wy.TIME)return"23:59";if(e.mode===wy.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Sy.YEAR:return t.toString();case Sy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function _y(e,t,n,r){const o=e.mode===wy.DATE?"-":":",i=e.mode===wy.DATE?t.dateArray:t.timeArray;let s;if(e.mode===wy.TIME)s=2;else switch(e.fields){case Sy.YEAR:s=1;break;case Sy.MONTH:s=2;break;default:s=3}const a=String(n).split(o);let l=[];for(let c=0;c=0&&(l=r?_y(e,t,r):l.map((()=>0))),l}const wy={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Sy={YEAR:"year",MONTH:"month",DAY:"day"},xy={PICKER:"picker",SELECT:"select"},Ey=gu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:wy.SELECTOR,validator:e=>Object.values(wy).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>yy(e)},end:{type:String,default:e=>by(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){$l();const{t:r}=Dl(),o=hn(null),i=hn(null),s=hn(null),a=hn(null),l=hn(!1),{state:c,rangeArray:u}=function(e){const t=Xt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=zi((()=>{let n=e.range;switch(e.mode){case wy.SELECTOR:return[n];case wy.MULTISELECTOR:return n;case wy.TIME:return t.timeArray;case wy.DATE:{const n=t.dateArray;switch(e.fields){case Sy.YEAR:return[n[0]];case Sy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),h=yu(o,t),{system:f,selectorTypeComputed:p,_show:m,_l10nColumn:v,_l10nItem:y,_input:b,_fixInputPosition:_,_pickerViewChange:w,_cancel:S,_change:x,_resetFormData:E,_getFormData:T,_createTime:C,_createDate:M,_setValueSync:k}=function(e,t,n,r,o,i,s){const a=function(){const e=hn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=hn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=zi((()=>{const t=e.selectorType;return Object.values(xy).includes(t)?t:a.value?xy.PICKER:xy.SELECT})),u=zi((()=>e.mode===wy.DATE&&!Object.values(Sy).includes(e.fields)&&t.isDesktop?l.value:"")),d=zi((()=>_y(e,t,e.start,yy(e)))),h=zi((()=>_y(e,t,e.end,by(e))));function f(n){if(e.disabled)return;t.valueChangeSource="";let r=o.value,i=n.currentTarget;r.remove(),(document.querySelector("uni-app")||document.body).appendChild(r),r.style.display="block";const s=i.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout((()=>{t.visible=!0}),20)}function p(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case wy.SELECTOR:t.valueSync=0;break;case wy.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case wy.DATE:case wy.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,r=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&tr&&(r=t)}return{start:n,end:r}}function b(){let e=[];const n=y();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let r=[];for(let t=1;t<=12;t++)r.push((t<10?"0":"")+t);let o=[];for(let t=1;t<=31;t++)o.push((t<10?"0":"")+t);t.dateArray.push(e,r,o)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function S(e,t){for(let n=0;na?0:s)}}break;case wy.TIME:case wy.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function E(){let n,r=t.valueSync;switch(e.mode){case wy.MULTISELECTOR:n=[...r];break;case wy.TIME:n=_y(e,t,r,ce({mode:wy.TIME}));break;case wy.DATE:n=_y(e,t,r,ce({mode:wy.DATE}));break;default:n=[r]}t.oldValueArray=[...n],t.valueArray=[...n]}function T(){let n=t.valueArray;switch(e.mode){case wy.SELECTOR:return n[0];case wy.MULTISELECTOR:return n.map((e=>e));case wy.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case wy.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){k(),t.valueChangeSource="click";const e=T();t.valueSync=g(e)?e.map((e=>e)):e,n("change",{},{value:e})}function M(e){if("firefox"===u.value&&e){const{top:n,left:r,width:o,height:i}=t.popover,{pageX:s,pageY:a}=e;if(s>r&&sn&&a{let e=o.value;e.remove(),r.value.prepend(e),e.style.display="none"}),260)}function A(){e.mode===wy.SELECTOR&&c.value===xy.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function D(e){const n=e.target;t.valueSync=n.value,Ln((()=>{C()}))}function O(e){if("chrome"===u.value){const t=r.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function I(e){t.valueArray=P(e.detail.value,!0)}function P(t,n){const{getLocale:r}=Dl();if(e.mode===wy.DATE){const o=r();if(!o.startsWith("zh"))switch(e.fields){case Sy.YEAR:return t;case Sy.MONTH:return[t[1],t[0]];default:switch(o){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function B(t,n){const{getLocale:r}=Dl();if(e.mode===wy.DATE){const o=r();if(o.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Sy.YEAR&&n===(e.fields===Sy.MONTH||"es"!==o&&"fr"!==o?0:1)){let e;switch(o){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return dr((()=>t.visible),(e=>{e?(clearTimeout(Ty),t.contentVisible=e,A()):Ty=setTimeout((()=>{t.contentVisible=e}),300)})),dr([()=>e.mode,()=>e.value,()=>e.range],x,{deep:!0}),dr((()=>t.valueSync),E,{deep:!0}),dr((()=>t.valueArray),(r=>{if(e.mode===wy.TIME||e.mode===wy.DATE){const n=e.mode===wy.TIME?_:w,r=t.valueArray,o=d.value,i=h.value;if(e.mode===wy.DATE){const e=t.dateArray,n=e[2].length,o=Number(e[2][r[2]])||1,i=new Date(`${e[0][r[0]]}/${e[1][r[1]]}/${o}`).getDate();in(i)&&S(r,i)}r.forEach(((r,o)=>{r!==t.oldValueArray[o]&&(t.oldValueArray[o]=r,e.mode===wy.MULTISELECTOR&&n("columnchange",{},{column:o,value:r}))}))})),{selectorTypeComputed:c,system:u,_show:f,_cancel:M,_change:C,_l10nColumn:P,_l10nItem:B,_input:D,_resetFormData:m,_getFormData:p,_createTime:v,_createDate:b,_setValueSync:x,_fixInputPosition:O,_pickerViewChange:I}}(e,c,h,o,i,s,a);!function(e,t,n){const{key:r,disable:o}=av();cr((()=>{o.value=!e.visible})),dr(r,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,S,x),function(e,t){const n=Do(Su,!1);if(n){const r={reset:e,submit:()=>{const e=["",null],{key:n,value:r}=t();return""!==n&&(e[0]=n,e[1]=r),e}};n.addField(r),Zr((()=>{n.removeField(r)}))}}(E,T),C(),M(),k();const A=function(e){const t=hn(0),n=hn(0),r=zi((()=>t.value>=500&&n.value>=500)),o=zi((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},o=t.content,i=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(r.value&&s){d(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width),r=a(s.top),l=a(s.height),c=e+t/2;o.transform="none !important";const u=Math.max(0,c-150);o.left=`${u}px`;let h=Math.max(12,c-u);h=Math.min(288,h),i.left=`${h}px`;const f=n.value/2;r+l-f>f-r?(o.top="auto",o.bottom=n.value-r+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(o.top=`${r+l+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Xr((()=>{const e=()=>{const{windowWidth:e,windowHeight:r,windowTop:o}=Bm();t.value=e,n.value=r+(o||0)};window.addEventListener("resize",e),e(),Qr((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:r,popupStyle:o}}(c);return cr((()=>{c.isDesktop=A.isDesktop.value,c.popupStyle=A.popupStyle.value})),Zr((()=>{i.value&&i.value.remove()})),Xr((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:h,valueArray:g,popupStyle:E,valueSync:T}=c,{rangeKey:C,mode:M,start:k,end:A}=e,D=wu(e,"disabled");return gi("uni-picker",xi({ref:o},D,{onClick:vu(m)}),[l.value?gi("div",{ref:i,class:["uni-picker-container",`uni-${M}-${p.value}`],onWheel:hc,onTouchmove:hc},[gi(Ki,{name:"uni-fade"},{default:()=>[mr(gi("div",{class:"uni-mask uni-picker-mask",onClick:vu(S),onMousemove:_},null,40,["onClick","onMousemove"]),[[as,d]])]}),f.value?null:gi("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:E.content},[gi("div",{class:"uni-picker-header",onClick:fc},[gi("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:vu(S)},[r("uni.picker.cancel")],8,["onClick"]),gi("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[r("uni.picker.done")],8,["onClick"])],8,["onClick"]),h?gi(eg,{value:v(g),class:"uni-picker-content",onChange:w},vy(t=oo(v(u.value),((e,t)=>{let n;return gi(ag,{key:t},vy(n=oo(e,((e,n)=>gi("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,gi("div",{ref:s,class:"uni-picker-select",onWheel:fc,onTouchmove:fc},[oo(u.value[0],((e,t)=>gi("div",{key:t,class:["uni-picker-item",{selected:g[0]===t}],onClick:()=>{g[0]=t,x()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),gi("div",{style:E.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,gi("div",null,[n.default&&n.default()]),f.value?gi("div",{class:"uni-picker-system",onMousemove:vu(_)},[gi("input",{class:["uni-picker-system_input",f.value],ref:a,value:T,type:M,tabindex:"-1",min:k,max:A,onChange:e=>{b(e),fc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let Ty;const Cy=d(Ul,{publishHandler(e,t,n){My.subscribeHandler(e,t,n)}}),My=d(nu,{publishHandler(e,t,n){Cy.subscribeHandler(e,t,n)}}),ky=mu({name:"PageHead",setup(){const e=hn(null),t=Ou(),n=Mv(t.navigationBar,(()=>{const e=Cv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:r,style:o}=function(e){const t=zi((()=>{const{type:t,titlePenetrate:n,shadowColorType:r}=e,o={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!r};return r&&(o[`uni-page-head-shadow-${r}`]=!0),o})),n=zi((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return gi("div",{class:"uni-page-head-btn",onClick:Dy},[Mc(Cc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&gi("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return gi("uni-page-head",{"uni-page-head-type":s},[gi("div",{ref:e,class:r.value,style:o.value},[gi("div",{class:"uni-page-head-hd"},[i]),Ay(n),gi("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function Ay(e,t){return function({type:e,loading:t,titleSize:n,titleText:r,titleImage:o}){return gi("div",{class:"uni-page-head-bd"},[gi("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?gi("i",{class:"uni-loading"},null):o?gi("img",{src:o,class:"uni-page-head__title_image"},null,8,["src"]):r],4)])}(e)}function Dy(){1===rf().length?Rh({url:"/"}):Sv({from:"backbutton",success(){}})}const Oy=mu({name:"PageBody",setup(e,t){const n=hn(null),r=hn(null);return dr((()=>false.enablePullDownRefresh),(()=>{r.value=null}),{immediate:!0}),()=>gi(Jo,null,[!1,gi("uni-page-wrapper",xi({ref:n},r.value),[gi("uni-page-body",null,[io(t.slots,"default")]),null],16)])}}),Iy=mu({name:"Page",setup(e,t){let n=Iu(Bu());const r=n.navigationBar,o={};return Gv(n),()=>gi("uni-page",{"data-page":n.route,style:o},"custom"!==r.style?[gi(ky),Py(t),null]:[Py(t),null])}});function Py(e){return ri(),li(Oy,{key:0},{default:Jn((()=>[io(e.slots,"page")])),_:3})}const By={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Md;const Ry=Object.assign({}),Ly=Object.assign;window.__uniConfig=Ly({tabBar:{position:"bottom",color:"#7A7E83",selectedColor:"#002979",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",iconPath:"/static/tabbar/calendar.png",selectedIconPath:"/static/tabbar/calendared.png",text:"职位"},{pagePath:"pages/careerfair/careerfair",iconPath:"/static/tabbar/post.png",selectedIconPath:"/static/tabbar/posted.png",text:"招聘会"},{pagePath:"pages/chat/chat",iconPath:"/static/tabbar/logo2.png",selectedIconPath:"/static/tabbar/logo2.png"},{pagePath:"pages/msglog/msglog",iconPath:"/static/tabbar/chat4.png",selectedIconPath:"/static/tabbar/chat4ed.png",text:"消息"},{pagePath:"pages/mine/mine",iconPath:"/static/tabbar/mine.png",selectedIconPath:"/static/tabbar/mined.png",text:"我的"}],backgroundColor:"#ffffff",midButton:{width:"50px",height:"50px",backgroundImage:"/static/tabbar/logo2.png"},selectedIndex:0,shown:!0},globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.56"},{appId:"__UNI__C939371",appName:"qingdao-employment-service",appVersion:"1.0.0",appVersionCode:"100",async:By,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{amap:{key:"9cfc9370bd8a941951da1cea0308e9e3",securityJsCode:"7b16386c7f744c3ca05595965f2b037f",serviceHost:""}}},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:"9cfc9370bd8a941951da1cea0308e9e3",aMapSecurityJsCode:"7b16386c7f744c3ca05595965f2b037f",aMapServiceHost:"",nvue:{"flex-direction":"column"},locale:"zh-Hans",fallbackLocale:"",locales:Object.keys(Ry).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Ly(e[n]||(e[n]={}),Ry[t].default),e}),{}),router:{mode:"hash",base:"/app/",assets:"assets",routerBase:"/app/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Ny={delay:By.delay,timeout:By.timeout,suspensible:By.suspensible};By.loading&&(Ny.loadingComponent={name:"SystemAsyncLoading",render:()=>gi(nr(By.loading))}),By.error&&(Ny.errorComponent={name:"SystemAsyncError",render:()=>gi(nr(By.error))});const $y=()=>r((()=>import("./pages-index-index.LTrfAB3w.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])).then((e=>Zg(e.default||e))),zy=Or(Ly({loader:$y},Ny)),jy=()=>r((()=>import("./pages-mine-mine.9PCOKIku.js")),__vite__mapDeps([13,14,15,16])).then((e=>Zg(e.default||e))),Vy=Or(Ly({loader:jy},Ny)),Hy=()=>r((()=>import("./pages-msglog-msglog.tuNSWP3b.js")),__vite__mapDeps([17,18])).then((e=>Zg(e.default||e))),Fy=Or(Ly({loader:Hy},Ny)),qy=()=>r((()=>import("./pages-careerfair-careerfair.DP3Hzfd9.js")),__vite__mapDeps([19,20])).then((e=>Zg(e.default||e))),Uy=Or(Ly({loader:qy},Ny)),Wy=()=>r((()=>import("./pages-login-login.D61W0GsX.js")),__vite__mapDeps([21,7,1,2,8,22])).then((e=>Zg(e.default||e))),Ky=Or(Ly({loader:Wy},Ny)),Yy=()=>r((()=>import("./pages-nearby-nearby.OgzanY0W.js")),__vite__mapDeps([23,3,1,2,4,5,6,24])).then((e=>Zg(e.default||e))),Xy=Or(Ly({loader:Yy},Ny)),Gy=()=>r((()=>import("./pages-chat-chat.DLvC_0WD.js")),__vite__mapDeps([25,11,1,2,26])).then((e=>Zg(e.default||e))),Jy=Or(Ly({loader:Gy},Ny)),Zy=()=>r((()=>import("./packageA-pages-choiceness-choiceness.BPovu6jQ.js")),__vite__mapDeps([27,28])).then((e=>Zg(e.default||e))),Qy=Or(Ly({loader:Zy},Ny)),eb=()=>r((()=>import("./packageA-pages-post-post.BjvbBnVn.js")),__vite__mapDeps([29,1,2,6,30])).then((e=>Zg(e.default||e))),tb=Or(Ly({loader:eb},Ny)),nb=()=>r((()=>import("./packageA-pages-UnitDetails-UnitDetails.CbVzUTlV.js")),__vite__mapDeps([31,1,2,6,32])).then((e=>Zg(e.default||e))),rb=Or(Ly({loader:nb},Ny)),ob=()=>r((()=>import("./packageA-pages-exhibitors-exhibitors.D5Ed1D1G.js")),__vite__mapDeps([33,1,2,34])).then((e=>Zg(e.default||e))),ib=Or(Ly({loader:ob},Ny)),sb=()=>r((()=>import("./packageA-pages-myResume-myResume.bMxWTwX3.js")),__vite__mapDeps([35,1,2,7,8,9,10,14,15,6,36])).then((e=>Zg(e.default||e))),ab=Or(Ly({loader:sb},Ny)),lb=()=>r((()=>import("./packageA-pages-Intendedposition-Intendedposition.Dd5sshob.js")),__vite__mapDeps([37,5,6,38])).then((e=>Zg(e.default||e))),cb=Or(Ly({loader:lb},Ny)),ub=()=>r((()=>import("./packageA-pages-collection-collection.Pv-V5WiH.js")),__vite__mapDeps([39,5,6,40])).then((e=>Zg(e.default||e))),db=Or(Ly({loader:ub},Ny)),hb=()=>r((()=>import("./packageA-pages-browseJob-browseJob.CL6AzOXI.js")),__vite__mapDeps([41,1,2,5,6,42])).then((e=>Zg(e.default||e))),fb=Or(Ly({loader:hb},Ny));function pb(e,t){return ri(),li(Iy,null,{page:Jn((()=>[gi(e,Ly({},t,{ref:"page"}),null,512)])),_:1})}function gb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(zy,t)}},loader:$y,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"青岛智慧就业平台",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/mine",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Vy,t)}},loader:jy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:4,navigationBar:{titleText:"我的",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/msglog/msglog",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Fy,t)}},loader:Hy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,enablePullDownRefresh:!1,navigationBar:{titleText:"消息",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/careerfair/careerfair",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Uy,t)}},loader:qy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"招聘会",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Ky,t)}},loader:Wy,meta:{navigationBar:{titleText:"登录",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/nearby/nearby",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Xy,t)}},loader:Yy,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"附近",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Jy,t)}},loader:Gy,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!1,navigationBar:{backgroundColor:"#4778EC",titleText:"AI+",style:"custom",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/choiceness/choiceness",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(Qy,t)}},loader:Zy,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"精选",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/post/post",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(tb,t)}},loader:eb,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"职位详情",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/UnitDetails/UnitDetails",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(rb,t)}},loader:nb,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"单位详情",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/exhibitors/exhibitors",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(ib,t)}},loader:ob,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"参展单位",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/myResume/myResume",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(ab,t)}},loader:sb,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"我的简历",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/Intendedposition/Intendedposition",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(cb,t)}},loader:lb,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"意向岗位",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/collection/collection",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(db,t)}},loader:ub,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"我的收藏",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packageA/pages/browseJob/browseJob",component:{setup(){const e=Yg(),t=e&&e.$route&&e.$route.query||{};return()=>pb(fb,t)}},loader:hb,meta:{navigationBar:{backgroundColor:"#4778EC",titleText:"我的浏览",type:"default",titleColor:"#ffffff"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));var mb,vb={exports:{}}; /*! For license information please see gtpush-min.js.LICENSE.txt */self,mb=()=>(()=>{var e={4736:(e,t,n)=>{var r;e=n.nmd(e);var o=function(e){var t=1e7,n=9007199254740992,r=h(n),i="0123456789abcdefghijklmnopqrstuvwxyz",s="function"==typeof BigInt;function a(e,t,n,r){return void 0===e?a[0]:void 0===t||10==+t&&!n?X(e):q(e,t,n,r)}function l(e,t){this.value=e,this.sign=t,this.isSmall=!1}function c(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function d(e){return-n0?Math.floor(e):Math.ceil(e)}function v(e,n){var r,o,i=e.length,s=n.length,a=new Array(i),l=0,c=t;for(o=0;o=c?1:0,a[o]=r-l*c;for(;o0&&a.push(l),a}function y(e,t){return e.length>=t.length?v(e,t):v(t,e)}function b(e,n){var r,o,i=e.length,s=new Array(i),a=t;for(o=0;o0;)s[o++]=n%a,n=Math.floor(n/a);return s}function _(e,n){var r,o,i=e.length,s=n.length,a=new Array(i),l=0,c=t;for(r=0;r0;)s[o++]=l%a,l=Math.floor(l/a);return s}function E(e,t){for(var n=[];t-- >0;)n.push(0);return n.concat(e)}function T(e,t){var n=Math.max(e.length,t.length);if(n<=30)return S(e,t);n=Math.ceil(n/2);var r=e.slice(n),o=e.slice(0,n),i=t.slice(n),s=t.slice(0,n),a=T(o,s),l=T(r,i),c=T(y(o,r),y(s,i)),u=y(y(a,E(_(_(c,a),l),n)),E(l,2*n));return p(u),u}function C(e,n,r){return new l(e=0;--n)o=(i=1e7*o+e[n])-(r=m(i/t))*t,a[n]=0|r;return[a,0|o]}function A(e,n){var r,o=X(n);if(s)return[new u(e.value/o.value),new u(e.value%o.value)];var i,d=e.value,v=o.value;if(0===v)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new c(m(d/v)),new c(d%v)]:[a[0],e];if(o.isSmall){if(1===v)return[e,a[0]];if(-1==v)return[e.negate(),a[0]];var y=Math.abs(v);if(y=0;o--){for(r=h-1,y[o+d]!==m&&(r=Math.floor((y[o+d]*h+y[o+d-1])/m)),i=0,s=0,l=b.length,a=0;ac&&(i=(i+1)*h),r=Math.ceil(i/s);do{if(D(a=x(n,r),d)<=0)break;r--}while(r);u.push(r),d=_(d,a)}return u.reverse(),[f(u),f(d)]}(d,v),i=r[0];var S=e.sign!==o.sign,E=r[1],T=e.sign;return"number"==typeof i?(S&&(i=-i),i=new c(i)):i=new l(i,S),"number"==typeof E?(T&&(E=-E),E=new c(E)):E=new l(E,T),[i,E]}function D(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e[n]>t[n]?1:-1;return 0}function O(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function I(e,t){for(var n,r,i,s=e.prev(),a=s,l=0;a.isEven();)a=a.divide(2),l++;e:for(r=0;r=0?r=_(e,t):(r=_(t,e),n=!n),"number"==typeof(r=f(r))?(n&&(r=-r),new c(r)):new l(r,n)}(n,r,this.sign)},l.prototype.minus=l.prototype.subtract,c.prototype.subtract=function(e){var t=X(e),n=this.value;if(n<0!==t.sign)return this.add(t.negate());var r=t.value;return t.isSmall?new c(n-r):w(r,Math.abs(n),n>=0)},c.prototype.minus=c.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-X(e).value)},u.prototype.minus=u.prototype.subtract,l.prototype.negate=function(){return new l(this.value,!this.sign)},c.prototype.negate=function(){var e=this.sign,t=new c(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},l.prototype.abs=function(){return new l(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},l.prototype.multiply=function(e){var n,r=X(e),o=this.value,i=r.value,s=this.sign!==r.sign;if(r.isSmall){if(0===i)return a[0];if(1===i)return this;if(-1===i)return this.negate();if((n=Math.abs(i))0}(o.length,i.length)?new l(T(o,i),s):new l(S(o,i),s)},l.prototype.times=l.prototype.multiply,c.prototype._multiplyBySmall=function(e){return d(e.value*this.value)?new c(e.value*this.value):C(Math.abs(e.value),h(Math.abs(this.value)),this.sign!==e.sign)},l.prototype._multiplyBySmall=function(e){return 0===e.value?a[0]:1===e.value?this:-1===e.value?this.negate():C(Math.abs(e.value),this.value,this.sign!==e.sign)},c.prototype.multiply=function(e){return X(e)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*X(e).value)},u.prototype.times=u.prototype.multiply,l.prototype.square=function(){return new l(M(this.value),!1)},c.prototype.square=function(){var e=this.value*this.value;return d(e)?new c(e):new l(M(h(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},l.prototype.divmod=function(e){var t=A(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=c.prototype.divmod=l.prototype.divmod,l.prototype.divide=function(e){return A(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/X(e).value)},c.prototype.over=c.prototype.divide=l.prototype.over=l.prototype.divide,l.prototype.mod=function(e){return A(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%X(e).value)},c.prototype.remainder=c.prototype.mod=l.prototype.remainder=l.prototype.mod,l.prototype.pow=function(e){var t,n,r,o=X(e),i=this.value,s=o.value;if(0===s)return a[1];if(0===i)return a[0];if(1===i)return a[1];if(-1===i)return o.isEven()?a[1]:a[-1];if(o.sign)return a[0];if(!o.isSmall)throw new Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&d(t=Math.pow(i,s)))return new c(m(t));for(n=this,r=a[1];!0&s&&(r=r.times(n),--s),0!==s;)s/=2,n=n.square();return r},c.prototype.pow=l.prototype.pow,u.prototype.pow=function(e){var t=X(e),n=this.value,r=t.value,o=BigInt(0),i=BigInt(1),s=BigInt(2);if(r===o)return a[1];if(n===o)return a[0];if(n===i)return a[1];if(n===BigInt(-1))return t.isEven()?a[1]:a[-1];if(t.isNegative())return new u(o);for(var l=this,c=a[1];(r&i)===i&&(c=c.times(l),--r),r!==o;)r/=s,l=l.square();return c},l.prototype.modPow=function(e,t){if(e=X(e),(t=X(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var n=a[1],r=this.mod(t);for(e.isNegative()&&(e=e.multiply(a[-1]),r=r.modInv(t));e.isPositive();){if(r.isZero())return a[0];e.isOdd()&&(n=n.multiply(r).mod(t)),e=e.divide(2),r=r.square().mod(t)}return n},u.prototype.modPow=c.prototype.modPow=l.prototype.modPow,l.prototype.compareAbs=function(e){var t=X(e),n=this.value,r=t.value;return t.isSmall?1:D(n,r)},c.prototype.compareAbs=function(e){var t=X(e),n=Math.abs(this.value),r=t.value;return t.isSmall?n===(r=Math.abs(r))?0:n>r?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,n=X(e).value;return(t=t>=0?t:-t)===(n=n>=0?n:-n)?0:t>n?1:-1},l.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=X(e),n=this.value,r=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:D(n,r)*(this.sign?-1:1)},l.prototype.compareTo=l.prototype.compare,c.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=X(e),n=this.value,r=t.value;return t.isSmall?n==r?0:n>r?1:-1:n<0!==t.sign?n<0?-1:1:n<0?1:-1},c.prototype.compareTo=c.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,n=X(e).value;return t===n?0:t>n?1:-1},u.prototype.compareTo=u.prototype.compare,l.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=c.prototype.eq=c.prototype.equals=l.prototype.eq=l.prototype.equals,l.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=l.prototype.neq=l.prototype.notEquals,l.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=c.prototype.gt=c.prototype.greater=l.prototype.gt=l.prototype.greater,l.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.lt=u.prototype.lesser=c.prototype.lt=c.prototype.lesser=l.prototype.lt=l.prototype.lesser,l.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=l.prototype.geq=l.prototype.greaterOrEquals,l.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},u.prototype.leq=u.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=l.prototype.leq=l.prototype.lesserOrEquals,l.prototype.isEven=function(){return 0==(1&this.value[0])},c.prototype.isEven=function(){return 0==(1&this.value)},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},l.prototype.isOdd=function(){return 1==(1&this.value[0])},c.prototype.isOdd=function(){return 1==(1&this.value)},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},l.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=c.prototype.isPositive,l.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=c.prototype.isNegative,l.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},l.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},l.prototype.isDivisibleBy=function(e){var t=X(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=c.prototype.isDivisibleBy=l.prototype.isDivisibleBy,l.prototype.isPrime=function(t){var n=O(this);if(n!==e)return n;var r=this.abs(),i=r.bitLength();if(i<=64)return I(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var s=Math.log(2)*i.toJSNumber(),a=Math.ceil(!0===t?2*Math.pow(s,2):s),l=[],c=0;c-n?new c(e-1):new l(r,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var P=[1];2*P[P.length-1]<=t;)P.push(2*P[P.length-1]);var B=P.length,R=P[B-1];function L(e){return Math.abs(e)<=t}function N(e,t,n){t=X(t);for(var r=e.isNegative(),i=t.isNegative(),s=r?e.not():e,a=i?t.not():t,l=0,c=0,u=null,d=null,h=[];!s.isZero()||!a.isZero();)l=(u=A(s,R))[1].toJSNumber(),r&&(l=R-1-l),c=(d=A(a,R))[1].toJSNumber(),i&&(c=R-1-c),s=u[0],a=d[0],h.push(n(l,c));for(var f=0!==n(r?1:0,i?1:0)?o(-1):o(0),p=h.length-1;p>=0;p-=1)f=f.multiply(R).add(o(h[p]));return f}l.prototype.shiftLeft=function(e){var t=X(e).toJSNumber();if(!L(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var n=this;if(n.isZero())return n;for(;t>=B;)n=n.multiply(R),t-=B-1;return n.multiply(P[t])},u.prototype.shiftLeft=c.prototype.shiftLeft=l.prototype.shiftLeft,l.prototype.shiftRight=function(e){var t,n=X(e).toJSNumber();if(!L(n))throw new Error(String(n)+" is too large for shifting.");if(n<0)return this.shiftLeft(-n);for(var r=this;n>=B;){if(r.isZero()||r.isNegative()&&r.isUnit())return r;r=(t=A(r,R))[1].isNegative()?t[0].prev():t[0],n-=B-1}return(t=A(r,P[n]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=c.prototype.shiftRight=l.prototype.shiftRight,l.prototype.not=function(){return this.negate().prev()},u.prototype.not=c.prototype.not=l.prototype.not,l.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},u.prototype.and=c.prototype.and=l.prototype.and,l.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},u.prototype.or=c.prototype.or=l.prototype.or,l.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},u.prototype.xor=c.prototype.xor=l.prototype.xor;var $=1<<30;function z(e){var n=e.value,r="number"==typeof n?n|$:"bigint"==typeof n?n|BigInt($):n[0]+n[1]*t|1073758208;return r&-r}function j(e,t){if(t.compareTo(e)<=0){var n=j(e,t.square(t)),r=n.p,i=n.e,s=r.multiply(t);return s.compareTo(e)<=0?{p:s,e:2*i+1}:{p:r,e:2*i}}return{p:o(1),e:0}}function V(e,t){return e=X(e),t=X(t),e.greater(t)?e:t}function H(e,t){return e=X(e),t=X(t),e.lesser(t)?e:t}function F(e,t){if(e=X(e).abs(),t=X(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var n,r,o=a[1];e.isEven()&&t.isEven();)n=H(z(e),z(t)),e=e.divide(n),t=t.divide(n),o=o.multiply(n);for(;e.isEven();)e=e.divide(z(e));do{for(;t.isEven();)t=t.divide(z(t));e.greater(t)&&(r=t,t=e,e=r),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}l.prototype.bitLength=function(){var e=this;return e.compareTo(o(0))<0&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0))?o(0):o(j(e,o(2)).e).add(o(1))},u.prototype.bitLength=c.prototype.bitLength=l.prototype.bitLength;var q=function(e,t,n,r){n=n||i,e=String(e),r||(e=e.toLowerCase(),n=n.toLowerCase());var o,s=e.length,a=Math.abs(t),l={};for(o=0;o=a){if("1"===d&&1===a)continue;throw new Error(d+" is not a valid digit in base "+t+".")}t=X(t);var c=[],u="-"===e[0];for(o=u?1:0;o"!==e[o]&&o=0;r--)o=o.add(e[r].times(i)),i=i.times(t);return n?o.negate():o}function W(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var r=!1;if(e.isNegative()&&t.isPositive()&&(r=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r};for(var i,s=[],a=e;a.isNegative()||a.compareAbs(t)>=0;){i=a.divmod(t),a=i.quotient;var l=i.remainder;l.isNegative()&&(l=t.minus(l).abs(),a=a.next()),s.push(l.toJSNumber())}return s.push(a.toJSNumber()),{value:s.reverse(),isNegative:r}}function K(e,t,n){var r=W(e,t);return(r.isNegative?"-":"")+r.value.map((function(e){return function(e,t){return e<(t=t||i).length?t[e]:"<"+e+">"}(e,n)})).join("")}function Y(e){if(d(+e)){var t=+e;if(t===m(t))return s?new u(BigInt(t)):new c(t);throw new Error("Invalid integer: "+e)}var n="-"===e[0];n&&(e=e.slice(1));var r=e.split(/e/i);if(r.length>2)throw new Error("Invalid integer: "+r.join("e"));if(2===r.length){var o=r[1];if("+"===o[0]&&(o=o.slice(1)),(o=+o)!==m(o)||!d(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var i=r[0],a=i.indexOf(".");if(a>=0&&(o-=i.length-a-1,i=i.slice(0,a)+i.slice(a+1)),o<0)throw new Error("Cannot include negative exponent part for integers");e=i+=new Array(o+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(s)return new u(BigInt(n?"-"+e:e));for(var h=[],f=e.length,g=f-7;f>0;)h.push(+e.slice(g,f)),(g-=7)<0&&(g=0),f-=7;return p(h),new l(h,n)}function X(e){return"number"==typeof e?function(e){if(s)return new u(BigInt(e));if(d(e)){if(e!==m(e))throw new Error(e+" is not an integer.");return new c(e)}return Y(e.toString())}(e):"string"==typeof e?Y(e):"bigint"==typeof e?new u(e):e}l.prototype.toArray=function(e){return W(this,e)},c.prototype.toArray=function(e){return W(this,e)},u.prototype.toArray=function(e){return W(this,e)},l.prototype.toString=function(t,n){if(t===e&&(t=10),10!==t)return K(this,t,n);for(var r,o=this.value,i=o.length,s=String(o[--i]);--i>=0;)r=String(o[i]),s+="0000000".slice(r.length)+r;return(this.sign?"-":"")+s},c.prototype.toString=function(t,n){return t===e&&(t=10),10!=t?K(this,t,n):String(this.value)},u.prototype.toString=c.prototype.toString,u.prototype.toJSON=l.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},l.prototype.valueOf=function(){return parseInt(this.toString(),10)},l.prototype.toJSNumber=l.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var G=0;G<1e3;G++)a[G]=X(G),G>0&&(a[-G]=X(-G));return a.one=a[1],a.zero=a[0],a.minusOne=a[-1],a.max=V,a.min=H,a.gcd=F,a.lcm=function(e,t){return e=X(e).abs(),t=X(t).abs(),e.divide(F(e,t)).multiply(t)},a.isInstance=function(e){return e instanceof l||e instanceof c||e instanceof u},a.randBetween=function(e,n,r){e=X(e),n=X(n);var o=r||Math.random,i=H(e,n),s=V(e,n).subtract(i).add(1);if(s.isSmall)return i.add(Math.floor(o()*s));for(var l=W(s,t).value,c=[],u=!0,d=0;d>>8^255&p^99,o[n]=p,i[p]=n;var g=e[n],m=e[g],v=e[m],y=257*e[p]^16843008*p;s[n]=y<<24|y>>>8,a[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,c[n]=y,y=16843009*v^65537*m^257*g^16843008*n,u[p]=y<<24|y>>>8,d[p]=y<<16|y>>>16,h[p]=y<<8|y>>>24,f[p]=y,n?(n=g^e[e[e[v^g]]],r^=e[e[r]]):n=r=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],s=0;s6&&s%n==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=p[s/n|0]<<24),i[s]=i[s-n]^c);for(var a=this._invKeySchedule=[],l=0;l>>24]]^d[o[c>>>16&255]]^h[o[c>>>8&255]]^f[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,l,c,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,f,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,s,a){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4,p=1;p>>24]^o[u>>>16&255]^i[d>>>8&255]^s[255&h]^n[f++],m=r[u>>>24]^o[d>>>16&255]^i[h>>>8&255]^s[255&c]^n[f++],v=r[d>>>24]^o[h>>>16&255]^i[c>>>8&255]^s[255&u]^n[f++],y=r[h>>>24]^o[c>>>16&255]^i[u>>>8&255]^s[255&d]^n[f++];c=g,u=m,d=v,h=y}g=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^n[f++],m=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&c])^n[f++],v=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[f++],y=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[f++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=y},keySize:8});e.AES=t._createHelper(g)}(),r.AES)},5109:function(e,t,n){var r;e.exports=(r=n(8249),n(888),void(r.lib.Cipher||function(e){var t=r,n=t.lib,o=n.Base,i=n.WordArray,s=n.BufferedBlockAlgorithm,a=t.enc;a.Utf8;var l=a.Base64,c=t.algo.EvpKDF,u=n.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:v}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()});n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=t.mode={},h=n.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),f=d.CBC=function(){var t=h.extend();function n(t,n,r){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var s=0;s>>2];e.sigBytes-=t}};n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:f,padding:p}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var g=n.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=o.extend({cfg:o.extend({format:m}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),s=o.cfg;return g.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=i.random(8));var o=c.create({keySize:t+n}).compute(e,r),s=i.create(o.words.slice(t),4*n);return o.sigBytes=4*t,g.create({key:o,iv:s,salt:r})}},b=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=o.iv;var i=v.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=o.iv,v.decrypt.call(this,e,t,o.key,r)}})}()))},8249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(2480)}catch(m){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},h=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},f=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=i/(4*s),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*l,i);if(l){for(var d=0;d>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64url={stringify:function(e,t=!0){var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l>>6*(3-l)&63));var c=o.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e,t=!0){var r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var n=e.length,r=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},888:function(e,t,n){var r,o,i,s,a,l,c,u;e.exports=(u=n(8249),n(2783),n(9824),o=(r=u).lib,i=o.Base,s=o.WordArray,a=r.algo,l=a.MD5,c=a.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,o=r.hasher.create(),i=s.create(),a=i.words,l=r.keySize,c=r.iterations;a.lengthr&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,l=s.words,c=0;c>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)},8214:function(e,t,n){var r;e.exports=(r=n(8249),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],l=e[t+1],f=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],_=e[t+9],w=e[t+10],S=e[t+11],x=e[t+12],E=e[t+13],T=e[t+14],C=e[t+15],M=i[0],k=i[1],A=i[2],D=i[3];M=c(M,k,A,D,s,7,a[0]),D=c(D,M,k,A,l,12,a[1]),A=c(A,D,M,k,f,17,a[2]),k=c(k,A,D,M,p,22,a[3]),M=c(M,k,A,D,g,7,a[4]),D=c(D,M,k,A,m,12,a[5]),A=c(A,D,M,k,v,17,a[6]),k=c(k,A,D,M,y,22,a[7]),M=c(M,k,A,D,b,7,a[8]),D=c(D,M,k,A,_,12,a[9]),A=c(A,D,M,k,w,17,a[10]),k=c(k,A,D,M,S,22,a[11]),M=c(M,k,A,D,x,7,a[12]),D=c(D,M,k,A,E,12,a[13]),A=c(A,D,M,k,T,17,a[14]),M=u(M,k=c(k,A,D,M,C,22,a[15]),A,D,l,5,a[16]),D=u(D,M,k,A,v,9,a[17]),A=u(A,D,M,k,S,14,a[18]),k=u(k,A,D,M,s,20,a[19]),M=u(M,k,A,D,m,5,a[20]),D=u(D,M,k,A,w,9,a[21]),A=u(A,D,M,k,C,14,a[22]),k=u(k,A,D,M,g,20,a[23]),M=u(M,k,A,D,_,5,a[24]),D=u(D,M,k,A,T,9,a[25]),A=u(A,D,M,k,p,14,a[26]),k=u(k,A,D,M,b,20,a[27]),M=u(M,k,A,D,E,5,a[28]),D=u(D,M,k,A,f,9,a[29]),A=u(A,D,M,k,y,14,a[30]),M=d(M,k=u(k,A,D,M,x,20,a[31]),A,D,m,4,a[32]),D=d(D,M,k,A,b,11,a[33]),A=d(A,D,M,k,S,16,a[34]),k=d(k,A,D,M,T,23,a[35]),M=d(M,k,A,D,l,4,a[36]),D=d(D,M,k,A,g,11,a[37]),A=d(A,D,M,k,y,16,a[38]),k=d(k,A,D,M,w,23,a[39]),M=d(M,k,A,D,E,4,a[40]),D=d(D,M,k,A,s,11,a[41]),A=d(A,D,M,k,p,16,a[42]),k=d(k,A,D,M,v,23,a[43]),M=d(M,k,A,D,_,4,a[44]),D=d(D,M,k,A,x,11,a[45]),A=d(A,D,M,k,C,16,a[46]),M=h(M,k=d(k,A,D,M,f,23,a[47]),A,D,s,6,a[48]),D=h(D,M,k,A,y,10,a[49]),A=h(A,D,M,k,T,15,a[50]),k=h(k,A,D,M,m,21,a[51]),M=h(M,k,A,D,x,6,a[52]),D=h(D,M,k,A,p,10,a[53]),A=h(A,D,M,k,w,15,a[54]),k=h(k,A,D,M,l,21,a[55]),M=h(M,k,A,D,b,6,a[56]),D=h(D,M,k,A,C,10,a[57]),A=h(A,D,M,k,v,15,a[58]),k=h(k,A,D,M,E,21,a[59]),M=h(M,k,A,D,g,6,a[60]),D=h(D,M,k,A,S,10,a[61]),A=h(A,D,M,k,f,15,a[62]),k=h(k,A,D,M,_,21,a[63]),i[0]=i[0]+M|0,i[1]=i[1]+k|0,i[2]=i[2]+A|0,i[3]=i[3]+D|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),s=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,o,i,s){var a=e+(t&n|~t&r)+o+s;return(a<>>32-i)+t}function u(e,t,n,r,o,i,s){var a=e+(t&r|n&~r)+o+s;return(a<>>32-i)+t}function d(e,t,n,r,o,i,s){var a=e+(t^n^r)+o+s;return(a<>>32-i)+t}function h(e,t,n,r,o,i,s){var a=e+(n^(t|~r))+o+s;return(a<>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),r.MD5)},8568:function(e,t,n){var r;e.exports=(r=n(8249),n(5109),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var s=0;s>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var o=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),n(s);var a=s.slice(0);r.encryptBlock(a,0);for(var l=0;l>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},2807:function(e,t,n){var r;e.exports=(r=n(8249),n(5109),r.pad.Iso10126={pad:function(e,t){var n=4*t,o=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(o-1)).concat(r.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},1077:function(e,t,n){var r;e.exports=(r=n(8249),n(5109),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},6991:function(e,t,n){var r;e.exports=(r=n(8249),n(5109),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},6475:function(e,t,n){var r;e.exports=(r=n(8249),n(5109),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},2112:function(e,t,n){var r,o,i,s,a,l,c,u,d;e.exports=(d=n(8249),n(2783),n(9824),o=(r=d).lib,i=o.Base,s=o.WordArray,a=r.algo,l=a.SHA1,c=a.HMAC,u=a.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=c.create(n.hasher,e),o=s.create(),i=s.create([1]),a=o.words,l=i.words,u=n.keySize,d=n.iterations;a.length>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)l.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,s=i[0],a=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;for(r[0]^=c,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=c,r[5]^=d,r[6]^=u,r[7]^=h,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,l=((o*o>>>17)+o*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),r.RabbitLegacy)},4454:function(e,t,n){var r;e.exports=(r=n(8249),n(8269),n(8214),n(888),n(5109),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=[],i=[],s=[],a=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,s=i[0],a=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;for(o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=h,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=h,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,l=((o*o>>>17)+o*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),r.Rabbit)},1857:function(e,t,n){var r;e.exports=(r=n(8249),n(8269),n(8214),n(888),n(5109),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var s=o%n,a=t[s>>>2]>>>24-s%4*8&255;i=(i+r[o]+a)%256;var l=r[o];r[o]=r[i],r[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}e.RC4=t._createHelper(o);var s=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),r.RC4)},706:function(e,t,n){var r;e.exports=(r=n(8249),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,s=t.algo,a=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=o.create([0,1518500249,1859775393,2400959708,2840853838]),h=o.create([1352829926,1548603684,1836072691,2053994217,0]),f=s.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,s,f,_,w,S,x,E,T,C,M,k=this._hash.words,A=d.words,D=h.words,O=a.words,I=l.words,P=c.words,B=u.words;for(S=i=k[0],x=s=k[1],E=f=k[2],T=_=k[3],C=w=k[4],n=0;n<80;n+=1)M=i+e[t+O[n]]|0,M+=n<16?p(s,f,_)+A[0]:n<32?g(s,f,_)+A[1]:n<48?m(s,f,_)+A[2]:n<64?v(s,f,_)+A[3]:y(s,f,_)+A[4],M=(M=b(M|=0,P[n]))+w|0,i=w,w=_,_=b(f,10),f=s,s=M,M=S+e[t+I[n]]|0,M+=n<16?y(x,E,T)+D[0]:n<32?v(x,E,T)+D[1]:n<48?m(x,E,T)+D[2]:n<64?g(x,E,T)+D[3]:p(x,E,T)+D[4],M=(M=b(M|=0,B[n]))+C|0,S=C,C=T,T=b(E,10),E=x,x=M;M=k[1]+f+T|0,k[1]=k[2]+_+C|0,k[2]=k[3]+w+S|0,k[3]=k[4]+i+x|0,k[4]=k[0]+s+E|0,k[0]=M},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function g(e,t,n){return e&t|~e&n}function m(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(f),t.HmacRIPEMD160=i._createHmacHelper(f)}(),r.RIPEMD160)},2783:function(e,t,n){var r,o,i,s,a,l,c,u;e.exports=(u=n(8249),o=(r=u).lib,i=o.WordArray,s=o.Hasher,a=r.algo,l=[],c=a.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var d=(r<<5|r>>>27)+a+l[c];d+=c<20?1518500249+(o&i|~o&s):c<40?1859775393+(o^i^s):c<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,a=s,s=i,i=o<<30|o>>>2,o=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=s._createHelper(c),r.HmacSHA1=s._createHmacHelper(c),u.SHA1)},7792:function(e,t,n){var r,o,i,s,a,l;e.exports=(l=n(8249),n(2153),o=(r=l).lib.WordArray,i=r.algo,s=i.SHA256,a=i.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=s._createHelper(a),r.HmacSHA224=s._createHmacHelper(a),l.SHA224)},2153:function(e,t,n){var r;e.exports=(r=n(8249),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,s=t.algo,a=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(a[o]=n(e.pow(r,.5))),l[o]=n(e.pow(r,1/3)),o++),r++}();var c=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],f=0;f<64;f++){if(f<16)c[f]=0|e[t+f];else{var p=c[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=c[f-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[f]=g+c[f-7]+v+c[f-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),_=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&d)+l[f]+c[f];h=d,d=u,u=a,a=s+_|0,s=i,i=o,o=r,r=_+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),r.SHA256)},3327:function(e,t,n){var r;e.exports=(r=n(8249),n(4938),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,s=t.x64.Word,a=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var a=0,d=0,h=0;h<7;h++){if(1&o){var f=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(k=n[o]).high^=s,k.low^=i}for(var a=0;a<24;a++){for(var h=0;h<5;h++){for(var f=0,p=0,g=0;g<5;g++)f^=(k=n[h+5*g]).high,p^=k.low;var m=d[h];m.high=f,m.low=p}for(h=0;h<5;h++){var v=d[(h+4)%5],y=d[(h+1)%5],b=y.high,_=y.low;for(f=v.high^(b<<1|_>>>31),p=v.low^(_<<1|b>>>31),g=0;g<5;g++)(k=n[h+5*g]).high^=f,k.low^=p}for(var w=1;w<25;w++){var S=(k=n[w]).high,x=k.low,E=l[w];E<32?(f=S<>>32-E,p=x<>>32-E):(f=x<>>64-E,p=S<>>64-E);var T=d[c[w]];T.high=f,T.low=p}var C=d[0],M=n[0];for(C.high=M.high,C.low=M.low,h=0;h<5;h++)for(g=0;g<5;g++){var k=n[w=h+5*g],A=d[w],D=d[(h+1)%5+5*g],O=d[(h+2)%5+5*g];k.high=A.high^~D.high&O.high,k.low=A.low^~D.low&O.low}k=n[0];var I=u[a];k.high^=I.high,k.low^=I.low}},_doFinalize:function(){var t=this._data,n=t.words;this._nDataBytes;var r=8*t.sigBytes,i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],u=0;u>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(h)}return new o.init(c,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=i._createHelper(h),t.HmacSHA3=i._createHmacHelper(h)}(Math),r.SHA3)},7460:function(e,t,n){var r,o,i,s,a,l,c,u;e.exports=(u=n(8249),n(4938),n(34),o=(r=u).x64,i=o.Word,s=o.WordArray,a=r.algo,l=a.SHA512,c=a.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c),u.SHA384)},34:function(e,t,n){var r;e.exports=(r=n(8249),n(4938),function(){var e=r,t=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,s=e.algo;function a(){return o.create.apply(o,arguments)}var l=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=a()}();var u=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],f=r.high,p=r.low,g=o.high,m=o.low,v=i.high,y=i.low,b=s.high,_=s.low,w=a.high,S=a.low,x=u.high,E=u.low,T=d.high,C=d.low,M=h.high,k=h.low,A=f,D=p,O=g,I=m,P=v,B=y,R=b,L=_,N=w,$=S,z=x,j=E,V=T,H=C,F=M,q=k,U=0;U<80;U++){var W,K,Y=c[U];if(U<16)K=Y.high=0|e[t+2*U],W=Y.low=0|e[t+2*U+1];else{var X=c[U-15],G=X.high,J=X.low,Z=(G>>>1|J<<31)^(G>>>8|J<<24)^G>>>7,Q=(J>>>1|G<<31)^(J>>>8|G<<24)^(J>>>7|G<<25),ee=c[U-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=c[U-7],se=ie.high,ae=ie.low,le=c[U-16],ce=le.high,ue=le.low;K=(K=(K=Z+se+((W=Q+ae)>>>0>>0?1:0))+re+((W+=oe)>>>0>>0?1:0))+ce+((W+=ue)>>>0>>0?1:0),Y.high=K,Y.low=W}var de,he=N&z^~N&V,fe=$&j^~$&H,pe=A&O^A&P^O&P,ge=D&I^D&B^I&B,me=(A>>>28|D<<4)^(A<<30|D>>>2)^(A<<25|D>>>7),ve=(D>>>28|A<<4)^(D<<30|A>>>2)^(D<<25|A>>>7),ye=(N>>>14|$<<18)^(N>>>18|$<<14)^(N<<23|$>>>9),be=($>>>14|N<<18)^($>>>18|N<<14)^($<<23|N>>>9),_e=l[U],we=_e.high,Se=_e.low,xe=F+ye+((de=q+be)>>>0>>0?1:0),Ee=ve+ge;F=V,q=H,V=z,H=j,z=N,j=$,N=R+(xe=(xe=(xe=xe+he+((de+=fe)>>>0>>0?1:0))+we+((de+=Se)>>>0>>0?1:0))+K+((de+=W)>>>0>>0?1:0))+(($=L+de|0)>>>0>>0?1:0)|0,R=P,L=B,P=O,B=I,O=A,I=D,A=xe+(me+pe+(Ee>>>0>>0?1:0))+((D=de+Ee|0)>>>0>>0?1:0)|0}p=r.low=p+D,r.high=f+A+(p>>>0>>0?1:0),m=o.low=m+I,o.high=g+O+(m>>>0>>0?1:0),y=i.low=y+B,i.high=v+P+(y>>>0>>0?1:0),_=s.low=_+L,s.high=b+R+(_>>>0>>0?1:0),S=a.low=S+$,a.high=w+N+(S>>>0<$>>>0?1:0),E=u.low=E+j,u.high=x+z+(E>>>0>>0?1:0),C=d.low=C+H,d.high=T+V+(C>>>0>>0?1:0),k=h.low=k+q,h.high=M+F+(k>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},4253:function(e,t,n){var r;e.exports=(r=n(8249),n(8269),n(8214),n(888),n(5109),function(){var e=r,t=e.lib,n=t.WordArray,o=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=s[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],u=l[i];for(n=0;n<24;n++)c[n/6|0]|=t[(a[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(a[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,l=0;l<8;l++)a|=c[l][((s^o[l])&u[l])>>>0];this._lBlock=s,this._rBlock=i^a}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(n.create(t)),this._des2=d.createEncryptor(n.create(r)),this._des3=d.createEncryptor(n.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),r.TripleDES)},4938:function(e,t,n){var r,o,i,s,a,l,c;e.exports=(c=n(8249),i=(o=c).lib,s=i.Base,a=i.WordArray,(l=o.x64={}).Word=s.extend({init:function(e,t){this.high=e,this.low=t}}),l.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCode=void 0,(n=t.ErrorCode||(t.ErrorCode={}))[n.SUCCESS=0]="SUCCESS",n[n.CLIENT_ID_NOT_FOUND=1]="CLIENT_ID_NOT_FOUND",n[n.OPERATION_TOO_OFTEN=2]="OPERATION_TOO_OFTEN",n[n.REPEAT_MESSAGE=3]="REPEAT_MESSAGE",n[n.TIME_OUT=4]="TIME_OUT"},9021:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const o=r(n(6893)),i=r(n(7555)),s=r(n(6379)),a=r(n(529));var l,c;(c=l||(l={})).setDebugMode=function(e){a.default.debugMode=e,a.default.info(`setDebugMode: ${e}`)},c.init=function(e){try{i.default.init(e)}catch(t){a.default.error("init error",t)}},c.setSocketServer=function(e){try{if(!e.url)throw new Error("invalid url");if(!e.key||!e.keyId)throw new Error("invalid key or keyId");s.default.socketUrl=e.url,s.default.publicKeyId=e.keyId,s.default.publicKey=e.key}catch(t){a.default.error("setSocketServer error",t)}},c.enableSocket=function(e){try{i.default.enableSocket(e)}catch(t){a.default.error("enableSocket error",t)}},c.getVersion=function(){return o.default.SDK_VERSION},e.exports=l},9478:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(529)),i=r(n(496)),s=r(n(3555)),a=r(n(1929)),l=r(n(4379)),c=r(n(6899)),u=r(n(776)),d=r(n(2002)),h=r(n(5807)),f=r(n(9704)),p=r(n(6545)),g=r(n(3680)),m=r(n(7706)),v=r(n(4486)),y=r(n(5867)),b=r(n(7006));var _;!function(e){let t,n,r;function _(){let e;try{"undefined"!=typeof uni?(t=new p.default,n=new g.default,r=new m.default):"undefined"!=typeof tt?(t=new d.default,n=new h.default,r=new f.default):"undefined"!=typeof my?(t=new i.default,n=new s.default,r=new a.default):"undefined"!=typeof wx?(t=new v.default,n=new y.default,r=new b.default):"undefined"!=typeof window&&(t=new l.default,n=new c.default,r=new u.default)}catch(_){o.default.error(`init am error: ${_}`),e=_}if(t&&n&&r||"undefined"!=typeof window&&(t=new l.default,n=new c.default,r=new u.default),!t||!n||!r)throw new Error(`init am error: no api impl found, ${e}`)}e.getDevice=function(){return t||_(),t},e.getStorage=function(){return n||_(),n},e.getWebSocket=function(){return r||_(),r}}(_||(_={})),t.default=_},4685:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(9478));var i,s;(s=i||(i={})).os=function(){return o.default.getDevice().os()},s.osVersion=function(){return o.default.getDevice().osVersion()},s.model=function(){return o.default.getDevice().model()},s.brand=function(){return o.default.getDevice().brand()},s.platform=function(){return o.default.getDevice().platform()},s.platformVersion=function(){return o.default.getDevice().platformVersion()},s.platformId=function(){return o.default.getDevice().platformId()},s.language=function(){return o.default.getDevice().language()},s.userAgent=function(){let e=o.default.getDevice().userAgent;return e?e():""},s.getNetworkType=function(e){o.default.getDevice().getNetworkType(e)},s.onNetworkStatusChange=function(e){o.default.getDevice().onNetworkStatusChange(e)},t.default=i},7002:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6379)),i=r(n(1386)),s=r(n(4054)),a=n(2918),l=r(n(7167)),c=r(n(529)),u=r(n(9478)),d=r(n(8506));var h;!function(e){let t,n=!1,r=!1,h=!1,f=[],p=0;function g(){return n&&r}function m(t=0){e.allowReconnect&&b()&&setTimeout((function(){v()}),t)}function v(){if(e.allowReconnect=!0,!b())return;if(!function(){var e=f.length;let t=(new Date).getTime();if(e>0)for(var n=e-1;n>=0;n--)if(t-f[n]>5e3){f.splice(0,n+1);break}return e=f.length,f.push(t),!(e>=10&&(c.default.error("connect failed, connection limit reached"),1))}())return;h=!0;let n=o.default.socketUrl;try{let e=d.default.getSync(d.default.KEY_REDIRECT_SERVER,"");if(e){let t=a.RedirectServerData.parse(e),r=t.addressList[0].split(","),o=r[0],i=Number(r[1]);(new Date).getTime()-t.time<1e3*i&&(n=o)}}catch(i){}t=u.default.getWebSocket().connect({url:n,success:function(){r=!0,y()},fail:function(){r=!1,w(),m(100)}}),t.onOpen(S),t.onClose(T),t.onError(E),t.onMessage(x)}function y(){r&&n&&(h=!1,i.default.create().send(),l.default.getInstance().start())}function b(){return o.default.networkConnected?h?(c.default.warn("connecting"),!1):!g()||(c.default.warn("already connected"),!1):(c.default.error("connect failed, network is not available"),!1)}function _(e=""){null==t||t.close({code:1e3,reason:e,success:function(e){},fail:function(e){}}),w()}function w(e){var t;r=!1,n=!1,h=!1,l.default.getInstance().cancel(),o.default.online&&(o.default.online=!1,null===(t=o.default.onlineState)||void 0===t||t.call(o.default.onlineState,{online:o.default.online}))}e.allowReconnect=!0,e.isAvailable=g,e.enableSocket=function(t){let n=(new Date).getTime();n-p<1e3?c.default.warn(`enableSocket ${t} fail: this function can only be called once a second`):(p=n,e.allowReconnect=t,t?e.reconnect(10):e.close(`enableSocket ${t}`))},e.reconnect=m,e.connect=v,e.close=_,e.send=function(e){if(!n||!n)throw new Error("socket not connect");null==t||t.send({data:e,success:function(e){},fail:function(e){}})};let S=function(e){n=!0,y()},x=function(e){try{e.data,l.default.getInstance().refresh(),s.default.receiveMessage(e.data)}catch(t){}},E=function(e){_("socket error")},T=function(e){w()}}(h||(h={})),t.default=h},8506:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(9478));var i,s;(s=i||(i={})).KEY_APPID="getui_appid",s.KEY_CID="getui_cid",s.KEY_SESSION="getui_session",s.KEY_REGID="getui_regid",s.KEY_SOCKET_URL="getui_socket_url",s.KEY_DEVICE_ID="getui_deviceid",s.KEY_ADD_PHONE_INFO_TIME="getui_api_time",s.KEY_BIND_ALIAS_TIME="getui_ba_time",s.KEY_SET_TAG_TIME="getui_st_time",s.KEY_REDIRECT_SERVER="getui_redirect_server",s.KEY_LAST_CONNECT_TIME="getui_last_connect_time",s.set=function(e){o.default.getStorage().set(e)},s.setSync=function(e,t){o.default.getStorage().setSync(e,t)},s.get=function(e){o.default.getStorage().get(e)},s.getSync=function(e,t){let n=o.default.getStorage().getSync(e);return n||t},t.default=i},496:function(e,t,n){const r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(3854));e.exports=class{constructor(){this.systemInfo=my.getSystemInfoSync()}os(){return r.default.getStr(this.systemInfo,"platform")}osVersion(){return r.default.getStr(this.systemInfo,"system")}model(){return r.default.getStr(this.systemInfo,"model")}brand(){return r.default.getStr(this.systemInfo,"brand")}platform(){return"MP-ALIPAY"}platformVersion(){return r.default.getStr(this.systemInfo,"app")+" "+r.default.getStr(this.systemInfo,"version")}platformId(){return my.getAppIdSync()}language(){return r.default.getStr(this.systemInfo,"language")}getNetworkType(e){my.getNetworkType({success:t=>{var n;null===(n=e.success)||void 0===n||n.call(e.success,{networkType:t.networkType})},fail:()=>{var t;null===(t=e.fail)||void 0===t||t.call(e.fail,"")}})}onNetworkStatusChange(e){my.onNetworkStatusChange(e)}}},3555:e=>{e.exports=class{set(e){my.setStorage({key:e.key,data:e.data,success:e.success,fail:e.fail})}setSync(e,t){my.setStorageSync({key:e,data:t})}get(e){my.getStorage({key:e.key,success:e.success,fail:e.fail,complete:e.complete})}getSync(e){return my.getStorageSync({key:e}).data}}},1929:e=>{e.exports=class{connect(e){return my.connectSocket({url:e.url,header:e.header,method:e.method,success:e.success,fail:e.fail,complete:e.complete}),{onOpen:my.onSocketOpen,send:my.sendSocketMessage,onMessage:e=>{my.onSocketMessage.call(my.onSocketMessage,(t=>{e.call(e,{data:t?t.data:""})}))},onError:my.onSocketError,onClose:my.onSocketClose,close:my.closeSocket}}}},4379:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{os(){let e=window.navigator.userAgent.toLowerCase();return e.indexOf("android")>0||e.indexOf("adr")>0?"android":e.match(/\(i[^;]+;( u;)? cpu.+mac os x/)?"ios":e.indexOf("windows")>0||e.indexOf("win32")>0||e.indexOf("win64")>0?"windows":e.indexOf("macintosh")>0||e.indexOf("mac os")>0?"mac os":e.indexOf("linux")>0||e.indexOf("unix")>0?"linux":"other"}osVersion(){let e=window.navigator.userAgent.toLowerCase(),t=e.substring(e.indexOf(";")+1).trim();return t.indexOf(";")>0?t.substring(0,t.indexOf(";")).trim():t.substring(0,t.indexOf(")")).trim()}model(){return""}brand(){return""}platform(){return"H5"}platformVersion(){return""}platformId(){return""}language(){return window.navigator.language}userAgent(){return window.navigator.userAgent}getNetworkType(e){var t;null===(t=e.success)||void 0===t||t.call(e.success,{networkType:window.navigator.onLine?"unknown":"none"})}onNetworkStatusChange(e){}}},6899:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{set(e){var t;window.localStorage.setItem(e.key,e.data),null===(t=e.success)||void 0===t||t.call(e.success,"")}setSync(e,t){window.localStorage.setItem(e,t)}get(e){var t;let n=window.localStorage.getItem(e.key);null===(t=e.success)||void 0===t||t.call(e.success,n)}getSync(e){return window.localStorage.getItem(e)}}},776:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{connect(e){let t=new WebSocket(e.url);return{send:e=>{var n,r;try{t.send(e.data),null===(n=e.success)||void 0===n||n.call(e.success,{errMsg:""})}catch(o){null===(r=e.fail)||void 0===r||r.call(e.fail,{errMsg:o+""})}},close:e=>{var n,r;try{t.close(e.code,e.reason),null===(n=e.success)||void 0===n||n.call(e.success,{errMsg:""})}catch(o){null===(r=e.fail)||void 0===r||r.call(e.fail,{errMsg:o+""})}},onOpen:n=>{t.onopen=t=>{var r;null===(r=e.success)||void 0===r||r.call(e.success,""),n({header:""})}},onError:n=>{t.onerror=t=>{var r;null===(r=e.fail)||void 0===r||r.call(e.fail,""),n({errMsg:""})}},onMessage:e=>{t.onmessage=t=>{e({data:t.data})}},onClose:e=>{t.onclose=t=>{e(t)}}}}}},2002:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(3854));t.default=class{constructor(){this.systemInfo=tt.getSystemInfoSync()}os(){return o.default.getStr(this.systemInfo,"platform")}osVersion(){return o.default.getStr(this.systemInfo,"system")}model(){return o.default.getStr(this.systemInfo,"model")}brand(){return o.default.getStr(this.systemInfo,"brand")}platform(){return"MP-TOUTIAO"}platformVersion(){return o.default.getStr(this.systemInfo,"appName")+" "+o.default.getStr(this.systemInfo,"version")}language(){return""}platformId(){return""}getNetworkType(e){tt.getNetworkType(e)}onNetworkStatusChange(e){tt.onNetworkStatusChange(e)}}},5807:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{set(e){tt.setStorage(e)}setSync(e,t){tt.setStorageSync(e,t)}get(e){tt.getStorage(e)}getSync(e){return tt.getStorageSync(e)}}},9704:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{connect(e){let t=tt.connectSocket({url:e.url,header:e.header,protocols:e.protocols,success:e.success,fail:e.fail,complete:e.complete});return{onOpen:t.onOpen,send:t.send,onMessage:t.onMessage,onError:t.onError,onClose:t.onClose,close:t.close}}}},6545:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(3854));t.default=class{constructor(){try{this.systemInfo=Bm(),this.accountInfo=uni.getAccountInfoSync()}catch(e){}}os(){return o.default.getStr(this.systemInfo,"platform")}model(){return o.default.getStr(this.systemInfo,"model")}brand(){return o.default.getStr(this.systemInfo,"brand")}osVersion(){return o.default.getStr(this.systemInfo,"system")}platform(){let e="";return e="H5","H5"}platformVersion(){return this.systemInfo?this.systemInfo.version:""}platformId(){return this.accountInfo?this.accountInfo.miniProgram.appId:""}language(){var e;return(null===(e=this.systemInfo)||void 0===e?void 0:e.language)?this.systemInfo.language:""}userAgent(){return window?window.navigator.userAgent:""}getNetworkType(e){zm(e)}onNetworkStatusChange(e){$m(e)}}},3680:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{set(e){Km(e)}setSync(e,t){Wm(e,t)}get(e){Gm(e)}getSync(e){return Xm(e)}}},7706:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{connect(e){let t=_v(e);return{send:e=>{null==t||t.send(e)},close:e=>{null==t||t.close(e)},onOpen:e=>{null==t||t.onOpen(e)},onError:e=>{null==t||t.onError(e)},onMessage:e=>{null==t||t.onMessage(e)},onClose:e=>{null==t||t.onClose(e)}}}}},4486:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(3854));t.default=class{constructor(){this.systemInfo=Bm()}os(){return o.default.getStr(this.systemInfo,"platform")}osVersion(){return o.default.getStr(this.systemInfo,"system")}model(){return o.default.getStr(this.systemInfo,"model")}brand(){return o.default.getStr(this.systemInfo,"brand")}platform(){return"MP-WEIXIN"}platformVersion(){return o.default.getStr(this.systemInfo,"version")}language(){return o.default.getStr(this.systemInfo,"language")}platformId(){return Wh("getAccountInfoSync")?wx.getAccountInfoSync().miniProgram.appId:""}getNetworkType(e){zm({success:t=>{var n;null===(n=e.success)||void 0===n||n.call(e.success,{networkType:t.networkType})},fail:e.fail})}onNetworkStatusChange(e){$m(e)}}},5867:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{set(e){Km(e)}setSync(e,t){Wm(e,t)}get(e){Gm(e)}getSync(e){return Xm(e)}}},7006:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{connect(e){let t=_v({url:e.url,header:e.header,protocols:e.protocols,success:e.success,fail:e.fail,complete:e.complete});return{onOpen:t.onOpen,send:t.send,onMessage:t.onMessage,onError:t.onError,onClose:t.onClose,close:t.close}}}},6893:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),(r=n||(n={})).SDK_VERSION="GTMP-2.0.4.dcloud",r.DEFAULT_SOCKET_URL="wss://wshzn.gepush.com:5223/nws",r.SOCKET_PROTOCOL_VERSION="1.0",r.SERVER_PUBLIC_KEY="MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAJp1rROuvBF7sBSnvLaesj2iFhMcY8aXyLvpnNLKs2wjL3JmEnyr++SlVa35liUlzi83tnAFkn3A9GB7pHBNzawyUkBh8WUhq5bnFIkk2RaDa6+5MpG84DEv52p7RR+aWwIDAQAB",r.SERVER_PUBLIC_KEY_ID="69d747c4b9f641baf4004be4297e9f3b",r.ID_U_2_G=!0,t.default=n},7555:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(7002)),i=r(n(529)),s=r(n(6379));class a{static init(e){var t;if(!this.inited)try{this.checkAppid(e.appid),this.inited=!0,i.default.info(`init: appid=${e.appid}`),s.default.init(e),o.default.connect()}catch(n){throw this.inited=!1,null===(t=e.onError)||void 0===t||t.call(e.onError,{error:n}),n}}static enableSocket(e){this.checkInit(),o.default.enableSocket(e)}static checkInit(){if(!this.inited)throw new Error("not init, please invoke init method firstly")}static checkAppid(e){if(null==e||null==e||""==e.trim())throw new Error(`invalid appid ${e}`)}}a.inited=!1,t.default=a},6379:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6667)),i=r(n(8506)),s=r(n(6893)),a=r(n(7002)),l=r(n(529)),c=r(n(4685)),u=r(n(2323));class d{static init(e){var t;s.default.ID_U_2_G?this.appid=u.default.to_getui(e.appid):this.appid=e.appid,this.onError=e.onError,this.onClientId=e.onClientId,this.onlineState=e.onlineState,this.onPushMsg=e.onPushMsg,this.appid!=i.default.getSync(i.default.KEY_APPID,this.appid)&&(l.default.info("appid changed, clear session and cid"),i.default.setSync(i.default.KEY_CID,""),i.default.setSync(i.default.KEY_SESSION,"")),i.default.setSync(i.default.KEY_APPID,this.appid),this.cid=i.default.getSync(i.default.KEY_CID,this.cid),this.cid&&(null===(t=this.onClientId)||void 0===t||t.call(this.onClientId,{cid:d.cid})),this.session=i.default.getSync(i.default.KEY_SESSION,this.session),this.deviceId=i.default.getSync(i.default.KEY_DEVICE_ID,this.deviceId),this.regId=i.default.getSync(i.default.KEY_REGID,this.regId),this.regId||(this.regId=this.createRegId(),i.default.set({key:i.default.KEY_REGID,data:this.regId})),this.socketUrl=i.default.getSync(i.default.KEY_SOCKET_URL,this.socketUrl);let n=this;c.default.getNetworkType({success:e=>{n.networkType=e.networkType,n.networkConnected="none"!=n.networkType&&""!=n.networkType}}),c.default.onNetworkStatusChange((e=>{n.networkConnected=e.isConnected,n.networkType=e.networkType,n.networkConnected&&a.default.reconnect(100)}))}static createRegId(){return`M-V${o.default.md5Hex(this.getUuid())}-${(new Date).getTime()}`}static getUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}}d.appid="",d.cid="",d.regId="",d.session="",d.deviceId="",d.packetId=1,d.online=!1,d.socketUrl=s.default.DEFAULT_SOCKET_URL,d.publicKeyId=s.default.SERVER_PUBLIC_KEY_ID,d.publicKey=s.default.SERVER_PUBLIC_KEY,d.lastAliasTime=0,d.networkConnected=!0,d.networkType="none",t.default=d},9586:function(e,t,n){var r,o,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(661)),a=n(4198),l=i(n(6379));class c extends s.default{constructor(){super(...arguments),this.actionMsgData=new u}static initActionMsg(e,...t){return super.initMsg(e),e.command=s.default.Command.CLIENT_MSG,e.data=e.actionMsgData=u.create(),e}static parseActionMsg(e,t){return super.parseMsg(e,t),e.actionMsgData=u.parse(e.data),e}send(){setTimeout((()=>{var e;(c.waitingLoginMsgMap.has(this.actionMsgData.msgId)||c.waitingResponseMsgMap.has(this.actionMsgData.msgId))&&(c.waitingLoginMsgMap.delete(this.actionMsgData.msgId),c.waitingResponseMsgMap.delete(this.actionMsgData.msgId),null===(e=this.callback)||void 0===e||e.call(this.callback,{resultCode:a.ErrorCode.TIME_OUT,message:"waiting time out"}))}),1e4),l.default.online?(this.actionMsgData.msgAction!=c.ClientAction.RECEIVED&&c.waitingResponseMsgMap.set(this.actionMsgData.msgId,this),super.send()):c.waitingLoginMsgMap.set(this.actionMsgData.msgId,this)}receive(){}static sendWaitingMessages(){let e,t=this.waitingLoginMsgMap.keys();for(;e=t.next(),!e.done;){let t=this.waitingLoginMsgMap.get(e.value);this.waitingLoginMsgMap.delete(e.value),null==t||t.send()}}static getWaitingResponseMessage(e){return c.waitingResponseMsgMap.get(e)}static removeWaitingResponseMessage(e){let t=c.waitingResponseMsgMap.get(e);return t&&c.waitingResponseMsgMap.delete(e),t}}c.ServerAction=((r=class{}).PUSH_MESSAGE="pushmessage",r.REDIRECT_SERVER="redirect_server",r.ADD_PHONE_INFO_RESULT="addphoneinfo",r.SET_MODE_RESULT="set_mode_result",r.SET_TAG_RESULT="settag_result",r.BIND_ALIAS_RESULT="response_bind",r.UNBIND_ALIAS_RESULT="response_unbind",r.FEED_BACK_RESULT="pushmessage_feedback",r.RECEIVED="received",r),c.ClientAction=((o=class{}).ADD_PHONE_INFO="addphoneinfo",o.SET_MODE="set_mode",o.FEED_BACK="pushmessage_feedback",o.SET_TAGS="set_tag",o.BIND_ALIAS="bind_alias",o.UNBIND_ALIAS="unbind_alias",o.RECEIVED="received",o),c.waitingLoginMsgMap=new Map,c.waitingResponseMsgMap=new Map;class u{constructor(){this.appId="",this.cid="",this.msgId="",this.msgAction="",this.msgData="",this.msgExtraData=""}static create(){let e=new u;return e.appId=l.default.appid,e.cid=l.default.cid,e.msgId=(2147483647&(new Date).getTime()).toString(),e}static parse(e){let t=new u,n=JSON.parse(e);return t.appId=n.appId,t.cid=n.cid,t.msgId=n.msgId,t.msgAction=n.msgAction,t.msgData=n.msgData,t.msgExtraData=n.msgExtraData,t}}t.default=c},4516:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4685)),i=r(n(8506)),s=r(n(6893)),a=n(4198),l=r(n(9586)),c=r(n(6379));class u extends l.default{constructor(){super(...arguments),this.addPhoneInfoData=new d}static create(){let e=new u;return super.initActionMsg(e),e.callback=t=>{t.resultCode!=a.ErrorCode.SUCCESS&&t.resultCode!=a.ErrorCode.REPEAT_MESSAGE?setTimeout((function(){e.send()}),3e4):i.default.set({key:i.default.KEY_ADD_PHONE_INFO_TIME,data:(new Date).getTime()})},e.actionMsgData.msgAction=l.default.ClientAction.ADD_PHONE_INFO,e.addPhoneInfoData=d.create(),e.actionMsgData.msgData=JSON.stringify(e.addPhoneInfoData),e}send(){(new Date).getTime()-i.default.getSync(i.default.KEY_ADD_PHONE_INFO_TIME,0)<864e5||super.send()}}class d{constructor(){this.model="",this.brand="",this.system_version="",this.version="",this.deviceid="",this.type=""}static create(){let e=new d;return e.model=o.default.model(),e.brand=o.default.brand(),e.system_version=o.default.osVersion(),e.version=s.default.SDK_VERSION,e.device_token="",e.imei="",e.oaid="",e.mac="",e.idfa="",e.type="MINIPROGRAM",e.deviceid=`${e.type}-${c.default.deviceId}`,e.extra={os:o.default.os(),platform:o.default.platform(),platformVersion:o.default.platformVersion(),platformId:o.default.platformId(),language:o.default.language(),userAgent:o.default.userAgent()},e}}t.default=u},8723:function(e,t,n){var r,o,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(6379)),a=n(4198),l=i(n(9586));class c extends l.default{constructor(){super(...arguments),this.feedbackData=new u}static create(e,t){let n=new c;return super.initActionMsg(n),n.callback=e=>{e.resultCode!=a.ErrorCode.SUCCESS&&e.resultCode!=a.ErrorCode.REPEAT_MESSAGE&&setTimeout((function(){n.send()}),3e4)},n.feedbackData=u.create(e,t),n.actionMsgData.msgAction=l.default.ClientAction.FEED_BACK,n.actionMsgData.msgData=JSON.stringify(n.feedbackData),n}send(){super.send()}}c.ActionId=((r=class{}).RECEIVE="0",r.MP_RECEIVE="210000",r.WEB_RECEIVE="220000",r.BEGIN="1",r),c.RESULT=((o=class{}).OK="ok",o);class u{constructor(){this.messageid="",this.appkey="",this.appid="",this.taskid="",this.actionid="",this.result="",this.timestamp=""}static create(e,t){let n=new u;return n.messageid=e.pushMessageData.messageid,n.appkey=e.pushMessageData.appKey,n.appid=s.default.appid,n.taskid=e.pushMessageData.taskId,n.actionid=t,n.result=c.RESULT.OK,n.timestamp=(new Date).getTime().toString(),n}}t.default=c},6362:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(661));class i extends o.default{static create(){let e=new i;return super.initMsg(e),e.command=o.default.Command.HEART_BEAT,e}}t.default=i},1386:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6667)),i=r(n(6379)),s=r(n(661));class a extends s.default{constructor(){super(...arguments),this.keyNegotiateData=new l}static create(){let e=new a;return super.initMsg(e),e.command=s.default.Command.KEY_NEGOTIATE,o.default.resetKey(),e.data=e.keyNegotiateData=l.create(),e}send(){super.send()}}class l{constructor(){this.appId="",this.rsaPublicKeyId="",this.algorithm="",this.secretKey="",this.iv=""}static create(){let e=new l;return e.appId=i.default.appid,e.rsaPublicKeyId=i.default.publicKeyId,e.algorithm="AES",e.secretKey=o.default.getEncryptedSecretKey(),e.iv=o.default.getEncryptedIV(),e}}t.default=a},1280:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(661)),i=r(n(6667)),s=r(n(8858)),a=r(n(529)),l=r(n(6379));class c extends o.default{constructor(){super(...arguments),this.keyNegotiateResultData=new u}static parse(e){let t=new c;return super.parseMsg(t,e),t.keyNegotiateResultData=u.parse(t.data),t}receive(){var e,t;if(0!=this.keyNegotiateResultData.errorCode)return a.default.error(`key negotiate fail: ${this.data}`),void(null===(e=l.default.onError)||void 0===e||e.call(l.default.onError,{error:`key negotiate fail: ${this.data}`}));let n=this.keyNegotiateResultData.encryptType.split("/");if(!i.default.algorithmMap.has(n[0].trim().toLowerCase())||!i.default.modeMap.has(n[1].trim().toLowerCase())||!i.default.paddingMap.has(n[2].trim().toLowerCase()))return a.default.error(`key negotiate fail: ${this.data}`),void(null===(t=l.default.onError)||void 0===t||t.call(l.default.onError,{error:`key negotiate fail: ${this.data}`}));i.default.setEncryptParams(n[0].trim().toLowerCase(),n[1].trim().toLowerCase(),n[2].trim().toLowerCase()),s.default.create().send()}}class u{constructor(){this.errorCode=-1,this.errorMsg="",this.encryptType=""}static parse(e){let t=new u,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t.encryptType=n.encryptType,t}}t.default=c},8858:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6379)),i=r(n(6667)),s=r(n(661)),a=r(n(4534));class l extends s.default{constructor(){super(...arguments),this.loginData=new c}static create(){let e=new l;return super.initMsg(e),e.command=s.default.Command.LOGIN,e.data=e.loginData=c.create(),e}send(){this.loginData.session&&o.default.cid==i.default.md5Hex(this.loginData.session)?super.send():a.default.create().send()}}class c{constructor(){this.appId="",this.session=""}static create(){let e=new c;return e.appId=o.default.appid,e.session=o.default.session,e}}t.default=l},1606:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(8506)),i=r(n(661)),s=r(n(6379)),a=r(n(9586)),l=r(n(4516)),c=r(n(8858));class u extends i.default{constructor(){super(...arguments),this.loginResultData=new d}static parse(e){let t=new u;return super.parseMsg(t,e),t.loginResultData=d.parse(t.data),t}receive(){var e;if(0!=this.loginResultData.errorCode)return this.data,s.default.session=s.default.cid="",o.default.setSync(o.default.KEY_CID,""),o.default.setSync(o.default.KEY_SESSION,""),void c.default.create().send();s.default.online||(s.default.online=!0,null===(e=s.default.onlineState)||void 0===e||e.call(s.default.onlineState,{online:s.default.online})),a.default.sendWaitingMessages(),l.default.create().send()}}class d{constructor(){this.errorCode=-1,this.errorMsg="",this.session=""}static parse(e){let t=new d,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t.session=n.session,t}}t.default=u},661:function(e,t,n){var r,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=o(n(9593)),s=o(n(7002)),a=o(n(6893)),l=o(n(6379));class c{constructor(){this.version="",this.command=0,this.packetId=0,this.timeStamp=0,this.data="",this.signature=""}static initMsg(e,...t){return e.version=a.default.SOCKET_PROTOCOL_VERSION,e.command=0,e.timeStamp=(new Date).getTime(),e}static parseMsg(e,t){let n=JSON.parse(t);return e.version=n.version,e.command=n.command,e.packetId=n.packetId,e.timeStamp=n.timeStamp,e.data=n.data,e.signature=n.signature,e}stringify(){return JSON.stringify(this,["version","command","packetId","timeStamp","data","signature"])}send(){s.default.isAvailable()&&(this.packetId=l.default.packetId++,this.temp?this.data=this.temp:this.temp=this.data,this.data=JSON.stringify(this.data),this.stringify(),this.command!=c.Command.HEART_BEAT&&(i.default.sign(this),this.data&&this.command!=c.Command.KEY_NEGOTIATE&&i.default.encrypt(this)),s.default.send(this.stringify()))}}c.Command=((r=class{}).HEART_BEAT=0,r.KEY_NEGOTIATE=1,r.KEY_NEGOTIATE_RESULT=16,r.REGISTER=2,r.REGISTER_RESULT=32,r.LOGIN=3,r.LOGIN_RESULT=48,r.LOGOUT=4,r.LOGOUT_RESULT=64,r.CLIENT_MSG=5,r.SERVER_MSG=80,r.SERVER_CLOSE=96,r.REDIRECT_SERVER=112,r),t.default=c},9593:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6667));var i,s;(s=i||(i={})).encrypt=function(e){e.data=o.default.encrypt(e.data)},s.decrypt=function(e){e.data=o.default.decrypt(e.data)},s.sign=function(e){e.signature=o.default.sha256(`${e.timeStamp}${e.packetId}${e.command}${e.data}`)},s.verify=function(e){let t=o.default.sha256(`${e.timeStamp}${e.packetId}${e.command}${e.data}`);if(e.signature!=t)throw new Error("msg signature vierfy failed")},t.default=i},4054:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(1280)),i=r(n(1606)),s=r(n(661)),a=r(n(1277)),l=r(n(910)),c=r(n(9538)),u=r(n(9479)),d=r(n(6755)),h=r(n(2918)),f=r(n(9586)),p=r(n(9510)),g=r(n(4626)),m=r(n(7562)),v=r(n(9593)),y=r(n(9586)),b=r(n(9519)),_=r(n(8947));t.default=class{static receiveMessage(e){let t=s.default.parseMsg(new s.default,e);if(t.command!=s.default.Command.HEART_BEAT)switch(t.command!=s.default.Command.KEY_NEGOTIATE_RESULT&&t.command!=s.default.Command.SERVER_CLOSE&&t.command!=s.default.Command.REDIRECT_SERVER&&v.default.decrypt(t),t.command!=s.default.Command.SERVER_CLOSE&&t.command!=s.default.Command.REDIRECT_SERVER&&v.default.verify(t),t.command){case s.default.Command.KEY_NEGOTIATE_RESULT:o.default.parse(t.stringify()).receive();break;case s.default.Command.REGISTER_RESULT:a.default.parse(t.stringify()).receive();break;case s.default.Command.LOGIN_RESULT:i.default.parse(t.stringify()).receive();break;case s.default.Command.SERVER_MSG:this.receiveActionMsg(t.stringify());break;case s.default.Command.SERVER_CLOSE:_.default.parse(t.stringify()).receive();break;case s.default.Command.REDIRECT_SERVER:h.default.parse(t.stringify()).receive()}}static receiveActionMsg(e){let t=y.default.parseActionMsg(new y.default,e);if(t.actionMsgData.msgAction!=f.default.ServerAction.RECEIVED&&t.actionMsgData.msgAction!=f.default.ServerAction.REDIRECT_SERVER){let e=JSON.parse(t.actionMsgData.msgData);b.default.create(e.id).send()}switch(t.actionMsgData.msgAction){case f.default.ServerAction.PUSH_MESSAGE:d.default.parse(e).receive();break;case f.default.ServerAction.ADD_PHONE_INFO_RESULT:l.default.parse(e).receive();break;case f.default.ServerAction.SET_MODE_RESULT:p.default.parse(e).receive();break;case f.default.ServerAction.SET_TAG_RESULT:g.default.parse(e).receive();break;case f.default.ServerAction.BIND_ALIAS_RESULT:c.default.parse(e).receive();break;case f.default.ServerAction.UNBIND_ALIAS_RESULT:m.default.parse(e).receive();break;case f.default.ServerAction.FEED_BACK_RESULT:u.default.parse(e).receive();break;case f.default.ServerAction.RECEIVED:b.default.parse(e).receive()}}}},9519:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(4198),i=r(n(6379)),s=r(n(9586));class a extends s.default{constructor(){super(...arguments),this.receivedData=new l}static create(e){let t=new a;return super.initActionMsg(t),t.callback=e=>{e.resultCode!=o.ErrorCode.SUCCESS&&e.resultCode!=o.ErrorCode.REPEAT_MESSAGE&&setTimeout((function(){t.send()}),3e3)},t.actionMsgData.msgAction=s.default.ClientAction.RECEIVED,t.receivedData=l.create(e),t.actionMsgData.msgData=JSON.stringify(t.receivedData),t}static parse(e){let t=new a;return super.parseActionMsg(t,e),t.receivedData=l.parse(t.data),t}receive(){var e;let t=s.default.getWaitingResponseMessage(this.actionMsgData.msgId);(t&&t.actionMsgData.msgAction==s.default.ClientAction.ADD_PHONE_INFO||t&&t.actionMsgData.msgAction==s.default.ClientAction.FEED_BACK)&&(s.default.removeWaitingResponseMessage(t.actionMsgData.msgId),null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:o.ErrorCode.SUCCESS,message:"received"}))}send(){super.send()}}class l{constructor(){this.msgId="",this.cid=""}static create(e){let t=new l;return t.cid=i.default.cid,t.msgId=e,t}static parse(e){let t=new l,n=JSON.parse(e);return t.cid=n.cid,t.msgId=n.msgId,t}}t.default=a},2918:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectServerData=void 0;const o=r(n(7002)),i=r(n(8506)),s=r(n(661));class a extends s.default{constructor(){super(...arguments),this.redirectServerData=new l}static parse(e){let t=new a;return super.parseMsg(t,e),t.redirectServerData=l.parse(t.data),t}receive(){this.redirectServerData,i.default.setSync(i.default.KEY_REDIRECT_SERVER,JSON.stringify(this.redirectServerData)),o.default.close("redirect server"),o.default.reconnect(this.redirectServerData.delay)}}class l{constructor(){this.addressList=[],this.delay=0,this.loc="",this.conf="",this.time=0}static parse(e){let t=new l,n=JSON.parse(e);return t.addressList=n.addressList,t.delay=n.delay,t.loc=n.loc,t.conf=n.conf,t.time=n.time?n.time:(new Date).getTime(),t}}t.RedirectServerData=l,t.default=a},4534:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(6379)),i=r(n(661));class s extends i.default{constructor(){super(...arguments),this.registerData=new a}static create(){let e=new s;return super.initMsg(e),e.command=i.default.Command.REGISTER,e.data=e.registerData=a.create(),e}send(){super.send()}}class a{constructor(){this.appId="",this.regId=""}static create(){let e=new a;return e.appId=o.default.appid,e.regId=o.default.regId,e}}t.default=s},1277:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(661)),i=r(n(8506)),s=r(n(6379)),a=r(n(8858)),l=r(n(529));class c extends o.default{constructor(){super(...arguments),this.registerResultData=new u}static parse(e){let t=new c;return super.parseMsg(t,e),t.registerResultData=u.parse(t.data),t}receive(){var e,t;if(0!=this.registerResultData.errorCode||!this.registerResultData.cid||!this.registerResultData.session)return l.default.error(`register fail: ${this.data}`),void(null===(e=s.default.onError)||void 0===e||e.call(s.default.onError,{error:`register fail: ${this.data}`}));s.default.cid!=this.registerResultData.cid&&i.default.setSync(i.default.KEY_ADD_PHONE_INFO_TIME,0),s.default.cid=this.registerResultData.cid,null===(t=s.default.onClientId)||void 0===t||t.call(s.default.onClientId,{cid:s.default.cid}),i.default.set({key:i.default.KEY_CID,data:s.default.cid}),s.default.session=this.registerResultData.session,i.default.set({key:i.default.KEY_SESSION,data:s.default.session}),s.default.deviceId=this.registerResultData.deviceId,i.default.set({key:i.default.KEY_DEVICE_ID,data:s.default.deviceId}),a.default.create().send()}}class u{constructor(){this.errorCode=-1,this.errorMsg="",this.cid="",this.session="",this.deviceId="",this.regId=""}static parse(e){let t=new u,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t.cid=n.cid,t.session=n.session,t.deviceId=n.deviceId,t.regId=n.regId,t}}t.default=c},8947:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(7002)),i=r(n(529)),s=r(n(661));class a extends s.default{constructor(){super(...arguments),this.serverCloseData=new l}static parse(e){let t=new a;return super.parseMsg(t,e),t.serverCloseData=l.parse(t.data),t}receive(){JSON.stringify(this.serverCloseData);let e=`server close ${this.serverCloseData.code}`;20==this.serverCloseData.code||23==this.serverCloseData.code||24==this.serverCloseData.code?(o.default.allowReconnect=!1,o.default.close(e)):21==this.serverCloseData.code?this.safeClose21(e):(o.default.allowReconnect=!0,o.default.close(e),o.default.reconnect(10))}safeClose21(e){try{if("undefined"!=typeof document&&document.hasFocus()&&"visible"==document.visibilityState)return o.default.allowReconnect=!0,o.default.close(e),void o.default.reconnect(10);o.default.allowReconnect=!1,o.default.close(e)}catch(t){i.default.error("ServerClose t1",t),o.default.allowReconnect=!1,o.default.close(`${e} error`)}}}class l{constructor(){this.code=-1,this.msg=""}static parse(e){let t=new l,n=JSON.parse(e);return t.code=n.code,t.msg=n.msg,t}}t.default=a},910:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(8506)),i=r(n(9586));class s extends i.default{constructor(){super(...arguments),this.addPhoneInfoResultData=new a}static parse(e){let t=new s;return super.parseActionMsg(t,e),t.addPhoneInfoResultData=a.parse(t.actionMsgData.msgData),t}receive(){var e;this.addPhoneInfoResultData;let t=i.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:this.addPhoneInfoResultData.errorCode,message:this.addPhoneInfoResultData.errorMsg})),o.default.set({key:o.default.KEY_ADD_PHONE_INFO_TIME,data:(new Date).getTime()})}}class a{constructor(){this.errorCode=-1,this.errorMsg=""}static parse(e){let t=new a,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t}}t.default=s},9538:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(8506)),i=r(n(529)),s=r(n(9586));class a extends s.default{constructor(){super(...arguments),this.bindAliasResultData=new l}static parse(e){let t=new a;return super.parseActionMsg(t,e),t.bindAliasResultData=l.parse(t.actionMsgData.msgData),t}receive(){var e;i.default.info("bind alias result",this.bindAliasResultData);let t=s.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:this.bindAliasResultData.errorCode,message:this.bindAliasResultData.errorMsg})),o.default.set({key:o.default.KEY_BIND_ALIAS_TIME,data:(new Date).getTime()})}}class l{constructor(){this.errorCode=-1,this.errorMsg=""}static parse(e){let t=new l,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t}}t.default=a},9479:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(4198),i=r(n(9586));class s extends i.default{constructor(){super(...arguments),this.feedbackResultData=new a}static parse(e){let t=new s;return super.parseActionMsg(t,e),t.feedbackResultData=a.parse(t.actionMsgData.msgData),t}receive(){var e;this.feedbackResultData;let t=i.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:o.ErrorCode.SUCCESS,message:"received"}))}}class a{constructor(){this.actionId="",this.taskId="",this.result=""}static parse(e){let t=new a,n=JSON.parse(e);return t.actionId=n.actionId,t.taskId=n.taskId,t.result=n.result,t}}t.default=s},6755:function(e,t,n){var r,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=o(n(6379)),s=o(n(9586)),a=o(n(8723));class l extends s.default{constructor(){super(...arguments),this.pushMessageData=new c}static parse(e){let t=new l;return super.parseActionMsg(t,e),t.pushMessageData=c.parse(t.actionMsgData.msgData),t}receive(){var e;this.pushMessageData,this.pushMessageData.appId==i.default.appid&&this.pushMessageData.messageid&&this.pushMessageData.taskId||this.stringify(),a.default.create(this,a.default.ActionId.RECEIVE).send(),a.default.create(this,a.default.ActionId.MP_RECEIVE).send(),this.actionMsgData.msgExtraData&&i.default.onPushMsg&&(null===(e=i.default.onPushMsg)||void 0===e||e.call(i.default.onPushMsg,{message:this.actionMsgData.msgExtraData}))}}class c{constructor(){this.id="",this.appKey="",this.appId="",this.messageid="",this.taskId="",this.actionChain=[],this.cdnType=""}static parse(e){let t=new c,n=JSON.parse(e);return t.id=n.id,t.appKey=n.appKey,t.appId=n.appId,t.messageid=n.messageid,t.taskId=n.taskId,t.actionChain=n.actionChain,t.cdnType=n.cdnType,t}}(r=class{}).GO_TO="goto",r.TRANSMIT="transmit",t.default=l},9510:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(9586));class i extends o.default{constructor(){super(...arguments),this.setModeResultData=new s}static parse(e){let t=new i;return super.parseActionMsg(t,e),t.setModeResultData=s.parse(t.actionMsgData.msgData),t}receive(){var e;this.setModeResultData;let t=o.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:this.setModeResultData.errorCode,message:this.setModeResultData.errorMsg}))}}class s{constructor(){this.errorCode=-1,this.errorMsg=""}static parse(e){let t=new s,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t}}t.default=i},4626:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(8506)),i=r(n(529)),s=r(n(9586));class a extends s.default{constructor(){super(...arguments),this.setTagResultData=new l}static parse(e){let t=new a;return super.parseActionMsg(t,e),t.setTagResultData=l.parse(t.actionMsgData.msgData),t}receive(){var e;i.default.info("set tag result",this.setTagResultData);let t=s.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:this.setTagResultData.errorCode,message:this.setTagResultData.errorMsg})),o.default.set({key:o.default.KEY_SET_TAG_TIME,data:(new Date).getTime()})}}class l{constructor(){this.errorCode=0,this.errorMsg=""}static parse(e){let t=new l,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t}}t.default=a},7562:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(8506)),i=r(n(529)),s=r(n(9586));class a extends s.default{constructor(){super(...arguments),this.unbindAliasResultData=new l}static parse(e){let t=new a;return super.parseActionMsg(t,e),t.unbindAliasResultData=l.parse(t.actionMsgData.msgData),t}receive(){var e;i.default.info("unbind alias result",this.unbindAliasResultData);let t=s.default.removeWaitingResponseMessage(this.actionMsgData.msgId);t&&(null===(e=t.callback)||void 0===e||e.call(t.callback,{resultCode:this.unbindAliasResultData.errorCode,message:this.unbindAliasResultData.errorMsg})),o.default.set({key:o.default.KEY_BIND_ALIAS_TIME,data:(new Date).getTime()})}}class l{constructor(){this.errorCode=-1,this.errorMsg=""}static parse(e){let t=new l,n=JSON.parse(e);return t.errorCode=n.errorCode,t.errorMsg=n.errorMsg,t}}t.default=a},8227:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(e){this.delay=10,this.delay=e}start(){this.cancel();let e=this;this.timer=setInterval((function(){e.run()}),this.delay)}cancel(){this.timer&&clearInterval(this.timer)}}},7167:function(e,t,n){var r,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=o(n(6362)),s=o(n(8227));class a extends s.default{static getInstance(){return a.InstanceHolder.instance}run(){i.default.create().send()}refresh(){this.delay=6e4,this.start()}}a.INTERVAL=6e4,a.InstanceHolder=((r=class{}).instance=new a(a.INTERVAL),r),t.default=a},2323:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(4736)),i=r(n(6667));var s;!function(e){let t=(0,o.default)("9223372036854775808");function n(e){e>=t&&(e=t.multiply(2).minus(e));let n="";for(;e>(0,o.default)(0);e=e.divide(62))n+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".charAt(Number(e.divmod(62).remainder));return n}e.to_getui=function(e){let t=function(e){let t=function(e){let t=e.length;if(t%2!=0)return[];let n=new Array;for(let r=0;r{Object.defineProperty(t,"__esModule",{value:!0});class n{static info(...e){this.debugMode&&console.info("[GtPush]",e)}static warn(...e){console.warn("[GtPush]",e)}static error(...e){console.error("[GtPush]",e)}}n.debugMode=!1,t.default=n},3854:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{static getStr(e,t){try{return e&&void 0!==e[t]?e[t]:""}catch(n){}return""}}},2620:(e,t,n)=>{function r(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function o(e,t){return e&t}function i(e,t){return e|t}function s(e,t){return e^t}function a(e,t){return e&~t}function l(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function c(e){for(var t=0;0!=e;)e&=e-1,++t;return t}n.r(t),n.d(t,{JSEncrypt:()=>ee,default:()=>te});var u,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function h(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=d.charAt(n>>6)+d.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=d.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=d.charAt(n>>2)+d.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}var f,p=function(e){var t;if(void 0===u){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(u={},t=0;t<16;++t)u[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)u[n.charAt(t)]=t;for(t=0;t=2?(o[o.length]=i,i=0,s=0):i<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return o},g={decode:function(e){var t;if(void 0===f){var n="= \f\n\r\t \u2028\u2029";for(f=Object.create(null),t=0;t<64;++t)f["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(f["-"]=62,f._=63,t=0;t=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,i=0):o<<=6}}switch(i){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=o>>10;break;case 3:r[r.length]=o>>16,r[r.length]=o>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=g.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return g.decode(e)}},m=1e13,v=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,r,o=this.buf,i=o.length;for(n=0;n0&&(o[n]=t)},e.prototype.sub=function(e){var t,n,r=this.buf,o=r.length;for(t=0;t=0;--r)n+=(m+t[r]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*m+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),y=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,b=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function _(e,t){return e.length>t&&(e=e.substring(0,t)+"…"),e}var w,S=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var r="",o=e;o176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",r=e;r191&&o<224?String.fromCharCode((31&o)<<6|63&this.get(r++)):String.fromCharCode((15&o)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,r,o="",i=e;i127,i=o?255:0,s="";r==i&&++e4){for(s=r,n<<=3;0==(128&(+s^i));)s=+s<<1,--n;s="("+n+" bit)\n"}o&&(r-=256);for(var a=new v(r),l=e+1;l=l;--c)i+=a>>c&1?"1":"0";if(i.length>n)return o+_(i,n)}return o+i},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return _(this.parseStringISO(e,t),n);var r=t-e,o="("+r+" byte)\n";r>(n/=2)&&(t=e+n);for(var i=e;in&&(o+="…"),o},e.prototype.parseOID=function(e,t,n){for(var r="",o=new v,i=0,s=e;sn)return _(r,n);o=new v,i=0}}return i>0&&(r+=".incomplete"),r},e}(),x=function(){function e(e,t,n,r,o){if(!(r instanceof E))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=o}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return _(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return _(this.stream.parseStringISO(t,t+n),e);case 30:return _(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r>6,this.tagConstructed=0!=(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new v;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),T=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],C=(1<<26)/T[T.length-1],M=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,o=(1<0)for(l>l)>0&&(i=!0,s=r(n));a>=0;)l>(l+=this.DB-t)):(n=this[a]>>(l-=t)&o,l<=0&&(l+=this.DB,--a)),n>0&&(i=!0),i&&(s+=r(n));return i?s:"0"},e.prototype.negate=function(){var t=I();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+j(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=I();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new A(t):new D(t),this.exp(e,n)},e.prototype.clone=function(){var e=I();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,o=0;if(e-- >0)for(r>r)!=(this.s&this.DM)>>r&&(t[o++]=n|this.s<=0;)r<8?(n=(this[e]&(1<>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==o&&(128&this.s)!=(128&n)&&++o,(o>0||n!=this.s)&&(t[o++]=n);return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=I();return this.bitwiseTo(e,o,t),t},e.prototype.or=function(e){var t=I();return this.bitwiseTo(e,i,t),t},e.prototype.xor=function(e){var t=I();return this.bitwiseTo(e,s,t),t},e.prototype.andNot=function(e){var t=I();return this.bitwiseTo(e,a,t),t},e.prototype.not=function(){for(var e=I(),t=0;t=this.t?0!=this.s:0!=(this[t]&1<1){var u=I();for(r.sqrTo(s[1],u);a<=c;)s[a]=I(),r.mulTo(u,s[a-2],s[a]),a+=2}var d,h,f=e.t-1,p=!0,g=I();for(o=j(e[f])-1;f>=0;){for(o>=l?d=e[f]>>o-l&c:(d=(e[f]&(1<0&&(d|=e[f-1]>>this.DB+o-l)),a=n;0==(1&d);)d>>=1,--a;if((o-=a)<0&&(o+=this.DB,--f),p)s[d].copyTo(i),p=!1;else{for(;a>1;)r.sqrTo(i,g),r.sqrTo(g,i),a-=2;a>0?r.sqrTo(i,g):(h=i,i=g,g=h),r.mulTo(g,s[d],i)}for(;f>=0&&0==(e[f]&1<=0?(r.subTo(o,r),n&&i.subTo(a,i),s.subTo(l,s)):(o.subTo(r,o),n&&a.subTo(i,a),l.subTo(s,l))}return 0!=o.compareTo(e.ONE)?e.ZERO:l.compareTo(t)>=0?l.subtract(t):l.signum()<0?(l.addTo(t,l),l.signum()<0?l.add(t):l):l},e.prototype.pow=function(e){return this.exp(e,new k)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var o=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(o0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=T[T.length-1]){for(t=0;t=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var o=t.length,i=!1,s=0;--o>=0;){var a=8==r?255&+t[o]:$(t,o);a<0?"-"==t.charAt(o)&&(i=!0):(i=!1,0==s?this[this.t++]=a:s+r>this.DB?(this[this.t-1]|=(a&(1<>this.DB-s):this[this.t-1]|=a<=this.DB&&(s-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--a)t[a+i+1]=this[a]>>r|s,s=(this[a]&o)<=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,o=this.DB-r,i=(1<>r;for(var s=n+1;s>r;r>0&&(t[this.t-n-1]|=(this.s&i)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),o=t.abs(),i=r.t;for(n.t=i+o.t;--i>=0;)n[i]=0;for(i=0;i=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,r){var o=t.abs();if(!(o.t<=0)){var i=this.abs();if(i.t0?(o.lShiftTo(c,s),i.lShiftTo(c,r)):(o.copyTo(s),i.copyTo(r));var u=s.t,d=s[u-1];if(0!=d){var h=d*(1<1?s[u-2]>>this.F2:0),f=this.FV/h,p=(1<=0&&(r[r.t++]=1,r.subTo(y,r)),e.ONE.dlShiftTo(u,y),y.subTo(s,s);s.t=0;){var b=r[--m]==d?this.DM:Math.floor(r[m]*f+(r[m-1]+g)*p);if((r[m]+=s.am(0,b,r,v,0,u))0&&r.rShiftTo(c,r),a<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=I(),o=I(),i=n.convert(this),s=j(t)-1;for(i.copyTo(r);--s>=0;)if(n.sqrTo(r,o),(t&1<0)n.mulTo(o,i,r);else{var a=r;r=o,o=a}return n.revert(r)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=z(n),o=I(),i=I(),s="";for(this.divRemTo(r,o,i);o.signum()>0;)s=(n+i.intValue()).toString(e).substr(1)+s,o.divRemTo(r,o,i);return i.intValue().toString(e)+s},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),o=Math.pow(n,r),i=!1,s=0,a=0,l=0;l=r&&(this.dMultiply(o),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(n,s)),this.dAddOffset(a,0)),i&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var o=[],s=7&t;o.length=1+(t>>3),n.nextBytes(o),s>0?o[0]&=(1<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var o=n.t-this.t;r=0;)n[r]=0;for(r=Math.max(t-this.t,0);r0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var o=n.shiftRight(r);(t=t+1>>1)>T.length&&(t=T.length);for(var i=I(),s=0;s0&&(n.rShiftTo(s,n),r.rShiftTo(s,r));var a=function(){(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(a,0):(s>0&&r.lShiftTo(s,r),setTimeout((function(){t(r)}),0))};setTimeout(a,10)}},e.prototype.fromNumberAsync=function(t,n,r,o){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),i,this),this.isEven()&&this.dAddOffset(1,0);var s=this,a=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(e.ONE.shiftLeft(t-1),s),s.isProbablePrime(n)?setTimeout((function(){o()}),0):setTimeout(a,0)};setTimeout(a,0)}else{var l=[],c=7&t;l.length=1+(t>>3),n.nextBytes(l),c>0?l[0]&=(1<=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),D=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=I();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),O=function(){function e(e){this.m=e,this.r2=I(),this.q3=I(),M.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=I();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function I(){return new M(null)}function P(e,t){return new M(e,t)}var B="undefined"!=typeof navigator;B&&"Microsoft Internet Explorer"==navigator.appName?(M.prototype.am=function(e,t,n,r,o,i){for(var s=32767&t,a=t>>15;--i>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*s;o=((l=s*l+((32767&u)<<15)+n[r]+(1073741823&o))>>>30)+(u>>>15)+a*c+(o>>>30),n[r++]=1073741823&l}return o},w=30):B&&"Netscape"!=navigator.appName?(M.prototype.am=function(e,t,n,r,o,i){for(;--i>=0;){var s=t*this[e++]+n[r]+o;o=Math.floor(s/67108864),n[r++]=67108863&s}return o},w=26):(M.prototype.am=function(e,t,n,r,o,i){for(var s=16383&t,a=t>>14;--i>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*s;o=((l=s*l+((16383&u)<<14)+n[r]+o)>>28)+(u>>14)+a*c,n[r++]=268435455&l}return o},w=28),M.prototype.DB=w,M.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}M.ZERO=z(0),M.ONE=z(1);var V,H,F=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}(),q=null;function U(){if(null==V){for(V=new F;H<256;){var e=Math.floor(65536*Math.random());q[H++]=255&e}for(V.init(q),H=0;H0&&t.length>0?(this.n=P(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=this.n.bitLength()+7>>3,n=function(e,t){if(t=0&&t>0;){var o=e.charCodeAt(r--);o<128?n[--t]=o:o>127&&o<2048?(n[--t]=63&o|128,n[--t]=o>>6|192):(n[--t]=63&o|128,n[--t]=o>>6&63|128,n[--t]=o>>12|224)}n[--t]=0;for(var i=new W,s=[];t>2;){for(s[0]=0;0==s[0];)i.nextBytes(s);n[--t]=s[0]}return n[--t]=2,n[--t]=0,new M(n)}(e,t);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var o=r.toString(16),i=o.length,s=0;s<2*t-i;s++)o="0"+o;return o},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=P(e,16),this.e=parseInt(t,16),this.d=P(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,r,o,i,s,a){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=P(e,16),this.e=parseInt(t,16),this.d=P(n,16),this.p=P(r,16),this.q=P(o,16),this.dmp1=P(i,16),this.dmq1=P(s,16),this.coeff=P(a,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new W,r=e>>1;this.e=parseInt(t,16);for(var o=new M(t,16);;){for(;this.p=new M(e-r,1,n),0!=this.p.subtract(M.ONE).gcd(o).compareTo(M.ONE)||!this.p.isProbablePrime(10););for(;this.q=new M(r,1,n),0!=this.q.subtract(M.ONE).gcd(o).compareTo(M.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var i=this.p;this.p=this.q,this.q=i}var s=this.p.subtract(M.ONE),a=this.q.subtract(M.ONE),l=s.multiply(a);if(0==l.gcd(o).compareTo(M.ONE)){this.n=this.p.multiply(this.q),this.d=o.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=P(e,16),n=this.doPrivate(t);return null==n?null:function(e,t){for(var n=e.toByteArray(),r=0;r=n.length)return null;for(var o="";++r191&&i<224?(o+=String.fromCharCode((31&i)<<6|63&n[r+1]),++r):(o+=String.fromCharCode((15&i)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return o}(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var r=new W,o=e>>1;this.e=parseInt(t,16);var i=new M(t,16),s=this,a=function(){var t=function(){if(s.p.compareTo(s.q)<=0){var e=s.p;s.p=s.q,s.q=e}var t=s.p.subtract(M.ONE),r=s.q.subtract(M.ONE),o=t.multiply(r);0==o.gcd(i).compareTo(M.ONE)?(s.n=s.p.multiply(s.q),s.d=i.modInverse(o),s.dmp1=s.d.mod(t),s.dmq1=s.d.mod(r),s.coeff=s.q.modInverse(s.p),setTimeout((function(){n()}),0)):setTimeout(a,0)},l=function(){s.q=I(),s.q.fromNumberAsync(o,1,r,(function(){s.q.subtract(M.ONE).gcda(i,(function(e){0==e.compareTo(M.ONE)&&s.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(l,0)}))}))},c=function(){s.p=I(),s.p.fromNumberAsync(e-o,1,r,(function(){s.p.subtract(M.ONE).gcda(i,(function(e){0==e.compareTo(M.ONE)&&s.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)}))}))};setTimeout(c,0)};setTimeout(a,0)},e.prototype.sign=function(e,t,n){var r=function(e){return Y[e]||""}(n),o=function(e,t){if(t>3)-11;return this.setSplitChn(e,r).forEach((function(e){n+=t.encrypt(e)})),n},e.prototype.decryptLong=function(e){var t="",n=this.n.bitLength()+7>>3,r=2*n;if(e.length>r){for(var o=e.match(new RegExp(".{1,"+r+"}","g"))||[],i=[],s=0;s=o.length)return null;n=n.concat(o.slice(i+1))}for(var s=n,a=-1,l="";++a191&&c<224?(l+=String.fromCharCode((31&c)<<6|63&s[a+1]),++a):(l+=String.fromCharCode((15&c)<<12|(63&s[a+1])<<6|63&s[a+2]),a+=2)}return l}(i,n)}else t=this.decrypt(e);return t},e.prototype.setSplitChn=function(e,t,n){void 0===n&&(n=[]);for(var r=e.split(""),o=0,i=0;it){var a=e.substring(0,i);return n.push(a),this.setSplitChn(e.substring(i),t,n)}}return n.push(e),n},e}(),Y={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},X={};X.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var o;for(o in n)e.prototype[o]=n[o];var i=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(i=function(e,t){for(o=0;o15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+n).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},G.asn1.DERAbstractString=function(e){G.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},X.lang.extend(G.asn1.DERAbstractString,G.asn1.ASN1Object),G.asn1.DERAbstractTime=function(e){G.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,n){var r=this.zeroPadding,o=this.localDateToUTC(e),i=String(o.getFullYear());"utc"==t&&(i=i.substr(2,2));var s=i+r(String(o.getMonth()+1),2)+r(String(o.getDate()),2)+r(String(o.getHours()),2)+r(String(o.getMinutes()),2)+r(String(o.getSeconds()),2);if(!0===n){var a=o.getMilliseconds();if(0!=a){var l=r(String(a),3);s=s+"."+(l=l.replace(/[0]+$/,""))}}return s+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,r,o,i){var s=new Date(Date.UTC(e,t-1,n,r,o,i,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},X.lang.extend(G.asn1.DERAbstractTime,G.asn1.ASN1Object),G.asn1.DERAbstractStructured=function(e){G.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},X.lang.extend(G.asn1.DERAbstractStructured,G.asn1.ASN1Object),G.asn1.DERBoolean=function(){G.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},X.lang.extend(G.asn1.DERBoolean,G.asn1.ASN1Object),G.asn1.DERInteger=function(e){G.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=G.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new M(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},X.lang.extend(G.asn1.DERInteger,G.asn1.ASN1Object),G.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=G.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}G.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7>2),i=3&s,o=1):1==o?(n+=r(i<<2|s>>4),i=15&s,o=2):2==o?(n+=r(i),n+=r(s>>2),i=3&s,o=3):(n+=r(i<<2|s>>4),n+=r(15&s),o=0))}return 1==o&&(n+=r(i<<2)),n}(t),n)}catch(o){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new Z,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=Q,e}();const te=ee},2480:()=>{}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(9021)})();var yb=gb(vb.exports=mb());let bb;function _b(e){bb&&bb.postMessage(e)}Zd({type:"enabled"});var wb;function Sb(e,t){return"string"==typeof e?t:e}wb=yb,"undefined"!=typeof BroadcastChannel&&(bb=new BroadcastChannel("uni-push"),bb.onmessage=function({data:e}){Zd(e)},document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&wb.enableSocket(!0)}))),yb.init({appid:"__UNI__C939371",onError:e=>{console.error(e.error);const t={type:"clientId",cid:"",errMsg:e.error};Zd(t),_b(t)},onClientId:e=>{const t={type:"clientId",cid:e.cid};Zd(t),_b(t)},onlineState:e=>{const t={type:"lineState",online:e.online};Zd(t),_b(t)},onPushMsg:e=>{const t={type:"pushMsg",message:e.message};Zd(t),_b(t)}});const xb=e=>(t,n=ki())=>{!Bi&&Wr(e,t,n)},Eb=xb("onShow"),Tb=xb("onHide"),Cb=xb("onLaunch"),Mb=xb("onLoad"),kb=xb("onReachBottom"); /*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */ let Ab;const Db=e=>Ab=e,Ob=Symbol();function Ib(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Pb,Bb;(Bb=Pb||(Pb={})).direct="direct",Bb.patchObject="patch object",Bb.patchFunction="patch function";const Rb="undefined"!=typeof window;function Lb(){const e=Fe(!0),t=e.run((()=>hn({})));let n=[],r=[];const o=on({install(e){Db(o),o._a=e,e.provide(Ob,o),e.config.globalProperties.$pinia=o,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Nb=()=>{};function $b(e,t,n,r=Nb){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};var i;return!n&&qe()&&(i=o,je&&je.cleanups.push(i)),o}function zb(e,...t){e.slice().forEach((e=>{e(...t)}))}const jb=e=>e();function Vb(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Ib(o)&&Ib(r)&&e.hasOwnProperty(n)&&!dn(r)&&!Qt(r)?e[n]=Vb(o,r):e[n]=r}return e}const Hb=Symbol();const{assign:Fb}=Object;function qb(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let l;return l=Ub(e,(function(){a||(n.state.value[e]=o?o():{});const t=function(e){const t=g(e)?new Array(e.length):{};for(const n in e)t[n]=Sn(e,n);return t}(n.state.value[e]);return Fb(t,i,Object.keys(s||{}).reduce(((t,r)=>(t[r]=on(zi((()=>{Db(n);const t=n._s.get(e);return s[r].call(t,t)}))),t)),{}))}),t,n,r,!0),l}function Ub(e,t,n={},r,o,i){let s;const a=Fb({actions:{}},n),l={deep:!0};let c,u,d,h=[],f=[];const p=r.state.value[e];let g;function m(t){let n;c=u=!1,"function"==typeof t?(t(r.state.value[e]),n={type:Pb.patchFunction,storeId:e,events:d}):(Vb(r.state.value[e],t),n={type:Pb.patchObject,payload:t,storeId:e,events:d});const o=g=Symbol();Ln().then((()=>{g===o&&(c=!0)})),u=!0,zb(h,n,r.state.value[e])}i||p||(r.state.value[e]={}),hn({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{Fb(e,t)}))}:Nb;function y(t,n){return function(){Db(r);const o=Array.from(arguments),i=[],s=[];function a(e){i.push(e)}function l(e){s.push(e)}let c;zb(f,{args:o,name:t,store:b,after:a,onError:l});try{c=n.apply(this&&this.$id===e?this:b,o)}catch(u){throw zb(s,u),u}return c instanceof Promise?c.then((e=>(zb(i,e),e))).catch((e=>(zb(s,e),Promise.reject(e)))):(zb(i,c),c)}}const b=Xt({_p:r,$id:e,$onAction:$b.bind(null,f),$patch:m,$reset:v,$subscribe(t,n={}){const o=$b(h,t,n.detached,(()=>i())),i=s.run((()=>dr((()=>r.state.value[e]),(r=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Pb.direct,events:d},r)}),Fb({},l,n))));return o},$dispose:function(){s.stop(),h=[],f=[],r._s.delete(e)}});r._s.set(e,b);const _=(r._a&&r._a.runWithContext||jb)((()=>r._e.run((()=>(s=Fe()).run(t)))));for(const x in _){const t=_[x];if(dn(t)&&(!dn(S=t)||!S.effect)||Qt(t))i||(!p||Ib(w=t)&&w.hasOwnProperty(Hb)||(dn(t)?t.value=p[x]:Vb(t,p[x])),r.state.value[e][x]=t);else if("function"==typeof t){const e=y(x,t);_[x]=e,a.actions[x]=t}}var w,S;return Fb(b,_),Fb(rn(b),_),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:e=>{m((t=>{Fb(t,e)}))}}),r._p.forEach((e=>{Fb(b,s.run((()=>e({store:b,app:r._a,pinia:r,options:a}))))})),p&&i&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function Wb(e,t,n){let r,o;const i="function"==typeof t;function s(e,n){const s=Oo();(e=e||(s?Do(Ob,null):null))&&Db(e),(e=Ab)._s.has(r)||(i?Ub(r,t,o,e):qb(r,o,e));return e._s.get(r)}return"string"==typeof e?(r=e,o=i?n:t):(o=e,r=e.id),s.$id=r,s}let Kb="Store";function Yb(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t)),{}):Object.keys(t).reduce(((n,r)=>(n[r]=function(){const n=e(this.$pinia),o=t[r];return"function"==typeof o?o.call(this,n):n[o]},n)),{})}const Xb=Yb;function Gb(e){{e=rn(e);const t={};for(const n in e){const r=e[n];(dn(r)||Qt(r))&&(t[n]=wn(e,n))}return t}}const Jb=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return Pb},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[Ob]=t,this.$pinia||(this.$pinia=t),t._a=this,Rb&&Db(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:Lb,defineStore:Wb,getActivePinia:()=>Oo()&&Do(Ob)||Ab,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t)),{}):Object.keys(t).reduce(((n,r)=>(n[r]=function(...n){return e(this.$pinia)[t[r]](...n)},n)),{})},mapGetters:Xb,mapState:Yb,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+Kb]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t)),{}):Object.keys(t).reduce(((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(n){return e(this.$pinia)[t[r]]=n}},n)),{})},setActivePinia:Db,setMapStoreSuffix:function(e){Kb=e},skipHydrate:function(e){return Object.defineProperty(e,Hb,{})},storeToRefs:Gb},Symbol.toStringTag,{value:"Module"})),Zb={baseUrl:"http://39.98.44.136:8080",StreamBaseURl:"http://39.98.44.136:8000",vioceBaseURl:"ws://39.98.44.136:6006/speech-recognition",DBversion:3,appInfo:{name:"青岛市就业服务",AIName:"小红",version:"1.0.0",logo:"",site_url:"",agreements:[{title:"隐私政策",url:""},{title:"用户服务协议",url:""}]},allowedFileNumber:2,allowedFileTypes:["text/plain","text/markdown","text/html","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/pdf","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]};function Qb(e,t={},n="GET",r=!1,o={}){r&&Wv({title:"请稍后",mask:!0});let i="";a_().token&&(i=`${a_().token}`);const s=o||{};return s.Authorization=encodeURIComponent(i),new Promise(((o,i)=>{hv({url:Zb.baseUrl+e,method:n,data:t,header:s,success:e=>{var t,n;if(200===e.statusCode){const{code:t,msg:n}=e.data;if(200===t)return void o(e.data);qv({title:n,icon:"none"})}401!==(null==(t=e.data)?void 0:t.code)&&402!==(null==(n=e.data)?void 0:n.code)||a_().logOut();const r=new Error("请求出现异常,请联系工作人员");r.error=e,i(r)},fail:e=>{i(e)},complete:()=>{r&&Kv()}})}))}function e_(e){const t=new Intl.Segmenter("zh-Hans",{granularity:"word"}),n=[];for(let r of t.segment(e.toLowerCase()))n.push(r.segment);return n}const t_=["的","了","啊","哦","/","、"," ","","-","(",")","(",")","+","=","~","!","<",">","?","[","]","{","}"];function n_(e){return e.filter((e=>e&&!t_.includes(e)))}const r_=new class{constructor(){t(this,"config",{thresholdVal:.69,titleSimilarityWeight:.4,salaryMatchWeight:.2,areaMatchWeight:.2,educationMatchWeight:.2,experiencenMatchWeight:.1}),t(this,"userTitle",["Java","C","全栈工程师"]),t(this,"userSalaryMin",1e4),t(this,"userSalaryMax",15e3),t(this,"userArea",0),t(this,"userEducation",4),t(this,"userExperience",2),t(this,"jobTitle",""),t(this,"jobMinSalary",1e4),t(this,"jobMaxSalary",15e3),t(this,"jobLocationAreaCode",0),t(this,"jobEducation",4),t(this,"jobExperience",2),t(this,"jobCategory",""),t(this,"log",!1)}setUserInfo(e){this.userTitle=e.jobTitle,this.userSalaryMax=Number(e.salaryMax),this.userSalaryMin=Number(e.salaryMin),this.userArea=Number(e.area),this.userEducation=e.education,this.userExperience=this.getUserExperience(Number(e.age))}setJobInfo(e){this.jobTitle=e.jobTitle,this.jobMinSalary=e.minSalary,this.jobMaxSalary=e.maxSalary,this.jobLocationAreaCode=e.jobLocationAreaCode,this.jobEducation=e.education,this.jobExperience=e.experience,this.jobCategory=e.jobCategory}calculationMatchingDegreeJob(e){let t=null;t=this.jobCategory?this.calculateBestJobCategoryMatch(e.jobTitle||e.jobTitleString||[],this.jobCategory):this.calculateBestJobMatch(e.jobTitle||e.jobTitleString||[],this.jobTitle);const{bestMatchJobTitle:n,maxSimilarity:r}=t,o=this.calculateSalaryMatch(Number(e.salaryMin),Number(e.salaryMax),this.jobMinSalary,this.jobMaxSalary),i=this.calculateAreaMatch(Number(e.area),this.jobLocationAreaCode),s=this.calculateEducationMatch(e.education,this.jobEducation),a=this.config.titleSimilarityWeight*r+this.config.salaryMatchWeight*o+this.config.areaMatchWeight*i+this.config.educationMatchWeight*s;return this.log&&console.log(`Job ${job.jobTitle} 标题相似度 ${r} 薪资匹配度: ${o}学历匹配度: ${s} 区域匹配度: ${i} 综合匹配度: ${a.toFixed(2)}`),this.config.thresholdVal,{overallMatch:100*a.toFixed(2)+"%",data:e,maxSimilarity:r,salaryMatch:o,educationMatch:s,areaMatch:i}}calculationMatchingDegree(e){let t=null;t=e.jobCategory?this.calculateBestJobCategoryMatch(this.userTitle,e.jobCategory):this.calculateBestJobMatch(this.userTitle,e.jobTitle);const{bestMatchJobTitle:n,maxSimilarity:r}=t,o=this.calculateSalaryMatch(this.userSalaryMin,this.userSalaryMax,e.minSalary,e.maxSalary),i=this.calculateAreaMatch(this.userArea,e.jobLocationAreaCode),s=this.calculateEducationMatch(this.userEducation,e.education),a=this.config.titleSimilarityWeight*r+this.config.salaryMatchWeight*o+this.config.areaMatchWeight*i+this.config.educationMatchWeight*s;this.log&&console.log(`Job ${e.jobTitle} 标题相似度 ${r} 薪资匹配度: ${o}学历匹配度: ${s} 区域匹配度: ${i} 综合匹配度: ${a.toFixed(2)}`);if(a>this.config.thresholdVal)return{overallMatch:100*a.toFixed(2)+"%",data:e,maxSimilarity:r,salaryMatch:o,educationMatch:s,areaMatch:i}}getUserExperience(e){return 0?{min:0,max:5}:{min:5,max:10}}calculateExperienceMatch2(e,t){const n=this.mapJobExperience(t);return e.min<=n.max&&e.max>=n.min?1:e.min<=n.max&&e.max>n.min||e.max>=n.min&&e.mint?.75:0}calculateSalaryMatch(e,t,n,r){if(e>=n&&e<=r||t>=n&&t<=r)return 1;const o=Math.abs(e-n),i=Math.abs(t-r);return o>3e3&&i>3e3?0:.5}calculateAreaMatch(e,t){return e===t?1:.5}calculateBestJobCategoryMatch(e,t){let n=0,r="";for(let o=0;o{const o=function(e,t){const n=new Set(n_(e)),r=new Set(n_(t));let o=0;for(let i of n)r.has(i)&&o++;return o/n.size}(e_(e),e_(t));o>n&&(n=o,r=e)})),{bestMatchJobTitle:r,maxSimilarity:n}}calculateEducationMatch(e,t){return e===t||e>t?1:0}}; /** * UUID.js - RFC-compliant UUID Generator for JavaScript * * @author LiosK * @version v5.1.0 * @license Apache License 2.0: Copyright (c) 2010-2024 LiosK * @packageDocumentation */var o_;class i_{static generate(){var e=o_._getRandomInt,t=o_._hexAligner;return t(e(32),8)+"-"+t(e(16),4)+"-"+t(16384|e(12),4)+"-"+t(32768|e(14),4)+"-"+t(e(48),12)}static _getRandomInt(e){if(e<0||e>53)return NaN;var t=0|1073741824*Math.random();return e>30?t+1073741824*(0|Math.random()*(1<>>30-e}static _hexAligner(e,t){for(var n=e.toString(16),r=t-n.length,o="0";r>0;r>>>=1,o+=o)1&r&&(n=o+n);return n}static useMathRandom(){o_._getRandomInt=o_._mathPRNG}static genV4(){var e=o_._getRandomInt;return new o_(e(32),e(16),16384|e(12),128|e(6),e(8),e(48))}static parse(e){var t;if(t=/^\s*(urn:uuid:|\{)?([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})(\})?\s*$/i.exec(e)){var n=t[1]||"",r=t[8]||"";if(n+r===""||"{"===n&&"}"===r||"urn:uuid:"===n.toLowerCase()&&""===r)return new o_(parseInt(t[2],16),parseInt(t[3],16),parseInt(t[4],16),parseInt(t[5],16),parseInt(t[6],16),parseInt(t[7],16))}return null}constructor(e,t,n,r,o,i){var s=o_.FIELD_NAMES,a=o_.FIELD_SIZES,l=o_._binAligner,c=o_._hexAligner;this.intFields=new Array(6),this.bitFields=new Array(6),this.hexFields=new Array(6);for(var u=0;u<6;u++){var d=parseInt(arguments[u]||0);this.intFields[u]=this.intFields[s[u]]=d,this.bitFields[u]=this.bitFields[s[u]]=l(d,a[u]),this.hexFields[u]=this.hexFields[s[u]]=c(d,a[u]>>>2)}this.version=this.intFields.timeHiAndVersion>>>12&15,this.bitString=this.bitFields.join(""),this.hexNoDelim=this.hexFields.join(""),this.hexString=this.hexFields[0]+"-"+this.hexFields[1]+"-"+this.hexFields[2]+"-"+this.hexFields[3]+this.hexFields[4]+"-"+this.hexFields[5],this.urn="urn:uuid:"+this.hexString}static _binAligner(e,t){for(var n=e.toString(2),r=t-n.length,o="0";r>0;r>>>=1,o+=o)1&r&&(n=o+n);return n}toString(){return this.hexString}equals(e){if(!(e instanceof o_))return!1;for(var t=0;t<6;t++)if(this.intFields[t]!==e.intFields[t])return!1;return!0}static genV1(){null==o_._state&&(o_._state=new s_);var e=(new Date).getTime(),t=o_._state;e!=t.timestamp?(e>>8|128,s=255&t.sequence;return new o_(r,n.mid,o,i,s,t.node)}static resetState(){o_._state=new s_}static _getTimeFieldValues(e){var t=e-Date.UTC(1582,9,15),n=t/4294967296*1e4&268435455;return{low:1e4*(268435455&t)%4294967296,mid:65535&n,hi:n>>>16,timestamp:t}}static genV6(){null==o_._state&&(o_._state=new s_);var e=(new Date).getTime(),t=o_._state;e!=t.timestamp?(e>>12,s=4095&o|24576;t.sequence&=16383;var a=t.sequence>>>8|128,l=255&t.sequence;return new o_(r,i,s,a,l,t.node)}}o_=i_,i_._mathPRNG=o_._getRandomInt,"undefined"!=typeof crypto&&crypto.getRandomValues&&(o_._getRandomInt=e=>{if(e<0||e>53)return NaN;var t=new Uint32Array(e>32?2:1);return crypto.getRandomValues(t),e>32?t[0]+4294967296*(t[1]>>>64-e):t[0]>>>32-e}),i_.FIELD_NAMES=["timeLow","timeMid","timeHiAndVersion","clockSeqHiAndReserved","clockSeqLow","node"],i_.FIELD_SIZES=[32,16,16,8,8,48],i_.NIL=new o_(0,0,0,0,0,0),i_._state=null;class s_{constructor(){var e=i_._getRandomInt;this.timestamp=0,this.tick=0,this.sequence=e(14),this.node=1099511627776*(1|e(8))+e(40)}}const a_=Wb("user",(()=>{const e=hn(!1),t=hn({}),n=hn({}),r=hn(""),o=hn({}),i=hn("0%"),s=hn(Xm("seesionId")||""),a=()=>new Promise(((e,t)=>{Qb("/app/user/resume",{},"get").then((t=>{i.value=function(e){const t=["name","age","sex","birthDate","education","politicalAffiliation","phone","salaryMin","salaryMax","area","status","jobTitleId","jobTitle"],n=t.length;return(t.filter((t=>{const n=e[t];return null!==n&&""!==n&&!(Array.isArray(n)&&0===n.length)})).length/n*100).toFixed(0)+"%"}(t.data),r_.setUserInfo(t.data),l(t),e(t)}))})),l=n=>{t.value=n.data,e.value=!0};return{hasLogin:e,userInfo:t,token:r,resume:o,login:n=>{e.value=!0,t.value=n,openId.value=n.wxOpenId,r.value=n.token,Km({key:"token",data:n.token})},logOut:()=>{e.value=!1,r.value="",o.value={},t.value={},n.value={},Jm("userInfo"),Jm("token"),Ph({url:"/pages/login/login"})},loginSetToken:async e=>(r.value=e,Wm("token",e),a()),getUserResume:a,initSeesionId:()=>{const e=i_.generate();Wm("seesionId",e),s.value=e},seesionId:s,Completion:i}}));let l_=null;const c_=Wb("dict",(()=>{const e=hn(!1),t=Xt({education:[],experience:[],area:[],scale:[],isPublish:[],sex:[],affiliation:[],industry:[]});async function n(e,t){const n=await Qb(`/app/common/dict/${e}`);if(200===n.code&&n.data){return n.data.map((e=>({text:e.dictLabel,label:e.dictLabel,value:t?Number(e.dictValue):e.dictValue,key:e.dictCode,listClass:e.listClass,status:e.listClass})))}return[]}return{getDictData:async(r,o)=>{try{if(r&&o)return n(r).then((e=>(t[o]=e,e)));const[i,s,a,l,c,u]=await Promise.all([n("education"),n("experience"),n("area",!0),n("scale"),n("app_sex"),n("political_affiliation")]);t.education=i,t.experience=s,t.area=a,t.scale=l,t.sex=c,t.affiliation=u,e.value=!0,async function(){if(t.industry.length)return;const e=await Qb("/app/common/industry/treeselect");200===e.code&&e.data&&(t.industry=e.data,l_=function(e){const t=new Map;return function e(n){for(const r of n)t.set(r.id,r),r.children&&r.children.length&&e(r.children)}(e),t}(e.data))}()}catch(i){console.error("Error fetching dictionary data:",i)}},dictLabel:function(e,n){if(t[e])for(let r=0;r{c_().getDictData(),Kd((()=>{xv({url:"/pages/chat/chat"})}));let n=Xm("token")||"";n?a_().loginSetToken(n).then((()=>{t.msg("登录成功")})):Ph({url:"/pages/login/login"})})),Eb((()=>{console.log("App Show")})),Tb((()=>{console.log("App Hide")})),()=>{}}};Jg(u_,{init:Xg,setup(e){const t=Pu(),n=()=>{var n;n=e,Object.keys(Xd).forEach((e=>{Xd[e].forEach((t=>{Wr(e,t,n)}))}));const{onLaunch:r,onShow:o,onPageNotFound:i}=e,s=function({path:e,query:t}){return d(zf,{path:e,query:t}),d(jf,zf),d({},zf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ce(t.query)});if(r&&L(r,s),o&&L(o,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};Nh(),i&&L(i,e)}};return Do(tl).isReady().then(n),Xr((()=>{window.addEventListener("resize",Ae(Qg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",em),document.addEventListener("visibilitychange",tm),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{My.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(ri(),li(ay));e.setup=(e,r)=>{const o=t&&t(e,r);return y(o)?n:o},e.render=n}});const d_=e=>{if("object"!=typeof e||null===e)return e;let t;t=e?[]:{};for(let n in e)e.hasOwnProperty(n)&&(t[n]=d_(e[n]));return t},h_=(e,t=1500,n=!1,r="none",o)=>{!1!==Boolean(e)&&qv({title:e,duration:t,mask:n,icon:r,image:o})};const f_=e=>{const t=e=>("object"==typeof e||"function"==typeof e)&&"null"!==e;if(!t(e))throw new Error("参数不是对象");const n=Array.isArray(e)?[...e]:{...e};return Object.keys(n).forEach((e=>{t(n[e])&&(n[e]=f_(n[e]))})),n};function p_(e){return t=>e.test(t)}const g_=p_(/^1[3-9]{1}\d{9}/),m_=p_(/^[a-z0-9_\.-]+@[a-z0-9_\.-]+[a-z0-9]{2,6}$/i);function v_(e){return e*Math.PI/180}function y_(e){return e*(Math.PI/180)}const b_=new class{constructor(){const e=Bm();this.systemInfo=e}};function __(e){const t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")} ${String(t.getHours()).padStart(2,"0")}:${String(t.getMinutes()).padStart(2,"0")}:${String(t.getSeconds()).padStart(2,"0")}`}function w_(e,t="createTime"){const n=e.sort(((e,n)=>new Date(n[t])-new Date(e[t]))),r=[];let o="",i="";const s=new Date,a=s.toISOString().split("T")[0],l=new Date(s.setDate(s.getDate()-1)).toISOString().split("T")[0],c=new Date(s.setDate(s.getDate()-1)).toISOString().split("T")[0];return n.forEach((e=>{const n=e[t].replace("T"," ").split(" ")[0];let s=n;n===a?s="今天":n===l?s="昨天":n===c&&(s="前天"),o!==n&&(r.push({title:s,isTitle:!0}),o=n,i=s),r.push({...e,isTitle:!1})})),[r,i]}function S_(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}const x_={msg:h_,prePage:()=>{let e=rf();return e[e.length-2].$vm},sleep:function(e){return new Promise((t=>setTimeout(t,e)))},request:function({url:e,method:t="GET",data:n={},load:r=!1,header:o={}}={}){return new Promise(((o,i)=>{r&&Wv({title:"请稍候",mask:!0});let s="";a_().token&&(s=`${a_().userInfo.token}${a_().token}`),hv({url:Zb.baseUrl+e,method:t,data:n,header:{Authorization:s||""},success:e=>{var t,n;if(200===e.statusCode){const{code:t,msg:n}=e.data;if(200===t)return void o(e.data);qv({title:n,icon:"none"})}if(401===(null==(t=e.data)?void 0:t.code)||402===(null==(n=e.data)?void 0:n.code))return a_().logOut(),void qv({title:"登录过期,请重新登录",icon:"none"});const r=new Error("请求出现异常,请联系工作人员");r.error=e,i(r)},fail:e=>i(e),complete(){r&&Kv()}})}))},createRequest:Qb,streamRequest:function(e,t={},n,r,o){const i=a_(),s={Authorization:i.token?encodeURIComponent(i.token):"",Accept:"text/event-stream","Content-Type":"application/json;charset=UTF-8"};return new Promise((async(i,a)=>{var l,c,u,d,h,f;try{const r=await fetch(Zb.StreamBaseURl+e,{method:"POST",headers:s,body:JSON.stringify(t)});if(!r.ok)throw new Error(`HTTP 错误: ${r.status}`);const a=r.body.getReader(),p=new TextDecoder("utf-8");let g="";for(;;){const{done:e,value:t}=await a.read();if(e)break;g+=p.decode(t,{stream:!0});let r=g.split("\n");g=r.pop();for(let s of r)if(s.startsWith("data: ")){const e=s.slice(6).trim();if("[DONE]"===e)return o&&o(),void i();try{const t=JSON.parse(e),r=(null==(u=null==(c=null==(l=null==t?void 0:t.choices)?void 0:l[0])?void 0:c.delta)?void 0:u.content)??(null==(f=null==(h=null==(d=null==t?void 0:t.choices)?void 0:d[0])?void 0:h.delta)?void 0:f.reasoning_content)??"";r&&n&&n(r)}catch(C_){console.error("JSON 解析失败:",C_,"原始数据:",e)}}}o&&o(),i()}catch(p){console.error("Stream 请求失败:",p),r&&r(p),a(p)}}))},chatRequest:function(e,t={},n="GET",r=!1,o={}){r&&Wv({title:"请稍后",mask:!0});let i="";a_().token&&(i=`${a_().token}`);const s=o||{};return s.Authorization=encodeURIComponent(i),new Promise(((o,i)=>{hv({url:Zb.StreamBaseURl+e,method:n,data:t,header:s,success:e=>{var t,n;if(200===e.statusCode){const{code:t,msg:n}=e.data;if(200===t)return void o(e.data);qv({title:n,icon:"none"})}401!==(null==(t=e.data)?void 0:t.code)&&402!==(null==(n=e.data)?void 0:n.code)||a_().logOut();const r=new Error("请求出现异常,请联系工作人员");r.error=e,i(r)},fail:e=>{i(e)},complete:()=>{r&&Kv()}})}))},insertSortData:w_,uploadFile:function(e,t=!1){t&&Wv({title:"请稍后",mask:!0});let n="";a_().token&&(n=`${a_().token}`);const r={};return r.Authorization=encodeURIComponent(n),new Promise(((n,o)=>{mv({url:Zb.baseUrl+"/app/file/upload",filePath:e,name:"file",header:r,success:e=>{if(200===e.statusCode)return n(e.data)},fail:e=>{o(e)},complete:()=>{t&&Kv()}})}))}},E_={$api:x_,navTo:function(e,t){t&&a_().hasLogin?xv({url:"/pages/login/login"}):xv({url:e})},cloneDeep:f_,formatDate:__,getdeviceInfo:function(){const e={statusBarHeight:0,topHeight:0,navHeight:0,windowHeight:0,tabBarHight:0};let t=Bm();return e.windowHeight=t.screenHeight,e.tabBarHight=t.screenHeight-t.safeArea.bottom,e.statusBarHeight=t.statusBarHeight,{...e}},checkingPhoneRegExp:g_,checkingEmailRegExp:m_,throttle:function(e,t=300){let n=!0,r=null,o=null;return function(...i){if(r=i,o=this,!n)return!1;n=!1,setTimeout((()=>{e.apply(o,r),n=!0,r=null,o=null}),t)}},debounce:function(e,t){return function(n){let r=this,o=n;clearTimeout(e.id),e.id=setTimeout((function(){e.call(r,o)}),t)}},haversine:function(e,t,n,r){const o=v_(e),i=v_(n),s=v_(n-e),a=v_(r-t),l=Math.sin(s/2)*Math.sin(s/2)+Math.cos(o)*Math.cos(i)*Math.sin(a/2)*Math.sin(a/2);return 6371*(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l)))},getDistanceFromLatLonInKm:function(e,t,n,r){const o=y_(n-e),i=y_(r-t),s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(y_(e))*Math.cos(y_(n))*Math.sin(i/2)*Math.sin(i/2),a=6371*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)));return{km:a,m:1e3*a}},vacanciesTo:function(e){return e>=0?e+"人":"不限人数"},salaryGlobal:function(e="min"){const t=[2,5,10,15,20,25,30,50,80,100];return[2,5,10,15,20,25,30,50,80].map(((e,n)=>({label:e+"k",value:1e3*e,children:d_(t).splice(n).map((e=>({label:e+"k",value:1e3*e})))})))},customSystem:b_,setCheckedNodes:function(e,t){e.forEach((e=>{e.checkednumber=0;const n=r=>{t.includes(r.id)&&(r.checked=!0),r!==e&&r.checked&&e.checkednumber++,r.children&&r.children.forEach((e=>n(e)))};n(e)}))},formatTotal:e=>{if(e<10)return e.toString();const t=Math.pow(10,Math.floor(Math.log10(e)));return`${Math.floor(e/t)*t}+`},getWeeksOfMonth:function(e,t){const n=new Date(e,t-1,1),r=new Date(e,t,0),o=[];let i=[];for(let s=new Date(n);s<=r;s.setDate(s.getDate()+1)){if(0===i.length&&1!==s.getDay()){let e=new Date(s);for(e.setDate(s.getDate()-(0===s.getDay()?6:s.getDay()-1));en},parseQueryParams:function(e=window.location.href){var t;const n=null==(t=e.split("?")[1])?void 0:t.split("#")[0],r={};return n?(n.split("&").forEach((e=>{const[t,n]=e.split("=");t&&(r[decodeURIComponent(t)]=decodeURIComponent(n||""))})),r):r}};var T_,C_;T_=self,C_=function(){return e={138:e=>{function t(e,t){if((e=e.replace(/\s+/g,""))===(t=t.replace(/\s+/g,"")))return 1;if(e.length<2||t.length<2)return 0;let n=new Map;for(let o=0;o0&&(n.set(e,i-1),r++)}return 2*r/(e.length+t.length-2)}e.exports={compareTwoStrings:t,findBestMatch:function(e,n){if(r=n,"string"!=typeof e||!Array.isArray(r)||!r.length||r.find((function(e){return"string"!=typeof e})))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");var r;const o=[];let i=0;for(let s=0;so[i].rating&&(i=s)}return{ratings:o,bestMatch:o[i],bestMatchIndex:i}}}}},t={},function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}(138);var e,t},"object"==typeof exports&&"object"==typeof module?module.exports=C_():"function"==typeof define&&define.amd?define([],C_):"object"==typeof exports?exports.stringSimilarity=C_():T_.stringSimilarity=C_();const M_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const k_=M_({},[["render",function(e,t){const n=gg,r=xg;return ri(),li(r,{class:"no-bounce-page"},{default:Jn((()=>[gi(n,{"scroll-y":"","show-scrollbar":!1,class:"scroll-area"},{default:Jn((()=>[io(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})}],["__scopeId","data-v-8f54c7a0"]]);(function(){const e=Ls(u_);return e.component("NoBouncePage",k_),e.provide("globalFunction",{...E_,similarityJobs:r_}),e.provide("deviceInfo",E_.getdeviceInfo()),e.use(Lb()),{app:e,Pinia:Jb}})().app.use(jg).mount("#app");export{pi as $,Bm as A,Au as B,Wb as C,c_ as D,Gb as E,Jo as F,Mb as G,mn as H,mr as I,as as J,Ap as K,Eb as L,bg as M,vg as N,Rh as O,ag as P,eg as Q,wv as R,gg as S,h_ as T,Sg as U,Kp as V,Bp as W,gy as X,Ey as Y,xl as Z,M_ as _,li as a,qv as a0,Yr as a1,qf as a2,Tu as a3,Ff as a4,zi as a5,Um as a6,hg as a7,dr as a8,Ln as a9,dn as aa,Bv as ab,ov as ac,nv as ad,rn as ae,Zb as af,w_ as ag,i_ as ah,__ as ai,x_ as aj,Xm as ak,Wm as al,Rm as am,Wd as an,nr as ao,kb as ap,ai as b,Vd as c,ve as d,Ps as e,io as f,Zm as g,ye as h,mi as i,bi as j,gi as k,xg as l,ap as m,me as n,ri as o,Do as p,hn as q,oo as r,Xt as s,Xr as t,a_ as u,Sb as v,Jn as w,or as x,yi as y,X as z};